var Netscape;
var pixPath;

function clearStatusBar () {
	window.status='';
	return true;

}


function initVars() {

	if (navigator.appName=="Netscape") {
		Netscape = 1;
	}
	else {
		Netscape = 0;
	}
}


function init () {
	// this is called by left.html
	initVars();
	if ( Netscape ) {
		top.window.resizeTo(687,402);
		//alert("netscape");
	}
	else	{
		top.window.resizeTo(713,582);
	}

	MM_preloadImages('pix/story_f2.jpg','pix/show_f2.jpg','pix/info_f2.jpg','pix/mods_f2.jpg','pix/buy_f2.jpg','pix/links_f2.jpg','pix/site_f2.jpg');
}

function newWin (dest) {
	var settings   = "fullscreen=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,status=yes";

	this.blur();
	
	if ( dest=="vividas" ) {
		var daURL = "http://ssg.vividas.com/vividas/SampleContent/";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}
	if ( dest=="hire2" ) {
		var daURL = "http://www.bmwusa.com";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}
	if ( dest=="aj17" ) {
		var daURL = "http://niketown.nike.com";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}
	if ( dest=="cisco" ) {
		var daURL = "http://www.cisco.com/";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}
	if ( dest=="spiderman" ) {
		var daURL = "http://spiderman.sonypictures.com/";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}
	if ( dest=="torafuku" ) {
		var daURL = "http://www.torafuku-usa.com";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}
	if ( dest=="saving" ) {
		var daURL = "http://www.saving-grace-movie.com/";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}
	if ( dest=="screensaver" ) {
		var daURL = "http://www.usolympicteam.com/news/010902usoc.html";
		TheNewWin=window.open(daURL,'newWin',settings);
		TheNewWin.focus();
	}

}

function openPic (daPic) {
	var settings   = "fullscreen=no,toolbar=no,menubar=no,scrollbars=no,resizable=no,status=no,width=800,height=600";
	picWin=window.open(daPic,'picWin',settings);
	picWin.focus();
}



function getSW () {
	var settings = 'fullscreen=no,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes';
	dlWin=window.open("http://www.shockwave.com/download",'dlWinName',settings);
	//dlWin.resizeTo (700,400);
	//alert();
}

