// JavaScript Document
var WINW = 1024, WINH = 768;
if( typeof( window.innerWidth ) == 'number' ) {
	//Non-IE
	WINW = window.innerWidth;
	WINH = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
	//IE 6+ in 'standards compliant mode'
	WINW = document.documentElement.clientWidth;
	WINH = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
	//IE 4 compatible
	WINW = document.body.clientWidth;
	WINH = document.body.clientHeight;
}
document.cookie="WINW="+WINW;
document.cookie="WINH="+WINH;
