// Clear Formfield
function ClearFormField(FF, FFValue) {
 if(FF.value == FFValue) 
  { FF.value = ''; }
 else if(FF.value == '')
  { FF.value = FFValue; } 
}

// Copyright Year script
function printYear() {
  var time=new Date();
  var year=time.getYear();
  if (year < 2000)
    year = year + 1900; 
    document.write(year);
}

// Add Firefox Search-Engine
function addEngine(name,ext,cat,type)
{
    if ((typeof window.sidebar == "object") && (typeof window.sidebar.addSearchEngine == "function")) { 
        window.sidebar.addSearchEngine(
            "http://addons.mozilla.org/search-engines-static/"+name+".src",
            "http://addons.mozilla.org/search-engines-static/"+name+"."+ext, name, cat
        );
    } else {
        alert("Sorry, you need a Mozilla-based browser to install a search plugin.");
    } 
}

// PopUp Function
function pop(file,windowname,features)
{
helpwindow = window.open(file,windowname,features);
helpwindow.focus();
return false;
}
