﻿var open_tmp = false;
var geoeffnet = "";
var anzahl = 6;
var opacity = 100
var laeuft = false;
var wieweit = 1002;

var berlin = "<table width='100%' height='100%'><tr><td align='right'><table border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td width='258' class='p'><img src='images/homepage.gif' alt='unsere Homepage' /><p>Der Standort Ullsteinhaus, Modetrends, Fashion-Termine,  Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.modecenter-berlin.de' target='_blank' class='start_berlin_link'>www.modecenter-berlin.de</a></p><img src='images/durchreise.gif' alt='Berliner Durchreise' /><p class='p'>Informationen, Anbieter &amp; ihre Kollektionen, Messeservice &amp; Kontakt unter:<br /><a href='http://www.berlinerdurchreise.de' target='_blank' class='start_berlin_link'>www.berlinerdurchreise.de </a></p><img src='images/mieter.gif' alt='Mieter und Kollektionen' /><br /><p class='p'>Alle Anbieter und Kollektionen sowie weitere Informationen und Kontaktdaten finden Sie in unserer  komfortablen Suchmaschine <a href='http://www.profashionalpass.de/f2f/berlin_neu/index.asp' class ='start_berlin_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var eschborn = "<table width='100%' height='100%'><tr><td align='right'><table border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td width='258'><table width='258' height='25' bgcolor='#44475c'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p'>Der Standort Eschborn Gewerbegebiet Süd , Modetrends, Fashion-Termine, Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.hdm-eschborn.de/' target='_blank' class='start_eschborn_link'>www.hdm-eschborn.de</a></p><table width='258' height='25' bgcolor='#44475c'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Frankfurt Instyle</td></tr></table><p class='p'>Frankfurt INSTYLE  ist das offizielle Informationsmedium der Häuser der Mode Eschborn: <br /><a href='http://www.hdm-eschborn.de/instyle.aspx' target='_blank' class='start_eschborn_link'>Frankfurt Instyle</a></p><table width='258' height='25' bgcolor='#44475c'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Anbieter &amp; Kollektionen</td></tr></table><br /><p class='p'>Alle Anbieter und Kollektionen sowie weitere Informationen und Kontaktdaten finden Sie in unserer komfortablen Suchmaschine <a href='http://www.hdm-eschborn.de/easyclick.aspx' target='_blank' class='start_eschborn_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var euromoda = "<table width='100%' height='100%'><tr><td align='right'><table border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td width='258'><table width='258' height='25' bgcolor='#005295'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p'>Der Standort Euromoda - Neuss, Modetrends, Fashion-Termine, Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.euromoda-neuss.de/' target='_blank' class='start_euromoda_link'>www.euromoda-neuss.de</a></p><table width='258' height='25' bgcolor='#005295'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Locationvermittlung</td></tr></table><p class='p'>Die Locationvermittlung ist unser Service für Veranstalter, Agen­turen und Bildungsdienstleister: <br /><a href='http://www.euromoda-neuss.de/veranstaltung.aspx' target='_blank' class='start_euromoda_link'>Euromoda - Veranstaltungsr&auml;ume</a></p><table width='258' height='25' bgcolor='#005295'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Anbieter &amp; Kollektionen</td></tr></table><br /><p class='p'>Alle Anbieter und Kollektionen sowie weitere Informationen und Kontaktdaten finden Sie in unserer komfortablen Suchmaschine <a href='http://www.euromoda-neuss.de/easyclick_start.aspx' target='_blank' class='start_euromoda_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var hamburg = "<table width='100%' height='100%'><tr><td align='right'><table border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td width='258'><table width='258' height='25' bgcolor='#00386a'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p'>Der Standort des Modetreffpunkts im Norden Deutschlands, Modetrends, Fashion-Termine, Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.modecentrum-hamburg.de/' target='_blank' class='start_hamburg_link'>www.modecentrum-hamburg.de</a></p><table width='258' height='25' bgcolor='#00386a'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Hamburg News</td></tr></table><p class='p'>Hier finden Sie einen Auszug aus den aktuellen Beiträgen unserer Hamburg News: <br /><a href='http://www.profashionalpass.de/f2f/hamburg/index.aspx?show=hh_news&archiv=1' target='_blank' class='start_hamburg_link'>MCH News</a></p><table width='258' height='25' bgcolor='#00386a'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Anbieter &amp; Kollektionen</td></tr></table><br /><p class='p'>Alle Anbieter und Kollektionen sowie weitere Informationen und Kontaktdaten finden Sie in unserer komfortablen Suchmaschine <a href='http://www.profashionalpass.de/f2f/hamburg/index.aspx?show=anbieter'class='start_hamburg_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var imotex = "<table width='100%' height='100%'><tr><td align='right'><table border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td width='258'><table width='258' height='25' bgcolor='#d9254a'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p'>Der Standort Imotex, Modetrends, Fashion-Termine, Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.imotex.de/' target='_blank' class='start_imotex_link'>www.imotex.de</a></p><table width='258' height='25' bgcolor='#d9254a'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Aktuelle Pressemitteilungen</td></tr></table><p class='p'>Hier finden Sie unser Presse-Archiv und aktuelle Pressetexte: <br /><a href='http://www.imotex.de/presse' target='_blank' class='start_imotex_link'>Zum Presse Archiv</a></p><table width='258' height='25' bgcolor='#d9254a'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Anbieter &amp; Kollektionen</td></tr></table><br /><p class='p'>Alle Anbieter und Kollektionen sowie weitere Informationen und Kontaktdaten finden Sie in unserer komfortablen Suchmaschine <a href='http://www.imotex.de/marken' atrget='blank' class='start_imotex_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var sindelfingen = "<table width='100%' height='100%'><tr><td align='right'><table border='0' cellspacing='0' cellpadding='0'><tr valign='top'><td width='258'><table width='258' height='25' bgcolor='#44475c'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p'>Der Standort Sindelfingen, Modetrends, Fashion-Termine, Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.modecentrum-sindelfingen.de/' target='_blank' class='start_sindelfingen_link'>www.modecentrum-sindelfingen.de</a></p><table width='258' height='25' bgcolor='#44475c'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>HDK Events</td></tr></table><p class='p'>Hier erhalten Sie eine detailierte &Uuml;bersicht der HDK Events: <br /><a href='http://www.profashionalpass.de/modecentrum-sindelfingen/events.asp' target='_blank' class='start_sindelfingen_link'>Zu den HDK Events</a></p><table width='258' height='25' bgcolor='#44475c'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Anbieter &amp; Kollektionen</td></tr></table><br /><p class='p'>Alle Anbieter und Kollektionen sowie weitere Informationen und Kontaktdaten finden Sie in unserer komfortablen Suchmaschine <a href='http://www.profashionalpass.de/f2f/suche_modecentrum/index.asp?modecentrum=Sindelfingen'class='start_sindelfingen_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var bte = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='right'><img src='images/bte_logo.jpg' width='249' height='123' /></div><br /><br /><table width='258' height='25' bgcolor='#003273'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p'>Der Standort BTE , Trends, Fashion-Termine, Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.bte.de' target='_blank' class='start_bte_link'>www.bte.de</a></p><table width='258' height='25' bgcolor='#003273'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Fachpublikationen</td></tr></table><br /><p class='p'>Im Auftrag des BTE veröffentlicht das Institut des Deutschen Textileinzelhandels GmbH regelmäßig Informationen über den gesamten deutschen Textileinzelhandel:<a href='http://www.profashionalpass.de/f2f/suche_modecentrum/index.asp?modecentrum=Eschborn' class='start_bte_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var imc = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='right'><img src='images/imc_Logo_neu.jpg'/></div><br /><br /><table width='258' height='25' bgcolor='#cc1315'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Inhalte / Ziele</td></tr></table><p class='p'>Der textile Standort IMC , Trends, Fashion-Termine, Kontakte &amp; M&ouml;glichkeiten <a href='http://www.modecentren-imc.de' target='_blank' class='start_imc_link'>...weiter</a></p><table width='258' height='25' bgcolor='#cc1315'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Profashionalpass</td></tr></table><br /><p class='p'>Unser Schl&uuml;ssel ist der Profashionalpass ... <br>Hier gelangen Sie zu allen Informationen, Vorteilen &amp; Inhalten und zu dem Antragsformular:<a href='http://www.profashionalpass.de' class='start_imc_link' target='_blank'>...weiter</a></p></td></tr></table></td></tr></table>";
var body_look = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='center' style='padding-top:10px'><img src='images/bl_logo.jpg'/></div><br /><br /><table width='258' height='25' bgcolor='#d70340'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p_bodylook'>Hier finden Sie alles Wissenswerte rund um die body look. Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.body-look.de' target='_blank' class='start_bodylook_link'>www.body-look.de</a></p><table width='258' height='25' bgcolor='#d70340'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Veranstaltungen</td></tr></table><br /><p class='p_bodylook'>Unser professionelles Fashion Team sorgt für inspirierende Catwalk Shows auf internationalem Niveau:&nbsp;<a href='http://www.igedo.com/IGEDO/website/deutsch/body/04_veranstaltungen/events.php' target='_blank' class='start_bodylook_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var cpd = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='center' style='padding-top:10px'><img src='images/cpd_logo.jpg'/></div><br /><br /><table width='258' height='25' bgcolor='#aa023d'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p_cpd'>Hier finden Sie alles Wissenswerte rund um die cpd. Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.igedo.com/IGEDO/website/deutsch/cpd/01_messe/profil.php' target='_blank' class='start_cpd_link'>www.igedo.com</a></p><table width='258' height='25' bgcolor='#aa023d'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>E-Newsletter</td></tr></table><br /><p class='p_cpd'>Etwa zwei Monate vor Messebeginn erhalten Sie immer Mittwochs kompetent und übersichtlich aufgearbeitete Neuigkeiten und wertvolle Informationen.:&nbsp;<a href='http://www.igedo.com/IGEDO/website/deutsch/cpd/08_newsletter/news.php' target='_blank' class='start_cpd_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var gds = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='center' style='padding-top:10px'><img src='images/gds_logo.jpg'/></div><br /><br /><table width='258' height='25' bgcolor='#a84907'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p_cpd'>Hier finden Sie alles Wissenswerte rund um die gds. Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.gds-online.com' target='_blank' class='start_gds_link'>www.gds-online.com</a></p><table width='258' height='25' bgcolor='#a84907'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Besucher-Service</td></tr></table><br /><p class='p_cpd'>Nützliche Informationen auf einem Blick, z.B. Öffnungszeiten, Turnus, Veranstalter, Preise usw.:&nbsp;<a href='http://www.gds-online.com/cipp/md_gds/custom/pub/content,lang,1/oid,4682/ticket,g_u_e_s_t/~/Besucher-Service.html' target='_blank' class='start_gds_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var heimtextil = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='center' style='padding-top:10px'><img src='images/heimtextil_logo.jpg'/></div><br /><br /><table width='258' height='25' bgcolor='#b3c039'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p_heimtextil'>Hier finden Sie alles Wissenswerte rund um die heimtextil. Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.heimtextil.messefrankfurt.com' target='_blank' class='start_heimtextil_link'>www.heimtextil.messefrankfurt.com</a></p><table width='258' height='25' bgcolor='#b3c039'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Heimtextil-News</td></tr></table><br /><p class='p_heimtextil'>Unser Service für Fachbesucher: Aktuelle Informationen rund um Ihren Messebesuch bietet unser Info-Service Heimtextil-News - per Email direkt auf Ihren Bildschirm. :&nbsp;<a href='http://heimtextil.messefrankfurt.com/frankfurt/de/aussteller-center_infoservice.html' target='_blank' class='start_heimtextil_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var i_l_m = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='center' style='padding-top:10px'><img src='images/ilm_logo.jpg'/></div><br /><br /><table width='258' height='25' bgcolor='#963800'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p_ilm'>Hier finden Sie alles Wissenswerte rund um die I.L.M. Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.messe-offenbach.de' target='_blank' class='start_ilm_link'>www.messe-offenbach.de</a></p><table width='258' height='25' bgcolor='#963800'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>I.L.M Community</td></tr></table><br /><p class='p_ilm'>Der Link zur neuen I.L.M COMMUNITY führt Sie zu einem Forum, in dem sich Aussteller der I.L.M das ganze Jahr über präsentieren und mit ihren Firmen- und Produktdarstellungen gefunden werden können :&nbsp;<a href='http://www.ilm-community.com/' target='_blank' class='start_ilm_link'>...weiter</a></p></td></tr></table></td></tr></table>";
var ispo = "<table width='100%' height='100%'><tr><td align='right' valign='top'><table border='0' cellspacing='0' cellpadding='0' height='100%'><tr><td width='258' valign='top'><div align='center' style='padding-top:10px'><img src='images/ispo_logo.jpg'/></div><br /><br /><table width='258' height='25' bgcolor='#15b0de'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Unsere Homepage</td></tr></table><p class='p_ispo'>Hier finden Sie alles Wissenswerte rund um die ispo. Kontakte &amp; M&ouml;glichkeiten unter:<br /><a href='http://www.ispo-winter.com' target='_blank' class='start_ispo_link'>www.ispo-winter.com</a></p><table width='258' height='25' bgcolor='#15b0de'><tr><td class='ueberschrift_eschborn' style='padding-left: 10px;'>Sports Community Newsletter</td></tr></table><br /><p class='p_ispo'>Verpassen Sie keine News der Sports Community! Melden Sie sich zu unserem kostenlosen Newsletter an und erhalten Sie regelmäßig die aktuellsten Meldungen rund um alle Messen der Sports Community :&nbsp;<a href='http://www.ispo-winter.com/de/Home/cn/eh/ehcn/newsletter' target='_blank' class='start_ispo_link'>...weiter</a></p></td></tr></table></td></tr></table>";

