home *** CD-ROM | disk | FTP | other *** search
- <!--
- var strLastID = "";
- var strClickedID = "";
-
- function changeColor(cellID, switchOFF)
- {
- if (document.getElementById)
- {
- if (switchOFF==true)
- {
- if (cellID!=strLastID)
- {
- document.getElementById(cellID).style.backgroundColor="#000066";
- }
- }
- else
- {
- if (cellID!=strClickedID)
- {
- document.getElementById(cellID).style.backgroundColor="#9797FB";
- }
- }
- }
- }
-
- function doClick(id1, astrHeaderText, intFrameLayout, strDetailUrl, strSelectSearchUrl, strTocUrl)
- {
- var tmpVal = strLastID;
- strLastID = id1;
- strClickedID = id1;
-
- if (tmpVal!="") changeColor(tmpVal, true);
- changeColor(id1, false);
-
- if (document.getElementById)
- {
- document.getElementById(id1).style.backgroundColor="#7786B3";
- }
-
- switch(intFrameLayout)
- {
- case 1: // Standard-Frameset <--- fsActiveStandard.htm
- top.SetFrames(1, astrHeaderText, strDetailUrl, "", "")
- top.frames["pcw_main"].location.href = "../static/fsActiveStandard.htm";
- break;
- case 2: // Advanced-Frameset mit Toc und Search <--- fsActiveTocIndex.htm
- top.SetFrames(2, astrHeaderText, strDetailUrl, strSelectSearchUrl, strTocUrl)
- top.frames["pcw_main"].location.href = "../static/fsActiveWithToc.htm";
- break;
- case 3: // Standard-Frameset mit Scrolling = false <--- fsActiveStandardWS.htm
- top.SetFrames(1, astrHeaderText, strDetailUrl, "", "")
- top.frames["pcw_main"].location.href = "../static/fsActiveStandardWS.htm";
- }
- }
-
- function SelectDefaultItem()
- {
- doClick('c10', 'Willkommen', 3, "../detail/startpage.htm", "", "");
- }
-
- function doInit()
- {
- SelectDefaultItem();
- }
- //-->