// JavaScript Document

<!--

function clearField(txt,elm){
	//alert('elm.value= ['+elm.value+'].');
	if (elm.value == txt){
		//Reset the field to empty.
		elm.value = '';
	}
}

function resetField(txt,elm){
	//alert('elm.value= ['+elm.value+'].');
	if (elm.value == ''){
		//Reset the field to it's txt.
		elm.value = txt;
	}
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}


function rulingPopUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=266,height=319');");
}

-->