function move(welcher) {
    if (laeuft == false) {

        document.getElementById("1").style.visibility = "visible";
        var pos = getPosition(document.getElementById("ctl00_ContentPlaceHolder1_Table1"));
        document.getElementById("1").style.top = pos.y;
        document.getElementById("1").style.left = pos.x;
        if (open_tmp == true && geoeffnet == welcher) {
            laeuft = true;
            document.getElementById("1").innerHTML = ""
            document.getElementById("1").style.backgroundColor = "#000000";
            document.getElementById("1").style.filter = 'alpha(opacity=' + opacity + ')';
            document.getElementById("1").style.opacity = opacity / 100;

            geoeffnet = "";
            open_tmp = false;
            zz = new Tween(document.getElementById("1").style, 'width', '', wieweit, 0, 3, 'px');
            zz.start()
            zz.onMotionFinished = function() {
                document.getElementById('zelle').style.backgroundImage = "url(images/index_02.jpg)";
                document.getElementById("zelle").style.backgroundColor = "transparent";
                document.getElementById("zelle").style.filter = 'alpha(opacity=100)';
                document.getElementById("zelle").style.opacity = 1;
                laeuft = false;
                document.getElementById("1").style.visibility = "hidden";
            };
        }
        else if (open_tmp == true && geoeffnet != welcher) {
            laeuft = true;
            document.getElementById("1").innerHTML = ""
            document.getElementById("1").style.backgroundColor = "#000000";
            document.getElementById("1").style.filter = 'alpha(opacity=' + opacity + ')';
            document.getElementById("1").style.opacity = opacity / 100;

            geoeffnet = "";
            open_tmp = false;
            zz = new Tween(document.getElementById("1").style, 'width', '', wieweit, 0, 3, 'px');
            zz.start()
            zz.onMotionFinished = function() {
                document.getElementById('zelle').style.backgroundImage = "url(images/index_02.jpg)";
                document.getElementById("zelle").style.backgroundColor = "transparent";
                document.getElementById("zelle").style.filter = 'alpha(opacity=100)';
                document.getElementById("zelle").style.opacity = 1;

                bilder_wechsel(welcher);
                document.getElementById("1").style.backgroundColor = "#000000";
                //document.getElementById(i).style.backgroundImage = "url(images/trans.gif)";    
                document.getElementById("1").style.filter = 'alpha(opacity=' + opacity + ')';
                document.getElementById("1").style.opacity = opacity / 100;

                geoeffnet = welcher;
                open_tmp = true;
                zz = new Tween(document.getElementById("1").style, 'width', '', 0, wieweit, 3, 'px');
                zz.start()
                zz.onMotionFinished = function() {
                    document.getElementById("1").style.backgroundColor = "transparent";
                    document.getElementById("1").style.filter = 'alpha(opacity=100)';
                    document.getElementById("1").style.opacity = 1;
                    bilder_wechsel(welcher);
                    if (welcher == 1) {
                        document.getElementById("1").innerHTML = berlin
                    }
                    else if (welcher == 2) {
                        document.getElementById("1").innerHTML = eschborn
                    }
                    else if (welcher == 3) {
                        document.getElementById("1").innerHTML = euromoda
                    }
                    else if (welcher == 4) {
                        document.getElementById("1").innerHTML = hamburg
                    }
                    else if (welcher == 5) {
                        document.getElementById("1").innerHTML = imotex
                    }
                    else if (welcher == 6) {
                        document.getElementById("1").innerHTML = sindelfingen
                    }
                    else if (welcher == 7) {
                        document.getElementById("1").innerHTML = bte
                    }
                    else if (welcher == 8) {
                        document.getElementById("1").innerHTML = imc
                    }
                    else if (welcher == 9) {
                        document.getElementById("1").innerHTML = body_look
                    }
                    else if (welcher == 10) {
                        document.getElementById("1").innerHTML = cpd
                    }
                    else if (welcher == 11) {
                        document.getElementById("1").innerHTML = gds
                    }
                    else if (welcher == 12) {
                        document.getElementById("1").innerHTML = heimtextil
                    }
                    else if (welcher == 13) {
                        document.getElementById("1").innerHTML = i_l_m
                    }
                    else if (welcher == 14) {
                        document.getElementById("1").innerHTML = ispo
                    }
                    laeuft = false;
                };
            };

        }
        else {
            laeuft = true;
            bilder_wechsel(welcher);
            document.getElementById("1").style.backgroundColor = "#000000";
            //document.getElementById(i).style.backgroundImage = "url(images/trans.gif)";    
            document.getElementById("1").style.filter = 'alpha(opacity=' + opacity + ')';
            document.getElementById("1").style.opacity = opacity / 100;

            geoeffnet = welcher;
            open_tmp = true;
            zz = new Tween(document.getElementById("1").style, 'width', '', 0, wieweit, 3, 'px');
            zz.start()
            zz.onMotionFinished = function() {
                document.getElementById("1").style.backgroundColor = "transparent";
                document.getElementById("1").style.filter = 'alpha(opacity=100)';
                document.getElementById("1").style.opacity = 1;
                bilder_wechsel(welcher);
                if (welcher == 1) {
                    document.getElementById("1").innerHTML = berlin
                }
                else if (welcher == 2) {
                    document.getElementById("1").innerHTML = eschborn
                }
                else if (welcher == 3) {
                    document.getElementById("1").innerHTML = euromoda
                }
                else if (welcher == 4) {
                    document.getElementById("1").innerHTML = hamburg
                }
                else if (welcher == 5) {
                    document.getElementById("1").innerHTML = imotex
                }
                else if (welcher == 6) {
                    document.getElementById("1").innerHTML = sindelfingen
                }
                else if (welcher == 7) {
                    document.getElementById("1").innerHTML = bte
                }
                else if (welcher == 8) {
                    document.getElementById("1").innerHTML = imc
                }
                else if (welcher == 9) {
                    document.getElementById("1").innerHTML = body_look
                }
                else if (welcher == 10) {
                    document.getElementById("1").innerHTML = cpd
                }
                else if (welcher == 11) {
                    document.getElementById("1").innerHTML = gds
                }
                else if (welcher == 12) {
                    document.getElementById("1").innerHTML = heimtextil
                }
                else if (welcher == 13) {
                    document.getElementById("1").innerHTML = i_l_m
                }
                else if (welcher == 14) {
                    document.getElementById("1").innerHTML = ispo
                }
                laeuft = false;
            };
        }

    }
    function bilder_wechsel(welcher) {
        if (welcher == 1) {
            document.getElementById("1").style.backgroundImage = "url(images/berlin.jpg)"
        }
        else if (welcher == 2) {
            document.getElementById("1").style.backgroundImage = "url(images/eschborn.jpg)"
        }
        else if (welcher == 3) {
            document.getElementById("1").style.backgroundImage = "url(images/euromoda.jpg)"
        }
        else if (welcher == 4) {
            document.getElementById("1").style.backgroundImage = "url(images/hamburg.jpg)"
        }
        else if (welcher == 5) {
            document.getElementById("1").style.backgroundImage = "url(images/imotex.jpg)"
        }
        else if (welcher == 6) {
            document.getElementById("1").style.backgroundImage = "url(images/sindelfingen.jpg)"
        }
        else if (welcher == 7) {
            document.getElementById("1").style.backgroundImage = "url(images/bte.jpg)"
        }
        else if (welcher == 8) {
            document.getElementById("1").style.backgroundImage = "url(images/imc_neu.jpg)"
        }
        else if (welcher == 9) {
            document.getElementById("1").style.backgroundImage = "url(images/bodylook.jpg)"
        }
        else if (welcher == 10) {
            document.getElementById("1").style.backgroundImage = "url(images/cpd.jpg)"
        }
        else if (welcher == 11) {
            document.getElementById("1").style.backgroundImage = "url(images/gds.jpg)"
        }
        else if (welcher == 12) {
            document.getElementById("1").style.backgroundImage = "url(images/heimtextil.jpg)"
        }
        else if (welcher == 13) {
            document.getElementById("1").style.backgroundImage = "url(images/ilm.jpg)"
        }
        else if (welcher == 14) {
            document.getElementById("1").style.backgroundImage = "url(images/ispo.jpg)"
        }
    }
}


