
var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0

if (document.all) {
breit=document.body.clientWidth
} else {
breit = window.innerWidth
}
zusatz = ((breit - 795)/2)
if (zusatz < 0) {
zusatz = 0
}


rightboundary=(200 + zusatz)
leftboundary=-210

/////////////////////////MENU1/////////////////////////////////

if (ie4||ns6) {
document.write('<div id="slidemenubar" style="left:-210" onMouseover="pull()" onMouseout="draw()">')

var sitems=new Array()
var sitemlinks=new Array()
var sitemtd=new Array()

//Das hier steht in dem Menü
sitems[0]="Gewerbe-Mietwertübersicht"
sitems[1]="Geschäftsbefragung Biedenkopf"
sitems[2]="Konjunktur"
sitems[3]="Lokale Bündnisse für Familie"
sitems[4]="Öffentliches Auftragswesen"
sitems[5]="Opticparcours in Wetzlar"
sitems[6]="Standortlobbying"
sitems[7]="Standort und Schule"
sitems[8]="Statistik"
sitems[9]="Steuerpolitik"
sitems[10]="Tourismus und Freizeit"
sitems[11]="Verkehr"
sitems[12]="Wirtschaftsförderung"
sitems[13]="Wirtschaftspolitik"

//Das sind die versteckten links 
sitemlinks[0]="http://www.ihk-lahndill.de/standort/gwmiet.php"
sitemlinks[1]="http://www.ihk-lahndill.de/download/pdf/10101D_fbbied08.pdf"
sitemlinks[2]="http://www.ihk-lahndill.de/standort/konjunk.php"
sitemlinks[3]="http://www.ihk-lahndill.de/recht/lbindex.php"
sitemlinks[4]="http://www.ihk-lahndill.de/standort/oeauf.php"
sitemlinks[5]="http://www.ihk-lahndill.de/standort/opc.php"
sitemlinks[6]="http://www.ihk-lahndill.de/standort/standlob.php"
sitemlinks[7]="http://www.ihk-lahndill.de/standort/schule-idx.php"
sitemlinks[8]="http://www.ihk-lahndill.de/standort/stats.php"
sitemlinks[9]="http://www.ihk-lahndill.de/standort/steuerp.php"
sitemlinks[10]="http://www.ihk-lahndill.de/standort/touri.php"
sitemlinks[11]="http://www.ihk-lahndill.de/standort/verkehr.php"
sitemlinks[12]="http://www.ihk-lahndill.de/standort/wfoerd.php"
sitemlinks[13]="http://www.ihk-lahndill.de/standort/wirtschp.php"

//TD Special
sitemtd[0]=""
sitemtd[1]=""
sitemtd[2]=""
sitemtd[3]=""
sitemtd[4]=""
sitemtd[5]=""
sitemtd[6]=" onMouseover='pull1d()' onMouseout='draw1d()' "
sitemtd[7]=""
sitemtd[8]=""
sitemtd[9]=""
sitemtd[10]=""
sitemtd[11]=""
sitemtd[12]=""
sitemtd[13]=""

document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems.length-1;i++){
document.write('<tr><td'+sitemtd[i]+'><a href='+sitemlinks[i]+'><b>'+sitems[i]+'</b></a></td></tr>')
if (i < sitems.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu=(ns6)? document.getElementById("slidemenubar").style : document.all.slidemenubar.style
} 

function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",500)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",500)
}
function pullengine(){
if (ie4&&themenu.pixelLeft<rightboundary)
themenu.pixelLeft=(205 + zusatz)
else if (ns6&&parseInt(themenu.left)<rightboundary)
themenu.left=(200 + zusatz)
else if (window.pullit)
clearInterval(pullit)
}
function drawengine(){
if (ie4&&themenu.pixelLeft>leftboundary)
themenu.pixelLeft-=(410 + zusatz)
else if (ns6&&parseInt(themenu.left)>leftboundary)
themenu.left=parseInt(themenu.left)-(410 + zusatz)
else if (window.drawit)
clearInterval(drawit)
}

/////////////////////////MENU1d/////////////////////////////////

