﻿var wat1 = "Wal-Mart.com USA, LLC";
var aBetterStay = "ABetterStay.com";

/*  Bottom Banner */
var bBAH = new Array();

bBAH[0] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148499.10000001&type=4&subid=0";
bBAH[1] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=171465.10000024&type=4&subid=0";
bBAH[2] = "http://linksynergy.walmart.com/fs-bin/click?id=k8abRSzpH18&offerid=130188.10001816&type=4&subid=0";
bBAH[3] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=140504.10000635&type=4&subid=0";
bBAH[4] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=140504.10000629&type=4&subid=0";
bBAH[5] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148888.10000092&type=4&subid=0";
bBAH[6] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148888.10000078&type=4&subid=0";
bBAH[7] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148888.10000010&type=4&subid=0";
bBAH[8] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148499.10000064&type=4&subid=0";
bBAH[9] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148499.10000065&type=4&subid=0";
bBAH[10] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=140504.10000531&type=4&subid=0";
bBAH[11] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=137588.10000564&subid=0&type=4";
bBAH[12] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=20738.10000028&type=4&subid=0";
bBAH[13] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=102327.10000122&type=4&subid=0";
bBAH[14] = "http://linksynergy.walmart.com/fs-bin/click?id=k8abRSzpH18&offerid=130188.10001851&type=4&subid=0";
bBAH[15] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=15621.10000040&type=4&subid=0";
bBAH[16] = "http://www.anrdoezrs.net/click-22847942-10651177";




var bbAISA = new Array();

bbAISA[0] = "http://us-m1.gameduell.com/res/Affiliate/US/468x60/gif/bil/468x60_bil_080611_us.gif";
bbAISA[1] = "http://images.callpod.com/en_US/static/images2/linkshare/drone_468x60.gif";
bbAISA[2] = "http://i.walmart.com/i/email/nl/061708/iPod_468X60_val.gif";
bbAISA[3] = "http://www.direct2drive.com/linkshare/strategy/d2d_empiretw_468x60.jpg";
bbAISA[4] = "http://www.direct2drive.com/linkshare/Strategy/d2d_dow2_468x60.jpg";
bbAISA[5] = "http://assets.handango.com/marketing/affiliate/LOTG2/handango468.jpg";
bbAISA[6] = "http://assets.handango.com/marketing/affiliate/promos/Personalization/468x60.jpg";
bbAISA[7] = "http://assets.handango.com/marketing/affiliate/drivepm/handango4_468X60.jpg";
bbAISA[8] = "http://us-m1.gameduell.com/res/Affiliate/US/468x60/gif/yaz/468x60_yaz_080215_us.gif";
bbAISA[9] = "http://us-m1.gameduell.com/res/Affiliate/US/468x60/gif/sdk/468x60_sdk_080215_us.gif";
bbAISA[10] = "http://www.direct2drive.com/linkshare/MassiveMultiplayer/StarWarsGalaxiesCOA_d2d_468x60.jpg";
bbAISA[11] = "http://ad.linksynergy.com/fs-bin/show?id=k8abRSzpH18&bids=137588.10000564&subid=0&type=4&gridnum=1";
bbAISA[12] = "http://www.textbookx.com/img/textbookX_banner_red.gif";
bbAISA[13] = "http://images.tigerdirect.com/email/affiliate_new/TD_AMD_PhenomII_468x60.gif";
bbAISA[14] = "http://i.walmart.com/i/email/nl/100808/468X60_electronics.gif";
bbAISA[15] = "http://images.officefurniture.com/linkshare/OF_468x60.gif";
bbAISA[16] = "http://www.1and1affiliate.com/uploads/pics/468x60_vps.gif?aid=22847942";





var bbAIAA = new Array();


bbAIAA[0] = "GameDuell Inc. - Play billiard";
bbAIAA[1] = "Callpod Inc.";
bbAIAA[2] = wat1;
bbAIAA[3] = "Download Empire: Total War from Direct2Drive Now!";
bbAIAA[4] = "Dawn of War II on Direct2Drive";
bbAIAA[5] = "Shop Handango for the latest in mobile apps for your smartphone.";
bbAIAA[6] = "Save 20% on smartphone software and games at Handango.com with promo code SAVE20NOW.";
bbAIAA[7] = "For your life on the go ... mobile apps and games for your smartphone or PDA from Handango.";
bbAIAA[8] = "GameDuell Inc. - Play Roll 5";
bbAIAA[9] = "GameDuell Inc. - Play Sudoku";
bbAIAA[10] = "Direct2Drive";
bbAIAA[11] = "Office Depot, Inc";
bbAIAA[12] = "textbookx.com (Akademos, Inc.)"
bbAIAA[13] = "TigerDirect";
bbAIAA[14] = wat1;
bbAIAA[15] = "Officefurniture.com";
bbAIAA[16] = "Incredible Deals on web hosting, dedicated servers, virtual servers and more";





