<!--//--><![CDATA[//><!--
top_navHover = function() {
	var sfEls = document.getElementById("top_nav_items").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" top_navHover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" top_navHover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", top_navHover);

//--><!]]>
if (top.location != self.location){
		top.location = self.location
	}
function openpopup(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function ShowProgress()
{
  strAppVersion = navigator.appVersion;
  if (document.insert.file1.value != "" || document.insert.file2.value != "" || document.insert.file3.value != "")
  {
    if (strAppVersion.indexOf('MSIE') != -1 && strAppVersion.substr(strAppVersion.indexOf('MSIE')+5,1) > 4)
    {
      winstyle = "dialogWidth=400px; dialogHeight:180px; center:yes";
      window.showModelessDialog('<% = barref %>&b=IE',null,winstyle);
    }
    else
    {
      window.open('<% = barref %>&b=NN','','width=370,height=115', true);
    }
  }
  return true;
}
function checkNewsletter()
{
	if (document.newsletter.email.value.length == 0)
	{
		alert ("Please provide your e-mail address.");
		document.newsletter.email.select();
		return false;
	}

	if (document.newsletter.email.value.indexOf("@")<=0)
	{
		alert ("Please provide a valid e-mail address.");
		document.newsletter.email.select();
		return false;
	}
	return true;
}