<!--
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		reloadSite_over = newImage("images/reloadSite-over.gif");
		getFlash_over = newImage("images/getFlash-over.gif");
		preloadFlag = true;
	}
}


var IE=(navigator.appName=="Microsoft Internet Explorer");
var NS=(navigator.appName=="Netscape");
bVer = (IE) ? (parseFloat( navigator.appVersion.substring(navigator.appVersion.indexOf("MSIE ")+5) )) : (parseFloat(navigator.appVersion));
flashenabled=false;

//this pops website
popped = null;


function popThis(_loc,width,height,parameters) {
		maxWidth=screen.availWidth;
		maxHeight=screen.availHeight;
		
		if ( (popped!=null) && !(popped.closed) ){
		      popped.close();
		}

		if (width == ""){
			width = 640;
		}
		if (height == ""){
			height = 480;
		}
		_top	= (maxHeight/2) - (height/2);
		_left	= (maxWidth/2)-(width/2 );
		var _params = "width="+width+",height="+height+",toolbar=0,scrollbars=1,resizable=0,";
		if (IE) _params += ",top=" + _top + ",left=" + _left;
		else if (NS) _params += ",alwaysRaised=yes,screenX=" + _left + ",screenY=" + _top;
		popped=window.open(_loc,"popped",_params);

}

//this pops video modules
poppedVideo = null;


function popVideo(_loc,width,height,parameters) {
		maxWidth=screen.availWidth;
		maxHeight=screen.availHeight;
		
		if ( (poppedVideo!=null) && !(poppedVideo.closed) ){
		      poppedVideo.close();
		}

		if (width == ""){
			width = 640;
		}
		if (height == ""){
			height = 480;
		}
		_top	= (maxHeight/2) - (height/2);
		_left	= (maxWidth/2)-(width/2 );
		var _params = "width="+width+",height="+height+",toolbar=0,scrollbars=1,resizable=0,";
		if (IE) _params += ",top=" + _top + ",left=" + _left;
		else if (NS) _params += ",alwaysRaised=yes,screenX=" + _left + ",screenY=" + _top;
		poppedVideo=window.open(_loc,"poppedVideo",_params);

}

// -->