/* AD Space */ // Older version : Pre fader/slider /* function updateAds(reset) { if (document.adTimer != undefined) { clearTimeout(document.adTimer) } if (reset) { currentAd1 = -1; currentAd2 = -1; } var CT = document.currentTab; currentAd1 += 1; currentAd2 += 1; if (currentAd1 == adSpace.context[0][CT].length) { currentAd1 = 0 }; if (currentAd2 == adSpace.context[1][CT].length) { currentAd2 = 0 }; document.getElementById('adSpace1').innerHTML = adSpace.context[0][CT][currentAd1]; document.getElementById('adSpace2').innerHTML = adSpace.context[1][CT][currentAd2]; // First clear both of the innerHTML's //document.getElementById('adSpace1').innerHTML = ''; //document.getElementById('adSpace2').innerHTML = ''; //var adSpace1Link = document.createElement('a'); //var adSpace1Img = document.createElement('img'); //adSpace1Img.src = 'images/ads/guthyrenker1.jpg'; //adSpace1Img.setAttribute('border','0'); //adSpace1Link.appendChild(adSpace1Img); //adSpace1Link.setAttribute('href','http://www.example.com'); //adSpace1Link.setAttribute('target', '_blank'); //document.getElementById('adSpace1').appendChild(adSpace1Link); //document.adTimer = setTimeout("updateAds()", 5 * 1000); } */ function updateAds(reset) { var CT = document.currentTab; var html = ''; for(x=0;x"; } document.getElementById('adSpace1').innerHTML = html; html = ''; for(x=0;x"; } document.getElementById('adSpace2').innerHTML = html html = ''; if (adSpace.context[2][CT].length > 0) { html = ''; for(x=0;x"; } html += '
" + adSpace.context[2][CT][x] + "
'; document.getElementById('adSponsored').innerHTML = html; document.getElementById('adSponsoredContainer').style.display = ''; } else { document.getElementById('adSponsored').innerHTML = ''; document.getElementById('adSponsoredContainer').style.display = 'none'; } // Ok the asSpaces have been loaded with the content they need featuredcontentslider.settingcaches = {} featuredcontentslider.init({ id: "adSpace1", //id of main slider DIV contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"] toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc] nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide. revealtype: "mouseover", //Behavior of pagination links to reveal the slides: "click" or "mouseover" enablefade: [false, 1], //[true/false, fadedegree] autorotate: [true, 5000], //[true/false, pausetime] onChange: function(previndex, curindex){ //event handler fired whenever script changes slide //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc) //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc) } }) featuredcontentslider.init({ id: "adSpace2", //id of main slider DIV contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"] toc: "#increment", //Valid values: "#increment", "markup", ["label1", "label2", etc] nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to hide. revealtype: "mouseover", //Behavior of pagination links to reveal the slides: "click" or "mouseover" enablefade: [false, 1], //[true/false, fadedegree] autorotate: [true, 5000], //[true/false, pausetime] onChange: function(previndex, curindex){ //event handler fired whenever script changes slide //previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc) //curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc) } }) } var adSpace; /* 0 : Current Events 1 : Home Impro 2 : Consumer Elc 3 : Fit Health 4 : Health Insur 5 : Online Gaming 6 : Life 7 : Music/Movie 8 : Politics 9 : Watch List 10: Food and Beverages 11: Online Gambling 12: Sports */ adSpace = {"context":[{"menuTab0":["<\/a>

"],"menuTab9":["
\r\n\"Bid<\/a>
\r\n
"],"menuTab13":["
<\/a>
\r\n
"],"menuTab2":["
\"\"<\/a>"],"menuTab10":["\r\n\"3rd<\/a>"],"menuTab3":["<\/a>"],"menuTab4":["\r\n\"Choose<\/a>"],"menuTab1":["<\/a>","\r\n\"Same<\/a>"],"menuTab6":["\r\n\"Top<\/a>"],"menuTab7":["\r\n\"Rent<\/a>\r\n
\r\n
"],"menuTab11":["
\r\n\"Poker<\/a>
\r\n
"],"menuTab5":["
\r\n\"Video<\/a>
\r\n
"],"menuTab8":["
\r\n\"Newsweek<\/a>
\r\n
"],"menuTab12":["
\"\"<\/a>
\r\n
"]},{"menuTab0":["
<\/a>"],"menuTab9":["<\/a>"],"menuTab13":["\"\"<\/a>"],"menuTab2":["<\/a>"],"menuTab10":["\"\"<\/a>"],"menuTab3":["\"\"<\/a>","\"\"<\/a>"],"menuTab4":["\r\n\"Quote<\/a>"],"menuTab1":["<\/a>","\r\n\"Pink<\/a>"],"menuTab6":["\r\n\"OneTravel.com<\/a>"],"menuTab7":["\r\n\"\"<\/a>
\r\n
"],"menuTab11":["
\"\"<\/a>"],"menuTab5":["<\/a>"],"menuTab8":["\r\n\"Write<\/a>"],"menuTab12":["\"\"<\/a>"]},{"menuTab0":["Have a great photo? Put it on canvas for free! <\/a>"],"menuTab9":["Find out how you could receive the next generation Apple iPhone on us!<\/a>"],"menuTab13":["Save 50% or More on Auto Insurance<\/a>","Get Free Price Quotes from Local Dealers<\/a>"],"menuTab2":["Get the latest technology - the Apple iPad! <\/a>"],"menuTab10":["Orgreenic Kitchenware Get healthy with natural ceramic non-stick cookware.<\/a>"],"menuTab3":["Burn up to 60% of your body fat with CHALEAN EXTREME workout system<\/a>"],"menuTab4":["Make the right move for your finances<\/a>"],"menuTab1":["Request 3 siding estimates in just 20 seconds<\/a>"],"menuTab6":["Get 2 Southwest Airlines tickets on us<\/a>"],"menuTab7":["DISH Network: FREE Upgrade to HD DVR <\/a>"],"menuTab11":["Claim your free 500!<\/a>"],"menuTab5":["Come to BidCactus.com<\/a>"],"menuTab8":["WSJ.com now only $1.99 a week<\/a>"],"menuTab12":["Are you sick and tired of looking at your old set of clubs?<\/a>"]}]}; document.currentTab = 'menuTab0'; var currentAd1 = -1; var currentAd2 = -1; /* END AD Space */