//*********// var numAds = 8; /* Change this number to the number of Ads + 1 */ //*********// var i = 0; while (i < 1) { i=Math.floor(Math.random()*numAds); } banner1= new Image(); banner1.src = "http://www.mydaddyfixes.com/websitehosting/ads/pcprobs.gif"; banner2= new Image(); banner2.src = "http://www.mydaddyfixes.com/websitehosting/ads/buildingvision.gif"; banner3= new Image(); banner3.src = "http://www.mydaddyfixes.com/websitehosting/ads/planningvision.gif"; banner4 = new Image(); banner4.src = "http://www.mydaddyfixes.com/websitehosting/ads/mypreciousitems.gif"; banner5 = new Image(); banner5.src = "http://www.mydaddyfixes.com/websitehosting/ads/relationships.gif"; banner6 = new Image(); banner6.src = "http://www.mydaddyfixes.com/websitehosting/ads/advertisehere.gif"; banner7= new Image(); banner7.src = "http://www.mydaddyfixes.com/websitehosting/ads/eurogroupp.gif"; var links = new Array /* Put your link between the quotation marks " and " if they are outside of the domain make sure that you indicate that with something like: http://www.mydomain.com/thislink.html */ links[1] = "http://www.PcProblemsFixed.com" links[2] = "http://www.BuildingVision.com.au" links[3] = "http://www.PlanningVision.biz" links[4] = "http://www.MyPreciousItems.com" links[5] = "http://www.RelationshipsRekindled.com" links[6] = "mailto:business@PcProblemsFixed.com?subject=Advertising Query" links[7] = "http://www.EuroGroupp.com" var description = new Array description[1] = "Get YOUR Pc Problems Fixed" description[2] = "Building Surveyor" description[3] = "Town Planning Services" description[4] = "Convert your photos to living art" description[5] = "On-line Councelling to help you with your relationships" description[6] = "Advertise your business on this site" description[7] = "Learn how to run a successful Restaurant" function loadBanner() { var time= new Date(); hours= time.getHours(); mins= time.getMinutes(); secs= time.getSeconds(); closeTime=hours*3600+mins*60+secs; closeTime+=16; /* Change this number to increase decrease the rotation speed */ Timer(); } function Timer() { var time= new Date(); hours= time.getHours(); mins= time.getMinutes(); secs= time.getSeconds(); curTime=hours*3600+mins*60+secs if (curTime>=closeTime) { i = 0; while (i < 1) { i=Math.floor(Math.random()*numAds); } document.banner.src = eval("banner" + i + ".src"); loadBanner(); } else { window.setTimeout("Timer()",1000); } } function clickLink() { window.open(links[i],"","toolbar=no, height=430, width=700, scrollbars=yes, resizable=yes"); } function descript() { window.status = description[i]; } function nothing() { window.status=""; }