CSAg = window.navigator.userAgent;
function popup(popupURL,w,h){
	theWidth = w;
	theHeight = h;
	theWidth += (IsWin>=0)? 0:0;
	theHeight += (IsWin>=0)? 20:0;
	theHeight -= (IsWin<0 && IsIe>=0)? 76:0;
	theWidth -= (IsWin<0 && IsIe>=0)? 18:0;
	checkLower = CSAg.toLowerCase();
	checkMac = checkLower.indexOf("mac");
	if(checkMac >= 0 && document.layers){
		theWidth = theWidth + 90; theHeight = theHeight + 22;
	    var bob = window.open(popupURL,"MUSE","toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,width="+(theWidth-90)+",height="+(theHeight-100));
	}else if(document.layers){
			//theHeight = theHeight - 20;
	        var bob = window.open(popupURL,"MUSE","toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,width="+theWidth+",height="+(theHeight-60));
	}else{
		if(checkMac >= 0){
			theHeight = theHeight - 22; theWidth = theWidth + 32;
			if(navigator.appName.substring(0,8) == "Netscape" ){
				theWidth = theWidth - 36; theHeight = theHeight - 64;
			}
        	var bob = window.open(popupURL,"MUSE","toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,width="+(theWidth+2)+",height="+(theHeight+36));
		}else{
  			theHeight = theHeight + 14;
			if(navigator.appName.substring(0,8) == "Netscape" ) theHeight = theHeight - 28;	
  			var bob = window.open(popupURL,"MUSE","toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=1,width="+theWidth+",height="+(theHeight-58));
		}
	}
	if(navigator.appName.substring(0,8) == "Netscape" ) bob.location = popupURL;
}
var bver=parseInt(navigator.appVersion);
var IsIe=navigator.appVersion.indexOf('MSIE');
var IsWin=navigator.appVersion.indexOf('Win');