startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}

function euro_test()
{
	var strHref = window.location.href.indexOf('?');
	if(strHref == '-1')
	{
		var a = "?a=euro";
		var url = window.location.href + a;
		self.location.href=url;
		//alert(url);
	}
	else
	{
		var a = "&a=euro";
		var url = window.location.href + a;
		self.location.href=url;
		//alert(url);
	}
}

function dollar_test()
{
	var strHref = window.location.href.indexOf('?');
	if(strHref == '-1')
	{
		var a = "?a=dollar";
		var url = window.location.href + a;
		self.location.href=url;
		//alert(url);
	}
	else
	{
		var a = "&a=dollar";
		var url = window.location.href + a;
		self.location.href=url;
		//alert(url);
	}
}

function email_blank()
{
	document.frm.email.value = "";
}

<!--//--><![CDATA[//><!--

sfhover = function() {
var sfEls = document.getElementById("mainnav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+="sfHover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp("sfHover\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfhover);

//--><!]]>


function showCV2Popup2(sDivID, sDivFadeID)
{

	showDisableDiv(sDivFadeID);

	var oPopupDiv = document.getElementById(sDivID);
	//var oPopupDiv = findObject(sDivID);
	//alert(oPopupDiv.id)
	oPopupDiv.style.display = "block";
	oPopupDiv.style.visibility = "";
	oPopupDiv.style.opacity = "0";
	oPopupDiv.style.filter = "alpha(opacity=0)";

	var bodyScrollTop = 0;
	if (document.documentElement && document.documentElement.scrollTop)
	{
                    var bodyScrollTop = document.documentElement.scrollTop;
        }
    		else if (document.body)
    		{
                    var bodyScrollTop = document.body.scrollTop;
        }
	oPopupDiv.style.top = (bodyScrollTop + 50) + "px"

	var i;
	for (i = 0; i < 10; i++)
	{
		window.setTimeout("document.getElementById('" + sDivID + "').style.opacity = '0." + i + "';", 50 * i);
		window.setTimeout("document.getElementById('" + sDivID + "').style.filter = 'alpha(opacity=" + 10 * i + ")';", 50 * i);
	}
	window.setTimeout("document.getElementById('" + sDivID + "').style.opacity = '1';", 50 * i);
	window.setTimeout("document.getElementById('" + sDivID + "').style.filter = 'alpha(opacity=100)';", 50 * i);

	//window.setTimeout("hideCV2Popup2('" + sDivID + "','" + sFormName + "','" + sDivFadeID + "')",10000);
}


function showDisableDiv(sDivFadeID)
{
	var oDisableDiv = document.getElementById(sDivFadeID);
	//var oDisableDiv = findObject(sDivFadeID);
	var i;
	oDisableDiv.style.height = '900px';
	oDisableDiv.style.display = "block";
	oDisableDiv.style.visibility = "";
	oDisableDiv.style.opacity = "0";
	oDisableDiv.style.filter = "alpha(opacity=0)";
	oDisableDiv.style.backgroundColor = "#FBFBFB";
	oDisableDiv.style.cursor = "default";

	for (i = 0; i <= 6; i++)
	{
		setTimeout("document.getElementById('" + sDivFadeID + "').style.opacity = '0." + i + "';", 50 * i);
		setTimeout("document.getElementById('" + sDivFadeID + "').style.filter = 'alpha(opacity=" + 10 * i + ")';", 50 * i);
	}
}
function findObject(nameStr) {
	var ie  = (document.all);
	var ns4 = document.layers? true : false;
	var dom = document.getElementById && !document.all ? true : false;

	if (dom) {
	    return document.getElementById(nameStr);
	} else if (ie) {
	    return document.all[nameStr];
	} else if (ns4) {
	    return document.layers[nameStr];
	}
}


function showCV2Popup1(sDivID, sFormName)
{
	//var oPopupDiv = document.getElementById(sDivID);
	var oPopupDiv = _findObject(sDivID);
	oPopupDiv.style.display = "block";
	oPopupDiv.style.visibility = "";
	oPopupDiv.style.opacity = "0";
	oPopupDiv.style.filter = "alpha(opacity=0)";

	var i;
	for (i = 0; i < 10; i++)
	{
		window.setTimeout("document.getElementById('" + sDivID + "').style.opacity = '0." + i + "';", 50 * i);
		window.setTimeout("document.getElementById('" + sDivID + "').style.filter = 'alpha(opacity=" + 10 * i + ")';", 50 * i);
	}
	window.setTimeout("document.getElementById('" + sDivID + "').style.opacity = '1';", 50 * i);
	window.setTimeout("document.getElementById('" + sDivID + "').style.filter = 'alpha(opacity=100)';", 50 * i);

	// Set focus on the CV2 entry box.
	//var oForm = document.forms[sFormName];
	//oForm.elements["cc_SecurityCode"].focus();

	return false;
}

function hideCV2Popup1(sDivID)
{
	var oPopupDiv = document.getElementById(sDivID);
	//var oPopupDiv =	findObject(sDivID);
	var i;
	for (i = 1; i <= 10; i++)
	{
		setTimeout("document.getElementById('" + sDivID + "').style.opacity = '0." + (10-i) + "';", 50 * i);
		setTimeout("document.getElementById('" + sDivID + "').style.filter = 'alpha(opacity=" + 10 * (10-i) + ")';", 50 * i);
	}
	setTimeout("document.getElementById('" + sDivID + "').style.display = 'none';", 50 * i);
	setTimeout("document.getElementById('" + sDivID + "').style.visibility = 'hidden';", 50 * i);

	return false;
}



function hideCV2Popup2(sDivID, sDivFadeID)
{
	var oPopupDiv = document.getElementById(sDivID);
	//var oPopupDiv = findObject(sDivID);
	var i;
	for (i = 1; i <= 10; i++)
	{
		setTimeout("document.getElementById('" + sDivID + "').style.opacity = '0." + (10-i) + "';", 50 * i);
		setTimeout("document.getElementById('" + sDivID + "').style.filter = 'alpha(opacity=" + 10 * (10-i) + ")';", 50 * i);
	}
	setTimeout("document.getElementById('" + sDivID + "').style.display = 'none';", 50 * i);
	setTimeout("document.getElementById('" + sDivID + "').style.visibility = 'hidden';", 50 * i);

	hideDisableDiv(sDivFadeID);

	// Set focus on the CV2 entry box.
	//var oForm = document.forms[sFormName];
	//oForm.elements["cc_SecurityCode"].focus();

	return false;
}

function showDisableDiv(sDivFadeID)
{
	var oDisableDiv = document.getElementById(sDivFadeID);
	//var oDisableDiv = findObject(sDivFadeID);
	var i;
	oDisableDiv.style.height = '900px'
	oDisableDiv.style.display = "block";
	oDisableDiv.style.visibility = "";
	oDisableDiv.style.opacity = "0";
	oDisableDiv.style.filter = "alpha(opacity=0)";
	oDisableDiv.style.backgroundColor = "#FBFBFB";
	oDisableDiv.style.cursor = "default";
	//3alert(oDisableDiv.style.backgroundColor)
	for (i = 0; i <= 6; i++)
	{
		setTimeout("document.getElementById('" + sDivFadeID + "').style.opacity = '0." + i + "';", 50 * i);
		setTimeout("document.getElementById('" + sDivFadeID + "').style.filter = 'alpha(opacity=" + 10 * i + ")';", 50 * i);
	}
}

function hideDisableDiv(sDivFadeID)
{
	var oDisableDiv = document.getElementById(sDivFadeID);
	//var oDisableDiv = findObject(sDivFadeID);
	oDisableDiv.style.backgroundColor = "#FFFFFF";

	var i;
	for (i=0; i<=6; i++) {
		setTimeout("document.getElementById('" + sDivFadeID + "').style.opacity = '0." + (6-i) + "';", 50 * i);
		setTimeout("document.getElementById('" + sDivFadeID + "').style.filter = 'alpha(opacity=" + 10 * (6-i) + ")';", 50 * i);
	}
	setTimeout("document.getElementById('" + sDivFadeID + "').style.display = 'none';", 50 * i);
	setTimeout("document.getElementById('" + sDivFadeID + "').style.visibility = 'hidden';", 50 * i);
}

// ------------------------------------------------------------------------------- _getObject()
function findObject(nameStr) {
	var ie  = (document.all);
	var ns4 = document.layers? true : false;
	var dom = document.getElementById && !document.all ? true : false;

	if (dom) {
	    return document.getElementById(nameStr);
	} else if (ie) {
	    return document.all[nameStr];
	} else if (ns4) {
	    return document.layers[nameStr];
	}
}

