// ************************************************************************
// Name:              Joller Rita
// Datum:             Jan 2004
// Javascript Datei:  navigation_intro.js
//
// Beschreibung:      Menü-Struktur der Startseite für Website Petrohandels
// ************************************************************************
//

var ua=navigator.userAgent.toLowerCase();

var imgHeight_main=0							// all images for the main-menu same width and height
var imgWidth_main_Array=new Array()
var imgWidth_sub_Array=new Array()
var imgWidth_sub=0,imgHeight_sub=0		// all images for the sub-menu same width and height


var design_Height=400;
var design_Width=600;
var design_size=10;


var distance=0									// distance between images (horizontal und vertical)
var menuTop=0									// y position main menu
var menuTopLang=0									// y position main menu
var startx=0									// x position main menu
var starty=0									// y position submenu on the left

var flashTop=0									// y position symbol news (flash)
var flashTop=0									// x position symbol news (flash)
var flashWidth=0								// width and height symbol news (flash)

var language="ge"								// ge=german, fr=french, it=italie

var scWidth=screen.width;

var menuframe="menu" 			// name for the menuframe
var naviframe="navi" 			// name for the navigationframe
var contentframe="content"    // name for the contentframe

leer=new Image()
leer.src="./images/leer.gif"

test=new Image()
test.src="./images/m_firmendaten2_norm.gif"

// menus
// every menu has normal state and hoover state

// 1.	name of the main sub-menu
// 2.	name of the main sub-menu-site for a link ( .html)
// 3./5./7.etc.  name of the sub-menus
// 4./6./8.etc.  name of the sub-menus-site for a link ( .html)


menues_ge=new Array()
menues_ge[0]=new Array("Sicherheit<br>&nbsp;","index1.html?nr=1&snr=0&ssnr=0&lg=ge" )
menues_ge[1]=new Array("Unsere<br>Firma","index1.html?nr=2&snr=0&ssnr=0&lg=ge")
menues_ge[2]=new Array("24 h<br>Notfalldienst","index1.html?nr=3&snr=0&ssnr=0&lg=ge" )
menues_ge[3]=new Array("Kundendienst<br> f&uuml;r Private","index1.html?nr=4&snr=0&ssnr=0&lg=ge")
menues_ge[4]=new Array("Dienstleistungen<br>f&uuml;r Industrie","index1.html?nr=5&snr=0&ssnr=0&lg=ge")
menues_ge[5]=new Array("Verkauf<br>Material","index1.html?nr=6&snr=0&ssnr=0&lg=ge")
menues_ge[6]=new Array("Vermietung<br>Skylift","index1.html?nr=7&snr=0&ssnr=0&lg=ge")
menues_ge[7]=new Array("Sitemap<br>&nbsp;","index1.html?nr=8&snr=0&ssnr=0&lg=ge")

menues_fr=new Array()
menues_fr[0]=new Array("security<br>&nbsp;","index1.html?nr=1&snr=0&ssnr=0&lg=fr" )
menues_fr[1]=new Array("notre<br>entreprise","index1.html?nr=2&snr=0&ssnr=0&lg=ge")
menues_fr[2]=new Array("24 h service <br>d urgence","index1.html?nr=3&snr=0&ssnr=0&lg=fr" )
menues_fr[3]=new Array("service pour<br> clients privés","index1.html?nr=4&snr=0&ssnr=0&lg=fr")
menues_fr[4]=new Array("service pour<br> clients industriels","index1.html?nr=5&snr=0&ssnr=0&lg=fr")
menues_fr[5]=new Array("vente<br>matériau","index1.html?nr=6&snr=0&ssnr=0&lg=fr")
menues_fr[6]=new Array("louage<br>élévateur","index1.html?nr=7&snr=0&ssnr=0&lg=fr")
menues_fr[7]=new Array("sitemap<br>&nbsp;","index1.html?nr=8&snr=0&ssnr=0&lg=fr")

