function launch()
{
	// rollselecter = roll
	
	config = ""
	
	allConfigOptions = "";
	
	
	
	// window.open("content.html?allOptions=" + allConfigOptions +  "&config=" + config + "", "content","width=1024,height=768,left=0,top=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,fullscreen=no");
	var win = window.open("content.html?allOptions=" + allConfigOptions +  "&config=" + config + "", "content","width=1024,height=768,toolbar=0,left=0,top=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,fullscreen=no");
	
	// 	win.moveTo(0,0)
	
	return win;
	
}

function openFullScreenPopup( url ) 
{
	
	//CS commenting out 02022009 as part of client changes
	var dimensions = getDimensions();
	var temp_w = dimensions.w;
	var temp_h = dimensions.h;
	
	var win = window.open(url, "popup","width=" + temp_w + ",height=" + (temp_h) + ",toolbar=1,left=0,top=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=0,fullscreen=no");
		
		// win.moveTo(0,0)
		
	// return win;
}

function getDimensions() 
{
	var myWidth = 0, myHeight = 0;
	
	if( typeof( window.innerWidth ) == 'number' ) 
	{
		// Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
		
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) 
	{
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
		
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) 
	{
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	
	var obj = new Object()
		obj.w = myWidth; 
		obj.h = myHeight; 
		
	return obj;
	
	// window.alert( 'Width = ' + myWidth );
	// window.alert( 'Height = ' + myHeight );
	
}

function getSizes()
{
	var screenWidth = document.documentElement.clientWidth;
	var screenHeight = document.documentElement.clientHeight;
	
	var winLeft = window.screenLeft;
	var winTop = window.screenTop;
	
	var screenWidth = screen.width;
	var screenHeight = screen.height;
	
	
	alert(screenWidth + " : " + screenHeight + " /// " + winLeft + " : " + winTop + " /// " + screenWidth + " : " + screenHeight)
}

