var winW = 630, winH = 460;

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 printWindow() {
	bV = parseInt(navigator.appVersion);
	if (bV >= 4) window.print();
}

function jsOpenWnd(url)
{
	p ="height=400,width=400,toolbar=no,directories=no,status=no,scrollbars=auto,resizable=no,menubar=no";
	hWnd=window.open(url,"Hwnd",p);
	hWnd.focus();
}

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('brands').style.height = (winH - 211);
		document.getElementById('series').style.height = (winH - 211);
		document.getElementById('content').style.height = (winH - 211);
		document.getElementById('extras').style.height = (winH - 211);
}


function ChangeLanguage(list){
    var newPage = list.options[list.selectedIndex].value
    if (newPage != "None") {
        location.href=newPage
    }
}