function getPosition(obj) {
    var pos = { x: 0, y: 0 };

    do {
        pos.x += obj.offsetLeft;
        pos.y += obj.offsetTop;
    } while (obj = obj.offsetParent);

    return pos;
}

function show_menue(obj) {
    document.getElementById("link_" + obj).style.color = 'black';
    var pos = getPosition(document.getElementById("link_1"));
    document.getElementById("menue_" + obj).style.left = pos.x + 3;
    document.getElementById("menue_" + obj).style.top = pos.y + 25;
    document.getElementById("menue_" + obj).style.visibility = 'visible';
}


function close_menue(obj) {
    document.getElementById("link_" + obj).style.color = 'white'
    document.getElementById("menue_" + obj).style.visibility = 'hidden';
}


function BilderVorladen() {
    document.Vorladen = new Array();

    if (document.images) {
        for (var i = 0; i < BilderVorladen.arguments.length; i++) {
            document.Vorladen[i] = new Image();
            document.Vorladen[i].src = BilderVorladen.arguments[i];
        }
    }
}



function vorladen() {
    var BildArray = new Array();
    BildArray[0] = "../images/index_B02.jpg";
    BildArray[1] = "../images/berlin.jpg";
    BildArray[2] = "../images/eschborn.jpg";
    BildArray[3] = "../images/hamburg.jpg";
    BildArray[4] = "../images/imotex.jpg";
    BildArray[5] = "../images/sindelfingen.jpg";
    BildArray[6] = "../images/bte.jpg";
    BildArray[7] = "../images/imc.jpg";
    BildArray[8] = "../images/eschborn.jpg";
    BildArray[9] = "../images/eschborn.jpg";
    BildArray[10] = "../images/eschborn.jpg";
    BildArray[11] = "../images/eschborn.jpg";
    BildArray[12] = "../images/eschborn.jpg";
    BildArray[13] = "../images/eschborn.jpg";
    BildArray[14] = "../images/eschborn.jpg";
    for (i = 0; i < BildArray.length; i++) {
        var Bild = new Image();
        Bild.src = BildArray[i];
    }
}

