function pathName() {		var l = location;	return (l.protocol + "\/\/" + l.host + l.pathname); }function baseHref() {	var o="",i=0,s=pathName().split("/");	while(i<(s.length-1)){o+=s[i]+"/";i++} return o; }function openWindow(u,w,h) {	var p, r = ("?x=" + parseInt(Math.random()*1000000000));	p = window.open(baseHref() + u + r,"pop","width=" + w + ",height=" + h +		",scrollbars=0,resizable=0,left=50,top=35");	p.focus();	return false; }function winOpen(u,w,h,d) {	//	"u" must contains "?"	var p, r = ("&x=" + parseInt(Math.random()*1000000000));	p = window.open(baseHref() + u + r,"pop","width=" + w + ",height=" + h +		",scrollbars=0,resizable=0,left=50,top=35,location=" + parseInt(d));	p.focus();	return false; }