$(document).ready(function() {load();});
function getStyle(el,styleProp)
{
	if (el.currentStyle)
		var y=el.currentStyle[styleProp];
	else if (window.getComputedStyle)
		var y=document.defaultView.getComputedStyle(el,null).getPropertyValue(styleProp);
	return y;
}

function load()
{
	l0=document.getElementById('line0');
	if(!l0) return;
	m=document.getElementById('newsletterbox_mail');
	nb=document.getElementById('nbox');
	l0.style.width='940px';
	nb.style.width='202px';
	if (typeof(adtype) != 'undefined')
	{
		e=document.getElementById('Laddbox120600');
		n=document.getElementById('main_head_newsletter');
		if (adtype == 'wallpaper')
			{ n.style.width='227px';l0.style.width='955px';m.style.width='162px';nb.style.width='217px';}
		if (adtype == 'expwallpaper')
			{ e.style.position='absolute';e.style.top='95px';e.style.cursor='pointer';n.style.width='387px';l0.style.width='1115px';m.style.width='322px';nb.style.width='377px';}
	}
	nb.style.display="inline";
	document.getElementById('main_head_bannerI').style.display="inline";

	if (typeof(bgcolor) != 'undefined' && bgcolor != null)
		{ document.body.style.backgroundColor=bgcolor; }
	if (typeof(bgimage) != 'undefined' && bgimage != null)
		{ document.body.style.backgroundImage=bgimage;}
	if (typeof(adclick) != 'undefined' && adclick != null)
		{ document.getElementById('Laddbox120600').onclick=function() { window.open(adclick); }; document.getElementById('Laddbox120600').style.cursor='pointer'; }
}
