/*<![CDATA[*/

/*
	Beschreibung :	Baukreativ Scripte für das Header-Banner
	Datum :			26.03.2008
	Editor :		BAK0051
*/

// Globale Variablen
/*var BannerPopImagePath="1/";*/
var BannerPopImagePath="/_media/Laufleiste/";
var BannerLanguage="de";

// Popup Fenster ins Dokument einbinden
document.write(
  "<div class='InfoFrame' ID='InfoFramePopup' onclick='RunFlash'>"+
  "  <a href='#' class='InfoFrameKeeper' onclick='javascript:RunFlash()'>"+
  "    <table class='InfoBox' border=0>"+
  "      <tr>"+
  "        <td class='InfoBoxHeaderLeft'><img src='" + BannerPopImagePath + "InfoBox/LeftHeaderCorner.jpg' border=0></td>"+
  "        <td class='InfoBoxHeader'></td>"+
  "        <td class='InfoBoxHeaderRight'><img src='" + BannerPopImagePath + "InfoBox/RightHeaderCorner.jpg' border=0></td>"+
  "      </tr>"+
  "      <tr>"+
  "        <td class='InfoBoxLeft'></td>"+
  "        <td class='InfoBoxContent'>"+
  "          <table class='InfoFrameContent'>"+
  "            <tr> "+
  "              <td id='IFImageCont' width=300 onclick='RunFlash'>Bild</td>"+
  "              <td>"+
  "                <div id='IFTextField'>"+
  "                  <p><h1 id='IFHeaderText'>Ueberschrift</h1></p>"+
  "                  <p class='InfoFrameContentText' id='IFText'>Text</p><br>"+
  "                  <table class='InfoFrameContentTab'>"+
  "                    <tr>"+
  "                      <th>Standort</th>"+
  "                      <td id='IFPlaceText'></td>"+
  "                    </tr>"+
  "                    <tr>"+
  "                      <th>Gr&ouml;&szlig;e</th>"+
  "                      <td id='IFSizeText'></td>"+
  "                    </tr>"+
  "                    <tr>"+
  "                      <th>Realisierung</th>"+
  "                      <td id='IFRelText'></td>"+
  "                    </tr>"+
  "    	  		      </table>"+
	"  	            </div>"+
  "              </td>"+
  "            </tr>"+
  "	        </table>"+
  "        </td>"+
  "        <td class='InfoBoxRight'></td>"+
  "      </tr>"+
  "      <tr>"+
  "        <td class='InfoBoxCloseLeft'></td>"+
  "        <td class='InfoBoxClose'></td>"+
  "        <td class='InfoBoxCloseRight'></td>"+
  "      </tr>"+
  "      <tr>"+
  "        <td class='InfoBoxFooterLeft'><img src='" + BannerPopImagePath + "InfoBox/LeftFooterCorner.jpg' border=0></td>"+
  "        <td class='InfoBoxFooter'><a><img src='" + BannerPopImagePath + "InfoBox/Buttom.jpg' border=0></a></td>"+
  "        <td class='InfoBoxFooterRight'><img src='" + BannerPopImagePath + "InfoBox/RightFooterCorner.jpg' border=0></td>"+
  "      </tr>"+
  "    </table>"+
  "  </a>"+
  "</div>");
  
// Flash-Objekt Browserübergreifend suchen und zurückgeben
function FindFlash (flash) {
    if (document.all) {
      if (document.all[flash]) {
        return document.all[flash];
      }
      if (window.opera) {
        var movie = eval(window.document + flash);
        if (movie.SetVariable) {
          return movie;
        }
      }
      return;
    }
    if(document.layers) {
      if(document.embeds) {
        var movie = document.embeds[flash];
        if (movie.SetVariable) {
          return movie;
        }
      }
      return;
    }
    if (!document.getElementById) {
      return;
    }
    var movie = document.getElementById(flash);
    if (movie.SetVariable) {
      return movie;
    }
    var movies = movie.getElementsByTagName('embed');
    if (!movies || !movies.length) {
      return;
    }
    movie = movies[0];
    if (movie.SetVariable) {
      return movie;
    }
    return;
  }

