window.onload = init; 
window.onresize = init;
 
function init() {
	obj = document.getElementById('scr');
    dcw = document.documentElement.clientWidth;
	obj2 = document.getElementById('nextbut');
	if (dcw >= 980 && dcw <= 1254) {
		obj.style.width = "654px";
//		obj2.style.marginRight = "-20px";
//		obj2.style.marginLeft = "0%";
//		obj2.style.marginLeft = "1px";
	} else if (dcw >= 1255) {
		obj.style.width = "960px";
//		obj2.style.marginRight = "2%";
	}
}
