var w;
var wset01="menubar=no,scrollbars=yes,resizable=yes,width=640,height=458";
/*var wset02="menubar=no,scrollbars=yes,resizable=yes,width=801,height=570";
var blank01="toolbar=yes,location=yes,directorybuttons=yes,menubar=yes,scrollbars=yes,resizable=yes,status=yes,width=1024,height=570";*/
function popup(thisurl,type){
	if(type=="popup"){
		w=window.open(thisurl,'popupwindow',wset01);
	}/*else if(type=="news"){
		w=window.open(thisurl,'popupwindow',wset02);
	}else if(type=="blank01"){
		w=window.open(thisurl,'popupwindow',blank01);
	}*/
	w.focus();
}

/*function gomain(thisurl){
if(opener){
    opener.location.href=thisurl;
				window.blur();
}else{
    location.href = thisurl;
}    
}
*/

