File name: welboard2/jscss/image.js (866 bytes) Text file viewer v1.2
    1 : // start: image.js¢Ò
    2 : ¢Ò
    3 : function onoff()¢Ò
    4 :  {¢Ò
    5 :     var img_name= onoff.arguments[0];¢Ò
    6 : ¢Ò
    7 :     if(navigator.appName=='Netscape') img_name= 'document.' + img_name;¢Ò
    8 :       else img_name= 'document.all.' + img_name;¢Ò
    9 :     if( (img=eval(img_name))!=null )¢Ò
   10 :      {¢Ò
   11 :         if(img.osrc==null) { img.osrc= img.src; img.src= onoff.arguments[1]; }¢Ò
   12 :          else { temp= img.src; img.src= img.osrc; img.osrc= temp; }¢Ò
   13 :      }¢Ò
   14 :  }¢Ò
   15 : ¢Ò
   16 : function preload_backhome_image()¢Ò
   17 :  {¢Ò
   18 :     if(document.preloadlist!=null) return;¢Ò
   19 :     document.preloadlist= new Array();¢Ò
   20 :     document.preloadlist[0]= document.preloadlist[1]= new Image;¢Ò
   21 :     document.preloadlist[2]= document.preloadlist[3]= new Image;¢Ò
   22 :     document.preloadlist[0].src= 'icon/home0.gif';¢Ò
   23 :     document.preloadlist[1].src= 'icon/home1.gif';¢Ò
   24 :     document.preloadlist[2].src= 'icon/back0.gif';¢Ò
   25 :     document.preloadlist[3].src= 'icon/back1.gif';¢Ò
   26 :  }¢Ò
   27 : ¢Ò
   28 : // end¢Ò
File name: welboard2/jscss/image.js (866 bytes) Wesoft Corp. ¨Ï 2001 All rights reserved.