menues_it=new Array()
menues_it[0]=new Array("Sicherheit<br>&nbsp;","index1.html?nr=1&snr=0&ssnr=0&lg=it" )
menues_it[1]=new Array("Unsere<br>Firma","index1.html?nr=2&snr=0&ssnr=0&lg=ge")
menues_it[2]=new Array("24 h<br>Notfalldienst","index1.html?nr=3&snr=0&ssnr=0&lg=it" )
menues_it[3]=new Array("Kundendienst<br> f&uuml;r Private","index1.html?nr=4&snr=0&ssnr=0&lg=it")
menues_it[4]=new Array("Dienstleistungen <br>f&uuml;r Industrie","index1.html?nr=5&snr=0&ssnr=0&lg=it")
menues_it[5]=new Array("Verkauf<br>Material","index1.html?nr=6&snr=0&ssnr=0&lg=it")
menues_it[6]=new Array("Vermietung<br>Skylift","index1.html?nr=7&snr=0&ssnr=0&lg=it")
menues_it[7]=new Array("Sitemap<br>&nbsp;","index1.html?nr=8&snr=0&ssnr=0&lg=it")



submenu_ge=new Array()
submenu_ge[0]=new Array()
submenu_ge[1]=new Array("Zufahrtsplan","index1.html?nr=2&snr=1&ssnr=0&lg=ge","Ortsplan","index1.html?nr=2&snr=3&ssnr=0&lg=ge","Kontakte","index1.html?nr=2&snr=5&ssnr=0&lg=ge","Partner","index1.html?nr=2&snr=7&ssnr=0&lg=ge","Links","index1.html?nr=2&snr=9&ssnr=0&lg=ge" )
submenu_ge[2]=new Array("Versch&uuml;ttung","index1.html?nr=3&snr=1&ssnr=0&lg=ge","Expl.-Gefahr","index1.html?nr=3&snr=3&ssnr=0&lg=ge","Techn. Probleme","index1.html?nr=3&snr=5&ssnr=0&lg=ge")
submenu_ge[3]=new Array("Tankrevision","index1.html?nr=4&snr=1&ssnr=0&lg=ge","Projekte","index1.html?nr=4&snr=3&ssnr=0&lg=ge","Offertanfrage","index1.html?nr=4&snr=5&ssnr=0&lg=ge","Referenzliste","index1.html?nr=4&snr=7&ssnr=0&lg=ge")
submenu_ge[4]=new Array("Tankstelle","index1.html?nr=5&snr=1&ssnr=0&lg=ge","Reinigungen","index1.html?nr=5&snr=3&ssnr=0&lg=ge","Pr&uuml;fungen","index1.html?nr=5&snr=5&ssnr=0&lg=ge","Projekte","index1.html?nr=5&snr=7&ssnr=0&lg=ge","Training","index1.html?nr=5&snr=9&ssnr=0&lg=ge","Offertanfrage","index1.html?nr=5&snr=11&ssnr=0&lg=ge","Referenzliste","index1.html?nr=5&snr=13&ssnr=0&lg=ge")
submenu_ge[5]=new Array("Komponenten","index1.html?nr=6&snr=1&ssnr=0&lg=ge","Offertanfrage","index1.html?nr=6&snr=3&ssnr=0&lg=ge")
submenu_ge[6]=new Array("Ger&auml;te","index1.html?nr=7&snr=1&ssnr=0&lg=ge","Preise","index1.html?nr=7&snr=3&ssnr=0&lg=ge")
submenu_ge[7]=new Array()

submenu_fr=new Array()
submenu_fr[0]=new Array()
submenu_fr[1]=new Array("plan d accès","index1.html?nr=2&snr=1&ssnr=0&lg=fr","plan de lieu","index1.html?nr=2&snr=3&ssnr=0&lg=fr","contact","index1.html?nr=2&snr=5&ssnr=0&lg=fr","partenaire","index1.html?nr=2&snr=7&ssnr=0&lg=fr","Links","index1.html?nr=2&snr=9&ssnr=0&lg=ge" )
submenu_fr[2]=new Array("débordement","index1.html?nr=3&snr=1&ssnr=0&lg=fr","danger d explos.","index1.html?nr=3&snr=3&ssnr=0&lg=fr","problèmes techn.","index1.html?nr=3&snr=5&ssnr=0&lg=fr")
submenu_fr[3]=new Array("révision citernes","index1.html?nr=4&snr=1&ssnr=0&lg=fr","projets","index1.html?nr=4&snr=3&ssnr=0&lg=fr","demand d office","index1.html?nr=4&snr=5&ssnr=0&lg=fr","liste de referenz","index1.html?nr=4&snr=7&ssnr=0&lg=fr")
submenu_fr[4]=new Array("station-service","index1.html?nr=5&snr=1&ssnr=0&lg=fr","nettoyage","index1.html?nr=5&snr=3&ssnr=0&lg=fr","épreuves","index1.html?nr=5&snr=5&ssnr=0&lg=fr","projets","index1.html?nr=5&snr=7&ssnr=0&lg=fr","formation","index1.html?nr=5&snr=9&ssnr=0&lg=fr","demand d office","index1.html?nr=5&snr=11&ssnr=0&lg=fr","list de referenz","index1.html?nr=5&snr=13&ssnr=0&lg=fr")
submenu_fr[5]=new Array("composant","index1.html?nr=6&snr=6&ssnr=0&lg=fr","demand d office","index1.html?nr=6&snr=3&ssnr=0&lg=fr")
submenu_fr[6]=new Array("outil","index1.html?nr=7&snr=1&ssnr=0&lg=fr","prix","index1.html?nr=7&snr=3&ssnr=0&lg=fr")
submenu_fr[7]=new Array()


