flashversion = (typeof minflash == 'undefined') ? 6 : minflash
function getsize() {
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		docwidth = window.innerWidth;
		docheight = window.innerHeight;
	} else {
		
		if( document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight) ) {
			//IE 6+ in 'standards compliant mode'
			docwidth = document.documentElement.clientWidth;
			docheight = document.documentElement.clientHeight;
		} else {
			if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
			//IE 4 compatible
			docwidth = document.body.clientWidth;
			docheight = document.body.clientHeight;
			}
		}
	}
}
var client = false
if (document.getElementById) {
	// Standards Compliant code fork...
	client = 'sc'
} else if (document.all) {
	// IE 4/5 code fork...
	client = 'ie'
} else if (document.layers) {
	// Nav 4.x code fork...
	client = 'ns4'
}

var gotflash = false; //flash detection
if (navigator.plugins && navigator.plugins["Shockwave Flash"]) {
	var flashstr = navigator.plugins["Shockwave Flash"].description
	var flashn = parseInt(flashstr.charAt(flashstr.indexOf(".") - 1))
	gotflash = flashn >= flashversion ? true : false;
}
if(/MSIE/.test(navigator.appVersion) && /Windows/.test(navigator.appVersion)) {
	document.write('<scr' + 'ipt language=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('gotflash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.' + flashversion + '"))) \n');	
	document.write('</scr' + 'ipt\> \n');
}