// JavaScript Document

/*
function popupwindow(mypage, myname, w, h, scroll){
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';
	mywindow = window.open(mypage, myname, winprops);
	isOpened = true;
	if (parseInt(navigator.appVersion) >= 4) {
		mywindow.window.focus();
	}
	mywindow.window.focus();
}


getURL("javascript:popupwindow('http://"+linkURL+"','newWin','800','600','yes')");



function popupwindow(popurl){
	var winpops=window.open(popurl,"","width=800,height=600,resizable")
	winpops.focus()
}

*/


function popupwindow(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=400,left=0,top=0');");
}
