function popup(popupname,popupurl,popupwidth,popupheight,popupscrbar) {
	var bName=navigator.appName;
	var bVer=parseInt(navigator.appVersion);
	var now = new Date();
	if (bName=="Netscape" && bVer<=3) {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+popupscrbar+',resizable=0,width='+popupwidth+',height='+popupheight+',history=0');
	} else {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+popupscrbar+',resizable=0,width='+popupwidth+',height='+popupheight+',history=0');
	}
}

function popupres(popupname,popupurl,popupwidth,popupheight,popupscrbar) {
	var bName=navigator.appName;
	var bVer=parseInt(navigator.appVersion);
	var now = new Date();
	if (bName=="Netscape" && bVer<=3) {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+popupscrbar+',resizable=yes,width='+popupwidth+',height='+popupheight+',history=0');
	} else {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='+popupscrbar+',resizable=yes,width='+popupwidth+',height='+popupheight+',history=0');
	}
}

function popupprint(popupname,popupurl,popupwidth,popupheight,popupscrbar) {
	var bName=navigator.appName;
	var bVer=parseInt(navigator.appVersion);
	var now = new Date();
	if (bName=="Netscape" && bVer<=3) {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=0,menubar=yes,scrollbars='+popupscrbar+',resizable=0,width='+popupwidth+',height='+popupheight+',history=0');
	} else {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=0,menubar=yes,scrollbars='+popupscrbar+',resizable=0,width='+popupwidth+',height='+popupheight+',history=0');
	}
}

function popupstatus(popupname,popupurl,popupwidth,popupheight,popupscrbar) {
	var bName=navigator.appName;
	var bVer=parseInt(navigator.appVersion);
	var now = new Date();
	if (bName=="Netscape" && bVer<=3) {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars='+popupscrbar+',resizable=0,width='+popupwidth+',height='+popupheight+',history=0');
	} else {
	  	window.open(popupurl, popupname,'toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars='+popupscrbar+',resizable=0,width='+popupwidth+',height='+popupheight+',history=0');
	}
}