var winW;
var winH;
 
 // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
 
if (typeof window.innerWidth != 'undefined') {
	winW = window.innerWidth,
	winH = window.innerHeight
 }
 
// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)

else if (typeof document.documentElement != 'undefined'
	&& typeof document.documentElement.clientWidth !=
	'undefined' && document.documentElement.clientWidth != 0) {
	winW = document.documentElement.clientWidth,
	winH = document.documentElement.clientHeight
 }
 
// older versions of IE
 
else {
	winW = document.getElementsByTagName('body')[0].clientWidth,
	winH = document.getElementsByTagName('body')[0].clientHeight
}

var lm = Math.round((winW - imagewidth[0] - 60)/2);
var lmn = Math.round((winW - 150)/2);
var wi = (winW - 60);

$(function() {
	$("#i0 img").css({'margin-left' : lm});
	$("#i0 h4").css({'margin-left' : lm});
	$("div.notice").css({'margin-left' : lmn});

	if(winH > 700) {
		$("#slider-box").css({'margin-top' : 100});
		$("div.notice").css({'top' : 300});
	} else {
		$("div.notice").css({'top' : 200});
	}
});

