function img1()
{
//The following array stores the Banners images from the server
var bimages = ["http://www.ftjcfx.com/image-3869179-10641326", "http://www.ftjcfx.com/image-3869179-10501010", "http://www.awltovhc.com/image-3869179-10563610", "http://www.lduhtrp.net/image-3869179-8813347"]; 

//The following array stores the Link of the banners
var lnk=["http://www.jdoqocy.com/click-3869179-10641326", "http://www.jdoqocy.com/click-3869179-10501010", "http://www.anrdoezrs.net/click-3869179-10563610", "http://www.dpbolvw.net/click-3869179-8813347"]; 

//The following array stores the banner image ALT tag and the text just under the banner
var alt=["Budget Trucks - Click on this Banner to get 15% OFF ANY RENTAL", "Budget Rental Cars - Click on this Banner to get 20% OFF ANY WEEKLY RENTALS", "Avis Rental Cars - Click on this Banner to get 15% OFF WEEKLY RENTALS", "JC Whitney - Click on this Banner to get FREE SHIPPING"]; 

// selecting the random banner from the 1st array. If you have "N" number of images inside the array bimages, 
// then the following code will be looks like as follows
// var rand=Math.floor(Math.random()*N); 
// So change the number 4 accordingly.
var rand=Math.floor(Math.random()*4); 

newImage = bimages[rand]; 

//Creating the image source and alt tag and text just under it and making it hyperlink
var img="<a href='"+lnk[rand]+"' target='_blank'><img src='"+newImage+"' alt='"+alt[rand]+"' border='0'><br>"+alt[rand]+"</a>";

//returning the banner code.
return img;
} 