
// print if browser version is greater than 4
function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}
// how to order popup
function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=100,statusbar=0,menubar=0,resizable=1,width=600,height=500');");
}

// pop up for video
var WindowObjectReference = null;
function openRequestedPopup(strUrl, strWindowName, windowWidth, windowHeight){
	if(WindowObjectReference == null || WindowObjectReference.closed){
		WindowObjectReference = window.open(strUrl, strWindowName,"width="+windowWidth+",height="+windowHeight+",menubar=no,location=no,resizable=yes,scrollbars=no,status=yes");
	}
	else{
		WindowObjectReference.focus();
	};
}