var closeNote="<div style=\"display:inline; float:right; font-size:13px;\"><a href=\"javascript:void(0);\" onclick=\"dojo.style('stagePrevOptions', {display: 'none'});\">[X]</a></div>";
var optionsMsgStageOff="<a href=\"javascript:void(0);\" onclick=\"dojo.style('Stage', {display: 'none'});dojo.style('keyvisual2', {display: 'inline'});dojo.byId('stagePrevOptions').innerHTML=closeNote+optionsMsgStageOn;\">&gt; B&uuml;hne ausblenden (Keyvisual anzeigen)</a>";
var optionsMsgStageOn="<a href=\"javascript:void(0);\" onclick=\"dojo.style('Stage', {display: 'inline'});dojo.style('keyvisual2', {display: 'none'});dojo.byId('stagePrevOptions').innerHTML=closeNote+prevOnlyMsg+optionsMsgStageOff;\">&gt; B&uuml;hne einblenden</a>";
var prevOnlyMsg="";
function displayPrevStageOptions(_1,_2){
if(_1=="previewOnly"){
prevOnlyMsg="<span style=\"font-size: 13px;\">Hinweis: Diese B&uuml;hne wird aktuell NICHT auf der Live-Website angezeigt, da f&uuml;r Sie der \"Nur-Vorschau-Modus\" aktiviert ist.<br>Auf der Live-Website wird stattdessen das Keyvisual angezeigt.</span><br>";
}else{
prevOnlyMsg="";
}
var _2=closeNote+prevOnlyMsg+optionsMsgStageOff;
dojo.create("div",{id:"stagePrevOptions",innerHTML:_2,style:{fontWeight:"bold",color:"white",backgroundColor:"#BECD1A",padding:"3px",marginBottom:"5px"}},dojo.byId("stageContainer"));
};
function displayStageMain(){
var _3={};
var _4={wmode:"opaque",allowScriptAccess:"always"};
var _5={};
_3.fontsUrl="/Projects/c2c/cda/images/channel5/fonts.swf";
_3.minimizedStageHeight="150";
if(window.location.protocol){
var _6=window.location.protocol;
}else{
var _6="http:";
}
if(window.location.hostname){
_3.fontsUrl=_6+"//"+window.location.hostname+_3.fontsUrl;
}else{
_3.fontsUrl=_6+"//www.daimler.com"+_3.fontsUrl;
}
_5.id="Stage";
_5.name="Stage";
_5.wmode="opaque";
_5.styleclass="flashStage";
function _7(_8,_9,_a,_b,_c,_d){
if((_c=="both")||(_c==String(langId))){
var _e="900";
if(_9=="std"){
var _f="300";
}else{
var _f="150";
_3.stageMinimized=1;
}
try{
var _10=dojo.byId("keyvisual2");
if(_11=="cma.es.corpintra.net"){
dojo.style(_10,"display","none");
var _12=dojo.create("div",{id:"flashStage"},dojo.byId("stageContainer"));
}else{
_10.id="flashStage";
}
}
catch(error){
}
var _13=_6+"//www2.daimler.com/flashstage/"+_8+"/";
var _14="/Projects/c2c/cda/images/channel5/"+_a;
if(langId==49){
_3.baseDir=_13+"de/";
var _15=new Array("0",_14);
}else{
_3.baseDir=_13+"en/";
_3.lang="en";
var _15=new Array("0",_14);
}
var _16=1+Math.round(Math.random()*(_15.length-2));
var _17=_15[_16];
if(((_11!="cma.es.corpintra.net")&&(_d!="previewOnly"))||(_11=="cma.es.corpintra.net")){
swfobject.embedSWF(_17,"flashStage",_e,_f,_b,"/Projects/c2c/cda/images/channel5/expressInstall.swf",_3,_4,_5);
}
if(_11=="cma.es.corpintra.net"){
displayPrevStageOptions(_d,"");
}
}
};
function _18(_19,_1a,_1b,_1c,_1d,_1e,_1f){
if((_1e=="both")||(_1e==String(langId))){
var _20="900";
var _21="150";
if(_1a=="std"){
var _21="300";
}else{
if(_1a=="locations"){
var _21="240";
var _22=document.title.substr(document.title.lastIndexOf(" > ")+3);
var _23="";
switch(encodeURI(_22)){
case "Afrika":
_23="afrika";
break;
case "Africa":
_23="afrika";
break;
case "Asien":
_23="asien";
break;
case "Asia":
_23="asien";
break;
case "Australien%20/%20Pazifik":
_23="ozeanien";
break;
case "Australia%20/%20Pacific":
_23="ozeanien";
break;
case "Europa":
_23="europa";
break;
case "Europe":
_23="europa";
break;
case "Nord-%20u.%20Mittelamerika":
_23="nordamerika";
break;
case "North%20and%20Central%20America":
_23="nordamerika";
break;
case "S%C3%BCdamerika":
_23="suedamerika";
break;
case "South%20America":
_23="suedamerika";
break;
}
_3.kontinent=_23;
}
}
try{
var _24=dojo.byId("keyvisual2");
if(_11=="cma.es.corpintra.net"){
dojo.style(_24,"display","none");
var _25=dojo.create("div",{id:"flashStage"},dojo.byId("stageContainer"));
}else{
_24.id="flashStage";
}
}
catch(error){
}
_3.lang="en";
var _26=_19;
if(langId==49){
_26+=_1b;
_3.lang="de";
}else{
_26+=_1c;
}
if(((_11!="cma.es.corpintra.net")&&(_1f!="previewOnly"))||(_11=="cma.es.corpintra.net")){
swfobject.embedSWF(_26,"flashStage",_20,_21,_1d,"/Projects/c2c/cda/images/channel5/expressInstall.swf",_3,_4,_5);
}
if(_11=="cma.es.corpintra.net"){
displayPrevStageOptions(_1f,"");
}
}
};
var _11=window.location.hostname;
switch(ciId){
case 1253677:
_18("/Projects/c2c/channel/documents/","std","2120655_buehne_ir_jpk001_de_cs5.swf","2120656_buehne_ir_jpk001_en_cs5.swf","10.0.0","both");
break;
case 1242702:
_18("/Projects/c2c/channel/documents/","std","2120655_buehne_ir_jpk001_de_cs5.swf","2120656_buehne_ir_jpk001_en_cs5.swf","10.0.0","both");
break;
case 1254793:
_7("15_nachhaltigkeit","std","Stage.swf","10.0.0","both");
break;
case 1248127:
break;
case 1016548:
var _27=1+Math.round(Math.random()*1);
if(_27==1){
_7("21_f125","std","Stage.swf","10.0.0","both");
}else{
_7("19_vision","std","Stage.swf","10.0.0","both");
}
break;
case 631026:
_18("/Projects/c2c/channel/documents/","std","2120655_buehne_ir_jpk001_de_cs5.swf","2120656_buehne_ir_jpk001_en_cs5.swf","10.0.0","both");
break;
case 1208421:
break;
}
if(ciId==73900){
_18("/Projects/c2c/channel/documents/","std","2120655_buehne_ir_jpk001_de_cs5.swf","2120656_buehne_ir_jpk001_en_cs5.swf","10.0.0","both");
}
if(ciId==498536){
_18("/Projects/c2c/channel/documents/","std","2120655_buehne_ir_jpk001_de_cs5.swf","2120656_buehne_ir_jpk001_en_cs5.swf","10.0.0","both");
}
if(ciId==1440981){
_18("/Projects/c2c/channel/documents/","std","2120655_buehne_ir_jpk001_de_cs5.swf","2120656_buehne_ir_jpk001_en_cs5.swf","10.0.0","both");
}
if(ciId==1384787){
_18("/Projects/c2c/channel/documents/","std","2011170_buehne_ir009_de_cs5.swf","2011173_buehne_ir009_en_cs5.swf","9.0.0","both");
}
if(ciId==1408229){
_18("/Projects/c2c/channel/documents/","std","2048519_buehne_ir_q2_11_de.swf","2048521_buehne_ir_q2_11_en.swf","9.0.0","both");
}
if(ciId==1431436){
_18("/Projects/c2c/channel/documents/","std","2082630_buehne_ir_q3_11_de.swf","2082632_buehne_ir_q3_11_en.swf","9.0.0","both");
}
if(((document.title.indexOf("Unternehmen > Themenspecials")>-1)&&(document.title.indexOf("Unternehmen > Themenspecials > ")==-1))||((document.title.indexOf("Company > Special Topics")>-1)&&(document.title.indexOf("Company > Special Topics > ")==-1))){
_7("19_vision","min","Stage.swf","10.0.0","both");
}
if(((document.title.indexOf("> Einblicke in Forschung & Entwicklung")>-1)&&(document.title.indexOf("> Einblicke in Forschung & Entwicklung > ")==-1))||((document.title.indexOf("> Insights into Research & Development")>-1)&&(document.title.indexOf("> Insights into Research & Development > ")==-1))){
_7("21_f125","min","Stage.swf","10.0.0","both");
}
if(((document.title.indexOf("Technologie & Innovation > Themenspecials")>-1)&&(document.title.indexOf("Technologie & Innovation > Themenspecials > ")==-1))||((document.title.indexOf("Technology & Innovation > Special Topics")>-1)&&(document.title.indexOf("Technology & Innovation > Special Topics > ")==-1))){
_7("21_f125","min","Stage.swf","10.0.0","both");
}
if((document.title.indexOf("> Daimler weltweit")>-1)||(document.title.indexOf("> Daimler Worldwide")>-1)){
_18("/Projects/c2c/channel/documents/","locations","2059081_standorte.swf","2059081_standorte.swf","9.0.0","both","live");
}
if(document.title.indexOf("> F 800 Style > ")>-1){
_7("07f800","min","Stage.swf","10.0.0","both","");
}else{
if(document.title.indexOf("> F 800 Style")>-1){
_7("07f800","std","Stage.swf","10.0.0","both","");
}
}
if((document.title.indexOf("> Technologie & Innovation > Publikationen")>-1)||(document.title.indexOf("> Technology & Innovation > Publications")>-1)){
_18("/Projects/c2c/channel/documents/","std","1833944_buehne_tech02_de_cs3.swf","1833945_buehne_tech02_en_cs3.swf","9.0.0","both");
}
if((ciId==1285835)||(ciId==1285826)){
_7("06cop15","std","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Gesellschaftliches Engagement > Wissenschaft, Technologie & Umwelt")>-1)||(document.title.indexOf("> Social Responsibility > Science, Technology & Environment")>-1)){
_7("06cop15","min","Stage.swf","10.0.0","both");
}
}
if((document.title.indexOf("> Brennstoffzellenantriebe > ")>-1)||(document.title.indexOf("> Fuel Cell Drives > ")>-1)){
_7("14_worlddrive","min","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Brennstoffzellenantriebe")>-1)||(document.title.indexOf("> Fuel Cell Drives")>-1)){
_7("14_worlddrive","std","Stage.swf","10.0.0","both");
}
}
if(((document.title.indexOf("> Antriebstechnologien > ")>-1)||(document.title.indexOf("> Drive Technologies > ")>-1))&&(document.title.indexOf("> Brennstoffzelle")==-1)&&(document.title.indexOf("> Fuel Cell")==-1)){
_7("01drivetechnologies","min","Stage.swf","10.0.0","both","previewOnly");
}else{
if((document.title.indexOf("> Antriebstechnologien")>-1)||(document.title.indexOf("> Drive Technologies")>-1)){
_7("01drivetechnologies","std","Stage.swf","10.0.0","both","previewOnly");
}
}
if((document.title.indexOf("> Sicherheitstechnologien > ")>-1)||(document.title.indexOf("> Safety Technologies > ")>-1)){
_7("02safety","min","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Sicherheitstechnologien")>-1)||(document.title.indexOf("> Safety Technologies")>-1)){
_7("02safety","std","Stage.swf","10.0.0","both");
}
}
if((document.title.indexOf("> Genf 2011")>-1)||(document.title.indexOf("> Geneva 2011")>-1)){
_18("/Projects/c2c/channel/documents/","std","1985699_genf02_de_cs5.swf","1985700_genf02_en_cs5.swf","9.0.0","both");
}
if(document.title.indexOf("> Tradition > ")>-1){
_7("13_125jahre","min","Stage.swf","10.0.0","both","previewOnly");
}else{
if(document.title.indexOf("> Tradition")>-1){
_7("13_125jahre","std","Stage.swf","10.0.0","both","previewOnly");
}
}
if((ciId==1398706)||(ciId==1398781)){
_7("17_challenge_b","std","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Web Specials > Challenge Bibendum 2011")>-1)){
_7("17_challenge_b","min","Stage.swf","10.0.0","both");
}
}
if((ciId==1293787)||(ciId==1295131)){
_7("08whec","std","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Web Specials > WHEC 2010")>-1)){
_7("08whec","min","Stage.swf","10.0.0","both");
}
}
if((ciId==1302599)||(ciId==1302624)){
_7("09alpen","std","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Web Specials > Transalp Trucking Tour 2010")>-1)){
_7("09alpen","min","Stage.swf","10.0.0","both");
}
}
if((document.title.indexOf("> Pariser Automobil Salon 2010 > ")>-1)||(document.title.indexOf("> 2010 Paris Motor Show > ")>-1)){
_7("12paris","min","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Pariser Automobil Salon 2010")>-1)||(document.title.indexOf("> 2010 Paris Motor Show")>-1)){
_7("12paris","std","Stage.swf","10.0.0","both");
}
}
if((ciId==1385238)||(ciId==1385265)){
_7("16_shanghai","std","Stage.swf","10.0.0","both");
}else{
if(document.title.indexOf("> Auto Shanghai 2011")>-1){
_7("16_shanghai","min","Stage.swf","10.0.0","both");
}
}
if((ciId==1367069)||(ciId==1367030)){
_7("14_worlddrive","std","Stage.swf","10.0.0","both");
}else{
if(document.title.indexOf("> F-CELL World Drive")>-1){
_7("14_worlddrive","min","Stage.swf","10.0.0","both");
}
}
if(ciId==1338761){
_18("/Projects/c2c/channel/documents/","std","1940240_genius_communitylink.swf","","9.0.0","49");
}
if((document.title.indexOf("> Der neue Actros > ")>-1)||(document.title.indexOf("> The new Actros > ")>-1)){
_7("18_dnif","min","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> Der neue Actros")>-1)||(document.title.indexOf("> The new Actros")>-1)){
_7("18_dnif","std","Stage.swf","10.0.0","both");
}
}
if((ciId==1418049)||(ciId==1418505)){
_7("19_vision","std","Stage.swf","10.0.0","both");
}else{
if((document.title.indexOf("> 6D-Vision")>-1)||(document.title.indexOf("> 6D Vision")>-1)){
_7("19_vision","min","Stage.swf","10.0.0","both");
}
}
if((ciId==1417332)||(ciId==1417336)){
_7("20_iaa11","std","Stage.swf","10.0.0","both");
}else{
if(ciId==1423615){
_7("21_f125","std","Stage.swf","10.0.0","both");
}else{
if(document.title.indexOf("> IAA 2011")>-1){
_7("20_iaa11","min","Stage.swf","10.0.0","both");
}
}
}
if(ciId==1434383){
_18("/Projects/c2c/channel/documents/","std","2086380_stage_app_de.swf","2086382_stage_app_en.swf","9.0.0","both");
}
};
dojo.addOnLoad(displayStageMain);


