<!-- Begin

// PRELOAD VON BILDERN

var imagedir="img/";
var myimages=new Array();
function preloadimages()
{
for (i=0;i<preloadimages.arguments.length;i++)
{
myimages[i]=new Image()
myimages[i].src=imagedir + preloadimages.arguments[i]
}
}
preloadimages(
"m_index_on.gif",
"m_artist_on.gif",
"m_profil_on.gif",
"m_kontakt_on.gif",
"m_impressum_on.gif"
);

// BILD POPUP

var newwindow;
var wheight = 0, wwidth = 0;
function popup(url, title, iwidth, iheight, colour) {
var pwidth, pheight;
// SCREEN MITTE
links = (screen.width/2)-(iwidth/2);
oben = (screen.height/2)-(iheight/2);
if ( !newwindow || newwindow.closed ) {
pwidth=iwidth+30;
pheight=iheight+30;
newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',resizable=1,top='+oben+',left='+links);
wheight=iheight;
wwidth=iwidth;
}
if (wheight!=iheight || wwidth!=iwidth ) {
pwidth=iwidth+30;
pheight=iheight+60;
newwindow.resizeTo(pwidth, pheight);
wheight=iheight;
wwidth=iwidth;
}
newwindow.document.clear();
newwindow.focus();
newwindow.document.writeln('<html>');
newwindow.document.writeln('<head>');
newwindow.document.writeln('<title>' + title + '<\/title>');
newwindow.document.writeln('<\/head>');
newwindow.document.writeln('<body bgcolor= \"' + colour + '\">');
newwindow.document.writeln('<table border=\"0\" width=\"100%\" height=\"100%\" cellspacing=\"0\" cellpadding=\"0\"><tr><td width=\"100%\" align=\"center\">');
newwindow.document.writeln('<a href=\"javascript:window.close()\">');
newwindow.document.writeln('<img src=' + url + ' border=\"0\" alt=\"Fenster schließen\">');
newwindow.document.writeln('<\/a>');
newwindow.document.writeln('<\/td><\/tr><\/table>');
newwindow.document.writeln('<\/body>');
newwindow.document.writeln('<\/html>');
newwindow.document.close();
newwindow.focus();
}
function tidy5() {
if (newwindow && !newwindow.closed) { newwindow.close(); }
}

// BILDWECHSEL BEI LEISTUNGEN

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);

function wechsel(imgName,imgAlt) {
if (ns3up || ie4up) {
imgOn = ("" + imgName);
imgOnAlt = ("" + imgAlt);
document.mainpic.src = imgOn;
document.mainpic.alt = imgOnAlt;
}
}

// SEITE DRUCKEN

function printit(){  
if (window.print) {
window.print() ;  
} else {
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);
WebBrowser1.outerHTML = "";  
}
}

// -->