var src1_refresh = 3000; //- time between switching the ad, in milliseconds 1000 ms = 1 seconds -\\ var src1_count = 11; //- number of ads to rotate -\\ function src1_makeAd() { this.width = '144' this.height = '144' this.src = '' this.href = '' this.mouseover = '' } var src1_array = new Array() for(var src1_index = 1; src1_index <= src1_count; src1_index++) { src1_array[src1_index] = new src1_makeAd() } src1_index = 1; src1_array[src1_index].src = 'images/links/Logo_Sufix_Fishing_Line3.jpg' src1_array[src1_index].href = 'http://www.sufix.com/' src1_array[src1_index].mouseover = 'Sufix Fishing Line' src1_index++ src1_array[src1_index].src = 'images/links/Logo_CDM.JPG' src1_array[src1_index].href = 'http://www.costadelmar.com/' src1_array[src1_index].mouseover = 'COsta Del Mar' src1_index++ src1_array[src1_index].src = 'images/links/Logo_CWCrab.JPG' src1_array[src1_index].href = 'http://www.cwcrab.com/' src1_array[src1_index].mouseover = 'CW Crab' src1_index++ src1_array[src1_index].src = 'images/links/Logo_Mako_Marine5.JPG' src1_array[src1_index].href = 'http://www.mako-boats.com/' src1_array[src1_index].mouseover = 'Mako Boats' src1_index++ src1_array[src1_index].src = 'images/links/Logo_Shakespeare5.JPG' src1_array[src1_index].href = 'http://www.shakespeare-fishing.com/' src1_array[src1_index].mouseover = 'Shakespeare Fishing' src1_index++ src1_array[src1_index].src = 'images/links/Logo_Ugly_Stick6.JPG' src1_array[src1_index].href = 'http://www.shakespeare-fishing.com/products/ugly.shtml' src1_array[src1_index].mouseover = 'UGLY STICK Fishing Rods' src1_index++ src1_array[src1_index].src = 'images/links/Logo_Pflueger4.JPG' src1_array[src1_index].href = 'http://www.pfluegerfishing.com/home.html' src1_array[src1_index].mouseover = 'Pflueger Fishing Reels' src1_index++ src1_array[src1_index].src = 'images/links/Logo_XTools4.JPG' src1_array[src1_index].href = 'http://www.xtools.us/' src1_array[src1_index].mouseover = 'XTOOLS Fishing Tools' src1_index++ src1_array[src1_index].src = 'images/links/Logo_All_Star3.JPG' src1_array[src1_index].href = 'http://www.allstarrods.com/' src1_array[src1_index].mouseover = 'All Star Rods' src1_index++ src1_array[src1_index].src = 'images/links/Logo_Tech_Tackle4.JPG' src1_array[src1_index].href = 'http://www.techtackle.com/' src1_array[src1_index].mouseover = 'Micro Rods and Reels' src1_index++ src1_array[src1_index].src = 'images/links/Logo_Shoreline.JPG' src1_array[src1_index].href = 'http://shorelineofny.com/index.shtml' src1_array[src1_index].mouseover = 'Shoreline Embroidery' src1_index++ var srcIndex = 1; var ad1_Code = ''; ad1_Code = src1_LoadCode(srcIndex,1); srcIndex++; if (srcIndex > src1_count) srcIndex = 1; var ad2_Code = ''; ad2_Code = src1_LoadCode(srcIndex,2); srcIndex++; if (srcIndex > src1_count) srcIndex = 1; var ad3_Code = ''; ad3_Code = src1_LoadCode(srcIndex,3); function src1_LoadCode(srcnbr,bannbr){ var tempCode = "" tempCode += (' \n') tempCode += ('') tempCode += ('') return tempCode; } function src1_NewAd(tempIndex,tempBan){ tempIndex++; if (tempIndex > src1_count) tempIndex = 1; if (document.all){ if(tempBan == 1){ ad1_write(src1_LoadCode(tempIndex,tempBan)); } else if (tempBan == 2){ ad2_write(src1_LoadCode(tempIndex,tempBan));} else { ad3_write(src1_LoadCode(tempIndex,tempBan));} } } function ad1_write(text){ if (document.layers) { document.bannerAd1.document.write(text) document.bannerAd1.document.close(); } else if (document.all) document.all.bannerAd1.innerHTML = text } function ad2_write(text){ if (document.layers) { document.bannerAd2.document.write(text) document.bannerAd2.document.close(); } else if (document.all) document.all.bannerAd2.innerHTML = text } function ad3_write(text){ if (document.layers) { document.bannerAd3.document.write(text) document.bannerAd3.document.close(); } else if (document.all) document.all.bannerAd3.innerHTML = text }