	<!--
	
		function NothingSelected(selection,resp){
			var i,sum,strReturn
			
			sum = 0;
			strReturn = "";
			
			for (i = 0;i < selection.options.length;i++) {
				if (selection.options(i).selected){
					sum += eval(selection.options(i).value);
				}
			}
			if (sum = 0){
				strReturn = resp + "; \n";
			}
			return strReturn;
		}

	
		function MinLen(str, len, resp)	//	MinLength
		{
		strReturn = "";			
		if (str.length < len) 
			{
				strReturn = resp + "; \n";
			}
		return (strReturn);			
		}
		
		function ValidStr(str, resp)	//	Valid Content
		{
		strReturn = "";
		if ((str == " ") || (str == ".")) {
				strReturn = resp + "; \n";
			}
		return (strReturn);			
		}

		function MaxLen(str, strlen, resp)	//	MaxLength
		{
		strReturn = "";
		if (str.length > strlen) {
			strReturn = resp + "; \n";
			}
		return (strReturn);			
		}
		
		function CheckURL(txt, resp)
		{
		strReturn = "";
		if (txt.indexOf("http://") != 0) {
			strReturn = resp + "; \n";
		}
		
		return (strReturn);
		}
		
		function CheckEmail(txt, resp)
		{
		strReturn = "";
		
		if ((txt.indexOf("@") < 0) && ((txt.indexOf(".com") < 0) || (txt.indexOf(".org") < 0) || (txt.indexOf(".gov") < 0) || (txt.indexOf(".net") < 0) || (txt.indexOf(".mil") < 0) || (txt.indexOf(".edu") < 0) || (txt.indexOf(".co") < 0)) ) {
			strReturn = resp + "; \n";
		}
		
		return (strReturn);
		}

		function CheckNum(txt, resp)
		{
		strReturn = "";
		
		var legal = "0123456789()-[]+ "
		var accept = "true";
		var num;
		for (var s = 0; s < txt.length; s++) {
			num = "" + txt.substring(s, s+1);
			
			if (legal.indexOf(num) == "-1") {
				accept = "false"
			}				
		}
			
		if (accept == "false") {
			strReturn = resp + "; \n";
		}
		
		return (strReturn);
		}
		
		function CheckPassword(pass1, pass2, resp)
		{
		strReturn = "";
		
		fail = "false";
		pass1 = new String(pass1);
		pass2 = new String(pass2);
		if ((pass1.length) != (pass2.length)) {
			fail = "true"
		}
		
		for (var i = 0; i < pass1.length; i++) {
			if ((pass1.charAt(i)) != (pass2.charAt(i))) {
				fail = "true"
			}
		}
        
		if (fail == "true") {
			strReturn = resp + "; \n";
		}
		return (strReturn);
		}
		function CheckIndex(index,NaN,resp)
		{
		var strReturn;
		strReturn = "";

		 if (index <= NaN)  
		    strReturn = resp + "; \n";
		 return strReturn;	
		}
	  function Insert(objstr)
	  {
	    var obj,str;
      obj = eval("document.frmDetail."+ objstr ); 
      str = eval("document.frmDetail."+ objstr + "Text");
    	if(obj.options[obj.selectedIndex].value > 0 )
		  {
		   obj.options[obj.selectedIndex].text = str.value;
		  }
	  }
	  function ShowValue(objstr)
	  {
	      var obj,str;
        obj = eval("document.frmDetail."+ objstr ); 
        str = eval("document.frmDetail."+ objstr + "Text");
	   	  str.value = obj.options[obj.selectedIndex].text;
	  }	//-->
	  
	  //	' show the pop up window to create a new 
	function loadwindow(sURL){
	
		w=500; 
		h=540;
		var winl = (screen.width-w)/2;
		var wint = (screen.height-h)/2;
		if (winl < 0) winl = 0;
		if (wint < 0) wint = 0;
		var settings = 'height=' + h + ',';
		settings += 'width=' + w + ',';
		settings += 'top=' + wint + ',';
		settings += 'left=' + winl + ',';
		settings += 'scrollbars';
		win = window.open(sURL,'',settings);
		win.window.focus();
	}
	
	function SubmitSuggestionForm(sURL)
	{
		var message = "";
		if (message.length <= 0)
		{			
		
			message += MinLen(document.frmSuggest.name.value, 1, "- Please provide your name");
			
			if (document.frmSuggest.email.value != '')
				message += CheckEmail(document.frmSuggest.email.value, "- Please provide a valid email address");
			else
				message += "- Please provide a valid email address;\n";	
				
			message += MinLen(document.frmSuggest.comments.value, 1, "- Please provide your comment");
		}


	
		if (message != "") {
		
			alert("Please fill in the following fields correctly: \n" + message)
		} else {
			//alert("Success");
			document.frmSuggest.action= sURL + '&mode=send';
			document.frmSuggest.submit();
		}
	}
	
	var loadstatustext="<div style='width:100%;height:171px; text-align:left' class='highLightsBG'><img src='../js/ajaxtabs/loading.gif'/><span class='content'>&nbsp;&nbsp;Requesting content...</span></div>"
		function GetResults(sTargetURL, sTargetDiv){

			//document.getElementById(sTargetDiv).innerHTML = loadstatustext;
			document.getElementById(sTargetDiv).innerHTML = loadstatustext;
			if (window.XMLHttpRequest)
				StayBehindRequest = new XMLHttpRequest()
			else if (window.ActiveXObject){
				try {
					StayBehindRequest = new ActiveXObject("Msxml2.XMLHTTP")
				} 
				catch (e){
				try{
					StayBehindRequest = new ActiveXObject("Microsoft.XMLHTTP")
				}
				catch (e){}
				}
			}
			var unitime = "&uni= "+new Date().getTime()
			url = sTargetURL + unitime;;
			
			StayBehindRequest.open('GET', url, true);
			StayBehindRequest.send(null);
			//alert(url);
			StayBehindRequest.onreadystatechange=function(){
				loadpage(sTargetDiv)
			}
		}
		function loadpage(sTargetDiv){
			if (StayBehindRequest.readyState == 4 && (StayBehindRequest.status==200 || window.location.href.indexOf("http")==-1)){
			document.getElementById(sTargetDiv).innerHTML=StayBehindRequest.responseText;
			}
		}	
		
			// Temporary variables to hold mouse x-y pos.s
		var tempX = 0;
		var tempY = 0;
		function positionDIV(obj,strWordTemp)
		{
			obj = document.getElementById(obj);
			if (document.documentElement)
			{
				theLeft = document.documentElement.scrollLeft;
				theTop = document.documentElement.scrollTop;
			}
			else if (document.body)
			{
				theLeft = document.body.scrollLeft;
				theTop = document.body.scrollTop;
			}
			theLeft = tempX-60;
			theTop = tempY-110;
			obj.style.left = theLeft + 'px' ;
			obj.style.top = theTop + 'px' ;
			obj.style.visibility = 'visible';
			document.frmLingoWord.strLingoWord.value = strWordTemp;

		}	
		
		function hideDIV(obj)
		{
			obj = document.getElementById(obj);
			obj.style.visibility = 'hidden';
		}


		// Detect if the browser is IE or not.
		// If it is not IE, we assume that the browser is NS.
		var IE = document.all?true:false
		
		// If NS -- that is, !IE -- then set up for mouse capture
		if (!IE) document.captureEvents(Event.MOUSEMOVE)
		
		// Set-up to use getMouseXY function onMouseMove
		document.onmousemove = getMouseXY;
		
		
		
		// Main function to retrieve mouse x-y pos.s
		
		function getMouseXY(e) {
		  if (IE) { // grab the x-y pos.s if browser is IE
			tempX = event.clientX + document.body.scrollLeft
			tempY = event.clientY + document.body.scrollTop
		  } else {  // grab the x-y pos.s if browser is NS
			tempX = e.pageX
			tempY = e.pageY
		  }  
		  // catch possible negative values in NS4
		  if (tempX < 0){tempX = 0}
		  if (tempY < 0){tempY = 0}  
		  // show the position values in the form named Show
		  // in the text fields named MouseX and MouseY
		  //document.Show.MouseX.value = tempX
		  //document.Show.MouseY.value = tempY
		  //alert(tempX);
		  return true
		}
		
