<!--

var content = redir( 'err' );

function redir( err )
{
  var regexS = "[\\?&]"+err+"=([^&#]*)";
  var regex = new RegExp( regexS );
  var tmpURL = window.location.href;
  var results = regex.exec( tmpURL );
  if( results == null )
    return "";
  else
	return results[1];
}

window.onload = function() {

if (document.getElementById(content) != null) {
	document.getElementById(content).className = "highlight";
}
else{
	return false;
}
}

function ShowHideInlinePopup(container) {  
    var show = false;
    
    if (document.getElementById(container).style.display == "block"){
        HideInlinePopup(container);
    }
    else if (document.getElementById(container).style.display = "none") {
        ShowInlinePopup(container);
        show = true;
    }
    else {
        ShowInlinePopup(container);
        show = true; 
    }
    
    return show;
}

function ShowHideContactUsOptions(container) {
    if (ShowHideInlinePopup(container)) {
        document.getElementById("callmenuoptionsimg").style.backgroundPosition = "0 -24px"; 
    }
    else {
        document.getElementById("callmenuoptionsimg").style.backgroundPosition = "0 0";
    }   
}


//-->