submenu_it=new Array()
submenu_it[0]=new Array()
submenu_it[1]=new Array("Zufahrtsplan","index1.html?nr=2&snr=1&ssnr=0&lg=it","Ortsplan","index1.html?nr=2&snr=3&ssnr=0&lg=it","Kontakte","index1.html?nr=2&snr=5&ssnr=0&lg=it","Partner","index1.html?nr=2&snr=7&ssnr=0&lg=it","Links","index1.html?nr=2&snr=9&ssnr=0&lg=ge" )
submenu_it[2]=new Array("Versch&uuml;ttung","index1.html?nr=3&snr=1&ssnr=0&lg=it","Expl.-Gefahr","index1.html?nr=3&snr=3&ssnr=0&lg=it","Techn. Probleme","index1.html?nr=3&snr=5&ssnr=0&lg=it")
submenu_it[3]=new Array("Tankrevision","index1.html?nr=4&snr=1&ssnr=0&lg=it","Projekte","index1.html?nr=4&snr=3&ssnr=0&lg=it","Offertanfrage","index1.html?nr=4&snr=5&ssnr=0&lg=it","Referenzliste","index1.html?nr=4&snr=7&ssnr=0&lg=it")
submenu_it[4]=new Array("Tankstelle","index1.html?nr=5&snr=1&ssnr=0&lg=it","Reinigungen","index1.html?nr=5&snr=3&ssnr=0&lg=it","Pr&uuml;fungen","index1.html?nr=5&snr=5&ssnr=0&lg=it","Projekte","index1.html?nr=5&snr=7&ssnr=0&lg=it","Training","index1.html?nr=5&snr=9&ssnr=0&lg=it","Offertanfrage","index1.html?nr=5&snr=11&ssnr=0&lg=it","Referenzliste","index1.html?nr=5&snr=13&ssnr=0&lg=it")
submenu_it[5]=new Array("Komponenten","index1.html?nr=6&snr=1&ssnr=0&lg=it","Offertanfrage","index1.html?nr=6&snr=3&ssnr=0&lg=it")
submenu_it[6]=new Array("Ger&auml;te","index1.html?nr=7&snr=1&ssnr=0&lg=it","Preise","index1.html?nr=7&snr=3&ssnr=0&lg=it")
submenu_it[7]=new Array()

//-------------------------------------------------------------
// funtion for a link to a main-menu
//-------------------------------------------------------------
//

function link(obj)
{
self.location.href=eval('menues_'+language)[obj][1]
}

//-------------------------------------------------------------
// funtion for a link to a sub-menu
//-------------------------------------------------------------
//

function sublink(obj,obj1)
{
self.location.href=eval('submenu_'+language)[obj][obj1+1]
}




//-------------------------------------------------------------
// function for create the main-menu
//-------------------------------------------------------------


