<!--
	function ClientSnifferJr() {
    this.ua = navigator.userAgent.toLowerCase();
    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appVersion);
    this.nav   = (
    (this.ua.indexOf('mozilla')!=-1)
    && ((this.ua.indexOf('spoofer')==-1)
    && (this.ua.indexOf('compatible') == -1))
    );
    this.nav4  = (this.nav && (this.major == 4));
    this.nav4up= (this.nav && (this.major >= 4));
    this.nav5up= (this.nav && (this.major >= 5));
    this.nav6  = (this.nav && (this.major == 5));
    this.nav6up =(this.nav && (this.major >= 5));
    this.gecko = (this.ua.indexOf('gecko') != -1);
    this.ie    = (this.ua.indexOf("msie") != -1);
    this.ie3   = (this.ie && (this.major == 2));
    this.ie4   = (this.ie && (this.major == 4)
    && (this.ua.indexOf("msie 4")==-1));
    this.ie55   = (this.ie && (this.major == 4)
    && (this.ua.indexOf("msie 5.5") != -1));
    this.ie6   = (this.ie && (this.major == 4)
    && (this.ua.indexOf("msie 6") != -1));
    this.ie4up = (this.ie  && (this.major >= 4));
    this.ie5up = (this.ie && !this.ie3 && !this.ie4);
    this.ie55up = (this.ie && !this.ie3 && !this.ie4 );
    this.ie6up = (this.ie && (this.major >= 6));
    this.opera = (this.ua.indexOf("opera") != -1);
    this.opera7up = (this.opera && (this.major >= 7));
 	}
	
	//pop any non ssl calls to registered directory back to ssl
	thispage = window.location.href;
	//alert(thispage);
	if (thispage.indexOf('registered/logout') == -1 ){
		if (thispage.indexOf('http://www.litepc.com/registered') != -1
			|| thispage.indexOf('http://litepc.com/registered') != -1 ){
		window.location = "https://www." + thispage.substring(thispage.lastIndexOf('litepc.com/registered'),thispage.length);
		}
	}
	var is = new ClientSnifferJr();
	if (is.nav4){
			document.write ('<link type="text/css" rel="stylesheet" href="scripts/ns4fixstyle.css">');
		}

	var isIMG = document.images;
	var Arrowon;
	var Arrowoff;
	var Arrowbullet;
	if (isIMG) {
		Arrowon = new Image();
		Arrowon.src = '../graphics/arrow_on.gif';
		Arrowoff = new Image();
		Arrowoff.src = '../graphics/arrow_off.gif';
		Arrowbullet = new Image();
		Arrowbullet.src = '../graphics/arrow_bullet.gif';
	}

	function Arrow(Arrowname) {
		if (isIMG) {
			document[Arrowname].src = '../graphics/arrow_on.gif';
		}
	}

	function Arrow0(Arrowname) {
		if (isIMG) {
			document[Arrowname].src = '../graphics/arrow_off.gif';
		}
	}

	function Arrow1(Arrowname) {
		if (isIMG) {
			document[Arrowname].src = '../graphics/arrow_bullet.gif';
		}
	}

	// cross-browser function to get an object's style object given its id
	function getStyleObject(objectId) {
		if(document.getElementById && document.getElementById(objectId)) {
			// W3C DOM
			return document.getElementById(objectId).style;
		} else if (document.all && document.all(objectId)) {
			// MSIE 4 DOM
			return document.all(objectId).style;
		} else if (document.layers && document.layers[objectId]) {
			// NN 4 DOM.. note: this won't find nested layers
			return document.layers[objectId];
		} else {
			return false;
		}
	}

	function changeObjectVisibility(objectId, newVisibility) {
		// get a reference to the cross-browser style object and make sure the object exists
		var styleObject = getStyleObject(objectId);
		if(styleObject) {
			styleObject.visibility = newVisibility;
			return true;
		} else {
			return false;
		}
	}

	function moveObject(objectId, newXCoordinate, newYCoordinate) {
    		// get a reference to the cross-browser style object and make sure the object exists
    		var styleObject = getStyleObject(objectId);
    		if(styleObject) {
			if (is.opera || is.nav4) {
				styleObject.left = newXCoordinate;
				styleObject.top = newYCoordinate;
			}else{
				styleObject.left = newXCoordinate+'px';
				styleObject.top = newYCoordinate+'px';
			}
			return true;
    		} else {
			return false;
    		}
	}

	function getx(objectId) {
    		var styleObject = getStyleObject(objectId);
    		if(styleObject) {
				var XCoordinate = styleObject.left;
				return XCoordinate;
    		} else {
				return 0;
    		}
	}

	var xOffset = -50;
	var newXCoordinate;
	var newYCoordinate = 89;
	function showPopup (targetObjectId, eventObj) {
	    	if(eventObj) {
			hideCurrentPopup();
			eventObj.cancelBubble = true;  // stop event from bubbling up any farther
			// get current cursor position (scrollTop accounts for scrolling IE)
			//if (is.opera && !is.opera7up) {
		//		newXCoordinate = getx('mainmenu') + getx('head'+targetObjectId);
		//	}else{
				newXCoordinate = (eventObj.pageX)?eventObj.pageX + xOffset:eventObj.x + xOffset + ((document.body.scrollLeft)?document.body.scrollLeft:0);
		//	}
			moveObject(targetObjectId, newXCoordinate, newYCoordinate);

			if( changeObjectVisibility(targetObjectId, 'visible') ) {
	    			// if we successfully showed the popup
	    			// store its Id on a globally-accessible object
	    			window.currentlyVisiblePopup = targetObjectId;
    				return true;
			} else {
    				// cant show popup!
   				return false;
			}
    		} else {
			return false;
		}
	}

	function hideCurrentPopup() {
    		// currently popup in window.currentlyVisiblePopup
    		if(window.currentlyVisiblePopup) {
			changeObjectVisibility(window.currentlyVisiblePopup, 'hidden');
			window.currentlyVisiblePopup = false;
    		}
	}

	//hide popup Menu after delay 300
	timedlayer = setTimeout("", 1)
	function timedrestore() { //v3.0
		clearTimeout(timedlayer)
		timedlayer = setTimeout("hideCurrentPopup()", 300)
	}

	function stoptime() { //v3.0
		clearTimeout(timedlayer)
	}


	function OpenCertDetails() {
		thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=AULITE1-1', 'anew', config='height=500,width=500,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
	}

	function popwindow(myurl) {
		thewindow = window.open(myurl, 'anew', config='height=340,width=540,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
	}


	document.onclick = hideCurrentPopup;
	// create a fake event object for older browsers to avoid errors in function call
	if (is.major < 4) {
  	if (!window.event) {window.event = false;}
  	}


	//-->