	// Function to pop News Window Page	
	//
	var bName = navigator.appName;
	var bApp = navigator.appVersion;
	var canFocus = "no"
	if (bName == "Netscape") canFocus = "yes";
	if (bApp.indexOf("MSIE 4.5") != -1) canFocus = "yes";
	if (bApp.indexOf("MSIE 5") != -1) canFocus = "yes";
	if (bApp.indexOf("MSIE 6") != -1) canFocus = "yes";
	
	function openNews(thePage){
		theNews = window.open(thePage, 'theNews', 'width=475,height=460,toolbar=yes,scrollbars=yes,resizable=yes,dependent=yes');
			if (canFocus=="yes") { setTimeout("focusNews();",200); }
		}
		
	function focusNews() {
		window.theNews.focus();
		}
	
	
	
	
	// Functions to control Pop-up Product Window and close windows
	//
	function closeWins() {
		if (window.theProd) {
			if (!window.theProd.closed) window.theProd.close();
		}
		if (window.artistBio) {
			if (!window.artistBio.closed) window.artistBio.close();
		}
	}
	
	function popProdWin(thePage, theHeight) {
			if (!theHeight || theHeight > 350) theHeight = 350;
			if (theHeight < 100) theHeight = 100;
			theHeight += 50;
			// alert ("openHeight=" + theHeight);
			theProd = window.open(thePage, 'theProd', 'width=550,height='+theHeight+',toolbar=no,scrollbars=yes,resizable=yes,dependent=yes');
			if (window.theProd.focus()) setTimeout("focusProd();",200);
	}
	
	var calledPage = '';
	var openHeight = '';
	function openProd(thePage, theHeight){
			calledPage = thePage
			openHeight = theHeight
			if (window.theProd) {
				if (!window.theProd.closed) {
					window.theProd.close();
				}
				delayToEnsureProdPop = setTimeout("popProdWin(calledPage,openHeight);",500);
			} else {
				popProdWin(thePage,openHeight);
			}
		}
		
	function focusProd() {
			window.theProd.focus();
	}	


var theBio = '';


        function popBioWin(thePage) {
                        artistBio = window.open(thePage, 'artistBio', 'width=425,height=375,toolbar=yes,scrollbars=yes,resizable=yes,dependent=yes');
                        if (window.artistBio.focus()) setTimeout("focusBio();",200);
        }


        function openBio(thePage){
                        theBio = thePage
                        if (window.artistBio) {
                                if (!window.artistBio.closed) {
                                        window.artistBio.close();
                                }
                                delayToEnsureBioPop = setTimeout("popBioWin(theBio);",500);
                        } else {
                                popBioWin(thePage);
                        }
                }

        function focusBio() {
                window.artistBio.focus();
                }

