<!--
		
	//Check screen resolution and redirect
	function start(){
		var xsize = screen.width;
		var ysize = screen.height;	
		if (xsize >= 1024){
			new_win=window.open("main.htm","mainFrame");
		}
		else if (xsize < 1024){
			new_win=window.open("main_small.htm","flash_win","width=790,height=535,scrollbar=no,toolbar=no,statusbar=no,menubar=no,resizable=no");
		}
	}
		

	//Disable Right Click

	function disableRightClick(e){

  		var message = "";
  
		if(!document.rightClickDisabled){
			if(document.layers) {
				document.captureEvents(Event.MOUSEDOWN);
				document.onmousedown = disableRightClick;
			}
			else document.oncontextmenu = disableRightClick;
			return document.rightClickDisabled = false;
			}
			if(document.layers || (document.getElementById && !document.all)){
				if (e.which==2||e.which==3)
			{
			alert(message);
			return false;
		}
		  }else{
			alert(message);
			return false;
		  }
		}
		disableRightClick();

	// CHECK CLIENT BROWSER & PLATFORM
	// Works: IE4+, NS4+, Opera

	var its;
	var browserName = '';
	var browserNameLong = '';
	var browserNew = '';
	var preloadFlag = false;
	var Macintosh = navigator.userAgent.indexOf('Mac')>0;

	function its() {
		var n = navigator;
		var ua = ' ' + n.userAgent.toLowerCase();
		var pl = n.platform.toLowerCase();
		var an = n.appName.toLowerCase();

		// browser version
		this.version = n.appVersion;
		this.nn = ua.indexOf('mozilla') > 0;

		// 'compatible' versions of mozilla aren't navigator
		if(ua.indexOf('compatible') > 0) {
			this.nn = false;
		}
		
		this.opera = ua.indexOf('opera') > 0;
		this.ie = ua.indexOf('msie') > 0;
		this.major = parseInt( this.version );
		this.minor = parseFloat( this.version );

		// platform
		this.mac = ua.indexOf('mac') > 0;
		this.win = ua.indexOf('win') > 0;

		// workaround for IE5 which reports itself as version 4.0
		if(this.ie) {
			if(ua.indexOf("msie 5") > 1) {
			var msieIndex = navigator.appVersion.indexOf("MSIE") + 5;
			this.major = parseFloat(navigator.appVersion.substr(msieIndex,3));
			}
		}

		return this;
	}

	function browserNaming() {
		its = new its();
		
		// is it a DOM-enabled browser?
		if (!document.getElementById) {
			browserNew = false;
		}
		else {
			browserNew = true;
		}

		// need the name, too
		if (its.opera) {
			browserName = "Opera";
		}
		else if (its.ie) {
			browserName = "IE";
		}
		else {
			browserName = "NS";
		}

		// and the number
		browserNameLong = browserName + its.major;
	}

	// PRELOADING THE MOUSEOVER IMAGES
	// Works: IE4+, NS4+, Opera

	function createObject(imgName,imgSrc) {
		if (loadingFlag) {
			eval(imgName + ' = new Image()');
			eval(imgName + '.src = "' + imgSrc + '"');
			return imgName;
		}
	}


	// MOUSEOVER IMAGE SWITCHING
	// Works: IE4+, NS4+, Opera
	// Notes: NS4 needs the DIV-name in there if image is in a DIV

	function changeImage(layer,imgName,imgObj) {
		if (preloadFlag) {
			if (browserNew) {
				document.getElementById(imgName).src = eval(imgObj+'.src');
			}
			if ((!browserNew) && (browserName == "NS") && (layer!=null)) {
				eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src');
			}
			else {
				document.images[imgName].src = eval(imgObj+'.src');
			}
		}
	}

	//For Flash popup windows

	function newWindow(url,name,features){
	   var newWin = window.open(url,name,features);
	}
	
	//close window

	function closeIt(){
		window.close();
	}
//-->
