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 ;

	fullWidth		=	myWidth;

	halfWidth		=	Math.round(fullWidth/2) ;

	halfHeight		=	Math.round(fullHeight/2) ;

	quarterWidth		=	Math.round(halfWidth/2) ;

	quarterHeight		=	Math.round(halfHeight/2) ;

	thirdHeight		=	Math.round(fullHeight/3) ;

	twothirdsHeight		=	Math.round((2*fullHeight)/3) ;

	sixthHeight		=	Math.round(fullHeight/6) ;

	   

	containerHeight		=	320;

	containerWidth		=	834;

	containerLeft		=	halfWidth-Math.round(containerWidth/2);

	containerTop		=	halfHeight-Math.round(containerHeight/2)+24;

	  

	  	document.getElementById("container").style.height		= containerHeight + "px";  

	  	document.getElementById("container").style.width		= containerWidth + "px";

	  	document.getElementById("container").style.left			= containerLeft + "px";

	  	document.getElementById("container").style.top			= containerTop + "px";    

		

	containerWidth		=	462;

	wn_Left				=	0;

	wn_Top				=	0;

	wn_Width			=	containerWidth-24;

	wn_Height			=	containerHeight;

	  	document.getElementById("wn").style.left			= wn_Left + "px";

	  	document.getElementById("wn").style.top				= wn_Top + "px";  

	  	document.getElementById("wn").style.height			= wn_Height + "px";  

	  	document.getElementById("wn").style.width			= wn_Width + "px";

	  	document.getElementById("hold").style.left			= wn_Left + "px";

	  	document.getElementById("hold").style.top			= wn_Top + "px";  

	  	document.getElementById("hold").style.height			= wn_Height  + "px";  

	  	document.getElementById("hold").style.width			= wn_Width + "px";		



	scrollbar_Left		=	10;

	scrollbar_Top		=	0;

	scrollbar_Width		=	12;

	scrollbar_Height	=	wn_Height;

	  	document.getElementById("scrollbar").style.left			= scrollbar_Left + "px";

	  	document.getElementById("scrollbar").style.top			= scrollbar_Top + "px";  

	  	document.getElementById("scrollbar").style.height		= scrollbar_Height + "px";  

	  	document.getElementById("scrollbar").style.width		= scrollbar_Width + "px";



	track_Height		=	wn_Height;

	  	document.getElementById("track").style.height			= track_Height + "px";  

		

	dragBar_Height		=	wn_Height/4;

	  	document.getElementById("dragBar").style.height			= dragBar_Height + "px";  



	pagebgWidth		=	fullWidth;

	pagebgHeight	=	fullHeight;

	pagebgLeft		=	0;

	  	document.getElementById("pagebg").style.left			= pagebgLeft + "px";   

	  	document.getElementById("pagebg").style.width			= pagebgWidth + "px"; 

	  	document.getElementById("pagebgImg").style.width		= pagebgWidth + "px"; 

	  	document.getElementById("pagebgImg").style.height		= pagebgHeight + "px"; 



	mainBackgroundLeft		=	Math.round(halfWidth-494);

	mainBackgroundTop		=	Math.round(halfHeight-311);

	  	document.getElementById("mainBackground").style.top			= mainBackgroundTop + "px"; 

	  	document.getElementById("mainBackground").style.left		= mainBackgroundLeft + "px"; 



	deepthoughtLogoLeft		=	halfWidth-345;

	deepthoughtLogoTop		=	quarterHeight +(Math.round(quarterHeight/2)-51)-40;

	  	document.getElementById("deepthoughtLogo").style.top		= deepthoughtLogoTop + "px"; 

	  	document.getElementById("deepthoughtLogo").style.left		= deepthoughtLogoLeft + "px"; 

	  

	navigationTopHeight		=	37;

	navigationTopWidth		=	899;

	navigationTopLeft		=	halfWidth-Math.round(navigationTopWidth/2)+1;

	navigationTopTop		=	halfHeight-210;	  	

		document.getElementById("navigationTop").style.height		= navigationTopHeight + "px";  

	  	document.getElementById("navigationTop").style.width		= navigationTopWidth + "px";

	  	document.getElementById("navigationTop").style.left			= navigationTopLeft + "px";

	  	document.getElementById("navigationTop").style.top			= navigationTopTop + "px"; 

		

	navigationBottomHeight		=	37;

	navigationBottomWidth		=	899;

	navigationBottomLeft		=	halfWidth-Math.round(navigationBottomWidth/2)+1;

	navigationBottomTop			=	halfHeight+225;	  	

		document.getElementById("navigationBottom").style.height	= navigationBottomHeight + "px";  

	  	document.getElementById("navigationBottom").style.width		= navigationBottomWidth + "px";

	  	document.getElementById("navigationBottom").style.left		= navigationBottomLeft + "px";

	  	document.getElementById("navigationBottom").style.top		= navigationBottomTop + "px"; 

		

	affiliatesHeight	=	42;

	affiliatesWidth		=	401;

	affiliatesLeft		=	halfWidth+49;

	affiliatesTop		=	halfHeight+225;	  	

		document.getElementById("affiliates").style.height	= affiliatesHeight + "px";  

	  	document.getElementById("affiliates").style.width	= affiliatesWidth + "px";

	  	document.getElementById("affiliates").style.left	= affiliatesLeft + "px";

	  	document.getElementById("affiliates").style.top		= affiliatesTop + "px"; 

		

	  	document.getElementById("pageLoader").style.visibility		= "hidden";

	  	document.getElementById("pageLoader").style.block			= "none";

	  	document.getElementById("pageLoaderImg").style.visibility	= "hidden";

	  	document.getElementById("pageLoaderImg").style.block		= "none";  

}