<!--
function hinundweg(layID) {
  var myLayer = document.getElementById(layID);

  if (myLayer.style.display=="none") {
   myLayer.style.display="";
  } else {
   myLayer.style.display="none";
  }
}

function vhin(layID) {
  var myLayer = document.getElementById(layID);
   myLayer.style.visibility="visible";
 
}

function vweg(layID) {
  var myLayer = document.getElementById(layID);
   myLayer.style.visibility="hidden";
 
}

function clearfield (val,element) {
   if(element.value==val)element.value="";
}

function mailtest() {
var formid = document.getElementById("nlemail");
if (formid.value == ""){      
        vhin('error');     
	return false;       
}

if (formid.value == "name@domain.com"){   
        vhin('error');   
  	return false;       
}

if (formid.value.indexOf ('@',0) == -1 || 
	formid.value.indexOf ('.',0) == -1){      
        vhin('error');  
	return false;
}

else {
	return true;
} 

}

function popup(url){
// setup a controlled popup window
        // state the web address, window name, width and height of popup
        var myURL = 'http://www.amandinemusic.com/images/'+url, popupName = 'Amandine', popupWidth = 440, popupHeight = 440, mypopup;
        // calculate the left edge (x position) of the popup window; if we can't get the screen width then make it 20 pixels (after the : )
        var popupX = (screen.availWidth)? ((screen.availWidth - popupWidth) / 2): 20;
        // calculate the top edge (y position) of the popup window; if we can't get the screen heigth then make it 20 pixels
        var popupY = (screen.availHeight)? ((screen.availHeight - popupHeight) / 3):20;
        // popup window chrome details: 0 is same as no, 1 is same as yes
        var details = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width='+popupWidth+',height='+popupHeight+',top='+popupY+',left='+popupX;
        // now create the popup and assign it to a variable
        mypopup = window.open(myURL,popupName,details);
	// give focus to our popup window, important if it's in the background
        mypopup.focus();
}
function jumpMenu(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->