/* Left Bottom */

var leftLongAdsHrefAry = new Array();


leftLongAdsHrefAry[0] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=99169.10000150&type=4&subid=0";
leftLongAdsHrefAry[1] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=174900.10000026&subid=0&type=4";
leftLongAdsHrefAry[2] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=174900.10000001&type=4&subid=0";
leftLongAdsHrefAry[3] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=174900.10000002&type=4&subid=0";
leftLongAdsHrefAry[4] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=174900.10000003&type=4&subid=0";
leftLongAdsHrefAry[5] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=164914.10000076&type=4&subid=0";
leftLongAdsHrefAry[6] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=175432.10000069&type=4&subid=0";
leftLongAdsHrefAry[7] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=173675.10000037&type=4&subid=0";
leftLongAdsHrefAry[8] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148890.10000287&type=4&subid=0";
leftLongAdsHrefAry[9] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148890.10000094&type=4&subid=0";
leftLongAdsHrefAry[10] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=148890.10000018&type=4&subid=0";
leftLongAdsHrefAry[11] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=179551.10000459&subid=0&type=4";
leftLongAdsHrefAry[12] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=172701.10000041&subid=0&type=4";
leftLongAdsHrefAry[13] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=172701.10000029&subid=0&type=4";
leftLongAdsHrefAry[14] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=134829.10000350&type=4&subid=0";
leftLongAdsHrefAry[15] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=134829.10000314&type=4&subid=0";
leftLongAdsHrefAry[16] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=134829.10000303&type=4&subid=0";
leftLongAdsHrefAry[17] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=134829.10000188&type=4&subid=0";
leftLongAdsHrefAry[18] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=134829.10000208&type=4&subid=0";
leftLongAdsHrefAry[19] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=134829.10000218&type=4&subid=0";
leftLongAdsHrefAry[20] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=134829.10000178&type=4&subid=0";
leftLongAdsHrefAry[21] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=170949.10000007&type=4&subid=0";
leftLongAdsHrefAry[22] = "http://click.linksynergy.com/fs-bin/click?id=k8abRSzpH18&offerid=141510.10000022&type=4&subid=0";
leftLongAdsHrefAry[23] = "https://www.amazon.com/b?node=671810011&tag=shamzoo-20&camp=0&creative=0&linkCode=ur1&adid=0GACDA3J38KNNTV0S3NR";




var leftLongAdsImgSrcAry = new Array();

leftLongAdsImgSrcAry[0] = "http://www.4allmemory.com/images/banners/160x600tallnormalmemory.gif";
leftLongAdsImgSrcAry[1] = "http://ad.linksynergy.com/fs-bin/show?id=k8abRSzpH18&bids=174900.10000026&subid=0&type=4&gridnum=9";
leftLongAdsImgSrcAry[2] = "http://www.leisurelink.com/images/affiliate/abs_160x600_01.jpg";
leftLongAdsImgSrcAry[3] = "http://www.leisurelink.com/images/affiliate/abs_160x600_02.jpg";
leftLongAdsImgSrcAry[4] = "http://www.leisurelink.com/images/affiliate/abs_160x600_03.jpg";
leftLongAdsImgSrcAry[5] = "http://www.cellhut.com/banner/gsm_160x600.gif";
leftLongAdsImgSrcAry[6] = "http://www.americarx.com/allaffliate/Linkshare/160_600.jpg";
leftLongAdsImgSrcAry[7] = "http://cdn.extensoft.com/Artisteer/banners/WebDesign/WebDesign_160x600.gif";
leftLongAdsImgSrcAry[8] = "http://www.cheapoair.com/travel/affiliate/banners/COA-Europe-flight-hotels-banners/images/160x600.jpg";
leftLongAdsImgSrcAry[9] = "http://www.cheapoair.com/travel/affiliate/banners/cheapoair_combo_banners/images/160x600.gif";
leftLongAdsImgSrcAry[10] = "http://www.cheapoair.com/travel/affiliate/banners/Flight-car-hotel-NEW-banners/images/hotel/160x600.jpg";
leftLongAdsImgSrcAry[11] = "http://ad.linksynergy.com/fs-bin/show?id=k8abRSzpH18&bids=179551.10000459&subid=0&type=4&gridnum=9";
leftLongAdsImgSrcAry[12] = "http://ad.linksynergy.com/fs-bin/show?id=k8abRSzpH18&bids=172701.10000041&subid=0&type=4&gridnum=9";
leftLongAdsImgSrcAry[13] = "http://ad.linksynergy.com/fs-bin/show?id=k8abRSzpH18&bids=172701.10000029&subid=0&type=4&gridnum=9";
leftLongAdsImgSrcAry[14] = "http://svimage.bidz.com/linkshare/Spanish/presentamos_ESP_PKG/160x600_presentamos_ESP.jpg";
leftLongAdsImgSrcAry[15] = "http://svimage.bidz.com/linkshare/US/buyz_PKG/160x600_buyz.jpg";
leftLongAdsImgSrcAry[16] = "http://svimage.bidz.com/linkshare/US/YonLi_Dont_Pay_Retail/160x600.jpg";
leftLongAdsImgSrcAry[17] = "http://svimage.bidz.com/linkshare/US/father_PKG/160x600_father.jpg";
leftLongAdsImgSrcAry[18] = "http://svimage.bidz.com/linkshare/US/Orange_Experience/160x600-copy.jpg";
leftLongAdsImgSrcAry[19] = "http://svimage.bidz.com/linkshare/US/Pixel_Dont_Pay_Retail/160x600.jpg";
leftLongAdsImgSrcAry[20] = "http://svimage.bidz.com/linkshare/US/Blue_Why_Pay_Retail/160x600.jpg";
leftLongAdsImgSrcAry[21] = "http://www.billiards.com/linkshare/billiards-160x600-1.gif";
leftLongAdsImgSrcAry[22] = "http://images.compusa.com/adserve/compusa_exclusive_160x600.gif";
leftLongAdsImgSrcAry[23] = "https://images-na.ssl-images-amazon.com/images/G/01/img09/jewelry/wide-skyscraper/cyor_wide-sky.gif";



