/* ====== request for /Support/Help/rowpro_help_v3000_navigation.js ======= *//*---------- Copyright 2012 Neotek Limited (http://www.neotek.co.nz). All rights reserved. -----------*/
 
/* ---------- rowpro_help_v3000_navigation.js ---------- */
var usecookie=false;var tocselecting=false;var currentselection;var autocollapse=true;var treestate="";function fullexpand(){switchall(true)}function fullcollapse(){switchall(false)}function levelexpand(b){var a=hmnavigation.document.getElementById(b).firstChild;while(a){if(a.id){switchdiv(a,a.id,true)}a=a.nextSibling}}function switchall(a){var d=hmnavigation.document.getElementById("tree");if(d){var c=d.getElementsByTagName("div");for(var b=0;b<c.length;b++){if(a!=((c[b].style.display=="block")?true:false)){switchdiv(c[b],c[b].id,a)}}if((a)&&(currentselection)){intoview(currentselection,d,false)}}}function loadstate(c){var a;if((treestate=="")&&(usecookie)){treestate=document.cookie}while(treestate!=""){a=treestate.substring(0,treestate.indexOf(","));treestate=treestate.substring(a.length+1,treestate.length);toggle(a)}var b=hmcontent.location.href.substring(hmcontent.location.href.lastIndexOf("/")+1,hmcontent.location.href.length);if(b.lastIndexOf("#")!=-1){b=b.substring(0,b.lastIndexOf("#"))}if(b.lastIndexOf("?")!=-1){b=b.substring(0,b.lastIndexOf("?"))}tocselecting=false;currentselection=null;lazysync(b)}function savestate(c){treestate="";var b=c.getElementsByTagName("div");for(var a=0;a<b.length;a++){if(b[a].style.display=="block"){treestate=treestate.concat(b[a].id+",")}}if(usecookie){document.cookie=treestate}}function toggle(a){var b=hmnavigation.document.getElementById(a);if(b){switchdiv(b,a,((b.style.display=="none")?true:false))}}function switchdiv(d,a,b){var e=hmnavigation.document.getElementById("i"+a.substring(3,a.length));var c="";if(e){c=e.getAttribute("name")}if(b){d.style.display="block";if(e){e.src=c.substring(c.lastIndexOf(":")+1,c.length)}}else{d.style.display="none";if(e){e.src=c.substring(0,c.lastIndexOf(":"))}}}function hilightexpand(b,a){hilight(b);var c=hmnavigation.document.getElementById(a);if(c){switchdiv(c,a,true)}}function hilight(c){tocselecting=true;var d=null;var b=false;d=hmnavigation.document.getElementById(c);if(d){try{if((currentselection)&&(currentselection!=d)){currentselection.className="heading"+currentselection.className.substr(7,1)}}catch(a){}d.className="hilight"+d.className.substr(7,1);b=(currentselection!=d);currentselection=d}return b}function intoview(e,g,c){var f=e;while(f!=g){if((c)&&(f.nodeName.toLowerCase()=="div")){switchdiv(f,f.id,true)}f=f.parentNode}f=e;for(var d=0;f!=null;d+=f.offsetTop,f=f.offsetParent){}var b=(hmnavigation.window.pageYOffset)?hmnavigation.window.pageYOffset:hmnavigation.document.body.scrollTop;var a=(hmnavigation.window.innerHeight)?hmnavigation.window.innerHeight:hmnavigation.document.body.offsetHeight;if((d+e.offsetHeight-b)>a){hmnavigation.window.scrollTo(0,(d+24-a))}else{if(d<b){hmnavigation.window.scrollTo(0,d)}}}function collapseunfocused(e,d){if(e){var c="div"+d.substring(1,d.length);var b=e.getElementsByTagName("div");for(var a=0;a<b.length;a++){if(c.lastIndexOf(b[a].id)<0){switchdiv(b[a],b[a].id,false)}}}}function quicksync(a){if(a!=""){var d=hmnavigation.document.getElementById("tree");if(d){if(!tocselecting){var c=hmnavigation.document.getElementById(a);if(c){var b=hilight("s"+a.substring(1,a.length));intoview(c,d,b)}}if(autocollapse){if(currentselection){collapseunfocused(d,currentselection.id)}else{collapseunfocused(d,"")}}}}tocselecting=false}function lazysync(e){if(e!=""){var f=hmnavigation.document.getElementById("tree");if(f){if(!tocselecting){var a=new Array(0);var c=f.getElementsByTagName("a");for(var b=0;b<c.length;b++){if(c[b].href.substring(c[b].href.lastIndexOf("/")+1,c[b].href.length)==e){var d=hilight("s"+c[b].id.substring(1,c[b].id.length));intoview(c[b],f,d);break}}}if(autocollapse){if(currentselection){collapseunfocused(f,currentselection.id)}else{collapseunfocused(f,"")}}}}tocselecting=false}function preloadicons(){var a=new Array();for(i=0;i<preloadicons.arguments.length;i++){a[i]=new Image();a[i].src=preloadicons.arguments[i]}}; 
/* -------- rowpro_help_v3000_navigation.js End -------- */
 
/*  Created in 15.6 milliseconds */
