// Copyright 2000 Andrea Pellati metaldetecting@worldonline.it

var i;
var j;

i = Math.round(Math.random()*3) + 1; 
j = Math.round(Math.random()*2) + 1; 

//********************************

if (pag=='it' | pag=='share'){

  document.write('<p ALIGN=CENTER>'
    +'<a href="http://www.smsclub.it/mediabanner.asp?mediauser=15076">'
    +'<img src="http://members.tripod.it/metaldetecting/sponsor/smsclub-1.gif" width="360" height="60" border="0" alt="SMS Club, guadagna ricevendo SMS sul tuo cellulare!">'
    +'</a></p>');
  document.write('<p ALIGN=CENTER>'
    +'<a href="http://www.smscash.it/index.php3?pagid=reg&p_form=P&p_pres=0&cpre=18894&p_desc=1">'
    +'<img src="http://members.tripod.it/metaldetecting/sponsor/smscash-1.gif" width="367" height="60" border="0" alt="SMS Cash, guadagna ricevendo SMS sul tuo cellulare!">'
    +'</a></p>');
  document.write('<p ALIGN=CENTER>'
    +'<a href="http://reg.micanet.net/RegistrazioneVP/RichCliUserVP.asp?ID=217">'
    +'<img src="http://www.micanet.it/VirtualPoint/vp/freenet_banners/freenet_big_ani.GIF" width="468" height="60" alt="Internet Gratis!" border=0>'
    +'</a></p>');
}
if (pag=='en' | pag=='share'){
  document.write('<p ALIGN=CENTER>'
    +'<IMG SRC="http://service.bfast.com/bfast/serve?bfmid=11468709&siteid=22906424&bfpage=unique1" BORDER="0" WIDTH="1" HEIGHT="1" NOSAVE >'
    +'<A HREF="http://service.bfast.com/bfast/click?bfmid=11468709&siteid=22906424&bfpage=unique1" TARGET="_top"><IMG SRC="http://affiliate.aol.com/static/aan/banners/468x60/BannerC.gif" BORDER="0" WIDTH="468" HEIGHT="60" ALT="America On Line. \nTry AOL Today!  250 Hours FREE!"></A>'
    +'</p>');
}

//********************************

if (i==1)
   {
   document.write('<P align="center"><a href="http://www.intelliad.com/?24E6F01C" target="_top"><img src="http://www2.intelliad.com/iad/iad_b3.gif" width="468" height="60" border="0"></a></P>');
   }
 else if (i ==2)
   {
     var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
     function IAD_B3_DoFSCommand(command, args) {
         var IAD_B3Obj = InternetExplorer ? IAD_B3 : document.IAD_B3;
         window.document.location='http://www.intelliad.com?24E6F01C';
     }
     if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	     document.write('<SCRIPT LANGUAGE=VBScript\> \n');
             document.write('on error resume next \n');
             document.write('Sub IAD_B3_FSCommand(ByVal command, ByVal args)\n');
             document.write('  call IAD_B3_DoFSCommand(command, args)\n');
             document.write('end sub\n');
             document.write('</SCRIPT\> \n');
     }
     document.write('<P align="center"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" ID=IAD_B3 WIDTH=468 HEIGHT=60><PARAM NAME=movie VALUE="http://www2.intelliad.com/iad/iad_b3.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="http://www2.intelliad.com/iad/iad_b3.swf" quality=high bgcolor=#FFFFFF  WIDTH=468 HEIGHT=60	swLiveConnect=true NAME=IAD_B3 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" id=IAD_B3></EMBED></OBJECT></P>');
   }
 else if (i ==3)
   {
     var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
     function iad_b2_DoFSCommand(command, args) {
         var iad_b2Obj = InternetExplorer ? iad_b2 : document.iad_b2;
         window.document.location='http://www.intelliad.com?24E6F01C';
     }
     if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	     document.write('<SCRIPT LANGUAGE=VBScript\> \n');
             document.write('on error resume next \n');
             document.write('Sub iad_b2_FSCommand(ByVal command, ByVal args)\n');
             document.write('  call iad_b2_DoFSCommand(command, args)\n');
             document.write('end sub\n');
             document.write('</SCRIPT\> \n');
     }
     document.write('<P align="center"><A HREF=FSCommand:iadb2></A> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" ID=iad_b2 WIDTH=468 HEIGHT=60 NAME=iad_b2><PARAM NAME=movie VALUE="http://www2.intelliad.com/iad/iad_b2.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="http://www2.intelliad.com/iad/iad_b2.swf" quality=high bgcolor=#FFFFFF  WIDTH=468 HEIGHT=60	swLiveConnect=true NAME=iad_b2 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT></P>');
   }
 else if (i ==4)
   {
     var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
     function iad_b1_DoFSCommand(command, args) {
         var iad_b1Obj = InternetExplorer ? iad_b1 : document.iad_b1;
         window.document.location='http://www.intelliad.com?24E6F01C';
     }
     if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
             document.write('<SCRIPT LANGUAGE=VBScript\> \n');
             document.write('on error resume next \n');
             document.write('Sub iad_b1_FSCommand(ByVal command, ByVal args)\n');
             document.write('  call iad_b1_DoFSCommand(command, args)\n');
             document.write('end sub\n');
             document.write('</SCRIPT\> \n');
     }
     document.write('<P align="center"><A HREF=FSCommand:iadb1></A> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" ID=iad_b1 WIDTH=468 HEIGHT=60 NAME=iad_b1><PARAM NAME=movie VALUE="http://www2.intelliad.com/iad/iad_b1.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="http://www2.intelliad.com/iad/iad_b1.swf" quality=high bgcolor=#FFFFFF  WIDTH=468 HEIGHT=60	swLiveConnect=true NAME=iad_b1 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT></P>');
   }

//********************************

if (j==1)
   {
     document.write('<p ALIGN=CENTER>'
       +'<a href="http://www.gotoworld.com/getpaid/default.asp?rid=1011526059">'
       +'<img src="http://www.gotoworld.com/banners/468x60_8low.gif" width="468" height="60" alt="Make Money Surfing the Worl Wide Web! \nGuadagna Soldi Navigando su Internet!" border=0>'
       +'</a></p>');
   }
 else if (j==2)
   {
     document.write('<p ALIGN=CENTER>'
       +'<a href="http://www.alladvantage.com/go.asp?refid=DNU259">'
       +'<img src="http://members.tripod.it/metaldetecting/sponsor/alladvantage-ba1.gif" width="468" height="60" alt="Make Money Surfing the Worl Wide Web! \nGuadagna Soldi Navigando su Internet!" border=0>'
       +'</a></p>');
   }
 else if (j==3)
   {
     document.write('<p ALIGN=CENTER>'
       +'<a href="http://www.sharkhunt.com/join/join.asp?shID=pellati">'
       +'<img src="http://members.tripod.it/metaldetecting/sponsor/sharkhunt.gif" width="468" height="60" alt="Make Money Surfing the Worl Wide Web! \nGuadagna Soldi Navigando su Internet!" border=0>'
       +'</a></p>');
   }

//********************************

  document.write('<CENTER><DT><HR SIZE=3 WIDTH="100%"></DT></CENTER>');