function create_main()
{

if (scWidth<=1024)
	{
	document.write('<link  rel="stylesheet" href="petrohandels_1024.css" type="text/css">')
	design_Height=565;
	design_Width=675;
	design_size=9;
	}
else if (scWidth<=1280)
			{
			document.write('<link  rel="stylesheet" href="petrohandels_1280.css" type="text/css">')
			design_Height=756;
			design_Width=850;
			design_size=11;
			}
else
	{
	document.write('<link  rel="stylesheet" href="petrohandels_1600.css" type="text/css">')
	design_Height=850;
	design_Width=1050;
	design_size=11;
	}

document.write( '<body class="body_menu_intro" >')
//document.write('<div style="position:absolute;visibility:visible;top:'+(menuTopLang+3)+';left:0"><a href="index.html?lg=ge"><img src="./images/flag_ger.gif" border="0"></a></div>')
//document.write('<div style="position:absolute;visibility:visible;top:'+(menuTopLang+3)+';left:25"><a href="index.html?lg=fr"><img src="./images/flag_fra.gif" border="0"></a></div>')
//document.write('<div style="position:absolute;visibility:visible;top:'+(menuTopLang+3)+';left:50"><a href="index.html?lg=it"><img src="./images/flag_ita.gif" border="0"></a></div>')
//document.write('<div style="position:absolute;visibility:visible;top:'+(menuTopLang+18)+';left:3">de</div>')
//document.write('<div style="position:absolute;visibility:visible;top:'+(menuTopLang+18)+';left:30">fr</div>')
//document.write('<div style="position:absolute;visibility:visible;top:'+(menuTopLang+18)+';left:55">it</div>')


if (window.opera)
   {document.write('<div style="position:absolute;visibility:visible;top:'+flashTop+';left:'+flashLeft+'"><a href="/index1.html?nr=5&snr=1&ssnr=5&lg=ge"><img src="./images/news.gif" border="0" width='+flashWidth+'></a></div>')
   }
else
	{
	document.write('<div style="position:absolute;visibility:visible;top:'+flashTop+';left:'+flashLeft+'">')
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="90" height="90" id="news" align="middle">')
	document.write('<param name="allowScriptAccess" value="sameDomain" />')
	document.write('<param name="movie" value="news.swf" />')
	document.write('<param name="quality" value="high" />')
	document.write('<param name="bgcolor" value="#ffffff" />')
	document.write('<embed src="news.swf" quality="high" bgcolor="#ffffff" width="'+flashWidth+'" height="'+flashWidth+'" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />')
	document.write('</object>')
	document.write('</div>')
	}

for(i=0;i<eval('menues_'+language).length;i++)
	{
	if (i==0)
		ypunkt=startx;
	else
		ypunkt+=imgWidth_main_Array[i-1];

	document.write( '<div id="main'+i+'" style="position:absolute;visibility:visible;">');
	document.write('<div id="maintxt'+i+'"  style="position:absolute;height:'+imgHeight_main+';width:'+imgWidth_main_Array[i]+';top:'+menuTop+';left:'+ypunkt+'">')
	document.write(mstring(i,false)+"</div>")
	document.write('<div id="smain'+i+'" style="position:absolute;height:'+imgHeight_main+';width:'+imgWidth_main_Array[i]+';top:'+menuTop+';left:'+ypunkt+'">')
	document.write('<a href="javascript:link('+i+')" onmouseover="change_img_main('+i+',1,false)" onmouseout="change_img_main('+i+',0,false)"><img src="'+leer.src+'" border="0" width="'+imgWidth_main_Array[i]+'" height="'+imgHeight_main+'">')
	document.write('</a></div>')
	document.write( '</div>')
	}
document.write('<div id="developer" style="position:absolute;color:black;font-size:'+design_size+';font-style:Arial;visibility:visible;top:'+design_Height+';left:'+design_Width+'"> designed & created by <br><a href="http://www.webandsafety.ch" target="_blank">Web & Safety GmbH</a></div> ')
}


//-------------------------------------------------------------
// function for change the text in the sub-menu
//-------------------------------------------------------------

function change_img_main(nr,state,click)
{
if(state==1)
	zustand=true;
else
	zustand=false;

if (typeof(document.all)=='object')
	{objx=eval("document.all.maintxt"+nr)
	objx.innerHTML=mstring(nr,zustand)
	}
else
	if (document.getElementById)
		document.getElementById("maintxt"+nr).innerHTML=mstring(nr,zustand)

if (state)
	{hide_submain()
	show_submain(nr)
	}
}

//-------------------------------------------------------------
// sub-menu in mainframe
//-------------------------------------------------------------

//-------------------------------------------------------------
// function for hide the sub-menu in mainframe

