home *** CD-ROM | disk | FTP | other *** search
- function LoadAboutPage()
- {
- MM_preloadImages('/webaroo/e29f1fe6/images/webaroo_search_f2.gif','/webaroo/e29f1fe6/images/webaroo_contents_f2.gif','/webaroo/e29f1fe6/images/webaroo_prefs_f2.gif','/webaroo/e29f1fe6/images/webaroo_help_f2.gif');
- // following lines for rounded corners script
- if(!NiftyCheck())
- return;
- Rounded("div#leftnav","all","#FFAA44","#FFFFFF","smooth");
- Rounded("div#maincontent","all","#FFAA44","#FFFFFF","smooth");
- // initialize the DHTML History framework
- dhtmlHistory.initialize();
- // add ourselves as a DHTML History listener
- dhtmlHistory.addListener(GetAboutPage);
- if (dhtmlHistory.isFirstLoad())
- {
- var parts = window.location.href.split("=");
- if ( parts.length == 2 )
- {
- ShowWebarooAbout(0, parts[1]);
- }
- else
- {
- ShowWebarooAbout(0,1);
- }
- }
- }
-
- function GetAboutPage(newLocation, historyData)
- {
- var currentLocation = window.location.href.split("#");
- if (currentLocation[0].indexOf("/siteowners") == -1)
- {
- return;
- }
- document.title = 'Webaroo - Copyright Information';
- currentLocation = window.location.href.split("=");
- if(currentLocation.length >1)
- {
- var helpType = (parseInt(currentLocation[1]) != 0) ? currentLocation[1] : 1;
- ShowWebarooAbout(0,helpType);
- }
- else
- ShowWebarooAbout(0,1);
- }
-
- // I18N issue
- function ShowWebarooAbout(addToHistory,helpType)
- {
- // var title = document.getElementById('subModuleTitle');
- var i;
- var HelpArray = new Array(1, 2, 3, 4);
- var NavArray = new Array(1, 2, 3, 4);
- if(addToHistory)
- {
- dhtmlHistory.add("HelpIndex="+ helpType,"");
- }
- for (i=0; i < HelpArray.length ; ++i)
- {
- document.getElementById('Div' + HelpArray[i]).style.display="none";
- }
- for (i=0; i < NavArray.length ; ++i)
- {
- document.getElementById('Cell' + NavArray[i]).className="";
- }
- document.getElementById('Cell' + helpType).className = "selected";
- document.getElementById('Div' + helpType).style.display="block";
- }
-
-
-