home *** CD-ROM | disk | FTP | other *** search
- //This is the master JavaScript file for the HTML Help documentation.
-
-
- function addVer(myLink){
- var myHref = myLink.href;
- if(myHref.indexOf('?')>=0)return true;
-
- myHref += (myLink.href.indexOf('mailto:') >= 0)? ('?Subject=' + escape('Question about ')) : '?Version=';
- myHref += escape((location.href.toLowerCase().indexOf('looprecp.chm') >= 0) ? 'Loop Recorder Pro ' : 'Loop Recorder ') + '2.01';
- if(myLink.target == '_blank'){
- window.open(myHref)
- } else {
- location.href = myHref;
- }
- return false;
- }
-
-
- /* These functions (doSection, noSection) are used to make sidebars appear and disappear.
- */
-
- function doSection (secNum){
- //display the section if it's not displayed; hide it if it is displayed
- if (secNum.style.display=="none"){secNum.style.display=""}
- else{secNum.style.display="none"}
- }
-
- function noSection (secNum){
- //remove the section when user clicks in the opened DIV
- if (secNum.style.display==""){secNum.style.display="none"}
- }
-
- function showSection (secNum){
- //remove the section when user clicks in the opened DIV
- if (secNum.style.display=="none"){secNum.style.display=""}
- }
-
- function doExpand(paraNum,arrowNum,on){
- //expand the paragraph and rotate the arrow; collapse and rotate it back
- if ((paraNum.style.display=="none") || on){paraNum.style.display="";arrowNum.src="arrowdn.gif"}
- else{paraNum.style.display="none";arrowNum.src="arrowrt.gif"}
- }
-
- //These functions control the behavior of the homepage go arrows.
- function liteGo(spNo){
- spNo.style.background="#cc0033";
- spNo.style.color="#FFFFFF";
- }
-
- function liteOff(spNo){
- spNo.style.background="transparent";
- spNo.style.color="#000000";
- }
-
- //Insert new functions here. Please use unique identifiers and comment liberally.
-
- function showHashSec(){
- var myHash, myAr, myExp;
- if(myHash = window.location.hash.substring(1))
- if(
- (myExp=document.all['exp_' + myHash]) &&
- (myAr = document.all['ar_' + myHash])
- )doExpand(myExp, myAr, true)
- }
-