// JavaScript Document

function FrameAendern (URI, Framename) {
  // Original-Script von http://www.selfhtml.org
  parent[Framename].location.href = URI;
}

function mail_info()
{
  // Original-Script bei http://www.joemaller.com 
  emailAdr='weinfest-erpel.de'
  emailAdr=('info' + '@' + emailAdr)
  document.write('<a href="mailto:' + emailAdr + '">' + emailAdr + '</a>')
}

function mail_zugleiter()
{
  // Original-Script bei http://www.joemaller.com 
  emailAdr='weinfest-erpel.de'
  emailAdr=('zugleiter' + '@' + emailAdr)
  document.write('<a href="mailto:' + emailAdr + '">' + emailAdr + '</a>')
}

function mail_maerkte()
{
  // Original-Script bei http://www.joemaller.com 
  emailAdr='weinfest-erpel.de'
  emailAdr=('maerkte' + '@' + emailAdr)
  document.write('<a href="mailto:' + emailAdr + '">' + emailAdr + '</a>')
}

function mail_presse()
{
  // Original-Script bei http://www.joemaller.com 
  emailAdr='weinfest-erpel.de'
  emailAdr=('presse' + '@' + emailAdr)
  document.write('<a href="mailto:' + emailAdr + '">' + emailAdr + '</a>')
}

function mail_verein()
{
  // Original-Script bei http://www.joemaller.com 
  emailAdr='weinfest-erpel.de'
  emailAdr=('verein' + '@' + emailAdr)
  document.write('<a href="mailto:' + emailAdr + '">' + emailAdr + '</a>')
}

function mail_postmaster()
{
  // Original-Script bei http://www.joemaller.com 
  emailAdr='weinfest-erpel.de'
  emailAdr=('postmaster' + '@' + emailAdr)
  document.write('<a href="mailto:' + emailAdr + '">' + emailAdr + '</a>')
}

function mail_webmaster()
{
  // Original-Script bei http://www.joemaller.com 
  emailAdr='weinfest-erpel.de'
  emailAdr=('webmaster' + '@' + emailAdr)
  document.write('<a href="mailto:' + emailAdr + '">' + emailAdr + '</a>')
}

function anfahrt_open(image_path,img)
{
  HTML = "<html><title>Die Anfahrt zum Erpeler Weinfest</title><style>body{margin:0px 0px 0px 0px}</style><body onBlur='top.close()'><img src='"+ image_path +"' title=' Die Anfahrt ' border=0 name=load_image onLoad='window.resizeTo(document.load_image.width+10,document.load_image.height+30)'></body></html>";
  popupImage = window.open('','GrossbildFenster','width=800,height=800,left=20,top=20,resizable=yes,dependent=yes,toolbar=yes,scrollbars=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  obj_img = document.getElementById(img);
  obj_img.src= obj_img.src;
}

function einladung_open()
{
  popupPage = window.open('einladung.htm','Einladung','width=559,height=793,left=50,top=50,resizable=yes,dependent=yes,toolbar=yes,scrollbars=no');
  popupPage.focus();
  popupPage.document.close();
}

function photo_open_hoch(image_path,img)
{
  HTML = "<html><title>Ein Bild der 'Freunde des Erpeler Weinfestes'</title><style>body{margin:0px 0px 0px 0px}</style><body onBlur='top.close()'><img src='"+ image_path +"' title=' &copy; Holger Lenz ' border=0 name=load_image onLoad='window.resizeTo(document.load_image.width+10,document.load_image.height+30)'></body></html>";
  popupImage = window.open('','GrossbildFenster','width=600,height=800,left=20,top=10,resizable=no,dependent=yes,toolbar=no,scrollbars=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  obj_img = document.getElementById(img);
  obj_img.src= obj_img.src;
}

function photo_open_quer(image_path,img)
{
  HTML = "<html><title>Ein Bild der 'Freunde des Erpeler Weinfestes'</title><style>body{margin:0px 0px 0px 0px}</style><body onBlur='top.close()'><img src='"+ image_path +"' title=' &copy; Holger Lenz ' border=0 name=load_image onLoad='window.resizeTo(document.load_image.width+10,document.load_image.height+30)'></body></html>";
  popupImage = window.open('','GrossbildFenster','width=800,height=600,left=20,top=20,resizable=no,dependent=yes,toolbar=no,scrollbars=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  obj_img = document.getElementById(img);
  obj_img.src= obj_img.src;
}

function photo_bo_open_hoch(image_path,img)
{
  HTML = "<html><title>Ein Bild der 'Freunde des Erpeler Weinfestes'</title><style>body{margin:0px 0px 0px 0px}</style><body onBlur='top.close()'><img src='"+ image_path +"' title=' &copy; Brigitte Oberdries ' border=0 name=load_image onLoad='window.resizeTo(document.load_image.width+10,document.load_image.height+30)'></body></html>";
  popupImage = window.open('','GrossbildFenster','width=600,height=800,left=20,top=10,resizable=no,dependent=yes,toolbar=no,scrollbars=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  obj_img = document.getElementById(img);
  obj_img.src= obj_img.src;
}

function photo_bo_open_quer(image_path,img)
{
  HTML = "<html><title>Ein Bild der 'Freunde des Erpeler Weinfestes'</title><style>body{margin:0px 0px 0px 0px}</style><body onBlur='top.close()'><img src='"+ image_path +"' title=' &copy; Brigitte Oberdries ' border=0 name=load_image onLoad='window.resizeTo(document.load_image.width+10,document.load_image.height+30)'></body></html>";
  popupImage = window.open('','GrossbildFenster','width=800,height=600,left=20,top=20,resizable=no,dependent=yes,toolbar=no,scrollbars=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  obj_img = document.getElementById(img);
  obj_img.src= obj_img.src;
}

function photo_so_open_hoch(image_path,img)
{
  HTML = "<html><title>Ein Bild der 'Freunde des Erpeler Weinfestes'</title><style>body{margin:0px 0px 0px 0px}</style><body onBlur='top.close()'><img src='"+ image_path +"' title=' &copy; N.N. ' border=0 name=load_image onLoad='window.resizeTo(document.load_image.width+10,document.load_image.height+30)'></body></html>";
  popupImage = window.open('','GrossbildFenster','width=600,height=800,left=20,top=10,resizable=no,dependent=yes,toolbar=no,scrollbars=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  obj_img = document.getElementById(img);
  obj_img.src= obj_img.src;
}

function photo_so_open_quer(image_path,img)
{
  HTML = "<html><title>Ein Bild der 'Freunde des Erpeler Weinfestes'</title><style>body{margin:0px 0px 0px 0px}</style><body onBlur='top.close()'><img src='"+ image_path +"' title=' &copy; N.N. ' border=0 name=load_image onLoad='window.resizeTo(document.load_image.width+10,document.load_image.height+30)'></body></html>";
  popupImage = window.open('','GrossbildFenster','width=800,height=600,left=20,top=20,resizable=no,dependent=yes,toolbar=no,scrollbars=no');
  popupImage.document.open();
  popupImage.document.write(HTML);
  popupImage.document.close();
  obj_img = document.getElementById(img);
  obj_img.src= obj_img.src;
}

