var winW = 1024, winH = 768;

if (parseInt(navigator.appVersion)>3) {
	 if (navigator.appName=="Netscape") {
	 winW = window.innerWidth;
	 winH = window.innerHeight;
	}
	 if (navigator.appName=="Opera") {
	 winW = document.body.clientWidth;
	 winH = document.body.clientHeight;
	}
	 if (navigator.appName.indexOf("Microsoft")!=-1) {
 	winW = document.body.offsetWidth;
	winH = document.body.offsetHeight;
	}
}
	document.cookie = "SW=" + winW + "; expires= Thu,31-Dec-2020 00:00:00 GMT;";
	document.cookie = "SH=" + winH + "; expires= Thu,31-Dec-2020 00:00:00 GMT;";

function ChangeLanguage(list) {
    var newPage = list.options[list.selectedIndex].value
    if (newPage != "None") {
        location.href=newPage
    }
}

window.onresize = Wresize;

function Wresize()
{
if (parseInt(navigator.appVersion)>3) {
	 if (navigator.appName=="Netscape") {
		 winW = window.innerWidth;
		 winH = window.innerHeight;
		}
	 if (navigator.appName.indexOf("Microsoft")!=-1) {
	 	winW = document.body.offsetWidth;
		winH = document.body.offsetHeight;
		}
	}
		document.cookie = "SW=" + winW + "; expires= Thu,31-Dec-2020 00:00:00 GMT;";
		document.cookie = "SH=" + winH + "; expires= Thu,31-Dec-2020 00:00:00 GMT;";
		document.getElementById('content').style.height = (winH - 220);
		document.getElementById('box1').style.height = (winH - 220);
		document.getElementById('box3').style.height = (winH - 220);
		document.getElementById('contently').style.width = (winW - 268);
		document.getElementById('middle-middle3').style.width = (winW - 320);
		document.getElementById('pointer1').style.marginTop = ((winH-250-25) / 2);
		document.getElementById('pointer3').style.marginTop = ((winH-250-25) / 2);
}

function ChangeLanguage(list) {
    var newPage = list.options[list.selectedIndex].value
    if (newPage != "None") {
        location.href=newPage
    }
}
function deletethis(){
    if(!confirm('Are you sure?')){
        return false;
    }
    else{
        return true;
    }
}
