function inseml(subj,dom,name,linktext){
document.write("<a href=\"mai");
document.write("lto:" + name + "&#");
document.write("64;"+ dom + ".com?su");
document.write("bject=" + subj + "\">");
document.write(linktext);
document.write("</a>");
}
y = "images/";
/*
// hilite buttons
info_d_h = new Image(); info_d_h.src = y+"info_d_h.jpg";
info_e_h = new Image(); info_e_h.src = y+"info_e_h.jpg";
photos_h = new Image(); photos_h.src = y+"photos_h.jpg";
panos_h = new Image(); panos_h.src = y+"panos_h.jpg";
paint_h = new Image(); paint_h.src = y+"paint_h.jpg";
// normale buttons  
info_d_n = new Image(); info_d_n.src = y+"info_d_n.jpg";
info_e_n = new Image(); info_e_n.src = y+"info_e_n.jpg";
photos_n = new Image(); photos_n.src = y+"photos_n.jpg";
panos_n = new Image(); panos_n.src = y+"panos_n.jpg";
paint_n = new Image(); paint_n.src = y+"paint_n.jpg";
*/
// buttons tauschen (hilite)
function hilite (imgName) {
imgon = eval(imgName + "_h.src"); document [imgName].src = imgon;} 
// buttons zuruecktauschen (reswap)
function reswap (imgName) { 
imgOff = eval(imgName + "_n.src"); document [imgName].src = imgOff;} 
// open new window
function openwin(which_url){
if (which_url == "photos"){
mapwin = window.open("http://bredenfeld.com/photos","Photos","height=600,width=865,scrollbars=yes,status=yes,toolbar=yes,location=no,menubar=yes,resizable=yes");
}
if (which_url == "panos"){
mapwin = window.open("http://bredenfeld.com/panorama/german","Panoramas","height=480,width=780,scrollbars=yes,status=yes,toolbar=yes,location=no,menubar=yes");
}
if (which_url == "paint"){
mapwin = window.open("http://artegiani.com/3_artist.php?id=7","Paintings","height=560,width=780,scrollbars=yes,status=yes,toolbar=no,location=no,menubar=no,resizable=yes");
}
if (which_url == "amazon"){
// alert(which_url);
mapwin = window.open("http://www.bredenfeld.com/publications_popup.html","","height=420,width=500,scrollbars=no,status=no,toolbar=no,location=no,menubar=no");
}
if (which_url == "exhib"){
// alert(which_url);
mapwin = window.open("http://ausstellungen.bredenfeld.com","","height=640,width=840,scrollbars=yes,status=no,toolbar=no,location=no,menubar=no");
}
if (which_url == "press"){
// alert(which_url);
mapwin = window.open("http://press.bredenfeld.com","","height=640,width=780,scrollbars=yes,status=no,toolbar=no,location=no,menubar=no");
}
}