// Browserübergreifende Bestimmung der Fensterbreite
function GetWindowWidth () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 0;
  }
}

// Browserübergreifende Bestimmung der Fensterhöhe
function GetWindowHeight () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
      return document.body.offsetHeight;
    } else {
      return 0;
    }
}

// Popup einblenden
function HideInfoFrame(){
	document.all.InfoFramePopup.style.top = "-900px";
}

// Popup ausblenden und Flash-Animation wieder starten
function RunFlash(){
	var FlashMov = FindFlash ('FlashBanner')
	
	HideInfoFrame();
	FlashMov.Play();	
}

// Sprache festlegen
function SetHeadBannerLang(PageLang) {
  BannerLanguage = PageLang;
}

// Falsh - Banner ins Dokument einbinden
function SetHeadBanner() {
	document.all.HeadBanner.innerHTML = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='923' height='80' id='FlashBanner' align='middle'>"+
	"	<param name='allowScriptAccess' value='sameDomain' />" +
	"	<param name='allowFullScreen' value='false' />" +
	"	<param name='movie' value='"+ BannerPopImagePath +"BannerPop.swf' />" +
	"	<param name='quality' value='high' />" +
	"	<param name='bgcolor' value='#000000' />" +
	"	<param name='wmode' value='transparent' />" +
	"	<embed src='" + BannerPopImagePath + "BannerPop.swf' quality='high' bgcolor='#000000' width='923' height='80' name='1' align='middle' allowScriptAccess='sameDomain' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' wmode='transparent' />" +
	"</object>"
}

