bName = navigator.appName; // Detect if browser is Netscape 3+ or IE 4+
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >= 3) || (bName == "Microsoft Internet Explorer"  && bVer >= 4)){
	br = "n3";
}else{
	br = "n2";
}
channelLoaded = 0;

// break out of any frame that might be here
if (window!= top) top.location.href=location.href;

function loadImages() {
	if (br == "n3") {
	  nowshowingover = new Image;
	  nowshowingover.src = "http://www.bigscreen.com/Graphics/NavButtons/02/NowShowing-over.gif";
	  nowshowingout = new Image;
	  nowshowingout.src = "http://www.bigscreen.com/Graphics/NavButtons/02/NowShowing.gif";

	  marqueeover = new Image;
	  marqueeover.src = "http://www.bigscreen.com/Graphics/NavButtons/02/The-Marquee-over.gif";
	  marqueeout = new Image;
	  marqueeout.src = "http://www.bigscreen.com/Graphics/NavButtons/02/The-Marquee.gif";

	  giftshopover = new Image;
	  giftshopover.src = "http://www.bigscreen.com/Graphics/NavButtons/02/GiftShop-over.gif";
	  giftshopout = new Image;
	  giftshopout.src = "http://www.bigscreen.com/Graphics/NavButtons/02/GiftShop.gif";

	  searchover = new Image;
	  searchover.src = "http://www.bigscreen.com/Graphics/NavButtons/02/Search-over.gif";
	  searchout = new Image;
	  searchout.src = "http://www.bigscreen.com/Graphics/NavButtons/02/Search.gif";

	  helpover = new Image;
	  helpover.src = "http://www.bigscreen.com/Graphics/NavButtons/02/Help-over.gif";
	  helpout = new Image;
	  helpout.src = "http://www.bigscreen.com/Graphics/NavButtons/02/Help.gif";

	  channelLoaded = 1;
	}
}

function button_Over(imgName) {
  if (br == "n3" && channelLoaded) {
    imgOn = eval(imgName + "over.src");
	document.images[imgName].src = imgOn;
  }
}

function button_Out(imgName) {
  if (br == "n3" && channelLoaded) {
    imgOff = eval(imgName + "out.src");
	document.images[imgName].src = imgOff;
  }
}

function mouseovertr (o){
	o.style.backgroundColor = "#FFFFFF";
}

function mouseouttr(o){
	o.style.backgroundColor = "#EEEEEE";
}

function launch(url, windowname) {
	gallery=window.open(url,windowname,'toolbar=0,menubar=0,scrollbars=1,SCROLLING=YES,resizable=yes,width=800,height=600');
	return true;
}

