<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
	var str = new String(features);
	var hStartPos, hEndPos, hVal 
	var wStartPos, wEndPos, wVal	
	var x, y
	
	if((str.indexOf("height") >= 0)&&(str.indexOf("width") >= 0)) {
		hStartPos = str.indexOf("height");	
		hEndPos = str.indexOf(",", hStartPos);
		hVal = str.substring(hStartPos + 7, hEndPos);
	
		wStartPos = str.indexOf("width");	
		wEndPos = str.indexOf(",", wStartPos);
		wVal = str.substring(wStartPos + 6, wEndPos);
	
		x = (screen.availWidth / 2) - (wVal / 2)
		y = (screen.availHeight / 2) - (hVal / 2)
		
		var newWin = window.open(theURL,winName,features);
		newWin.moveTo(x, y);
	}
	else {
		window.open(theURL,winName,features);
	}
}

function sameAddress(){
	if (document.getElementById('chkSame').checked == true)
	{
	document.getElementById('txtAddress1').value = document.getElementById('txtBAddress1').value;
	document.getElementById('txtAddress2').value = document.getElementById('txtBAddress2').value;
	document.getElementById('txtCity').value = document.getElementById('txtBCity').value;
	document.getElementById('txtCountry').value = document.getElementById('txtBCountry').value;
	document.getElementById('txtPostalCode').value = document.getElementById('txtBPostalCode').value;
	}
	else
	{
	document.getElementById('txtAddress1').value = '';
	document.getElementById('txtAddress2').value = '';
	document.getElementById('txtCity').value = '';
	document.getElementById('txtCountry').value = '';
	document.getElementById('txtPostalCode').value = '';
	}
}


// fieldList is comma separated, no whitespace
function chkReqdFields(formName, fieldList) {
	var arrFields;
	var i = 0
//	alert('Checking ' + formName);

	arrFields = fieldList.split(',');
	for(i = 0; i<arrFields.length; i++) {
		//alert('Checking ' + arrFields[i]);
		if(isWhitespace(eval('document.forms["' + formName + '"].' + arrFields[i] + '.value'))) {
			alert("Please fill in all required fields.");
			return false;
		}
	}
	return true;
}
 
 function stripe() {
    if (!document.getElementsByTagName) return;
	var tables = document.getElementsByTagName("table");
	for (var h=0; h < tables.length; h++) {
	  var table = tables[h];
	  var trs = table.getElementsByTagName("tr");
      for (var i = 0; i < trs.length; i += 2) {
      trs[i].className += " even";
      }
	}
  }

function externalLinks() {
if (!document.getElementsByTagName) return;
var anchors = document.getElementsByTagName("a");
for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
}
}

var popupLinkConfig = new Array;

//====Popup Window Parameters==============//
// popupLinkConfig["classname"] = new Array ( "targetname", "width=550,height=350,scrollbars=yes,resizable=yes,status=yes,toolbar=yes,location=yes,menubar=yes");
popupLinkConfig["popup"]    = new Array ( "", "width=550,height=400,scrollbars=yes,menubar=no");
popupLinkConfig["glossary"] = new Array ( "help", "width=550,height=350,resizable=yes");



// ==========================================================================

function initPopupLinks()
{
  if (!document.getElementsByTagName) return true;
  var pageLinks = document.getElementsByTagName("a");
  for (var i = 0; i < pageLinks.length; i++) 
  {
    if (((pageLinks[i].className != null) && 
         (pageLinks[i].className != "")) ||
        ((pageLinks[i].parentNode.className != null) && 
         (pageLinks[i].parentNode.className != "")))
    {
      var linkClass = " " + pageLinks[i].className + " ";
      if ((linkClass == "  ") && (pageLinks[i].parentNode.className != ""))
      {
        linkClass = " " + pageLinks[i].parentNode.className + " ";
      }
      for (var theKey in popupLinkConfig) 
      {
        if (linkClass.indexOf(" " + theKey + " ") > -1)
        {
          if ((pageLinks[i].target == "") || (pageLinks[i].target == null))
          {
            pageLinks[i].target = (popupLinkConfig[theKey][0] != "") ? popupLinkConfig[theKey][0] : theKey;
          }
          pageLinks[i].settings = popupLinkConfig[theKey][1];
          pageLinks[i].onclick = popUp;
        }
      }
    }
  }
  return true;
}

function popUp()
{
  newWin = window.open(this.href, this.target, this.settings);
  newWin.focus();
  return false;
}

var myrules = {
		'.btnPopupCancel' : function(element){
			element.onclick = function(){
				window.close();
			}
		}
	}

//=======Onload=============//
  
window.onload=function(){
 stripe();
 externalLinks();
 initPopupLinks();
 Behaviour.register(myrules);
}


function OpenCertDetails()
{
thewindow =window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=USRUSS67-1', 'anew',config='height=400,width=516,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
}