function easy_click_suchen(welche) {
    var string;
    string = "easy_click_liste.aspx?";
    if (welche == 1) {
        if (document.all.ctl00$ContentPlaceHolder1$suchwort_1.value != '') {
            string = string + "suchwort=" + document.all.ctl00$ContentPlaceHolder1$suchwort_1.value;
        }
        if (document.all.volltext_1.checked == true) {
            string = string + "&volltext=true"
        }
        if (document.all.lager_1.checked == true) {
            string = string + "&lager=true"
        }
        if (document.all.order_1.checked == true) {
            string = string + "&order1=true"
        }
        string = string + "&suche=" + document.all.ctl00$ContentPlaceHolder1$suche.value;
    }
    else if (welche == 2) {
        if (document.all.ctl00$ContentPlaceHolder1$suchwort_2.value != '') {
            string = string + "suchwort=" + document.all.ctl00$ContentPlaceHolder1$suchwort_2.value;
        }

        if (document.all.volltext_2.checked == true) {
            string = string + "&volltext=true"
        }
        string = string + "&suche=mieter";
    }
    else if (welche == 3) {

        if (document.all.ctl00$ContentPlaceHolder1$suchwort_3.options[document.all.ctl00$ContentPlaceHolder1$suchwort_3.selectedIndex].value != 'Alle Warengruppen') {
            string = string + "suchwort=" + document.all.ctl00$ContentPlaceHolder1$suchwort_3.options[document.all.ctl00$ContentPlaceHolder1$suchwort_3.selectedIndex].value;
        }
        string = string + "&suche=produktgruppen";
    }
    else if (welche == 4) {

        if (document.all.ctl00$ContentPlaceHolder1$modecentrum.options[document.all.ctl00$ContentPlaceHolder1$modecentrum.selectedIndex].value != 'Alle ModeCentren') {
            string = string + "modecentrum=" + document.all.ctl00$ContentPlaceHolder1$modecentrum.options[document.all.ctl00$ContentPlaceHolder1$modecentrum.selectedIndex].value;
        }
        if (document.all.ctl00$ContentPlaceHolder1$haus.options[document.all.ctl00$ContentPlaceHolder1$haus.selectedIndex].value != 'Alle Häuser') {
            string = string + "&haus=" + document.all.ctl00$ContentPlaceHolder1$haus.options[document.all.ctl00$ContentPlaceHolder1$haus.selectedIndex].value;
        }
        if (document.all.ctl00$ContentPlaceHolder1$etage.options[document.all.ctl00$ContentPlaceHolder1$etage.selectedIndex].value != 'Alle Etagen') {
            string = string + "&etage=" + document.all.ctl00$ContentPlaceHolder1$etage.options[document.all.ctl00$ContentPlaceHolder1$etage.selectedIndex].value;
        }
        string = string + "&suche=showroom";
    }

    listung_fenster.location.href = string;
}


function MM_goToURL() { //v3.0
    var i, args = MM_goToURL.arguments; document.MM_returnValue = false;
    for (i = 0; i < (args.length - 1); i += 2)
        eval(args[i] + ".location='" + args[i + 1] + "'");
}

function BildZeigen(bild, typ, welches) {
    document.getElementById(welches).src = bild;
    tmp_test = typ
}


function BildZeigen(bild, typ, welches) {
    document.getElementById(welches).src = bild;
    tmp_test = typ
}
			