function hide_submain()
{
for(i=0;i<eval('menues_'+language).length;i++)
	{
	if(typeof(document.all)=='object')
		{if(document.all["submain"+i])
			document.all["submain"+i].style.visibility="hidden"

		for(xi=0;xi<eval('submenu_'+language)[i].length-1;xi=xi+2)
			{if(document.all["submaintxt"+i+"_"+xi])
		 		document.all["submaintxt"+i+"_"+xi].style.visibility="hidden"
			}
		}
	else
		if (document.getElementById)
			{if(document.getElementById("submain"+i))
				document.getElementById("submain"+i).style.visibility="hidden"

			for(xi=0;xi<eval('submenu_'+language)[i].length-1;xi=xi+2)
				{if(document.getElementById("submaintxt"+i+"_"+xi))
					document.getElementById("submaintxt"+i+"_"+xi).style.visibility="hidden"
				}
			}
	}

}

//-------------------------------------------------------------
// function for show the sub-menu
//-------------------------------------------------------------


function show_submain(nr)
{
for(i=0;i<eval('submenu_'+language)[nr].length-1;i=i+2)
	{
	 if(typeof(document.all)=='object')
		{if(document.all["submain"+nr])
			{document.all["submain"+nr].style.left = document.all["maintxt"+nr].style.left
			document.all["submain"+nr].style.visibility="visible"
			}
		if(document.all["submaintxt"+nr+"_"+i])
			document.all["submaintxt"+nr+"_"+i].style.visibility="visible"
		}
	 else
	 	if(document.getElementById)
			{if(document.getElementById("submain"+nr))
				{document.getElementById("submain"+nr).style.left = document.getElementById("maintxt"+nr).style.left
				document.getElementById("submain"+nr).style.visibility="visible"
				}

			if(document.getElementById("submaintxt"+nr+"_"+i))
				document.getElementById("submaintxt"+nr+"_"+i).style.visibility="visible"
			}
 	}
}

//-------------------------------------------------------------
// function for create the sub-menu
//-------------------------------------------------------------


function create_submain()
{
for(i=0;i<eval('menues_'+language).length;i++)
	{
	document.write( '<div id="submain'+i+'" style="position:absolute;visibility:hidden;">')
	for(xi=0;xi<eval('submenu_'+language)[i].length-1;xi=xi+2)
		{
		factor=xi
		if (factor>0)
			factor=factor/2
		ypunkt=(factor*imgHeight_sub)+starty+factor*distance

		document.write('<div id="submaintxt'+i+'_'+xi+'"  style="position:absolute;height:'+imgHeight_sub+';width:'+imgWidth_sub_Array[i]+';top:'+ypunkt+';left:0">')
		document.write(ulstring(i,xi,false)+"</div>")
		document.write('<div id="submain'+i+'_'+xi+'" style="position:absolute;height:'+imgHeight_sub+';width:'+imgWidth_sub_Array[i]+';top:'+ypunkt+';left:0">')
		document.write('<a href="javascript:sublink('+i+','+xi+')" onmouseover="change_img_submain('+i+','+xi+',1,false)" onmouseout="change_img_submain('+i+','+xi+',0,false)"><img src="'+leer.src+'" border="0" width="'+imgWidth_sub_Array[i]+'" height="'+imgHeight_sub+'">')
		document.write('</a></div>')
		}
	document.write( '</div>')
	}
}

//-------------------------------------------------------------
// function for change the text in hoover/normal state
//-------------------------------------------------------------


function mstring(hnr,aktiv)
{
if (aktiv)
	txt='<div id="mneu'+hnr+'"  class="menuAct_outer"><p class="menuAct">'+eval('menues_'+language)[hnr][0]+'</p></div>'
else
	txt='<div id="mneu'+hnr+'"  class="menuNorm_outer" ><p class="menuNorm">'+eval('menues_'+language)[hnr][0]+'</p></div>'

return txt
}

//-------------------------------------------------------------
// function for change the text in hoover/normal state
//-------------------------------------------------------------


function ulstring(hnr,nr,aktiv)
{
if (aktiv)
	txt='<div id="neu'+hnr+'_'+nr+'"  class="menuAct_outer"><p class="submenuAct">'+eval('submenu_'+language)[hnr][nr]+'</p></div>'
else
	txt='<div id="neu'+hnr+'_'+nr+'"  class="menuNorm_outer" ><p class="submenuNorm">'+eval('submenu_'+language)[hnr][nr]+'</p></div>'

return txt
}

//-------------------------------------------------------------
// function for change the images in the sub-menu
//-------------------------------------------------------------


