popupCSAg = window.navigator.userAgent;
function popupthis(pUrl,theW,theH){
	scrolls=0; if(arguments[3]!=null) scrolls=1;
	ss=theW+theH;
	//theW+= (popupIsWin>=0)? 0:0;	theH+= (popupIsWin>=0)? 20:0;
	//theH-= (popupIsWin<0 && popupIsIe>=0)? 76:0;
	//theW-= (popupIsWin<0 && popupIsIe>=0)? 18:0;	
	cLow=popupCSAg.toLowerCase(); cMac=cLow.indexOf("mac");
	if(cMac>=0&&document.layers){ //theW=theW-50; theH=theH-100;	       
	}else if(document.layers){ //theH=theH-60; 
	}else{ if(cMac>=0){ //theW=theW+92; theH=theH+128; 
	}else{ theW=theW-0; } //theH=theH-58; 
	}
	theW=theW+10; theH=theH+10;
	lPos=(screen.availWidth/2)-(theW/2); tPos=(screen.availHeight/2)-(theH/2);
	var bob=window.open(pUrl,ss,"toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars="+scrolls+",width="+theW+",height="+theH+",top="+tPos+",left="+lPos);
    if( navigator.appName.substring(0,8)=="Netscape") bob.location=pUrl;
}
var popupbver=parseInt(navigator.appVersion);
var popupIsIe=navigator.appVersion.indexOf('MSIE');
var popupIsWin=navigator.appVersion.indexOf('Win');

function ays(obj1,obj2,obj3){
	mes = "Are you sure you want to delete this " + obj1 + "?";
	if(confirm(mes)) document.location.href='query.php?qsx='+obj2+'&querys='+obj3;
	else return false;
}