function changeBGcolor(id,color)
{
	if (document.getElementById && document.getElementById(id))
	{
		document.getElementById(id).style.background = color;
		return true;
	}
	else if (document.layers && document.layers[id])
	{
		document.layers[id].bgColor = color;
		return true;
	}
}

// JS function for uncrypting spam-protected emails:
function UnCryptMailto(s) {	//
	var n=0;
	var r="";
	for(var i=0; i < s.length; i++) {
		n=s.charCodeAt(i);
		if (n>=8364) {n = 128;}
		r += String.fromCharCode(n-(4));
	}
	return r;
}
// JS function for uncrypting spam-protected emails:
function linkTo_UnCryptMailto(s)	{	//
	location.href=UnCryptMailto(s);
}

function openPic(url,winName,winParams)	{	//
	var theWindow = window.open(url,winName,winParams);
	if (theWindow)	{theWindow.focus();}
}

function Go(x)   {    if(x == "nothing")    {      document.forms[0].reset();      document.forms[0].elements[0].blur();      return;    }    else if(x == "end") top.location.href = parent.frames[1].location;    else    {	top.location.href = x	    }  }