jozz

Ns3444

Jan 9th, 2014
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1.  
  2. mainmenu_imgsrc=new Array();
  3. mainmenu_imgsrc[1]="http://img1.imagilive.com/0114/a_menubutton1a74.gif";
  4. mainmenu_imgsrc[2]="http://img1.imagilive.com/0114/p_menubutton189f.gif";
  5.  
  6. mainmenu_img =new Array();
  7.  
  8. for (i=0; i< mainmenu_imgsrc.length; i++) {
  9. mainmenu_img[i]=new Image();
  10. mainmenu_img[i].src=mainmenu_imgsrc[i];
  11. }
  12.  
  13. function mainmenu_change(number, picture) {
  14. {
  15. document[picture].src=mainmenu_img[number].src;
  16. }
  17. }
  18.  
  19.  
  20. qt="'";
  21.  
  22. document.writeln('<DIV>');
  23. document.writeln(' <TABLE border="0" Cellpadding="0" Cellspacing="0" align="left" >');
  24. document.writeln(' <TR>');
  25. document.writeln(' <TD width="1">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<A ID="" HREF="http://adf.ly/bs552" TARGET="_blank" ONMOUSEOVER="mainmenu_change('+qt+'1'+qt+','+qt+'mainmenu_1'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'2'+qt+','+qt+'mainmenu_1'+qt+')" name="mainmenu_1"><IMG NAME="mainmenu_1" SRC="http://img1.imagilive.com/0114/p_menubutton189f.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
  26. document.writeln(' </TR>');
  27. document.writeln(' </TABLE>');
  28. document.writeln('</DIV>');
Add Comment
Please, Sign In to add comment