function ClickToPrint(strWindowName)
     {
        docPrint=window.open(strWindowName,"Print");
        docPrint.document.open();
        docPrint.document.write('<html><head><title>' + strWindowName + '</title>');
        docPrint.document.write('<style type="text/css">@import url("../money.css");</style>');
        docPrint.document.write('<style type="text/css">@import url("../css/rating.css");</style>');
        docPrint.document.write('<style>body {background-color:#ffffff;background:none;margin:0;padding:0;height:100%;font-family:Georgia, "Times New Roman", Times, serif;min-width:600px;text-align:center;font-size: 11px;color: #2a4116;font-weight: lighter;word-spacing: 0.2em;}</style>')
        docPrint.document.write('</head><body onLoad="self.print();">');
        docPrint.document.write('<table width="100%" border=0>');
        docPrint.document.write('<tr><td align="center">');
        docPrint.document.write('<img src="../images/cmn/printheader.jpg" boder="0" /><br />');
        docPrint.document.write('<hr class="hr" style="width:100%;" /></td></tr>');
        docPrint.document.write('<tr><td><table width="100%" border="0">');
        docPrint.document.write('' + document.getElementById("divPrint").innerHTML + '');  
        docPrint.document.write('</table></td></tr>');
        //docPrint.document.write('<tr><td align="center" style="text-align:center;" class="content" colspan="10">');
        //docPrint.document.write('<hr class="hr" style="width:100%;" /><br /><img src="images/cmn/printfooter.jpg" boder="0" /><br />');
        //docPrint.document.write('</td></tr>');
        docPrint.document.write('</table></body></html>');
        docPrint.document.close();  
        docPrint.focus();
}			