var imgWindow = null;var imgWindow_closed = false;function closeImgPopup(){	if (imgWindow != null){	if (!imgWindow_closed){	imgWindow_closed = true;	imgWindow.close();		}	}}function popImg(strURL, intImgH, intImgW, strCaption, strAlt){	closeImgPopup();	// close existing image window	imgWindow = window.open("popup.asp?url=" + strURL + "&caption=" + strCaption + "&alt=" + strAlt, "imgWindow" ,"menubar=no,scrollbars=no,resizable=no,status=no,width=530,height=530" );	}// Window PopUpfunction PopUp(mypage, myname, w, h) {var winl = (screen.width - w) / 2;var wint = (screen.height - h) / 2;winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no,resizable=no'win = window.open(mypage, myname, winprops)  if (parseInt(navigator.appVersion) >= 4) {   win.window.focus();  }}/* open new centered window without scrolling ability *//* USAGE: javascript:openPop('filename.html','windowname', width, height); */function popWin(url,name,popW,popH) {        version = navigator.appVersion;	var w = 800, h = 600;	if (document.all || document.layers) {		w = screen.availWidth;		h = screen.availHeight;	}	var leftPos = (w-popW)/2, topPos = (h-popH)/2;	window.open(url,name,'width=' + popW + ',height=' + popH + ',scrollbars=no,toolbar=no,status=no,resizable=no,top=' + topPos + ',left=' + leftPos);void(0);}// POPUP WINDOW    function spawnPhoto(desktopURL,windowName,width,height) {        if ((Macintosh) && ((browserNameLong == "IE4") || (browserNameLong == "IE4.5"))) {             var newheight = parseInt(height + 17);        }        else {            var newheight = height;        }        window.open(desktopURL,windowName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width='+width+',height='+newheight+',resizable=0');    }    function spawnMovie(desktopURL,windowName,width,height) {         window.open(desktopURL,windowName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width='+width+',height='+height+',resizable=0');    }    function spawnBank(desktopURL,windowName,width,height) {         window.open(desktopURL,windowName,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,width='+width+',height='+height+',resizable=0');    }    	// SIRIUS POP function launchPlayer(genreKey, channelKey, source,  target) {                  //setup source if  exists          var sourceString =  "";          if(source != null  && source.length >  0) {                   sourceString = "source=" + source;                 }                     var url = "http://www.sirius.com/servlet/MediaPlayer?stream=" +  channelKey + "&" + sourceString;         var features =  "menubar=no,locationbar=no,status=no,resizable=yes,height=575,width=650,screenX=10,screenY=10,left=10,top=10";          var  newWin = window.open(url, "FullMediaPlayer", features);           return;   } 