<!--
var ns = (document.layers) ? true:false;
if (ns) {
	window.onload = init();
}

function init() {
	setTimeout("window.onresize = redo", 1000);
}

function redo() {
	window.location.reload();
}

if (document.images) {
	var imageNames = new Array("flash_site","behind_the_scenes","trailer","photos","message_boards","downloads","wb_insider","story","cast","filmmakers","production_notes","aboutdvd");
	var imagePath = "images-nav/";
	var imageExtension = ".gif";
	var allMyImages = new Array(imageNames.length);
	var curName = "";
	var gWhichGlowing = "";
	
	for (var i=0; i<imageNames.length; i++) {
		curName = imageNames[i];
		allMyImages[curName] = new Array("over","out");
		allMyImages[curName]["out"] = new Image();
		allMyImages[curName]["out"].src = imagePath+curName+"-out"+imageExtension;
		allMyImages[curName]["over"] = new Image();
		allMyImages[curName]["over"].src = imagePath+curName+"-over"+imageExtension;
	}
}

function Glow(whichImage) {
	if (document.images) {
		document[whichImage].src = allMyImages[whichImage]["over"].src;
		gWhichGlowing = whichImage;
	}
}

function DeGlow(){
	if (document.images) {
		document[gWhichGlowing].src = allMyImages[gWhichGlowing]["out"].src;
		gWhichGlowing = "";
	}
}

function popWin(iNum) {
	bPC = navigator.userAgent.indexOf("Win")>=0 ? true:false;
	if (bPC) {
		iWidth = 524;
	}
	else {
		iWidth = 508;
	}
	open("popup.html?" + iNum,"","height=362,width="+iWidth);
}
// -->