function change_img_submain(xnr,nr,state,click)
{
if(state==1)
	zustand=true
else
	zustand=false

if (typeof(document.all)=='object')
	{objx=eval("document.all.submaintxt"+xnr+"_"+nr)
	objx.innerHTML=ulstring(xnr,nr,zustand)
	}
else if (document.getElementById)
			document.getElementById("submaintxt"+xnr+"_"+nr).innerHTML=ulstring(xnr,nr,zustand)

if (!click)
	{hide_submain()
	show_submain(xnr,nr)
	}
else
	hide_submain()
}



//----------------
// function init
//----------------


function ini()
{
 // get the parameters

 parameter=unescape(location.search.substring(1).replace(/\+/g," ")).split("?")
 werte=new Array()

 for(i=0;i<parameter.length;i++)
 {
  werte[i]=parameter[i].split("&")
  p_language=new Array()
  p_language[0]=werte[0][0].split("=")
 }

if (parameter=="")
	{language="ge"
	}
else
	language=p_language[0][1]

if (scWidth<=1024)
	{
	imgWidth_main_Array[0]=70;
	imgWidth_main_Array[1]=76;
	imgWidth_main_Array[2]=110;
	imgWidth_main_Array[3]=90;
	imgWidth_main_Array[4]=110;
	imgWidth_main_Array[5]=88;
	imgWidth_main_Array[6]=80;
	imgWidth_main_Array[7]=60;

	imgWidth_sub_Array[0]=70;
	imgWidth_sub_Array[1]=76;
	imgWidth_sub_Array[2]=110;
	imgWidth_sub_Array[3]=90;
	imgWidth_sub_Array[4]=110;
	imgWidth_sub_Array[5]=88;
	imgWidth_sub_Array[6]=80;
	imgWidth_sub_Array[7]=60;

	imgHeight_main = 29
	imgHeight_sub = 20
	distance=0
	menuTop=50
	startx=130
	starty=84
	flashWidth=70
	flashTop=90
	flashLeft=5

	}
else if (scWidth<=1280)
			{
			imgWidth_main_Array[0]=90;
			imgWidth_main_Array[1]=80;
			imgWidth_main_Array[2]=110;
			imgWidth_main_Array[3]=120;
			imgWidth_main_Array[4]=130;
			imgWidth_main_Array[5]=90;
			imgWidth_main_Array[6]=100;
			imgWidth_main_Array[7]=70;

			imgWidth_sub_Array[0]=90;
			imgWidth_sub_Array[1]=80;
			imgWidth_sub_Array[2]=110;
			imgWidth_sub_Array[3]=110;
			imgWidth_sub_Array[4]=130;
			imgWidth_sub_Array[5]=90;
			imgWidth_sub_Array[6]=80;
			imgWidth_sub_Array[7]=70;

			imgHeight_sub = 25
			distance=0
			startx=145
			menuTop=63
			menuTopLang=63
			imgHeight_main = 35
			starty=104
			flashWidth=90
			flashTop=125
			flashLeft=8
			}
else
	{imgWidth_main_Array[0]=90;
	imgWidth_main_Array[1]=77;
	imgWidth_main_Array[2]=110;
	imgWidth_main_Array[3]=120;
	imgWidth_main_Array[4]=130;
	imgWidth_main_Array[5]=87;
	imgWidth_main_Array[6]=100;
	imgWidth_main_Array[7]=70;

	imgWidth_sub_Array[0]=90;
	imgWidth_sub_Array[1]=90;
	imgWidth_sub_Array[2]=120;
	imgWidth_sub_Array[3]=110;
	imgWidth_sub_Array[4]=110;
	imgWidth_sub_Array[5]=100;
	imgWidth_sub_Array[6]=80;
	imgWidth_sub_Array[7]=70;

	imgHeight_main = 35
	imgHeight_sub = 25
	distance=0
	menuTop=71
	startx=145
	starty=110
	flashWidth=90
	flashTop=150
	flashLeft=15
	}


}

//-------------------------------------------------------
// function error message (old browser Netscape 4 series)
//-------------------------------------------------------

function error_msg()
	{document.write('<layer top="100" left="200" visibility="show" bgcolor="#CCCCCC" >');
	 document.write('<p>Die Website kann aufgrund Ihres alten Browsers nicht korrekt <br>dargestellt werden.<br><br>Bitte laden Sie <a href="http://www.netscape.com" target="_top"><strong>hier</strong></a> eine neuere Version von Netscape herunter.</p>');
	 document.write('</layer>');
	}


//-------------------
// calls to functions
//-------------------


if (document.layers)
	error_msg()
else
	{
	 ini()

	 create_main()

	 create_submain()
	}