if (ie4||ns6) {
document.write('<div id="slidemenubar1d" style="left:-210" onMouseover="pull1d();pull()" onMouseout="draw1d();draw()">')

var sitems1d=new Array()
var sitemlinks1d=new Array()

//extend or shorten this list
sitems1d[0]="Bauleitplanung"
sitems1d[1]="Immobilienbörse"

//These are the links pertaining to the above text.
sitemlinks1d[0]="http://www.ihk-lahndill.de/standort/stan-idx.php"
sitemlinks1d[1]="http://www.immoboerse-ihkwzdil.de/ target='_blank'"

document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems1d.length-1;i++){
document.write('<tr><td><a href='+sitemlinks1d[i]+'><b>'+sitems1d[i]+'</b></a></td></tr>')
if (i < sitems1d.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu1d=(ns6)? document.getElementById("slidemenubar1d").style : document.all.slidemenubar1d.style
} 

function pull1d(){
if (window.drawit1d)
clearInterval(drawit1d)
pullit1d=setInterval("pullengine1d()",500)
}
function draw1d(){
clearInterval(pullit1d)
drawit1d=setInterval("drawengine1d()",500)
}
function pullengine1d(){
if (ie4&&themenu1d.pixelLeft<(rightboundary + 200))
themenu1d.pixelLeft=(405 + zusatz)
else if (ns6&&parseInt(themenu1d.left)<(rightboundary + 200))
themenu1d.left=(400 + zusatz)
else if (window.pullit1d)
clearInterval(pullit1d)
}
function drawengine1d(){
if (ie4&&themenu1d.pixelLeft>leftboundary)
themenu1d.pixelLeft-=(610 + zusatz)
else if (ns6&&parseInt(themenu1d.left)>leftboundary)
themenu1d.left=parseInt(themenu1d.left)-(610 + zusatz)
else if (window.drawit1d)
clearInterval(drawit1d)
}


/////////////////////////MENU2/////////////////////////////////

if (ie4||ns6) {
document.write('<div id="slidemenubar2" style="left:-210" onMouseover="pull2()" onMouseout="draw2()">')

var sitems2=new Array()
var sitemlinks2=new Array()
var sitemtd2=new Array()


sitems2[0]="Existenzgründung"
sitems2[1]="Unternehmensförderung"
sitems2[2]="Unternehmensnachfolge"
sitems2[3]="Steuerservice"
sitems2[4]="Sach- und Fachkundeprüfung"


sitemlinks2[0]="http://www.ihk-lahndill.de/start/existenz.php"
sitemlinks2[1]="http://www.ihk-lahndill.de/start/unternf.php"
sitemlinks2[2]="http://www.ihk-lahndill.de/start/unachfolg.php"
sitemlinks2[3]="http://www.ihk-lahndill.de/start/steuservice.php"
sitemlinks2[4]="http://www.ihk-lahndill.de/start/sachuf.php"

//TD Special

sitemtd2[0]=""
sitemtd2[1]=""
sitemtd2[2]=""
sitemtd2[3]=""
sitemtd2[4]=""


document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems2.length-1;i++){
document.write('<tr><td'+sitemtd2[i]+'><a href='+sitemlinks2[i]+'><b>'+sitems2[i]+'</b></a></td></tr>')
if (i < sitems2.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu2=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style
} 

function pull2(){
if (window.drawit2)
clearInterval(drawit2)
pullit2=setInterval("pullengine2()",500)
}
function draw2(){
clearInterval(pullit2)
drawit2=setInterval("drawengine2()",500)
}
function pullengine2(){
if (ie4&&themenu2.pixelLeft<rightboundary)
themenu2.pixelLeft=(205 + zusatz)
else if (ns6&&parseInt(themenu2.left)<rightboundary)
themenu2.left=(200 + zusatz)
else if (window.pullit2)
clearInterval(pullit2)
}
function drawengine2(){
if (ie4&&themenu2.pixelLeft>leftboundary)
themenu2.pixelLeft-=(410 + zusatz)
else if (ns6&&parseInt(themenu2.left)>leftboundary)
themenu2.left=parseInt(themenu2.left)-(410 + zusatz)
else if (window.drawit2)
clearInterval(drawit2)
}


/////////////////////////MENU3/////////////////////////////////

if (ie4||ns6) {
document.write('<div id="slidemenubar3" style="left:-210" onMouseover="pull3()" onMouseout="draw3()">')

var sitems3=new Array()
var sitemlinks3=new Array()
var sitemtd3=new Array()

sitems3[0]="Aktuelles / News"
sitems3[1]="Ausbildung"
sitems3[2]="Weiterbildung"
sitems3[3]="Studium / Praktikum"

sitemlinks3[0]="http://www.ihk-lahndill.de/ausbild/aktuell.php"
sitemlinks3[1]="http://www.ihk-lahndill.de/ausbild/ausb-idx.php"
sitemlinks3[2]="http://www.ihk-lahndill.de/ausbild/weit-idx.php"
sitemlinks3[3]="http://www.ihk-lahndill.de/ausbild/stud-idx.php"

//TD Special
sitemtd3[0]=""
sitemtd3[1]=""
sitemtd3[2]=""
sitemtd3[3]=""

document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems3.length-1;i++){
document.write('<tr><td'+sitemtd3[i]+'><a href='+sitemlinks3[i]+'><b>'+sitems3[i]+'</b></a></td></tr>')
if (i < sitems3.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu3=(ns6)? document.getElementById("slidemenubar3").style : document.all.slidemenubar3.style
} 

function pull3(){
if (window.drawit3)
clearInterval(drawit3)
pullit3=setInterval("pullengine3()",500)
}
function draw3(){
clearInterval(pullit3)
drawit3=setInterval("drawengine3()",500)
}
function pullengine3(){
if (ie4&&themenu3.pixelLeft<rightboundary)
themenu3.pixelLeft=(205 + zusatz)
else if (ns6&&parseInt(themenu3.left)<rightboundary)
themenu3.left=(200 + zusatz)
else if (window.pullit3)
clearInterval(pullit3)
}
function drawengine3(){
if (ie4&&themenu3.pixelLeft>leftboundary)
themenu3.pixelLeft-=(410 + zusatz)
else if (ns6&&parseInt(themenu3.left)>leftboundary)
themenu3.left=parseInt(themenu3.left)-(410 + zusatz)
else if (window.drawit3)
clearInterval(drawit3)
}


/////////////////////////MENU4/////////////////////////////////
if (ie4||ns6) {
document.write('<div id="slidemenubar4" style="left:-210" onMouseover="pull4()" onMouseout="draw4()">')

var sitems4=new Array()
var sitemlinks4=new Array()
var sitemtd4=new Array()

sitems4[0]="Innovation / Technologie"
sitems4[1]="Umwelt (IHK Verbund-Mittelhessen)"

sitemlinks4[0]="http://www.ihk-lahndill.de/innovat/inno.php"
sitemlinks4[1]="http://www.ihk-lahndill.de/umwelt/index.php"

sitemtd4[0]=""
sitemtd4[1]=" onMouseover='pull4b()' onMouseout='draw4b()' "

document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems4.length-1;i++){
document.write('<tr><td '+sitemtd4[i]+'><a href='+sitemlinks4[i]+'><b>'+sitems4[i]+'</b></a></td></tr>')
if (i < sitems4.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu4=(ns6)? document.getElementById("slidemenubar4").style : document.all.slidemenubar4.style
} 

function pull4(){
if (window.drawit4)
clearInterval(drawit4)
pullit4=setInterval("pullengine4()",500)
}
function draw4(){
clearInterval(pullit4)
drawit4=setInterval("drawengine4()",500)
}
function pullengine4(){
if (ie4&&themenu4.pixelLeft<rightboundary)
themenu4.pixelLeft=(205 + zusatz)
else if (ns6&&parseInt(themenu4.left)<rightboundary)
themenu4.left=(200 + zusatz)
else if (window.pullit4)
clearInterval(pullit4)
}
function drawengine4(){
if (ie4&&themenu4.pixelLeft>leftboundary)
themenu4.pixelLeft-=(410 + zusatz)
else if (ns6&&parseInt(themenu4.left)>leftboundary)
themenu4.left=parseInt(themenu4.left)-(410 + zusatz)
else if (window.drawit4)
clearInterval(drawit4)
}
/////////////////////////MENU4b/////////////////////////////////

if (ie4||ns6) {
document.write('<div id="slidemenubar4b" style="left:-210" onMouseover="pull4b();pull4()" onMouseout="draw4b();draw4()">')

var sitems4b=new Array()
var sitemlinks4b=new Array()

//extend or shorten this list
sitems4b[0]="Arbeitsschutz"
sitems4b[1]="Abfallwirtschaft"
sitems4b[2]="EcoPost"
sitems4b[3]="Energiewirtschaft"
sitems4b[4]="EU-Chemikalienpolitik"
sitems4b[5]="IHK-Umwelt-Forum"
sitems4b[6]="Immissionsschutz"
sitems4b[7]="Integrierte Produktpolitik"
sitems4b[8]="Naturschutz"
sitems4b[9]="Nützliche Links"
sitems4b[10]="Presse"
sitems4b[11]="UMFIS/UMKIS"
sitems4b[12]="Umweltmanagement"
sitems4b[13]="Umwelttechnologie"
sitems4b[14]="Veranstaltungen"
sitems4b[15]="Wasserwirtschaft"


//These are the links pertaining to the above text.
sitemlinks4b[0]="http://www.ihk-lahndill.de/umwelt/arbschut.php"
sitemlinks4b[1]="http://www.ihk-lahndill.de/umwelt/abf.php"
sitemlinks4b[2]="http://www.ihk-lahndill.de/umwelt/index.php"
sitemlinks4b[3]="http://www.ihk-lahndill.de/umwelt/energie.php"
sitemlinks4b[4]="http://www.ihk-lahndill.de/umwelt/euchemie.php"
sitemlinks4b[5]="http://www.ihk-lahndill.de/umwelt_dilwz"
sitemlinks4b[6]="http://www.ihk-lahndill.de/umwelt/immiss.php"
sitemlinks4b[7]="http://www.ihk-lahndill.de/umwelt/produktp.php"
sitemlinks4b[8]="http://www.ihk-lahndill.de/umwelt/natur.php"
sitemlinks4b[9]="http://www.ihk-lahndill.de/umwelt/links.php"
sitemlinks4b[10]="http://www.ihk-lahndill.de/umwelt/presse.php"
sitemlinks4b[11]="http://www.ihk-lahndill.de/umwelt/ufuk.php"
sitemlinks4b[12]="http://www.ihk-lahndill.de/umwelt/umweltmg.php"
sitemlinks4b[13]="http://www.ihk-lahndill.de/umwelt/utech.php"
sitemlinks4b[14]="http://www.ihk-lahndill.de/umwelt/veransta.php"
sitemlinks4b[15]="http://www.ihk-lahndill.de/umwelt/wawi.php"


document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems4b.length-1;i++){
document.write('<tr><td><a href='+sitemlinks4b[i]+'><b>'+sitems4b[i]+'</b></a></td></tr>')
if (i < sitems4b.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu4b=(ns6)? document.getElementById("slidemenubar4b").style : document.all.slidemenubar4b.style
} 

function pull4b(){
if (window.drawit4b)
clearInterval(drawit4b)
pullit4b=setInterval("pullengine4b()",500)
}
function draw4b(){
clearInterval(pullit4b)
drawit4b=setInterval("drawengine4b()",500)
}
function pullengine4b(){
if (ie4&&themenu4b.pixelLeft<(rightboundary + 200))
themenu4b.pixelLeft=(405 + zusatz)
else if (ns6&&parseInt(themenu4b.left)<(rightboundary + 200))
themenu4b.left=(400 + zusatz)
else if (window.pullit4b)
clearInterval(pullit4b)
}
function drawengine4b(){
if (ie4&&themenu4b.pixelLeft>leftboundary)
themenu4b.pixelLeft-=(610 + zusatz)
else if (ns6&&parseInt(themenu4b.left)>leftboundary)
themenu4b.left=parseInt(themenu4b.left)-(610 + zusatz)
else if (window.drawit4b)
clearInterval(drawit4b)
}

/////////////////////////MENU5/////////////////////////////////
if (ie4||ns6) {
document.write('<div id="slidemenubar5" style="left:-210" onMouseover="pull5()" onMouseout="draw5()">')

var sitems5=new Array()
var sitemlinks5=new Array()

sitems5[0]="Außenhandel"
sitems5[1]="Länder und Märkte"
sitems5[2]="Außenwirtschaftsförderung"
sitems5[3]="Investitionen"
sitems5[4]="Seminare und Veranstaltungen"
sitems5[5]="Aktuelles und Rundschreiben"
sitems5[6]="Nützliche Links"

sitemlinks5[0]="http://www.ihk-lahndill.de/internat/aussen.php"
sitemlinks5[1]="http://www.ihk-lahndill.de/internat/lum.php"
sitemlinks5[2]="http://www.ihk-lahndill.de/internat/ida.php"
sitemlinks5[3]="http://www.ihk-lahndill.de/internat/inv.php"
sitemlinks5[4]="http://www.ihk-lahndill.de/internat/semiver-1.php"
sitemlinks5[5]="http://www.ihk-lahndill.de/internat/ausrund.php"
sitemlinks5[6]="http://www.ihk-lahndill.de/internat/links.php"

document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems5.length-1;i++){
document.write('<tr><td><a href='+sitemlinks5[i]+'><b>'+sitems5[i]+'</b></a></td></tr>')
if (i < sitems5.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu5=(ns6)? document.getElementById("slidemenubar5").style : document.all.slidemenubar5.style
} 

function pull5(){
if (window.drawit5)
clearInterval(drawit5)
pullit5=setInterval("pullengine5()",500)
}
function draw5(){
clearInterval(pullit5)
drawit5=setInterval("drawengine5()",500)
}
function pullengine5(){
if (ie4&&themenu5.pixelLeft<rightboundary)
themenu5.pixelLeft=(205 + zusatz)
else if (ns6&&parseInt(themenu5.left)<rightboundary)
themenu5.left=(200 + zusatz)
else if (window.pullit5)
clearInterval(pullit5)
}
function drawengine5(){
if (ie4&&themenu5.pixelLeft>leftboundary)
themenu5.pixelLeft-=(410 + zusatz)
else if (ns6&&parseInt(themenu5.left)>leftboundary)
themenu5.left=parseInt(themenu5.left)-(410 + zusatz)
else if (window.drawit5)
clearInterval(drawit5)
}

/////////////////////////MENU6/////////////////////////////////
if (ie4||ns6) {
document.write('<div id="slidemenubar6" style="left:-210" onMouseover="pull6()" onMouseout="draw6()">')

var sitems6=new Array()
var sitemlinks6=new Array()

sitems6[0]="Rechts-Infos von A-Z"
sitems6[1]="Newsticker Recht|Fair Play"
sitems6[2]="Musterverträge"
sitems6[3]="Handel/Dienstleistungen"
sitems6[4]="Firmen-/Markenrecherche"
sitems6[5]="IHK Mediationsstelle"
sitems6[6]="IHK Schiedsgericht"
sitems6[7]="Unterrichtungen"
sitems6[8]="Sachkundeprüfung"
sitems6[9]="Waffensachkundeprüfung"
sitems6[10]="Sachverständigenwesen"
sitems6[11]="Seminare Recht und Fair Play"
sitems6[12]="Linksammlung"

sitemlinks6[0]="http://www.ihk-lahndill.de/recht/abisz.php"
sitemlinks6[1]="http://www.ihk-lahndill.de/recht/newsticker.php"
sitemlinks6[2]="http://www.ihk-lahndill.de/recht/musvert.php"
sitemlinks6[3]="http://www.ihk-lahndill.de/recht/handdienst.php"
sitemlinks6[4]="http://www.ihk-lahndill.de/recht/firmenre.php"
sitemlinks6[5]="http://www.ihk-lahndill.de/recht/mediationidx.php"
sitemlinks6[6]="http://www.ihk-lahndill.de/recht/schiedsgeidx.php"
sitemlinks6[7]="http://www.ihk-lahndill.de/recht/unterri.php"
sitemlinks6[8]="http://www.ihk-lahndill.de/recht/sachbewachfair.php"
sitemlinks6[9]="http://www.ihk-lahndill.de/recht/wskunde.php"
sitemlinks6[10]="http://www.ihk-lahndill.de/recht/sachver.php"
sitemlinks6[11]="http://www.ihk-lahndill.de/recht/semifinanz.php"
sitemlinks6[12]="http://www.ihk-lahndill.de/recht/links.php"

document.write('<table width="200" border="0" cellpadding="0" cellspacing="0">')
for (i=0;i<=sitems6.length-1;i++){
document.write('<tr><td><a href='+sitemlinks6[i]+'><b>'+sitems6[i]+'</b></a></td></tr>')
if (i < sitems6.length-1){
document.write('<tr><td bgcolor="#99BBDD" height="1"></td></tr>')
}
}
document.write('</table>')
}

if (ie4||ns6){
document.write('</div>')
themenu6=(ns6)? document.getElementById("slidemenubar6").style : document.all.slidemenubar6.style
} 

function pull6(){
if (window.drawit6)
clearInterval(drawit6)
pullit6=setInterval("pullengine6()",500)
}
function draw6(){
clearInterval(pullit6)
drawit6=setInterval("drawengine6()",500)
}
function pullengine6(){
if (ie4&&themenu6.pixelLeft<rightboundary)
themenu6.pixelLeft=(205 + zusatz)
else if (ns6&&parseInt(themenu6.left)<rightboundary)
themenu6.left=(200 + zusatz)
else if (window.pullit6)
clearInterval(pullit6)
}
function drawengine6(){
if (ie4&&themenu6.pixelLeft>leftboundary)
themenu6.pixelLeft-=(410 + zusatz)
else if (ns6&&parseInt(themenu6.left)>leftboundary)
themenu6.left=parseInt(themenu6.left)-(410 + zusatz)
else if (window.drawit6)
clearInterval(drawit6)
}
