function $(el) { 
if(document.getElementById(el)) return document.getElementById(el);
else return false;
}
function moveLeft() {
	var sw=document.body.clientWidth;
	if(document.documentElement.clientWidth) var sw=document.documentElement.clientWidth;
//alert(sw);
if ( sw < 946) {
	document.getElementById('container').style.left='0px';
	document.getElementById('container').style.marginLeft='0px';
}
if ( sw >= 946) {
	document.getElementById('container').style.left='50%';
	document.getElementById('container').style.marginLeft='-473px';
}
}
window.onload=function() { moveLeft();}
window.onresize=function() { moveLeft();}

