function nav_highlight (state, which) {
letter= 'h';
if (state==0) {
	letter= 'n';
}
document.images['rns_nav_'+which].src= 'http://www.ranosoft.net/images/navi_'+letter+which+'.gif';
}

function nav_highlight2 (state, which) {
letter= 'h';
if (which==4) {
	letter= 'i';
}
if (state==0) {
	letter= 'n';
}
if (document.images['rns_nav_3']) {
	document.images['rns_nav_3'].src= 'http://www.ranosoft.net/images/navi_'+letter+'3.gif';
}
if (document.images['rns_nav_4']) {
	document.images['rns_nav_4'].src= 'http://www.ranosoft.net/images/navi_'+letter+'4.gif';
}
}

function whenloaded () {
document.getElementById('rns_navigation_pda').style.visibility= 'hidden';
}

preload_h1= new Image();
preload_h1.src= 'http://www.ranosoft.net/images/navi_h1.gif';
preload_h2= new Image();
preload_h2.src= 'http://www.ranosoft.net/images/navi_h2.gif';
preload_h3= new Image();
preload_h3.src= 'http://www.ranosoft.net/images/navi_h3.gif';
preload_h4= new Image();
preload_h4.src= 'http://www.ranosoft.net/images/navi_h4.gif';
preload_h5= new Image();
preload_h5.src= 'http://www.ranosoft.net/images/navi_h5.gif';
preload_h6= new Image();
preload_h6.src= 'http://www.ranosoft.net/images/navi_h6.gif';
preload_i3= new Image();
preload_i3.src= 'http://www.ranosoft.net/images/navi_i3.gif';
preload_i4= new Image();
preload_i4.src= 'http://www.ranosoft.net/images/navi_i4.gif';

xx= window.innerWidth;
if (!xx) xx= document.body.clientWidth;
if (!xx) xx= document.body.offsetWidth;

window.onload= whenloaded;
