\n'); if (tVersionString != "") { var tVersionIndex = tVersionString.indexOf("."); var minVersionNumberString = tVersionString.substring(tVersionIndex-2, tVersionIndex); var minSubVersionNumberString = tVersionString.substring(tVersionIndex+1, tVersionIndex+2); // 20080430, bly, #49811: Korrektur der Shockwave-Abfrage // wenn der Fall parseInt(minVersionNumberString) == minVersionNumber auftrat, // wurde nicht geprüft, ob parseInt(minSubVersionNumberString) >= minSubVersionNumber // nun wird es geprüft! if (parseInt(minVersionNumberString) == minVersionNumber) { if (parseInt(minSubVersionNumberString) >= minSubVersionNumber) { shockwaveInstalled = true; } } else if (parseInt(minVersionNumberString) > minVersionNumber) { shockwaveInstalled = true; } } // Ende der Änderungen ---> } var flashInstalled = CheckFlashInstalled(); pluginsInstalled = shockwaveInstalled && flashInstalled; function fixHeight() { var winDimensions = getFrameInfo(window); var f_bpm = typeof(f_bpmodule.frameElement)!="undefined"?f_bpmodule.frameElement:f_bpmodule; f_bpm.style.height = winDimensions.offsetHeight-36; } function getFrameInfo(win) { doc = win.document; var myWidth = 0, myHeight = 0; if(typeof( win.innerWidth ) == 'number' ) { //Non-IE myWidth = win.innerWidth; myHeight = win.innerHeight; } else if( doc.documentElement && ( doc.documentElement.clientWidth || doc.documentElement.clientHeight)) { //IE 6+ in 'standards compliant mode' myWidth = doc.documentElement.clientWidth; myHeight = doc.documentElement.clientHeight; } else if( doc.body && ( doc.body.clientWidth || doc.body.clientHeight ) ) { //IE 4 compatible myWidth = doc.body.clientWidth; myHeight = doc.body.clientHeight; } return {offsetWidth:myWidth, offsetHeight:myHeight}; } var lastFIdx=-1; var modNames = new Array("controller_ruic","applicationmenu_top_menu_top","applicationmenu_bottom_menu_bottom","controller_duic"); function initApp(fIdx) { var f = null; if(fIdx > -1 && fIdx < modNames.length) { f = eval(topPath + "." + frameIdx[modNames[fIdx]].path); if(f && f.location.href.indexOf("empty.html") != -1) { switch(fIdx) { case 0: var url = '/icc_euro/ui/pva/controller/uic_res.jsp?LANG=cc&RT=1283449579418&flashInstalled=' + flashInstalled + '&shockwaveInstalled=' + shockwaveInstalled; f.location.href = url; fixHeight(); break; case 1: var url ="/icc_euro/ui/pva/application/application_menu.jsp?&MENUIDENT=top&RT=" + new Date().getTime(); f.location.href = url; break; case 2: var url ="/icc_euro/ui/pva/application/application_menu.jsp?&MENUIDENT=bottom&RT=" + new Date().getTime(); f.location.href = url; break; case 3: f.location.href = '/icc_euro/init.do?RT=1283449579418'; fIdx = -1; break; } lastFIdx = fIdx; } } else if(fIdx==-1 && lastFIdx > -1) { initApp(lastFIdx+1); } } //-->