function visit(targ,selObj)
{ 
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
}

/***********************************************
* Bookmark site script- � Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
function bookmarksite(title,url)
{
    if (window.sidebar) // firefox
        window.sidebar.addPanel(title, url, "");
    else if(window.opera && window.print){ // opera
        var elem = document.createElement('a');
            elem.setAttribute('href',url);
            elem.setAttribute('title',title);
            elem.setAttribute('rel','sidebar');
            elem.click();
} 
else if(document.all)// ie
    window.external.AddFavorite(url, title);
}
/** END BOOKMARK SCRIPT **/

function clickClear(fieldName) 
{
    fieldName.value = "";
}

function clickPassword() 
{
  var password = document.getElementById('password_confirm');
  
  password.checked=true;
}

function hoveron(target, link)
{
    var bottomLink = document.getElementById("bottom-link-"+target);
    bottomLink.style.backgroundColor = "#016a68";
}

function hoveroff(target)
{
    var bottomLink = document.getElementById("bottom-link-"+target);
    bottomLink.style.backgroundColor = "#016a68";
}

// var name="";
// var url="";
function openfullscreen(url, name) {
// --- mac ---
if (navigator.appVersion.indexOf("Mac") >= 1){
var screenWidth;
var bName = navigator.appName;
screenWidth = screen.width;
if (bName == "Microsoft Internet Explorer"){
if (screenWidth > 800) {
var h = 716;
var w = 1014;}
else {
var h = 525;
var w = 675;
}
}
else {
if (screenWidth > 800) {
var h = 716;
var w = 1014;}
else {
var h = 525;
var w = 675;
}
}
BigWindow=window.open(url, name,"toolbar=no,status=no,scrollbars=no,location=no,menubar=no,directories=no,width=" + w + ",height=" + h);
BigWindow.moveTo(0, 0);
BigWindow.focus();
// --- PC ---
}else{
var h = screen.availHeight - 28;
var w = screen.availWidth - 10;
BigWindow=window.open(url, name,"scrollbars=no,width=" + w + ",height=" + h);
BigWindow.moveTo(0, 0);
BigWindow.focus();}

}

function openpopup(url,name,features) {
  window.open(url,name,features);
}

function jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