// Popup mit Informationen füllen und einblenden
function ShowInfoFrame(ImageIndex){
	switch (ImageIndex) {
    case 1:
    case 8:{
			switch (ImageIndex) {
    	  case 1:
    		{
    			strImageName="GEOX_1.JPG";
    		  break;
    		}
        case 8: {
    			strImageName="GEOX_3.JPG";
    		  break;
    	  }
    	}
    	
    	switch (BannerLanguage) {
        case "en": {
          strHeaderText="GEOX, Nuremberg";
          strContText="The shop at the &quot;Josephs-Platz in Nuremberg&quot; will not only show Italian shoe-fashion on three floors in the future, also that will represent the headquarter in Germany. Baukreativ planned the building-service, took over permission and of course conversion in time. The shop opened with a large celebration on 02.11.2008.";
          strPlaceText="Nuremberg";
          strSizeText="140 qm";
          strRelText="10/07";
			    break;
        }
        default: {
          strHeaderText="GEOX, N&uuml;rnberg";
			    strContText="Die Filiale am Josephsplatz in N&uuml;rnberg wird in Zukunft nicht nur italienische Schuhmode auf drei Etagen zeigen, sondern auch den Hauptsitz in Deutschland darstellen. Baukreativ AG plante die Haustechnik und &uuml;bernahm die Genehmigung sowie nat&uuml;rlich die termingerechte Umsetzung. Der Shop er&ouml;ffnet mit einer gro&szlig;en Feier am 02.11.07";		
			    strPlaceText="N&uuml;rnberg";
			    strSizeText="140 qm";
			    strRelText="10/07";
			    break;
        }
      }			
      break;
    }
    
    case 2: { 
    	switch (BannerLanguage) {
        case "en": {
          strImageName="Elena_Miro_1.jpg";
          strHeaderText="Elena Miro, Grenoble";
          strContText="The Italian label of the Miroglio-group shows the clear structures and ease of the concept in the shop Grenoble. In co-operation with the Umdasch Shopfitting Group the shop was converted to the fullest satisfaction of the customer.";
          strPlaceText="Grenoble";
          strSizeText="180 qm";
          strRelText="03/06";
			    break;
        }
        default: {
          strImageName="Elena_Miro_1.jpg";
			    strHeaderText="Elena Miro, Grenoble";
			    strContText="Das italienische Label der Miroglio-Gruppe zeigt im Shop Grenoble die klaren Strukturen und die Leichtigkeit des Konzeptes. In Zusammenarbeit mit der Umdasch Shopfitting Group wurde der Shop zur vollsten Zufriedenheit des Kunden umgesetzt.";		
			    strPlaceText="Grenoble (F)";
			    strSizeText="180 qm";
			    strRelText="03/2006";
			    break;
        }
      }		
      break;
    }
    
    case 3: {    	 	
    	switch (BannerLanguage) {
        case "en": {
          strImageName="Levis_1.jpg";
          strHeaderText="Levis, FOC Aubonne (CH)";
          strContText="";
          strPlaceText="Aubonne, Switzerland";
          strSizeText="290 qm";
          strRelText="10/07";
			    break;
        }
        default: {
          strImageName="Levis_1.jpg";
			    strHeaderText="Levis, FOC Aubonne (CH)";
			    strContText="";		
			    strPlaceText="Aubonne Schweiz";
			    strSizeText="290 qm";
			    strRelText="10/07"; 
			    break;
        }
      }		
      break;
    }
    
    case 4:
    case 9: {    		
			switch (ImageIndex) {
    	  case 4: {
    		  strImageName="Mango_2.jpg";
    			break;
    		}
    		case 9: {
    		  strImageName="Mango_1.jpg";
    			break;
    		}
    	}		
			switch (BannerLanguage) {
        case "en": {
          strHeaderText="MANGO, Maastrich";
          strContText="The Spanish fashion label places high requirements at their technical conversion of the design projects. The realization of the exceeding cover Design and the niches succeeded particularly well.";
          strPlaceText="Maastricht";
          strSizeText="400 qm";
          strRelText="11/06";
			    break;
        }
        default: {
          strHeaderText="MANGO, Maastricht";
			    strContText="Das spanische Modelabel stellt hohe Anspr&uuml;che an die technische Umsetzung der Designvorgaben. Die Realisierung des au&szlig;ergew&ouml;hnlichen Deckendesign und der Nischen gelang besonders gut.";		
			    strPlaceText="Maastricht";
			    strSizeText="400 qm";
			    strRelText="11/2006"; 
			    break;
        }
      }		
      break;
    }
    
    case 5:
    case 17: {
      switch (ImageIndex) {
    	  case 5: {
    		  strImageName="Marc_Cain_2.jpg";
    			break;
    		}
    		case 17: {
    		  strImageName="Marc_Cain_1.jpg";
    			break;
    		}
    	}		    	 	
			switch (BannerLanguage) {
        case "en": {
          strHeaderText="Marc Cain, Nuremberg";
          strContText="The Fashionlabel which ist placed in Bodelshausen does not only isnpire by creativity and quality of the fashion. The concept of Marc Cain makes every visit in a Marc Cain store to an experience.  The number of stores increases permanently. The shop in the &quot;Kaiser-Stra&szlig;e&quot; was built by baukreativ in all cases of shopfitting works, starting with demolition till the opening.";
          strPlaceText="Nuremberg";
          strSizeText="208 qm";
          strRelText="05/07";
			    break;
        }
        default: {
          strHeaderText="Marc Cain, N&uuml;rnberg";
			    strContText="Das Fashionlabel aus Bodelshausen &uuml;berzeugt nicht nur durch die Kreativit&auml;t und Qualit&auml;t der Mode. Das Konzept von Marc Cain macht jeden Besuch der steigenden Anzahl von Shops zu einem Erlebnis. Der Shop auf der Kaiserstr. wurde in allen Gewerken von der Demontage bis zur Endreinigung durch Baukreativ AG umgesetzt.";
			    strPlaceText="N&uuml;rnberg";
			    strSizeText="208 qm";
			    strRelText="05/2007"; 
			    break;
        }
      }		
    	break;
    } 
    
    case 6: {
    	switch (BannerLanguage) {
        case "en": {
          strImageName="Mont_Blance_1.jpg";
          strHeaderText="Mont Blanc, Duessldorf";
          strContText="The store which is on a famous road in Duesseldorf called &quot;K&ouml;&quot; has Flagship-character. On 230 square meters Mont Blanc shows the production in an impressive way of decoration and accessories for woman and man. Design, material, light and furniture result in an unbelievably view in this store. Planning, permission and conversion were accomplished under line the special direction of baukreativ.";
          strPlaceText="Duesseldorf";
          strSizeText="230 qm";
          strRelText="06/07";
			    break;
        }
        default: {
          strImageName="Mont_Blance_1.jpg";
			    strHeaderText="Mont Blanc, D&uuml;sseldorf";
			    strContText="Der Store auf der &quot;K&ouml;&quot; in D&uuml;sseldorf hat Flagship-Charakter. Auf 230 qm zeigt Mont Blanc in eindrucksvoller Weise die Inszenierung von Schmuck und Accesoires f&uuml;r Sie und Ihn. Design, Material, Licht und M&ouml;bel ergeben ein unglaublich spannendes Gesamtbild. Die Planung, Genehmigung und Umsetzung wurde unter Leitung der Baukreativ AG durchgef&uuml;hrt.";			
			    strPlaceText="D&uuml;sseldorf";
			    strSizeText="230 qm";
			    strRelText="06/2007";
			    break;
        }
      }		
    		break;
    }
    
    case 7: {
    	switch (BannerLanguage) {
        case "en": {
          strImageName="Swarovski_2.jpg";
          strHeaderText="Swarovski, Munich";
          strContText="The shop in the Neuhauser street was in the first step only removed in the ground floor. The first floor was prepared for the further disassembling to the sales area. We are particularly proud of the successful integration and conception of the VIP Lounge in the ground floor.";
          strPlaceText="Munich";
          strSizeText="300 qm";
          strRelText="12/06";
			    break;
        }
        default: {
          strImageName="Swarovski_2.jpg";
			    strHeaderText="Swarovski, M&uuml;nchen";
			    strContText="Der Store in der Neuhauser Str. wurde im ersten Schritt nur im EG ausgebaut, das 1.OG f&uuml;r den weiteren Ausbau zur Verkaufsfl&auml;che vorbereitet. Besonders stolz sind wir auf die gelungene Integration und Konzeption der VIP-Lounge im EG.";
			    strPlaceText="M&uuml;nchen";
			    strSizeText="300 qm";
			    strRelText="12/2006";
			    break;
        }
      }
    	break;
    }
       
    case 15:
    case 16:{
		  switch (ImageIndex) {
   		  case 15: {
    		  strImageName="River_Woods_Essen.JPG";
    			break;
    		}
    		case 16: {
    		  strImageName="River_Woods_Essen_1.JPG";
    			break;
    		}
    	}
    	switch (BannerLanguage) {
        case "en": {
          strHeaderText="River Woods, Essen";
          strContText="On the 13.03.2008 the fourth River Woods store in Germany opened at the ECE center in Essen.  At this store the baukreativ could show their strength as complete offerers on this store. From the building application to the first coffee for the coworkers in the &quot;bake of house&quot;, everything was in the hand and in responsibility and conversion of baukreativ.";
          strPlaceText="Essen";
          strSizeText="145 qm";
          strRelText="03/08";
			    break;
        }
        default: {
          strHeaderText="River Woods Essen";
			    strContText="Am 13.03.2008 er&ouml;ffnete die vierte River Woods Filiale in Deutschland im ECE Center Limbecker Platz in Essen. Bei diesem Store durfte die baukreativ AG Ihre St&auml;rke als Komplettanbieter unter Beweis stellen. Vom Bauantrag bis zum ersten frisch gebr&uuml;hten Cafe` f&uuml;r die Mitarbeiter im back of house, lag alles in unserer Verantwortung und Umsetzung.";		
			    strPlaceText="Essen, Limbecker Platz";
			    strSizeText="ca. 145qm";
			    strRelText="03/2008";
			    break;
        }
      }		
    	break;
    }
  
    case 10:
    case 11:
    case 12:{
		  switch (ImageIndex) {
   		  case 10: {
    		  strImageName="adidas_opening_059.jpg";
    			break;
    		}
    		case 11: {
    		  strImageName="adidas_opening_167.jpg";
    			break;
    		}
    		case 12: {
    		  strImageName="adidas_opening_173.jpg";
    			break;
    		}
    	}
    	switch (BannerLanguage) {
        case "en": {
          strHeaderText="adidas, Vienna, Donaucentre";
          strContText="For adidas AG, who is the world-wide offerer of the sports article industry with the 3 strips, the prototype of the new developed &quot;adidas performance shop core Concept&quot; opened punctually on eastern. The baukreativ took over the whole planning service, permission- and development achievement, and also the co-ordination and construction supervision from the disassembly to the turnkey delivery, in time";
          strPlaceText="Vienna, Donaucenter";
          strSizeText="370 qm";
          strRelText="02/08";
			    break;
        }
        default: {
          strHeaderText="adidas, Wien Donauzentrum";
			    strContText="F&uuml;r die adidas AG, den weltweit bekannten Anbieter der Sportartikelindustrie mit den 3 Streifen, wurde zum 07.03.2008 der Prototyp f&uuml;r das seit M&auml;rz 2007 entwickelte adidas Performance Shop Core Concept p&uuml;nktlich zum Osterfest er&ouml;ffnet. Die baukreativ AG &uuml;bernahm dabei die komplette Planungs-, Genehmigungs- und Ausbauleistung, sowie die Koordination und Bauleitung von der Demontage bis zur schl&uuml;sselfertigen &Uuml;bergabe an den Bauherren.";		
			    strPlaceText="Wien Donauzentrum";
			    strSizeText="370 qm";
			    strRelText="02/2008";
			    break;
        }
      }		
    	break;
    } 
    
    case 13:
    case 14:{    
		  switch (ImageIndex) {
   		  case 13: {
    		  strImageName="Mont_Blanc_Essen.JPG";
    			break;
    		}
    		case 14: {
    		  strImageName="Mont_Blanc_Essen1.JPG";
    			break;
    		}    		
    	}
    	switch (BannerLanguage) {
        case "en": {
          strHeaderText="Mont Blanc, Essen";
          strContText="On the 13.03.2008 the shopping centre &quot;Limbecker Platz&quot; in Essen was opened. This shop which baukreativ was built for Mont Blanc is a Franchiser. The baukreativ accomplished the floor-mat work, climatic-work and facade-works. Also the baukeativ took the communication with the Centermanagement and supervised the work of the local companies for the Franchiser.";
          strPlaceText="Essen,";
          strSizeText="72 qm";
          strRelText="03/08";
			    break;
        }
        default: {
          strHeaderText="Mont Blanc Essen";
			    strContText="Am 13.03.2008 wurde das Einkaufszentrum am Limbecker Platz er&ouml;ffnet. Da es sich hier um einen Franchiser handelte, f&uuml;hrte die baukreativ AG federf&uuml;hrend die Bodenbelag-, Klima- und Fassadenarbeiten durch. Ebenso &uuml;bernahm sie die Kommunikation mit dem Centermanagement und &uuml;berwachte die Arbeiten der &ouml;rtlichen Firmen des Franchisers.";		
			    strPlaceText="Essen, Limbecker Platz";
			    strSizeText="72qm";
			    strRelText="03/2008"; 
			    break;
        }
      }		
    	break;
    }     
       	 
    default: {
      strImageName="";
			strHeaderText="";
			strContText="";
			strPlaceText="";
			strSizeText="";
			strRelText="";
    	break;
    }
  }
      
  LeftPos = Math.abs(GetWindowWidth() / 2) - Math.abs(document.all.InfoFramePopup.offsetWidth / 2);
  //TopPos = Math.abs(GetWindowHeight() / 2) - Math.abs(document.all.InfoFramePopup.offsetHeight / 2);
  TopPos = 420;
          
  if (LeftPos<0) { LeftPos=0; }
  if (TopPos<0) { TopPos=0; }
	document.all.InfoFramePopup.style.left = LeftPos; 
	document.all.InfoFramePopup.style.top = TopPos;
	document.all.IFImageCont.innerHTML="<img id='IFImage' src='" + BannerPopImagePath + strImageName + "' width=280 height=250>";
	document.all.IFHeaderText.innerHTML=strHeaderText;
	document.all.IFText.innerHTML=strContText;
	document.all.IFPlaceText.innerHTML=strPlaceText;
	document.all.IFSizeText.innerHTML=strSizeText;
	document.all.IFRelText.innerHTML=strRelText;	
	document.all.IFTextField.style.backgroundImage = "url(" + BannerPopImagePath + "bk_logo4.jpg)";
}

/*]]>*/