<!--
		
	var ie = false;
	var ns = false;
	var win = false;
	var ver = parseInt(navigator.appVersion);
	var browserWidth, browserHeight, totalWidth, totalHeight;
	var operaBrowser = window.opera ? true : false;
	var logindiv, loginWidth, loginHeight;

	if (navigator.appName.indexOf('Microsoft') > -1) {
		ie = true;
	}

	if (navigator.appName.indexOf('Netscape') > -1) {
		ns = true;
	}

	if (navigator.platform.indexOf('Win') > -1) {
		win = true;
	}

	var flashplugin = 0;

	rendercss();


function rendercss() {
	if (win) {
		if (ie || (ns && ver >= 5)) {
		document.write('<link rel=stylesheet href=/assets/css/style.css type=text/css>');
		}
		else {
		document.write('<link rel="stylesheet" href="/assets/css/style.css" type="text/css">');
		}
	}
	else {
		document.write('<link rel="stylesheet" href="/assets/css/style.css" type="text/css">');
	}
}

function detectdimensions() {
	if (ie) {
		browserWidth = document.body.clientWidth;
		browserHeight = document.body.clientHeight;
		totalWidth = window.screen.availWidth;
		totalHeight = window.screen.availHeight;
	}

	else {
		browserWidth = window.innerWidth;
		browserHeight = window.innerHeight;
		totalWidth = window.screen.availWidth;
		totalHeight = window.screen.availHeight;
	}				
}

function flashdetect() {

	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
		if (navigator.plugins && navigator.plugins["Shockwave Flash"]) {
			flashplugin = 1;
		}
	}
	else {
		if (ie && win) {
			document.write('<SCRIPT LANGUAGE=VBScript\> \n');
			document.write('on error resume next \n');
			document.write('flashplugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\n');
			document.write('if ( flashplugin <= 0 ) then flashplugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\n');
			document.write('if ( flashplugin <= 0 ) then flashplugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
			document.write('</SCRIPT\> \n');
		}
	}

}

function popgenericwin(winname, winfeatures, winurl) {
	window.open(winurl, winname, winfeatures);
}

//-->
