var bildanz;

function fcMp0Mover(mp){
 document.getElementById(mp).style.color="#305470";
 document.getElementById(mp).style.textDecoration="underline";
}
function fcMp0Mout(mp){
 document.getElementById(mp).style.color="#000000";
 document.getElementById(mp).style.textDecoration="none";
}
function fcOpenSite(site){
 document.location.href=site+".html";
}
function bldOver(mp){
 document.getElementById(mp).style.border="1px solid #CC0000";
}
function bldOut(mp){
 document.getElementById(mp).style.border="1px solid #446688";
}
function fcBildseite(picWidth,picHeight,bild,bildtext){
 if(bildanz){
  if(!bildanz.closed){
   bildanz.close();
  }
 }
 picWidth=picWidth;
 if(bildtext!=""){
  picHeight=Number(picHeight)+40;
 }else{
  picHeight=picHeight;
 }
 bildnr=bild;
 bildtxt=bildtext;
 bildanz=window.open("bild.html","PicWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,top=0,left=0,width="+picWidth+",height="+picHeight);
 bildanz.focus();
}
function fcSendContactmail(){
 if(document.ContactMail.ContactName.value==""){
  document.ContactMail.ContactName.focus();
  alert("Bitte Namen angeben!");
 }else if(document.ContactMail.ContactEmail.value==""){
  document.ContactMail.ContactEmail.focus();
  alert("Bitte Absender angeben!");
 }else if(document.ContactMail.ContactSubject.value==""){
  document.ContactMail.ContactSubject.focus();
  alert("Bitte Betreff angeben!");
 }else if(document.ContactMail.ContactText.value==""){
  document.ContactMail.ContactText.focus();
  alert("Bitte Text angeben!");
 }else{
  document.ContactMail.submit();
 }
}
function fcOpenInfoWin(winWidth,winHeight,winTemplate){
 window.open("infowin.php?Site="+winTemplate,"InfoWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,top=0,left=0,width="+winWidth+",height="+winHeight);
}