var leftLongAdsImgAltAry = new Array();

leftLongAdsImgAltAry[0] = "160x600 Skyscraper - More memory. Upgrade";
leftLongAdsImgAltAry[1] = aBetterStay;
leftLongAdsImgAltAry[2] = aBetterStay;
leftLongAdsImgAltAry[3] = aBetterStay;
leftLongAdsImgAltAry[4] = aBetterStay;
leftLongAdsImgAltAry[5] = "GSM unlocked cell phones, Free Shipping";
leftLongAdsImgAltAry[6] = "Find for Top Deals, Baby Care, Personal Care, Beauty, Home Medical and More Products at AmericaRx.com";
leftLongAdsImgAltAry[7] = "Artisteer - Web Design Generator";
leftLongAdsImgAltAry[8] = "Europe-Flight/Hotel Combo  ";
leftLongAdsImgAltAry[9] = "Combo-Flight/Hotel/Car";
leftLongAdsImgAltAry[10] = "Hotel-Generic";
leftLongAdsImgAltAry[11] = "Green Car (160x600)";
leftLongAdsImgAltAry[12] = "Free Shipping 160x600 Wd Skyscraper";
leftLongAdsImgAltAry[13] = "Rewards skyscraper ad";
leftLongAdsImgAltAry[14] = "Bidz, Inc.";
leftLongAdsImgAltAry[15] = "Bidz, Inc.";
leftLongAdsImgAltAry[16] = "Bidz, Inc.";
leftLongAdsImgAltAry[17] = "Bidz, Inc.";
leftLongAdsImgAltAry[18] = "Bidz, Inc.";
leftLongAdsImgAltAry[19] = "Bidz, Inc.";
leftLongAdsImgAltAry[20] = "Bidz, Inc.";
leftLongAdsImgAltAry[21] = "Billiards.com Wide Skyscraper 160x600 GIF";
leftLongAdsImgAltAry[22] = "Compusa (Systemax, Inc.)";
leftLongAdsImgAltAry[23] = "";




// rotate left long ad

var indexLLA = Math.floor(Math.random() * leftLongAdsHrefAry.length);
var leftLongAdHrefCntrl; // set where this control is declared in html markup = document.getElementById("leftLongAdHref");
var leftLongAdImgCntrl; // set where this control is declared in html markup = document.getElementById("leftLongAdImg");

function RotateLeftLongAds()
{
    indexLLA++;
    if(indexLLA >= leftLongAdsHrefAry.length)
    {
        indexLLA = 0;
    }
    
    leftLongAdHrefCntrl.href = leftLongAdsHrefAry[indexLLA];

    leftLongAdImgCntrl.src = leftLongAdsImgSrcAry[indexLLA];
    leftLongAdImgCntrl.alt = leftLongAdsImgAltAry[indexLLA];
    
    setTimeout("RotateLeftLongAds()", 90000);
}







var indexBBA = Math.floor(Math.random() * bBAH.length);
var bbAdHrefCntrl;
var bbAdImgCntrl; 

function Rotate()
{
    indexBBA++;
    if(indexBBA >= bBAH.length)
    {
        indexBBA = 0;
    }
    
    bbAdHrefCntrl.href = bBAH[indexBBA];

    bbAdImgCntrl.src = bbAISA[indexBBA];
    bbAdImgCntrl.alt = bbAIAA[indexBBA];
    
    setTimeout("Rotate()", 150000);
}