home *** CD-ROM | disk | FTP | other *** search
- function LoadSysReqPage()
- {
- 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");
- }
-
-
- function LoadFaqPage()
- {
- 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(GetFAQsPage);
- if (dhtmlHistory.isFirstLoad())
- {
- var parts = window.location.href.split("=");
- // alert(parts);
- if ( parts.length == 2 )
- {
- ShowWebarooHelp(0, parts[1]);
- }
- else
- {
- ShowWebarooHelp(0,1);
- }
- }
- }
-
- function GetFAQsPage(newLocation, historyData)
- {
- // alert(newLocation);
- var currentLocation = window.location.href.split("#");
- if (currentLocation[0].indexOf("/help") == -1)
- {
- return;
- }
- document.title = 'Webaroo - Help';
- currentLocation = window.location.href.split("=");
- if(currentLocation.length >1)
- {
- var helpType = (parseInt(currentLocation[1]) != 0) ? currentLocation[1] : 1;
- ShowWebarooHelp(0,helpType);
- }
- else
- ShowWebarooHelp(0,1);
- }
-
- // I18N issue
- function ShowWebarooHelp(addToHistory,helpType)
- {
- var title = document.getElementById('subModuleTitle');
- var i;
- var parentid;
- var HelpArray = new Array(1, 101, 102, 2, 3, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 4, 401, 402, 403, 404, 405, 406, 407, 408, 5, 6, 601, 602, 603, 604, 605, 606, 8);
- var NavArray = new Array(1, 2, 3, 301, 302, 303, 4, 401, 402, 403, 5, 6, 8);
- 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="";
- }
- if (helpType == 1)
- {
- //title.innerHTML = "What is Webaroo?";
- parentid = 1;
- }
- if (helpType == 101)
- {
- //title.innerHTML = "What is Webaroo?";
- parentid = 1;
- }
- if (helpType == 102)
- {
- //title.innerHTML = "What is Webaroo?";
- parentid = 1;
- }
-
- else if (helpType == 2)
- {
- // title.innerHTML = "Getting Started";
- parentid = 2;
- }
- else if (helpType == 3)
- {
- // title.innerHTML = "Laptops/Desktops";
- parentid = 3;
- }
- else if (helpType == 301)
- {
- // title.innerHTML = "Adding a Webpack";
- parentid = 301;
- }
- else if (helpType == 302)
- {
- // title.innerHTML = "Adding a Website";
- parentid = 302;
- }
- else if (helpType == 303)
- {
- // title.innerHTML = "Searching and Browsing";
- parentid = 303;
- }
- else if (helpType == 304)
- {
- // title.innerHTML = "Updating Content";
- parentid = 3;
- }
- else if (helpType == 305)
- {
- // title.innerHTML = "Removing Content";
- parentid = 3;
- }
- else if (helpType == 306)
- {
- // title.innerHTML = "Canceling an Update or Download";
- parentid = 3;
- }
- else if (helpType == 307)
- {
- // title.innerHTML = "Setting Preferences";
- parentid = 3;
- }
- else if (helpType == 308)
- {
- // title.innerHTML = "Browsing Web Packs";
- parentid = 3;
- }
- else if (helpType == 309)
- {
- // title.innerHTML = "Accesing Web Sites";
- parentid = 3;
- }
- else if (helpType == 310)
- {
- // title.innerHTML = "Configuring Proxy Servers";
- parentid = 3;
- }
- else if (helpType == 311)
- {
- // title.innerHTML = "Setting Webaroo Startup Options";
- parentid = 3;
- }
- else if (helpType == 312)
- {
- // title.innerHTML = "Setting Content Update Options";
- parentid = 3;
- }
- else if (helpType == 313)
- {
- // title.innerHTML = "Installing Webaroo";
- parentid = 3;
- }
- else if (helpType == 314)
- {
- // title.innerHTML = "Uninstalling Webaroo";
- parentid = 3;
- }
- else if (helpType == 4)
- {
- // title.innerHTML = "Mobile Devices";
- parentid = 4;
- }
- else if (helpType == 401)
- {
- // title.innerHTML = "Install Webaroo";
- parentid = 401;
- }
- else if (helpType == 402)
- {
- // title.innerHTML = "Synchronizing Content";
- parentid = 402;
- }
- else if (helpType == 403)
- {
- // title.innerHTML = "Searching and Browsing on Mobile Device";
- parentid = 403;
- }
- else if (helpType == 404)
- {
- // title.innerHTML = "Updating Content";
- parentid = 4;
- }
- else if (helpType == 405)
- {
- // title.innerHTML = "Browsing Web Packs";
- parentid = 4;
- }
- else if (helpType == 406)
- {
- // title.innerHTML = "Accessing Web Sites";
- parentid = 4;
- }
- else if (helpType == 407)
- {
- // title.innerHTML = "Removing Content from Mobile Device";
- parentid = 4;
- }
- else if (helpType == 408)
- {
- // title.innerHTML = "Uninstalling Webaroo from Mobile Device";
- parentid = 4;
- }
- else if (helpType == 5)
- {
- // title.innerHTML = "System Requirements";
- parentid = 5;
- }
- else if (helpType == 6)
- {
- // title.innerHTML = "Support/FAQs";
- parentid = 6;
- }
- else if (helpType == 601)
- {
- // title.innerHTML = "General";
- parentid = 6;
- }
- else if (helpType == 602)
- {
- // title.innerHTML = "Web Packs";
- parentid = 6;
- }
- else if (helpType == 603)
- {
- // title.innerHTML = "Web Sites";
- parentid = 6;
- }
- else if (helpType == 604)
- {
- // title.innerHTML = "Webaroo on Laptops/Desktops";
- parentid = 6;
- }
- else if (helpType == 605)
- {
- // title.innerHTML = "Webaroo on Mobile Devices";
- parentid = 6;
- }
- else if (helpType == 606)
- {
- // title.innerHTML = "Technical Troubleshooting.";
- parentid = 6;
- }
- else if (helpType == 7)
- {
- // title.innerHTML = "Known Issues";
- parentid = 7;
- }
- else if (helpType == 8)
- {
- // title.innerHTML = "Known Issues";
- parentid = 8;
- }
- window.scroll(0,0);
- document.getElementById('Cell' + parentid).className = "selected";
- document.getElementById('Div' + helpType).style.display="block";
- }
-
-
-
-
-