var ts = -1;
function rst(){ if(ts<0){ ts = setTimeout('rs()', 5); } }

function rs()
{
	var w = 800;
	if(parseInt(navigator.appVersion)>3)
	{
		if(navigator.appName=='Netscape'){ w = window.innerWidth; }
		if(navigator.appName.indexOf('Microsoft')!=-1){ w = document.body.offsetWidth; }
	}
	
	if(w>2048){ w = Math.round(w/5); }
	else
	{
		if(w>1024){ w = Math.round(w/10); }
		else{ w=10; }
	}
	document.getElementById('mn').style.left =	w+'px';
	document.getElementById('cp').style.marginLeft = (111+w)+'px';
	document.getElementById('cp').style.marginRight = w+'px';
	document.getElementById('cpa').style.marginLeft = (111+w)+'px';
	document.getElementById('cpb').style.marginRight = w+'px';

	ts = -1;
}

