<!--

var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
	if(InternetExplorer){
	    document.write("<link rel=\"stylesheet\" href=\"css\/ie_style.css\" type=\"text\/css\">");
	}else{
	    document.write("<link rel=\"stylesheet\" href=\"css\/ns_style.css\" type=\"text\/css\">");	
    }

// Path to images directory
var gsPath    = "images/";

function imgOff(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "http://movies.apple.com/trailers/columbia/basic/js/_off.gif";
	}
}

function imgOn(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "http://movies.apple.com/trailers/columbia/basic/js/_on.gif";
	}
}

function img2Off(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "http://movies.apple.com/trailers/columbia/basic/js/_off.jpg";
	}
}

function img2On(sName) {
	if (document.images) {
		document[sName].src = gsPath + sName + "http://movies.apple.com/trailers/columbia/basic/js/_on.jpg";
	}
}

// with scrollbar, specified width and height
function openWindow(url,w,h) {
// parameters:	url = URL of the popup window
// 				w = width
// 				h = height
	leftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	topPosition = (screen.height) ? (screen.height-h)/2 : 0;
	var windowprops = 'width=' + w + ',height=' + h + ',top='+ topPosition +',left='+ leftPosition +',toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no';
	var popup = window.open(url,'remote2',windowprops);
	popup.focus();
}

//-->
