function setSize() {

	var myWidth 	= 0; 
	var 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;
	}

	fullHeight					=	myHeight-5 ;
	fullWidth					=	myWidth-2;
	thirdHeight				=	fullHeight/3 ;
	twothirdsHeight			=	(2*fullHeight)/3 ;
	sixthHeight				=	fullHeight/6 ;
	halfWidth					=	fullWidth/2 ;
	contentTop				= 	(fullHeight	/2)-293;

	topbar_Left			=	0;
	topbar_Top			=	contentTop;
	topbar_Width			=	fullWidth;
	topbar_Height			=	64;

	  	document.getElementById("topbar").style.left			= topbar_Left + "px";
	  	document.getElementById("topbar").style.top			= topbar_Top + "px";  
	  	document.getElementById("topbar").style.width		= topbar_Width + "px";
	  	document.getElementById("topbar").style.height		= topbar_Height + "px";  
		
	shader1_Left			=	0;
	shader1_Top			=	contentTop+topbar_Height;
	shader1_Width		=	fullWidth;
	shader1_Height		=	14;

	  	document.getElementById("shader1").style.left			= shader1_Left + "px";
	  	document.getElementById("shader1").style.top			= shader1_Top + "px";  
	  	document.getElementById("shader1").style.width		= shader1_Width + "px";
	  	document.getElementById("shader1").style.height		= shader1_Height + "px";  
				
	pagebg_Left			=	0;
	pagebg_Top			=	contentTop+topbar_Height;
	pagebg_Width			=	fullWidth;
	pagebg_Height		=	462;

	  	document.getElementById("pagebg").style.left			= pagebg_Left + "px";
	  	document.getElementById("pagebg").style.top			= pagebg_Top + "px";  
	  	document.getElementById("pagebg").style.width		= pagebg_Width + "px";
	  	document.getElementById("pagebg").style.height		= pagebg_Height + "px";  
		
	mainContent_Left			=	(fullWidth/2)-480;
	mainContent_Top			=	contentTop+topbar_Height+shader1_Height;
	mainContent_Width		=	960;
	mainContent_Height		=	320;

	  	document.getElementById("mainContent").style.left			= mainContent_Left + "px";
	  	document.getElementById("mainContent").style.top			= mainContent_Top + "px";  
	  	document.getElementById("mainContent").style.width			= mainContent_Width + "px";
	  	document.getElementById("mainContent").style.height		= mainContent_Height + "px";  		
		
	mainContentBox_Left			=	(fullWidth/2)-480;
	mainContentBox_Top			=	contentTop+topbar_Height+shader1_Height;
	mainContentBox_Width		=	470;
	mainContentBox_Height		=	120;

	  	document.getElementById("mainContentBox").style.left			= mainContentBox_Left + "px";
	  	document.getElementById("mainContentBox").style.top			= mainContentBox_Top + "px";  
	  	document.getElementById("mainContentBox").style.width			= mainContentBox_Width + "px";
	  	document.getElementById("mainContentBox").style.height		= mainContentBox_Height + "px";  	
		
	shader2_Left			=	0;
	shader2_Top			=	contentTop+topbar_Height+shader1_Height+mainContent_Height;
	shader2_Width		=	fullWidth;
	shader2_Height		=	14;

	  	document.getElementById("shader2").style.left			= shader2_Left + "px";
	  	document.getElementById("shader2").style.top			= shader2_Top + "px";  
	  	document.getElementById("shader2").style.width		= shader2_Width + "px";
	  	document.getElementById("shader2").style.height		= shader2_Height + "px";  
		
	secundaryContent_Left			=	(fullWidth/2)-480;
	secundaryContent_Top			=	contentTop+topbar_Height+shader1_Height+mainContent_Height+shader2_Height;
	secundaryContent_Width		=	960;
	secundaryContent_Height		=	100;

	  	document.getElementById("secundaryContent").style.left			= secundaryContent_Left + "px";
	  	document.getElementById("secundaryContent").style.top			= secundaryContent_Top + "px";  
	  	document.getElementById("secundaryContent").style.width		= secundaryContent_Width + "px";
	  	document.getElementById("secundaryContent").style.height		= secundaryContent_Height + "px";  
		
	shader3_Left			=	0;
	shader3_Top			=	contentTop+topbar_Height+shader1_Height+mainContent_Height+shader2_Height+secundaryContent_Height;
	shader3_Width		=	fullWidth;
	shader3_Height		=	14;

	  	document.getElementById("shader3").style.left			= shader3_Left + "px";
	  	document.getElementById("shader3").style.top			= shader3_Top + "px";  
	  	document.getElementById("shader3").style.width		= shader3_Width + "px";
	  	document.getElementById("shader3").style.height		= shader3_Height + "px";  		
		
	bottombar_Left			=	0;
	bottombar_Top			=	contentTop+topbar_Height+shader1_Height+mainContent_Height+shader2_Height+secundaryContent_Height+shader3_Height;
	bottombar_Width			=	fullWidth;
	bottombar_Height		=	fullHeight -(topbar_Height+shader1_Height+mainContent_Height+shader2_Height+secundaryContent_Height+shader3_Height)-contentTop;

	  	document.getElementById("bottombar").style.left			= bottombar_Left + "px";
	  	document.getElementById("bottombar").style.top			= bottombar_Top + "px";  
	  	document.getElementById("bottombar").style.width		= bottombar_Width + "px";
	  	document.getElementById("bottombar").style.height		= bottombar_Height + "px";  	

}
