// Thank's quirksmode.org function getObj(name) { if (document.getElementById) { this.obj = document.getElementById(name); this.style = document.getElementById(name).style; } else if (document.all) { this.obj = document.all[name]; this.style = document.all[name].style; } else if (document.layers) { this.obj = document.layers[name]; this.style = document.layers[name]; } } function link_on(id) { var obj = new getObj(id); obj.style.color = '#0000FF'} function link_off(id) { var obj = new getObj(id); obj.style.color = '#000000'} function b_on(id) { var obj = new getObj(id); obj.style.background = '#FFFFCC'} function b_off(id) { var obj = new getObj(id); obj.style.background = '#E8E8E8'} function arrow_on(id) { var arrow = new getObj(id); arrow.style.visibility= 'visible'; } function arrow_off(id) { var arrow = new getObj(id); arrow.style.visibility= 'hidden'; } // Good 'ol Macromedia function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i