/************************************************************/
/*                                                          */
/* Inhalt:    Typo3Loader                                   */
/*                                                          */
/* Autor(en): Josef Pösl (jp), <XXX>                        */
/* Firma:     HAW Hochschule Amberg-Weiden                  */
/* Stand:     16. Feb 2010                                  */
/*                                                          */
/* Historie:  16. Feb 2010 jp  erstellt                     */
/*            xx. xxx xxxx     modifiziert...               */
/*                                                          */
/* Copyright 2010-2050 HAW Amberg-Weiden ... usw.           */
/*                                                          */
/************************************************************/
 var Typo3ArrL = "<<<"
; var Typo3ArrR = ">>>"
; var Typo3SwitcherObj; function Typo3SwitchClick(isLeft) { var nodeL = ifi_GetEle(document, "Typo3SwitchLeft"
).childNodes[0]; var nodeR = ifi_GetEle(document, "Typo3SwitchRight"
).childNodes[0]; var leftIsP = (nodeL.nodeValue == Typo3ArrR); var rightIsP = (nodeR.nodeValue == Typo3ArrL); if (isLeft) { leftIsP = !leftIsP; nodeL.nodeValue = leftIsP? Typo3ArrR : Typo3ArrL; } else { rightIsP = !rightIsP; nodeR.nodeValue = rightIsP? Typo3ArrL : Typo3ArrR; } Typo3SwitcherObj.SwitchesSet(leftIsP, rightIsP); } function Typo3StylePropsAssign(obj1, obj2) { if (obj2.width != null) obj1.width = obj2.width; if (obj2.visibility != null) obj1.visibility = obj2.visibility; if (obj2.position != null) obj1.position = obj2.position; } function Typo3StyleProps(style) { Typo3StylePropsAssign(this, style); } function Type3SwitchesSet(swLOn, swROn) { var state1 = swLOn? this.doc_col1_ps : this.doc_col1_os; var state3 = swROn? this.doc_col3_ps : this.doc_col3_os; var state2 = swLOn? (swROn? this.doc_col2_11 : this.doc_col2_10) : (swROn? this.doc_col2_01 : this.doc_col2_os); Typo3StylePropsAssign(this.doc_col1.style, state1); Typo3StylePropsAssign(this.doc_col2.style, state2); Typo3StylePropsAssign(this.doc_col3.style, state3); //Typo3Comm();
} function Type3Switcher() { this.doc_col1 = ifi_GetEle(document, "col1"
); this.doc_col1_os = new Typo3StyleProps(this.doc_col1.style); this.doc_col2 = ifi_GetEle(document, "col2"
); this.doc_col2_os = new Typo3StyleProps(this.doc_col2.style); this.doc_col3 = ifi_GetEle(document, "col3"
); this.doc_col3_os = new Typo3StyleProps(this.doc_col3.style); var state1ps = new Object(); state1ps.width = "0%"
; state1ps.visibility = "hidden"
; this.doc_col1_ps = state1ps; var state3ps = new Object(); state3ps.width = "0%"
; state3ps.visibility = "hidden"
; this.doc_col3_ps = state3ps; var state2_10 = new Object(); state2_10.width = "75%"
; this.doc_col2_10 = state2_10; var state2_01 = new Object(); state2_01.width = "75%"
; this.doc_col2_01 = state2_01; var state2_11 = new Object(); state2_11.width = "98%"
; this.doc_col2_11 = state2_11; this.SwitchesSet = Type3SwitchesSet; } function Typo3ReplaceHRefConts(href) { href = href.replace(/\u00fc/g, "ue"
); href = href.replace(/\u00f6/g, "oe"
); href = href.replace(/\u00e4/g, "ae"
); href = href.replace(/\u00dc/g, "Ue"
); href = href.replace(/\u00d6/g, "Oe"
); href = href.replace(/\u00c4/g, "Ae"
); href = href.replace(/\u00df/g, "ss"
); href = href.replace(/\(/g, ""
); href = href.replace(/\)/g, ""
); href = href.replace(/ /g, "_"
); return href; } function Typo3GetHRef() { var lks = ifi_GetEle(document, "nav_main"
).getElementsByTagName("a"
); var selItem = ""
; for(var i = 0; i < lks.length; i++) { var cls = lks[i].className; if (cls == "menu-item-active"
) { selItem = selItem + Typo3ReplaceHRefConts(lks[i].firstChild.data); } } if (selItem == ""
) selItem = "default"
; if (window.Typo3MenuEntries[selItem] == null) selItem = "default"
; return window.Typo3MenuEntries[selItem].href; } function Typo3Comm() { var url = Typo3GetHRef(); var tp = new Object(); tp.docSetId = "Typo3Frame"
; ifi_CommToServer(frames["Typo3Frame"
], url, "ifi/ifi_DocComplGetHeight.js|Typo3/Typo3MenuEntriesInstall.js|Typo3/ifi_Typo3InstallClick.js"
, tp, "ifi/ifi_DocSetHeight.js|Typo3/Typo3MenuEntriesInstall.js|Typo3/ifi_Typo3OnClick.js"
); } function Typo3Loader() { ifi_Server(); if (!ifi_IsBase()) return; Typo3MenuEntriesInstall(); Typo3SwitcherObj = new Type3Switcher(); Typo3Comm(); } this.onload = Typo3Loader; 