winH=0;
winW=0;



function sensationwhitefullscreen() 
{
	idtlauncher("site.html", "sensation");
}
function sensationwhitehigh() 
{
	idtlauncher("white-high.html", "sensation");
}
function sensationwhitelow() 
{
	idtlauncher("white-low.html", "sensation");
}
function sensationblackfullscreen() 
{
	idtlauncher("black-fullscreen.html", "sensation");
}
function sensationblackhigh() 
{
	idtlauncher("black-high.html", "sensation");
}
function sensationblacklow() 
{
	idtlauncher("black-low.html", "sensation");
}
	

function idtlauncher(url, name) 
{
	var windowName = (name == "sensation") ? name : "sensation";

	if (navigator.appName == 'Microsoft Internet Explorer' && (navigator.platform.substring(0,3) == 'Win')) {
		wComp=10;
		hComp=57;
	}
	else if (navigator.appName == 'Netscape' && navigator.platform.substring(0,3) == 'Win') {
		wComp=12;
		hComp=59;;
	}
	else if (navigator.platform == 'MacPPC' && navigator.appName == 'Netscape'){
		wComp=13;

		hComp=49;
	}
	else {
		wComp=13;
		hComp=31;		
	}

	winW=screen.width-wComp;
	winH=screen.height-hComp;

	finalFeature="left=0,top=0,width=" + winW + ",height=" + winH + ",scrollbars=no";
	finalUrl=url+"?width=" + winW + "&height=" + winH;
	full=window.open(finalUrl,windowName,finalFeature);
	full.focus();

	if(navigator.platform.indexOf("MacPPC")!=-1 && navigator.appName.indexOf('Microsoft')!=-1)
	{
		full.resizeTo(winW,winH);
	}
}

