function hybaj() {

	window.opener=self; window.close();
}

function load(url, name, w, h) {

	l = (screen.availWidth-10 - w) / 2;
	t = (screen.availHeight-20 - h) / 2;

	features = "width="+w+",height="+h+",left="+l+",top="+t;
	features += ",screenX="+l+",screenY="+t;
	features += ",scrollbars=1,resizable=1,location=0";
	features += ",menubar=0,toolbar=0,status=1";

	window.open(url,name,features).focus();
}


//function subPopUp(url, name, w, h) {
//
//	l = (screen.availWidth+10 - w) / 2;
//	t = (screen.availHeight - h) / 2;
//
//	features = "width="+w+",height="+h+",left="+l+",top="+t;
//	features += ",screenX="+l+",screenY="+t;
//	features += ",scrollbars=0,resizable=1,location=0";
//	features += ",menubar=0,toolbar=0,status=0";
//
//	window.open(url, name, features);
//}
//
//function load(url,name,features,page) {
//
//	features = "status=0,height=,width=,resizable=1,menubar=0,toolbar=0,scrollbars=0,";
//
//	window.open(url,name,features);
//
//	location.href=page;
//
//}
