<!-- 
// identify browser:
var isExplorer=0; var isOpera=0;
if (navigator.appVersion.indexOf("MSIE")!=-1) { isExplorer=1; }
if (navigator.userAgent.indexOf("Opera")!=-1) { isOpera=1; }
// --------------------------------------------------------------------
function hidePassDescriptor() {
  // fired on focussing password-field: hides description-layer above that field
  if (document.getElementById('passwordField').value=="") {
    document.getElementById('pass-descriptor').style.visibility="hidden";
  }
} // -------------------------------------------------------------------
function showPassDescriptor() {
  // fired on blurring password-field: shows description-layer above that field
  if (document.getElementById('passwordField').value=="") {
    document.getElementById('pass-descriptor').style.visibility="visible";
  }
} // -------------------------------------------------------------------
function emptyUsernameField() {
  // fired on focussing username-field: emptys that field
  if (document.getElementById('usernameField').value=="Benutzername") {
    document.getElementById('usernameField').value="";
  }
} // -------------------------------------------------------------------
function refillUsernameIfEmpty() {
  // fired on blur: refills description if value is empty
  if (document.getElementById('usernameField').value=='') {
    document.getElementById('usernameField').value= "Benutzername";
  }
} // -------------------------------------------------------------------
function openpopup(popurl) { 
	//var popurl= "frameset.htm"; 
	var w= 400; var h= 620;
    var winl = (screen.width - w) / 2; 
    var wint = (screen.height - h) / 2;  wint= wint- (wint/10)*9;
    winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',status=0,resizable=0,scrollbars=0';
    window.open(popurl,'',winprops);
} // -------------------------------------------------------------------
function confirmation() {
  return confirm("Möchten Sie dieses Bild wirklich herunterladen?");
} // -------------------------------------------------------------------
function pressConfirmation() {
  return confirm("BITTE BEDENKEN SIE: DIESES BILD IST FÜR PRESSEZWECKE, WERBUNG AUF ANFRAGE (siehe AGB)\n\nMöchten Sie dieses Bild wirklich kaufen?");
} // -------------------------------------------------------------------
function registration_needed() {
  return alert("Um diesen Service nutzen zu können, müssen Sie sich zuerst einloggen.\nFalls Sie noch kein Kunde bei grafikfoto.de sind, melden Sie sich bitte an.");
} // -------------------------------------------------------------------
function submitenter(myForm,e){
  var keycode;
  if(window.event){ 
    keycode = window.event.keyCode; 
  }
  else if(e){ 
    keycode = e.which };
  if(keycode == 13){ 
	  myForm.submit(); 
	}
} // -------------------------------------------------------------------
function right(e) {    
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by www.grafikfoto.de");			
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by www.grafikfoto.de");
      return false;
    }
    return true;
} // -------------------------------------------------------------------
//-->