A
Andi Lintermann
Hello altogether,
i have a little problem in programming a website. When opening the
webpage containing the javascript, there just appears a blank page in
internet explorer. When i open the same page with Firefox,Safari or
Netscape, the webpage opens like usual. I don't understand what problem
the stupid internet explorer has with my code. I hope you can help me
somehow.
Thank you in advance,
andi
the html-file:
<html>
<head>
<title>LADY fit - Home</title>
<link href="./stylesheets/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript1.2" src="./js/pic_ops.js"/>
</head>
<body onLoad="preLoad(Angebot);preLoad(Plan);preLoad(Studio);preLoad(
Events);preLoad(Navi);" bgcolor="#F4A62B" style="margin: 0 0 0 0;">
<!--COMPLETE WEBPAGE-->
<table width ="100%" cellpadding="0" cellspacing="0" bgcolor="#F4A62B"
height="100%" border="0">
<tr height="100%">
<td width="100%" height="100%" valign="center" align="center">
<!--TABLE FOR FRAME-->
<table width="802" height="602" cellspacing="0" cellpadding="0"
border="0" bgcolor="#666666">
<tr>
<td align="center">
<!--CONTENT TABLE-->
<table width="800" height="600" cellspacing="0" cellpadding="0"
border="0">
<tr>
<td width="800" height="120" bgcolor="#FFFFFF">
<img src="./images/logoleiste.jpg" onMouseOver="clearAll();">
</td>
</tr>
<tr>
<!--NAVIGATION-->
<td width="800" height="161" bgcolor="#FFFFFF">
<table width="800" height="161" cellspacing="0"
cellpadding="0" bgcolor="#FFFFFF" border="0">
<tr>
<td width="18" height="16" bgcolor="#FFFFFF">
</td>
<td width="70" height="16" bgcolor="#FFFFFF" valign="top">
<a href="./home.html" onMouseOut="MM_swapImgRestore();"
onMouseOver="MM_swapImage('home','','./images/navi/home_over.jpg',1);">
<img name="home" src="./images/navi/home.jpg" border="0">
</a>
</td>
<td width="250" height="16" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="16"
border="0" onMouseOver="clearAll();">
</td>
<td width="142" height="16" bgcolor="#FFFFFF" valign="top">
<a onMouseOut="MM_swapImgRestore();" onMouseOver="clearAll();
MM_swapImage('kurse','','./images/navi/kurse_over.jpg',1);viewAngebot();
viewPlan();">
<img name="kurse" src="./images/navi/kurse.jpg"
border="0">
</a>
</td>
<td width="18" height="16" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="16"
border="0" onMouseOver="clearAll();">
</td>
<td width="142" height="16" bgcolor="#FFFFFF"valign="top">
<a onMouseOut="MM_swapImgRestore();" onMouseOver="clearAll();
MM_swapImage('fotos','','./images/navi/fotos_over.jpg',1);viewStudio();
viewEvents();">
<img name="fotos" src="./images/navi/fotos.jpg"
border="0">
</a>
</td>
<td width="18" height="16" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="16"
border="0" onMouseOver="clearAll();">
</td>
<td width="90" height="16" bgcolor="#FFFFFF" valign="top">
<a href="./kontakt.html" onMouseOut="MM_swapImgRestore();"
onMouseOver="MM_swapImage('kontakt','','./images/navi/kontakt_over.jpg',
1);">
<img name="kontakt" src="./images/navi/kontakt.jpg"
border="0">
</a>
</td>
<td width="52">
</td>
</tr>
<td colspan="2" bgcolor="#FFFFFF" height="8">
</td>
<td height="8" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="8"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="8">
</td>
<td height="8" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="8"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="8">
</td>
<td colspan="3" height="8" bgcolor="#FFFFFF" align="left">
<img src="./images/whitespacer.jpg" width="50" height="8"
border="0" onMouseOver="clearAll();">
</td>
<tr>
<td colspan="2" bgcolor="#FFFFFF" height="19">
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./anbebot.html" onMouseOut="viewAngebot();"
onMouseOver="swapAngebot();">
<img name="angebot" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./studio.html" onMouseOut="viewStudio();"
onMouseOver="swapStudio();">
<img name="studio" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td colspan="3" height="19" bgcolor="#FFFFFF" align="left">
<img src="./images/whitespacer.jpg" width="50" height="19"
border="0" onMouseOver="clearAll();">
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" height="6">
</td>
<td height="6" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="6"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
<td height="6" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="6"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
<td height="6" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="6"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" height="19">
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./up/kursplan.pdf" onMouseOut="viewPlan();"
onMouseOver="swapPlan();">
<img name="plan" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./events.html" onMouseOut="viewEvents();"
onMouseOver="swapEvents();">
<img name="events" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td colspan="2" bgcolor="#FFFFFF" height="19">
</td>
</tr>
<tr>
<td colspan="9" bgcolor="#FFFFFF" valign="top">
<img src="./images/whitespacer.jpg" width="800" height="19"
border="0" onMouseOver="clearAll();">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<!--CONTENT-->
<td width="800" height="259" bgcolor="#FFFFFF">
<img src="./images/home/home_content.jpg">
</td>
</tr>
<!--FOOTER-->
<tr>
<td width="800" height="1" bgcolor="#FFFFFF">
<img src="./images/bar.jpg">
</td>
</tr>
<tr>
<td width="800" height="59" bgcolor="#FFFFFF">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
the javascript-file:
var Navi = new Array();
Navi[0]="./images/navi/home.jpg";
Navi[1]="./images/navi/home_over.jpg";
Navi[2]="./images/navi/kurse.jpg";
Navi[3]="./images/navi/kurse_over.jpg";
Navi[4]="./images/navi/fotos.jpg";
Navi[5]="./images/navi/fotos_over.jpg";
Navi[6]="./images/navi/kontakt.jpg";
Navi[7]="./images/navi/kontakt_over.jpg";
var Angebot = new Array();
Angebot[0]="./images/whitespacer.jpg";
Angebot[1]="./images/navi/angebot.jpg";
Angebot[2]="./images/navi/angebot_over.jpg";
var Plan = new Array();
Plan[0]="./images/whitespacer.jpg";
Plan[1]="./images/navi/plan.jpg";
Plan[2]="./images/navi/plan_over.jpg";
var Studio = new Array();
Studio[0]="./images/whitespacer.jpg";
Studio[1]="./images/navi/studio.jpg";
Studio[2]="./images/navi/studio_over.jpg";
var Events = new Array();
Events[0]="./images/whitespacer.jpg";
Events[1]="./images/navi/events.jpg";
Events[2]="./images/navi/events_over.jpg";
var Fotos = new Array();
Fotos[0]="./images/fotos/pic_bistro.jpg";
Fotos[1]="./images/fotos/pic_kursraum1.jpg";
Fotos[2]="./images/fotos/pic_kursraum2.jpg";
Fotos[3]="./images/fotos/pic_kursraum3.jpg";
Fotos[4]="./images/fotos/pic_sauna.jpg";
Fotos[5]="./images/fotos/pic_spinn1.jpg";
Fotos[6]="./images/fotos/pic_spinn2.jpg";
Fotos[7]="./images/fotos/pic_umkleide.jpg";
Fotos[8]="./images/fotos/pic_massage.jpg";
Fotos[9]="./images/fotos/pic_sonnenbank.jpg";
Fotos[10]="./images/fotos/pic_kids.jpg";
var Descs = new Array();
Descs[0]="./images/fotos/desc_bistro.jpg";
Descs[1]="./images/fotos/desc_kursraum.jpg";
Descs[2]="./images/fotos/desc_kursraum.jpg";
Descs[3]="./images/fotos/desc_kursraum.jpg";
Descs[4]="./images/fotos/desc_sauna.jpg";
Descs[5]="./images/fotos/desc_spinn.jpg";
Descs[6]="./images/fotos/desc_spinn.jpg";
Descs[7]="./images/fotos/desc_umkleide.jpg";
Descs[8]="./images/fotos/desc_massage.jpg";
Descs[9]="./images/fotos/desc_sonnenbank.jpg";
Descs[10]="./images/fotos/desc_kids.jpg";
var t=1,k=0;
var myImages = new Array();
function preLoad(object){
for (k;k<object.length;k++){
myImages[k]=new Image();
myImages[k].src=object[k];
} }
}
function viewNext(){
var x=MM_findObj('pic_fotos');
var y=MM_findObj('foto_desc');
if(t==Fotos.length-1)
t=0;
else
t++;
y.src=Descs[t];
x.src=Fotos[t];
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);
} }
if(!(x=d[n])&&d.all)
x=d.all[n];
for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById)
x=d.getElementById(n);
return x;
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++)
x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document;
if(d.images){
if(!d.MM_p)
d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){
d.MM_p[j]=new Image;
d.MM_p[j++].src=a;
} }
} }
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){
document.MM_sr[j++]=x;
if(!x.oSrc)
x.oSrc=x.src;
x.src=a[i+2];
} }
}
function viewAngebot(){
var x=MM_findObj('angebot');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Angebot[1];
}
function viewPlan(){
var x=MM_findObj('plan');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Plan[1];
}
function viewStudio(){
var x=MM_findObj('studio');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Studio[1];
}
function viewEvents(){
var x=MM_findObj('events');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Events[1];
}
function swapAngebot(){
var x=MM_findObj('angebot');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Angebot[2];
}
function swapPlan(){
var x=MM_findObj('plan');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Plan[2];
}
function swapStudio(){
var x=MM_findObj('studio');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Studio[2];
}
function swapEvents(){
var x=MM_findObj('events');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Events[2];
}
function clearAll(){
var x=MM_findObj('angebot');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Angebot[0];
x=MM_findObj('plan');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Plan[0];
x=MM_findObj('studio');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Studio[0];
x=MM_findObj('events');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Events[0];
}
i have a little problem in programming a website. When opening the
webpage containing the javascript, there just appears a blank page in
internet explorer. When i open the same page with Firefox,Safari or
Netscape, the webpage opens like usual. I don't understand what problem
the stupid internet explorer has with my code. I hope you can help me
somehow.
Thank you in advance,
andi
the html-file:
<html>
<head>
<title>LADY fit - Home</title>
<link href="./stylesheets/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript1.2" src="./js/pic_ops.js"/>
</head>
<body onLoad="preLoad(Angebot);preLoad(Plan);preLoad(Studio);preLoad(
Events);preLoad(Navi);" bgcolor="#F4A62B" style="margin: 0 0 0 0;">
<!--COMPLETE WEBPAGE-->
<table width ="100%" cellpadding="0" cellspacing="0" bgcolor="#F4A62B"
height="100%" border="0">
<tr height="100%">
<td width="100%" height="100%" valign="center" align="center">
<!--TABLE FOR FRAME-->
<table width="802" height="602" cellspacing="0" cellpadding="0"
border="0" bgcolor="#666666">
<tr>
<td align="center">
<!--CONTENT TABLE-->
<table width="800" height="600" cellspacing="0" cellpadding="0"
border="0">
<tr>
<td width="800" height="120" bgcolor="#FFFFFF">
<img src="./images/logoleiste.jpg" onMouseOver="clearAll();">
</td>
</tr>
<tr>
<!--NAVIGATION-->
<td width="800" height="161" bgcolor="#FFFFFF">
<table width="800" height="161" cellspacing="0"
cellpadding="0" bgcolor="#FFFFFF" border="0">
<tr>
<td width="18" height="16" bgcolor="#FFFFFF">
</td>
<td width="70" height="16" bgcolor="#FFFFFF" valign="top">
<a href="./home.html" onMouseOut="MM_swapImgRestore();"
onMouseOver="MM_swapImage('home','','./images/navi/home_over.jpg',1);">
<img name="home" src="./images/navi/home.jpg" border="0">
</a>
</td>
<td width="250" height="16" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="16"
border="0" onMouseOver="clearAll();">
</td>
<td width="142" height="16" bgcolor="#FFFFFF" valign="top">
<a onMouseOut="MM_swapImgRestore();" onMouseOver="clearAll();
MM_swapImage('kurse','','./images/navi/kurse_over.jpg',1);viewAngebot();
viewPlan();">
<img name="kurse" src="./images/navi/kurse.jpg"
border="0">
</a>
</td>
<td width="18" height="16" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="16"
border="0" onMouseOver="clearAll();">
</td>
<td width="142" height="16" bgcolor="#FFFFFF"valign="top">
<a onMouseOut="MM_swapImgRestore();" onMouseOver="clearAll();
MM_swapImage('fotos','','./images/navi/fotos_over.jpg',1);viewStudio();
viewEvents();">
<img name="fotos" src="./images/navi/fotos.jpg"
border="0">
</a>
</td>
<td width="18" height="16" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="16"
border="0" onMouseOver="clearAll();">
</td>
<td width="90" height="16" bgcolor="#FFFFFF" valign="top">
<a href="./kontakt.html" onMouseOut="MM_swapImgRestore();"
onMouseOver="MM_swapImage('kontakt','','./images/navi/kontakt_over.jpg',
1);">
<img name="kontakt" src="./images/navi/kontakt.jpg"
border="0">
</a>
</td>
<td width="52">
</td>
</tr>
<td colspan="2" bgcolor="#FFFFFF" height="8">
</td>
<td height="8" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="8"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="8">
</td>
<td height="8" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="8"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="8">
</td>
<td colspan="3" height="8" bgcolor="#FFFFFF" align="left">
<img src="./images/whitespacer.jpg" width="50" height="8"
border="0" onMouseOver="clearAll();">
</td>
<tr>
<td colspan="2" bgcolor="#FFFFFF" height="19">
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./anbebot.html" onMouseOut="viewAngebot();"
onMouseOver="swapAngebot();">
<img name="angebot" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./studio.html" onMouseOut="viewStudio();"
onMouseOver="swapStudio();">
<img name="studio" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td colspan="3" height="19" bgcolor="#FFFFFF" align="left">
<img src="./images/whitespacer.jpg" width="50" height="19"
border="0" onMouseOver="clearAll();">
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" height="6">
</td>
<td height="6" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="6"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
<td height="6" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="6"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
<td height="6" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="6"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
<td bgcolor="#FFFFFF" height="6">
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF" height="19">
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="250" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./up/kursplan.pdf" onMouseOut="viewPlan();"
onMouseOver="swapPlan();">
<img name="plan" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td bgcolor="#FFFFFF" height="19">
<a href="./events.html" onMouseOut="viewEvents();"
onMouseOver="swapEvents();">
<img name="events" src="./images/whitespacer.jpg"
border="0">
</a>
</td>
<td height="19" bgcolor="#FFFFFF" align="right">
<img src="./images/whitespacer.jpg" width="18" height="19"
border="0" onMouseOver="clearAll();">
</td>
<td colspan="2" bgcolor="#FFFFFF" height="19">
</td>
</tr>
<tr>
<td colspan="9" bgcolor="#FFFFFF" valign="top">
<img src="./images/whitespacer.jpg" width="800" height="19"
border="0" onMouseOver="clearAll();">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<!--CONTENT-->
<td width="800" height="259" bgcolor="#FFFFFF">
<img src="./images/home/home_content.jpg">
</td>
</tr>
<!--FOOTER-->
<tr>
<td width="800" height="1" bgcolor="#FFFFFF">
<img src="./images/bar.jpg">
</td>
</tr>
<tr>
<td width="800" height="59" bgcolor="#FFFFFF">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
the javascript-file:
var Navi = new Array();
Navi[0]="./images/navi/home.jpg";
Navi[1]="./images/navi/home_over.jpg";
Navi[2]="./images/navi/kurse.jpg";
Navi[3]="./images/navi/kurse_over.jpg";
Navi[4]="./images/navi/fotos.jpg";
Navi[5]="./images/navi/fotos_over.jpg";
Navi[6]="./images/navi/kontakt.jpg";
Navi[7]="./images/navi/kontakt_over.jpg";
var Angebot = new Array();
Angebot[0]="./images/whitespacer.jpg";
Angebot[1]="./images/navi/angebot.jpg";
Angebot[2]="./images/navi/angebot_over.jpg";
var Plan = new Array();
Plan[0]="./images/whitespacer.jpg";
Plan[1]="./images/navi/plan.jpg";
Plan[2]="./images/navi/plan_over.jpg";
var Studio = new Array();
Studio[0]="./images/whitespacer.jpg";
Studio[1]="./images/navi/studio.jpg";
Studio[2]="./images/navi/studio_over.jpg";
var Events = new Array();
Events[0]="./images/whitespacer.jpg";
Events[1]="./images/navi/events.jpg";
Events[2]="./images/navi/events_over.jpg";
var Fotos = new Array();
Fotos[0]="./images/fotos/pic_bistro.jpg";
Fotos[1]="./images/fotos/pic_kursraum1.jpg";
Fotos[2]="./images/fotos/pic_kursraum2.jpg";
Fotos[3]="./images/fotos/pic_kursraum3.jpg";
Fotos[4]="./images/fotos/pic_sauna.jpg";
Fotos[5]="./images/fotos/pic_spinn1.jpg";
Fotos[6]="./images/fotos/pic_spinn2.jpg";
Fotos[7]="./images/fotos/pic_umkleide.jpg";
Fotos[8]="./images/fotos/pic_massage.jpg";
Fotos[9]="./images/fotos/pic_sonnenbank.jpg";
Fotos[10]="./images/fotos/pic_kids.jpg";
var Descs = new Array();
Descs[0]="./images/fotos/desc_bistro.jpg";
Descs[1]="./images/fotos/desc_kursraum.jpg";
Descs[2]="./images/fotos/desc_kursraum.jpg";
Descs[3]="./images/fotos/desc_kursraum.jpg";
Descs[4]="./images/fotos/desc_sauna.jpg";
Descs[5]="./images/fotos/desc_spinn.jpg";
Descs[6]="./images/fotos/desc_spinn.jpg";
Descs[7]="./images/fotos/desc_umkleide.jpg";
Descs[8]="./images/fotos/desc_massage.jpg";
Descs[9]="./images/fotos/desc_sonnenbank.jpg";
Descs[10]="./images/fotos/desc_kids.jpg";
var t=1,k=0;
var myImages = new Array();
function preLoad(object){
for (k;k<object.length;k++){
myImages[k]=new Image();
myImages[k].src=object[k];
} }
}
function viewNext(){
var x=MM_findObj('pic_fotos');
var y=MM_findObj('foto_desc');
if(t==Fotos.length-1)
t=0;
else
t++;
y.src=Descs[t];
x.src=Fotos[t];
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);
} }
if(!(x=d[n])&&d.all)
x=d.all[n];
for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById)
x=d.getElementById(n);
return x;
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++)
x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document;
if(d.images){
if(!d.MM_p)
d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){
d.MM_p[j]=new Image;
d.MM_p[j++].src=a;
} }
} }
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){
document.MM_sr[j++]=x;
if(!x.oSrc)
x.oSrc=x.src;
x.src=a[i+2];
} }
}
function viewAngebot(){
var x=MM_findObj('angebot');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Angebot[1];
}
function viewPlan(){
var x=MM_findObj('plan');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Plan[1];
}
function viewStudio(){
var x=MM_findObj('studio');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Studio[1];
}
function viewEvents(){
var x=MM_findObj('events');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Events[1];
}
function swapAngebot(){
var x=MM_findObj('angebot');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Angebot[2];
}
function swapPlan(){
var x=MM_findObj('plan');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Plan[2];
}
function swapStudio(){
var x=MM_findObj('studio');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Studio[2];
}
function swapEvents(){
var x=MM_findObj('events');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Events[2];
}
function clearAll(){
var x=MM_findObj('angebot');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Angebot[0];
x=MM_findObj('plan');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Plan[0];
x=MM_findObj('studio');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Studio[0];
x=MM_findObj('events');
if(!x.oSrc)
x.oSrc=x.src;
x.src=Events[0];
}