// JavaScript Document
<!--
function clrBar(line,face)
		{
		with(document.body.style)
			{
			scrollbarDarkShadowColor = line;
			scrollbar3dLightColor	 = line;
			scrollbarBaseColor	 = face;
			scrollbarFaceColor	 = face;
			scrollbarHighlightColor	 = face;
			scrollbarShadowColor	 = face;
			scrollbarArrowColor	 = "#666666";
			scrollbarTrackColor	 = "#E1E1E1";
			}
		}
function setcolor()
		{
		var w = document.body.clientWidth;
		var h = document.body.clientHeight;
		var x = event.clientX;
		var y = event.clientY;
		//window.status=y+"-"+h+"   -   " +x+"-"+w
		if((x>w&&x<w+20)||(y>h&&y<h+20)) clrBar("#fcfcfc","#fcfcfc"); // Colors of active state
		else 	     			 clrBar("#eeeeee","#eeeeee"); // Colors of normal state
		}
if (document.all){
document.onclick=setcolor;
clrBar("#848480","#848480");
setInterval("document.body.click()",250);
}


// copyright 1999 Idocs, Inc. http://www.idocs.com
// Distribute this script freely but keep this notice in place
function numbersonly(myfield, e, dec)
{
var key;
var keychar;

if (window.event)
   key = window.event.keyCode;
else if (e)
   key = e.which;
else
   return true;
keychar = String.fromCharCode(key);

// control keys
if ((key==null) || (key==0) || (key==8) || 
    (key==9) || (key==13) || (key==27) )
   return true;

// numbers
else if ((("0123456789").indexOf(keychar) > -1))
   return true;

// decimal point jump
else if (dec && (keychar == "."))
   {
   myfield.form.elements[dec].focus();
   return false;
   }
else
   return false;
}

//-->

