var xVerweis;

if(sperre==7)
{xVerweis="../";}
else
{xVerweis="";}

But1_Basis = new Image();
But1_Basis.src=xVerweis + "images/b_Wir1.gif";
But1_Over = new Image();
But1_Over.src=xVerweis + "images/b_Wir2.gif";
But1_Aktiv = new Image();
But1_Aktiv.src=xVerweis + "images/b_Wir3.gif";
But2_Basis = new Image();
But2_Basis.src=xVerweis + "images/b_Zimm1.gif";
But2_Over = new Image();
But2_Over.src=xVerweis + "images/b_Zimm2.gif";
But2_Aktiv = new Image();
But2_Aktiv.src=xVerweis + "images/b_Zimm3.gif";
But3_Basis = new Image();
But3_Basis.src=xVerweis + "images/b_Wein1.gif";
But3_Over = new Image();
But3_Over.src=xVerweis + "images/b_Wein2.gif";
But3_Aktiv = new Image();
But3_Aktiv.src=xVerweis + "images/b_Wein3.gif";
But4_Basis = new Image();
But4_Basis.src=xVerweis + "images/b_Edel1.gif";
But4_Over = new Image();
But4_Over.src=xVerweis + "images/b_Edel2.gif";
But4_Aktiv = new Image();
But4_Aktiv.src=xVerweis + "images/b_Edel3.gif";
But5_Basis = new Image();
But5_Basis.src=xVerweis + "images/b_Akt1.gif";
But5_Over = new Image();
But5_Over.src=xVerweis + "images/b_Akt2.gif";
But5_Aktiv = new Image();
But5_Aktiv.src=xVerweis + "images/b_Akt3.gif";
But6_Basis = new Image();
But6_Basis.src=xVerweis + "images/b_Kon1.gif";
But6_Over = new Image();
But6_Over.src=xVerweis + "images/b_Kon2.gif";
But6_Aktiv = new Image();
But6_Aktiv.src=xVerweis + "images/b_Kon3.gif";
But7_Basis = new Image();
But7_Basis.src=xVerweis + "images/b_Part1.gif";
But7_Over = new Image();
But7_Over.src=xVerweis + "images/b_Part2.gif";
But7_Aktiv = new Image();
But7_Aktiv.src=xVerweis + "images/b_Part3.gif";
But8_Basis = new Image();
But8_Basis.src=xVerweis + "images/b_Gae1.gif";
But8_Over = new Image();
But8_Over.src=xVerweis + "images/b_Gae2.gif";
But8_Aktiv = new Image();
But8_Aktiv.src=xVerweis + "images/b_Gae3.gif";



function wechsel_1(xbut)
{
if(sperre==1)
{
}
else
document.Bild1.src=xbut;
}

function wechsel_2(xbut)
{
if(sperre==2)
{}
else
document.Bild2.src=xbut;
}

function wechsel_3(xbut)
{
if(sperre==3)
{}
else
document.Bild3.src=xbut;
}

function wechsel_4(xbut)
{
if(sperre==4)
{}
else
document.Bild4.src=xbut;
}

function wechsel_5(xbut)
{
if(sperre==5)
{}
else
document.Bild5.src=xbut;
}

function wechsel_6(xbut)
{
if(sperre==6)
{}
else
document.Bild6.src=xbut;
}

function wechsel_7(xbut)
{
if(sperre==7)
{}
else
document.Bild7.src=xbut;
}

function wechsel_8(xbut)
{
if(sperre==8)
{}
else
document.Bild8.src=xbut;
}

document.write('<div align="center"><center><table border="0" cellspacing="0"width="650"><tr>');
document.write('<td align="center" width="95"><a href=' + xVerweis + "SE_wir.htm " + 'target="_top"><img border="0" name="Bild1" src="images/b_Wir1.gif" onMouseover="wechsel_1(But1_Over.src)" onMouseout="wechsel_1(But1_Basis.src)" width="80" height="18"></a></td>');
document.write('<td align="center" width="95"><a href=' + xVerweis + "SE_zimmer.htm" + ' target="_top"><img border="0" name="Bild2" src="images/b_Zimm1.gif" onMouseover="wechsel_2(But2_Over.src)" onMouseout="wechsel_2(But2_Basis.src)" width="70" height="18"></a></td>');
document.write('<td align="center" width="96"><a href=' + xVerweis + "SE_wein.htm" + ' target="_top"><img border="0" name="Bild3" src="images/b_Wein1.gif" onMouseover="wechsel_3(But3_Over.src)" onMouseout="wechsel_3(But3_Basis.src)" height="18"></a></td>');
document.write('<td align="center" width="96"><a href=' + xVerweis + "SE_edelbrand.htm" + ' target="_top"><img border="0" name="Bild4" src="images/b_Edel1.gif" onMouseover="wechsel_4(But4_Over.src)" onMouseout="wechsel_4(But4_Basis.src)" width="95" height="18"></a></td>');
document.write('<td align="center" width="96"><a href=' + xVerweis + "SE_AKT_Termine.htm" + ' target="_top"><img border="0" name="Bild5" src="images/b_Akt1.gif" onMouseover="wechsel_5(But5_Over.src)" onMouseout="wechsel_5(But5_Basis.src)" width="80" height="18"></a></td>');
document.write('<td align="center" width="96"><a href=' + xVerweis + "SE_kontakt.htm" + ' target="_top"><img border="0" name="Bild6" src="images/b_Kon1.gif" onMouseover="wechsel_6(But6_Over.src)" onMouseout="wechsel_6(But6_Basis.src)" height="18"></a></td>');
document.write('<td align="center" width="48"><p align="center"><a href=' + xVerweis + "Hudek/index.htm" + ' target="_top"><img border="0" name="Bild7" src="images/b_Part1.gif" onMouseover="wechsel_7(But7_Over.src)" onMouseout="wechsel_7(But7_Basis.src)" width="70" height="18"></a></p></td>');
document.write('<td align="center" width="48"><a href=' + xVerweis + "SE_GB.htm" + ' target="_top"><img border="0" name="Bild8" src="images/b_Gae1.gif" onMouseover="wechsel_8(But8_Over.src)" onMouseout="wechsel_8(But8_Basis.src)" height="18"></a></td>');
document.write('</tr></table></center></div>');

if (sperre==1)
{
document.Bild1.src=But1_Aktiv.src;
}
else
document.Bild1.src=But1_Basis.src;
{
if (sperre==2)
{
document.Bild2.src=But2_Aktiv.src;
}
else
document.Bild2.src=But2_Basis.src;
}
{
if (sperre==3)
{
document.Bild3.src=But3_Aktiv.src;
}
else
document.Bild3.src=But3_Basis.src;
}
{
if (sperre==4)
{
document.Bild4.src=But4_Aktiv.src;
}
else
document.Bild4.src=But4_Basis.src;
}
{
if (sperre==5)
{
document.Bild5.src=But5_Aktiv.src;
}
else
document.Bild5.src=But5_Basis.src;
}
{
if (sperre==6)
{
document.Bild6.src=But6_Aktiv.src;
}
else
document.Bild6.src=But6_Basis.src;
}
{
if (sperre==7)
{
document.Bild7.src=But7_Aktiv.src;
}
else
document.Bild7.src=But7_Basis.src;
}
{
if (sperre==8)
{
document.Bild8.src=But8_Aktiv.src;
}
else
document.Bild8.src=But8_Basis.src;
}