// resize main wrapper to a whole number
// forces background to display properly in IE
function ie_resize(){
	try{
		var w = Math.floor(document.documentElement.clientWidth/2)*2;
		var wrapper = document.getElementById("wrapper");
		wrapper.style.width = w+'px';
		return wrapper.style.width;
	}catch(e){
		return '100%';	
	}
}
if(navigator.appVersion.indexOf('MSIE')>=0){
	window.onresize = function(e){ie_resize()};
	window.onload = function(e){ie_resize()};
}
