//e-mail scrambler
function m_scr(part1, part2, part3, caption)
{
	str = part1+String.fromCharCode(eval(64))+part2+String.fromCharCode(eval(46))+part3;
	if (caption!="")
	{
	document.write ("<a href='ma"+"ilto:"+str+"' class='linkfotter'>"+caption+"</a>");
	}
	else
	{
	document.write ("<a href='ma"+"ilto:"+str+"' class='linkfotter'>"+str+"</a>");
	}
}

function fnTrapKD(btn, event){

 if (document.all){

  if (event.keyCode == 13){

   event.returnValue=false;

   event.cancel = true;

   btn.click();

  }
 }

 else if (document.getElementById){

  if (event.which == 13){

   event.returnValue=false;

   event.cancel = true;

   btn.click();

  }
 }

 else if(document.layers){

  if(event.which == 13){

   event.returnValue=false;

   event.cancel = true;

   btn.click();

  }
 }
}
function SetFormName()
{
	if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) 
		{
			document.Form1=document.forms[0];
		}
		else 
		{
			document.forms[0].name=document.forms[0].id;
		}	
}