/*************************** 
File generated by Scriptalizer.com
DateTime: Thursday, December 31, 2009 5:12:42 PM CST

File list:
	anylinkcssmenu.js
	banners.min.js
*****************************/
if(typeof dd_domreadycheck=="undefined"){var dd_domreadycheck=false}var anylinkcssmenu={menusmap:{},preloadimages:[],effects:{delayhide:200,shadow:{enabled:true,opacity:0.3,depth:[5,5]},fade:{enabled:true,duration:500}},dimensions:{},getoffset:function(b,a){return(b.offsetParent)?b[a]+this.getoffset(b.offsetParent,a):b[a]},getoffsetof:function(a){a._offsets={left:this.getoffset(a,"offsetLeft"),top:this.getoffset(a,"offsetTop"),h:a.offsetHeight}},getdimensions:function(a){this.dimensions={anchorw:a.anchorobj.offsetWidth,anchorh:a.anchorobj.offsetHeight,docwidth:(window.innerWidth||this.standardbody.clientWidth)-20,docheight:(window.innerHeight||this.standardbody.clientHeight)-15,docscrollx:window.pageXOffset||this.standardbody.scrollLeft,docscrolly:window.pageYOffset||this.standardbody.scrollTop};if(!this.dimensions.dropmenuw){this.dimensions.dropmenuw=a.dropmenu.offsetWidth;this.dimensions.dropmenuh=a.dropmenu.offsetHeight}},isContained:function(a,b){var b=window.event||b;var d=b.relatedTarget||((b.type=="mouseover")?b.fromElement:b.toElement);while(d&&d!=a){try{d=d.parentNode}catch(b){d=a}}if(d==a){return true}else{return false}},setopacity:function(a,b){a.style.opacity=b;if(typeof a.style.opacity!="string"){a.style.MozOpacity=b;if(a.filters){a.style.filter="progid:DXImageTransform.Microsoft.alpha(opacity="+b*100+")"}}},showmenu:function(b){var c=anylinkcssmenu.menusmap[b];clearTimeout(c.hidetimer);this.getoffsetof(c.anchorobj);this.getdimensions(c);var a=c.anchorobj._offsets.left+(c.orientation=="lr"?this.dimensions.anchorw:0);var d=c.anchorobj._offsets.top+this.dimensions.anchorh-(c.orientation=="lr"?this.dimensions.anchorh:0);if(a+this.dimensions.dropmenuw+this.effects.shadow.depth[0]>this.dimensions.docscrollx+this.dimensions.docwidth){a=a-this.dimensions.dropmenuw+(c.orientation=="lr"?-this.dimensions.anchorw:this.dimensions.anchorw)}if(d+this.dimensions.dropmenuh>this.dimensions.docscrolly+this.dimensions.docheight){d=Math.max(d-this.dimensions.dropmenuh-(c.orientation=="lr"?-this.dimensions.anchorh:this.dimensions.anchorh),this.dimensions.docscrolly)}if(this.effects.fade.enabled){this.setopacity(c.dropmenu,0);if(this.effects.shadow.enabled){this.setopacity(c.shadow,0)}}c.dropmenu.setcss({left:a+"px",top:d+"px",visibility:"visible"});if(this.effects.shadow.enabled){c.shadow.setcss({left:a+anylinkcssmenu.effects.shadow.depth[0]+"px",top:d+anylinkcssmenu.effects.shadow.depth[1]+"px",visibility:"visible"})}if(this.effects.fade.enabled){clearInterval(c.animatetimer);c.curanimatedegree=0;c.starttime=new Date().getTime();c.animatetimer=setInterval(function(){anylinkcssmenu.revealmenu(b)},20)}},revealmenu:function(b){var c=anylinkcssmenu.menusmap[b];var a=new Date().getTime()-c.starttime;if(a<this.effects.fade.duration){this.setopacity(c.dropmenu,c.curanimatedegree);if(this.effects.shadow.enabled){this.setopacity(c.shadow,c.curanimatedegree*this.effects.shadow.opacity)}}else{clearInterval(c.animatetimer);this.setopacity(c.dropmenu,1);c.dropmenu.style.filter=""}c.curanimatedegree=(1-Math.cos((a/this.effects.fade.duration)*Math.PI))/2},setcss:function(a){for(prop in a){this.style[prop]=a[prop]}},setcssclass:function(b,a,c){var d=new RegExp("(^|\\s+)"+a+"($|\\s+)","ig");if(c=="check"){return d.test(b.className)}else{if(c=="remove"){b.className=b.className.replace(d,"")}else{if(c=="add"&&!d.test(b.className)){b.className+=" "+a}}}},hidemenu:function(a){var b=anylinkcssmenu.menusmap[a];clearInterval(b.animatetimer);b.dropmenu.setcss({visibility:"hidden",left:0,top:0});b.shadow.setcss({visibility:"hidden",left:0,top:0})},getElementsByClass:function(a){if(document.querySelectorAll){return document.querySelectorAll("."+a)}else{var e=new RegExp("(^|\\s+)"+a+"($|\\s+)","i");var d=[];var c=document.all?document.all:document.getElementsByTagName("*");for(var b=0;b<c.length;b++){if(typeof c[b].className=="string"&&c[b].className.search(e)!=-1){d[d.length]=c[b]}}return d}},addEvent:function(a,d,b){if(a.length>0){var c=a.shift();if(c.addEventListener){c.addEventListener(b,d,false)}else{if(c.attachEvent){c.attachEvent("on"+b,function(){return d.call(c,window.event)})}}this.addEvent(a,d,b)}},domready:function(a){if(dd_domreadycheck){a();return}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);a();dd_domreadycheck=true},false)}else{if(document.attachEvent){if(document.documentElement.doScroll&&window==window.top){(function(){if(dd_domreadycheck){return}try{document.documentElement.doScroll("left")}catch(b){setTimeout(arguments.callee,0);return}a();dd_domreadycheck=true})()}}}if(document.attachEvent&&parent.length>0){this.addEvent(window,function(){a()},"load")}},addState:function(a,b){if(a.getAttribute("data-image")){var c=(a.tagName=="IMG")?a:a.getElementsByTagName("img")[0];if(c){c.src=(b=="add")?a.getAttribute("data-overimage"):a.getAttribute("data-image")}}else{anylinkcssmenu.setcssclass(a,"selectedanchor",b)}},setupmenu:function(b,d,f){this.standardbody=(document.compatMode=="CSS1Compat")?document.documentElement:document.body;var c=d.getAttribute("rel");var a=c.replace(/\[(\w+)\]/,"");var e=this.menusmap[b+f]={id:b+f,anchorobj:d,dropmenu:document.getElementById(a),revealtype:(c.length!=a.length&&RegExp.$1=="click")?"click":"mouseover",orientation:d.getAttribute("rev")=="lr"?"lr":"ud",shadow:document.createElement("div")};e.anchorobj._internalID=b+f;e.anchorobj._isanchor=true;e.dropmenu._internalID=b+f;e.shadow._internalID=b+f;e.shadow.className="anylinkshadow";document.body.appendChild(e.dropmenu);document.body.appendChild(e.shadow);e.dropmenu.setcss=this.setcss;e.shadow.setcss=this.setcss;e.shadow.setcss({width:e.dropmenu.offsetWidth+"px",height:e.dropmenu.offsetHeight+"px"});this.setopacity(e.shadow,this.effects.shadow.opacity);this.addEvent([e.anchorobj,e.dropmenu,e.shadow],function(g){var h=anylinkcssmenu.menusmap[this._internalID];if(this._isanchor&&h.revealtype=="mouseover"&&!anylinkcssmenu.isContained(this,g)){anylinkcssmenu.showmenu(h.id);anylinkcssmenu.addState(this,"add")}else{if(typeof this._isanchor=="undefined"){clearTimeout(h.hidetimer)}}},"mouseover");this.addEvent([e.anchorobj,e.dropmenu,e.shadow],function(g){if(!anylinkcssmenu.isContained(this,g)){var h=anylinkcssmenu.menusmap[this._internalID];h.hidetimer=setTimeout(function(){anylinkcssmenu.addState(h.anchorobj,"remove");anylinkcssmenu.hidemenu(h.id)},anylinkcssmenu.effects.delayhide)}},"mouseout");this.addEvent([e.anchorobj,e.dropmenu],function(g){var h=anylinkcssmenu.menusmap[this._internalID];if(this._isanchor&&h.revealtype=="click"){if(h.dropmenu.style.visibility=="visible"){anylinkcssmenu.hidemenu(h.id)}else{anylinkcssmenu.addState(this,"add");anylinkcssmenu.showmenu(h.id)}if(g.preventDefault){g.preventDefault()}return false}else{h.hidetimer=setTimeout(function(){anylinkcssmenu.hidemenu(h.id)},anylinkcssmenu.effects.delayhide)}},"click")},init:function(a){this.domready(function(){anylinkcssmenu.trueinit(a)})},trueinit:function(a){var d=this.getElementsByClass(a);var b=this.preloadimages;for(var c=0;c<d.length;c++){if(d[c].getAttribute("data-image")){b[b.length]=new Image();b[b.length-1].src=d[c].getAttribute("data-image")}if(d[c].getAttribute("data-overimage")){b[b.length]=new Image();b[b.length-1].src=d[c].getAttribute("data-overimage")}this.setupmenu(a,d[c],c)}}};var settings={force_size:0,img_width:468,img_height:60,refresh_time:0,refresh_max:100,duplicate_banners:0,location_prefix:"adLocation-",location_class:"swb",window:"_top",default_ad_loc:"default"};var banners=[new banner("Vote for The Vampire Diaries in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011tvd.png","10/04/2019","tca"),new banner("Vote for Michael Trevino in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011michaelst.png","10/04/2019","tca"),new banner("Vote for Kat Graham in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011katst.png","10/04/2019","tca"),new banner("Vote for Joseph Morgan in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011josephvillian.png","10/04/2019","tca"),new banner("Vote for Paul Wesley in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011paulactor.png","10/04/2019","tca"),new banner("Vote for Nina Dobrev in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011ninaactress.png","10/04/2019","tca"),new banner("Vote for Nina Dobrev in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011ninahottie.png","10/04/2019","tca"),new banner("Vote for Ian Somerhalder in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011ianactor.png","10/04/2019","tca"),new banner("Vote for Ian Somerhalder in the Teen Choice Awards 2011!","http://www.teenchoiceawards.com/index.html","/altad/tca2011ianhottie.png","10/04/2019","tca"),new banner("Watch the Vampire Diaries online","http://www.amazon.com/gp/product/B002T3OWQ4?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002T3OWQ4","/altad/tvdamazon1.gif","10/04/2019","big"),new banner("Watch the Vampire Diaries online","http://www.amazon.com/gp/product/B002T3OWQ4?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002T3OWQ4","/altad/tvdamazon2.gif","10/04/2019","big"),new banner("Watch the Vampire Diaries online","http://www.amazon.com/gp/product/B002T3OWQ4?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002T3OWQ4","/altad/tvdamazon3.gif","10/04/2019","big"),new banner("Watch the Vampire Diaries online","http://www.amazon.com/gp/product/B002T3OWQ4?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B002T3OWQ4","/altad/tvdamazon4.gif","10/04/2019","big"),new banner("Dead Duck T-shirt by Redscape","http://www.zazzle.com/dead_duck_tshirt-235426738308732469?gl=redscape","/altad/deadduckbabydoll.png","10/04/2019","small"),new banner("Fruithol Strawberry T-shirt by Redscape","http://www.zazzle.com/fruithol_strawberry_tshirt-235650676908011496?gl=redscape","/altad/fruithol.png","10/04/2019","small"),new banner("Star T-shirt by Redscape","http://www.zazzle.com/star_tshirt-235490018790439764?gl=redscape","/altad/redscapestar.png","10/04/2019","small"),new banner("Dead Duck Button by Redscape","http://www.zazzle.com/dead_duck_button-145434042433465683?gl=redscape","/altad/deadduckbadge.png","10/04/2019","small"),new banner("Rainbow Stars Button by Redscape","http://www.zazzle.com/rainbow_stars_button-145466888462346164?gl=redscape","/altad/rainbowstars.png","10/04/2019","small"),new banner("Fractal Cauliflower Mousepad by Redscape","http://www.zazzle.com/fractal_cauliflower_mousepad-144076486780064636?gl=redscape","/altad/fractal.png","10/04/2019","small"),new banner("Bellflower Mousepad by Redscape","http://www.zazzle.com/serbian_bellflower_version_two_mousepad-144507670487610313?gl=redscape","/altad/bellflower.png","10/04/2019","small"),new banner("Evernight by Claudia Gray","http://www.amazon.com/gp/product/0061284440?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0061284440","/altad/evernight.gif","10/04/2019","small"),new banner("The Demon’s Lexicon by Sarah Rees Brennan","The Demons Lexicon","/altad/demlex.gif","10/04/2019","small"),new banner("Sea by Heidi R. Kling","http://www.amazon.com/gp/product/0399251634?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0399251634","/altad/seahrk.gif","10/04/2019","small"),new banner("Paranormalcy by Kiersten White","http://www.amazon.com/gp/product/0061985848?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0061985848","/altad/paranormalcy.gif","10/04/2019","small"),new banner("http://www.amazon.com/gp/product/1606840576?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1606840576 by Bree DeSpain","X","/altad/darkdivine.gif","10/04/2019","small"),new banner("Raised By Wolves by Jennifer Lynn Barnes","http://www.amazon.com/gp/product/1606840592?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1606840592","/altad/raisedbywolves.gif","10/04/2019","small"),new banner("Hearts at Stake by Alyx Harvey","http://www.amazon.com/gp/product/0802798403?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0802798403","/altad/heartsatstake.gif","10/04/2019","small"),new banner("Website Hosting with Hostgator","http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=tvdnet","/altad/hostgator1.gif","10/04/2019","small"),new banner("Website Hosting with Hostgator","http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=tvdnet","/altad/hostgator2.gif","10/04/2019","small"),new banner("Buy a Kindle","http://www.amazon.com/gp/product/B00154JDAI?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00154JDAI","/altad/kindle.jpg","10/04/2019","small"),new banner("Buy Supernatural Season 1","http://www.amazon.com/gp/product/B000FP2OPY?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000FP2OPY","/altad/spn1.jpg","10/04/2019","small"),new banner("Buy Supernatural Season 2","http://www.amazon.com/gp/product/B000R7GKQE?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000R7GKQE","/altad/spn2.jpg","10/04/2019","small"),new banner("Buy Supernatural Season 3","http://www.amazon.com/gp/product/B000X5SPBI?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000X5SPBI","/altad/spn3.jpg","10/04/2019","small"),new banner("Buy Supernatural Season 4","http://www.amazon.com/gp/product/B001FB4W0C?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001FB4W0C","/altad/spn4.jpg","10/04/2019","small"),new banner("Buy True Blood Season 1","http://www.amazon.com/gp/product/B001FB4W0W?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001FB4W0W","/altad/tb1.jpg","10/04/2019","small"),new banner("Buy True Blood Season 2","http://www.amazon.com/gp/product/B00280LZAE?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00280LZAE","/altad/tb2.jpg","10/04/2019","small"),new banner("Buy Moonlight","http://www.amazon.com/gp/product/B000WFW12S?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000WFW12S","/altad/moonlight.jpg","10/04/2019","small"),new banner("Buy The Southern Vampire series","http://www.amazon.com/gp/product/0441018238?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0441018238","/altad/sookie.jpg","10/04/2019","small"),new banner("Buy Wicked Lovely","http://www.amazon.com/gp/product/0061214671?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0061214671","/altad/wickedlovely.jpg","10/04/2019","small"),new banner("Buy Beautiful Creatures","http://www.amazon.com/gp/product/0316042676?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0316042676","/altad/beautifulcreatures.jpg","10/04/2019","small"),new banner("Buy the House of Night Collection","http://www.amazon.com/gp/product/0312372132?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0312372132","/altad/hon.jpg","10/04/2019","small"),new banner("Buy the Vampire Academy collection","http://www.amazon.com/gp/product/1595142711?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1595142711","/altad/vampac.jpg","10/04/2019","small"),new banner("Buy Blood Ties on DVD","http://www.amazon.com/gp/product/B001UGJUSG?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001UGJUSG","/altad/bloodtiestv.jpg","10/04/2019","small"),new banner("Buy Forever Knight","http://www.amazon.com/gp/product/B0000C23T1?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B0000C23T1","/altad/foreverknight.jpg","10/04/2019","small"),new banner("Buy Kindred The Embraced","http://www.amazon.com/gp/product/630589941X?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=630589941X","/altad/kindred.jpg","10/04/2019","small"),new banner("Buy Hex","http://www.amazon.com/gp/product/B000OIOOVY?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000OIOOVY","/altad/hex.jpg","10/04/2019","small"),new banner("Buy Angel Seasons 1-5","http://www.amazon.com/gp/product/B000TLTCU4?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000TLTCU4","/altad/angel.jpg","10/04/2019","small"),new banner("Buy Buffy the Vampire Slayer, Complete Collection","http://www.amazon.com/gp/product/B000AQ68RI?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000AQ68RI","/altad/buffy.jpg","10/04/2019","small"),new banner("Buy Ultraviolet","http://www.amazon.com/gp/product/B00005KA70?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00005KA70","/altad/ultraviolet.jpg","10/04/2019","small"),new banner("Buy Twilight the Movie","http://www.amazon.com/gp/product/B001P5HRMI?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B001P5HRMI","/altad/twilightmovie.jpg","10/04/2019","small"),new banner("Buy Twilight","http://www.amazon.com/gp/product/0316015849?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0316015849","/altad/twilightbook.jpg","10/04/2019","small"),new banner("Buy Morganville Vampires - Glass Houses","http://www.amazon.com/gp/product/0451219945?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0451219945","/altad/mvamps.jpg","10/04/2019","small"),new banner("Buy Ghost Whisperer","http://www.amazon.com/gp/product/B000GG4Y28?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000GG4Y28","/altad/ghostwhisperer.jpg","10/04/2019","small"),new banner("Buy Kyle XY","http://www.amazon.com/gp/product/B000NOKFGW?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000NOKFGW","/altad/kylexy.jpg","10/04/2019","small"),new banner("Buy Dawsons Creek","http://www.amazon.com/gp/product/B00008AOX3?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00008AOX3","/altad/dawsonscreek.jpg","10/04/2019","small"),new banner("Buy Dexter","http://www.amazon.com/gp/product/B000Q6GUW0?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000Q6GUW0","/altad/dexter.jpg","10/04/2019","small"),new banner("Buy The Vampire Chronicles","http://www.amazon.com/gp/product/0345385403?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0345385403","/altad/iwtvbook.jpg","10/04/2019","small"),new banner("Buy Interview with the Vampire","http://www.amazon.com/gp/product/B00004RFFS?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00004RFFS","/altad/iwtvdvd.jpg","10/04/2019","small"),new banner("Buy Dracula","http://www.amazon.com/gp/product/B000TGJ80S?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B000TGJ80S","/altad/draculadvd.jpg","10/04/2019","small"),new banner("Buy Dracula","http://www.amazon.com/gp/product/0743477367?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0743477367","/altad/draculabook.jpg","10/04/2019","small"),new banner("Buy Companions of the Night","http://www.amazon.com/gp/product/0152166696?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0152166696","/altad/cotn.jpg","10/04/2019","small"),new banner("Buy the Black Dagger Brotherhood","http://www.amazon.com/gp/product/0451947630?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0451947630","/altad/bdb.jpg","10/04/2019","small"),new banner("Buy The Vampire Book - The Encyclopedia of the Undead","http://www.amazon.com/gp/product/157859071X?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=157859071X","/altad/vampenc.jpg","10/04/2019","small"),new banner("Buy The Lost Boys","http://www.amazon.com/gp/product/B00027JZ3E?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=B00027JZ3E","/altad/lostboys.jpg","10/04/2019","small"),new banner("Buy Blood and Chocolate","http://www.amazon.com/gp/product/0385734212?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0385734212","/altad/bandc.jpg","10/04/2019","small"),new banner("Buy Clockwork Angel","http://www.amazon.com/gp/product/1416975861/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416975861","/altad/clockworkangel.jpg","10/04/2019","small"),new banner("Buy City of Bones","http://www.amazon.com/gp/product/1416955070/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416955070","/altad/cityofbones.jpg","10/04/2019","small"),new banner("Buy City of Ashes","http://www.amazon.com/gp/product/1416972242/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416972242","/altad/cityofashes.jpg","10/04/2019","small"),new banner("Buy City of Glass","http://www.amazon.com/gp/product/1416972250/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416972250","/altad/cityofglass.jpg","10/04/2019","small"),new banner("Buy City of Fallen Angels","http://www.amazon.com/gp/product/1406328677/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1406328677","/altad/cityoffallenangels.jpg","10/04/2019","small"),new banner("Buy The Eternal Kiss","http://www.amazon.com/gp/product/0762437170/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0762437170","/altad/theeternalkiss.jpg","10/04/2019","small"),new banner("Buy Immortal: Love Stories With Bite","http://www.amazon.com/gp/product/1933771925/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1933771925","/altad/immortallovestorieswithbite.jpg","10/04/2019","small"),new banner("Buy Eternal: More Love Stories with Bite","http://www.amazon.com/gp/product/1935618016/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1935618016","/altad/eternalmorelovestorieswithbite.jpg","10/04/2019","small"),new banner("Buy Stargazer","http://www.amazon.com/gp/product/B004NSVEKA/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B004NSVEKA","/altad/stargazer.jpg","10/04/2019","small"),new banner("Buy Hourglass","http://www.amazon.com/gp/product/0061284483/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0061284483","/altad/hourglass.jpg","10/04/2019","small"),new banner("Buy Afterlife","http://www.amazon.com/gp/product/0061284424/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0061284424","/altad/afterlife.jpg","10/04/2019","small"),new banner("Buy Graveminder","http://www.amazon.com/gp/product/0061826871/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0061826871","/altad/graveminder.jpg","10/04/2019","small"),new banner("Buy Ink Exchange","http://www.amazon.com/gp/product/0061214701/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0061214701","/altad/inkexchange.jpg","10/04/2019","small"),new banner("Buy Fragile Eternity","http://www.amazon.com/gp/product/B004P5ONXG/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B004P5ONXG","/altad/fragileeternity.jpg","10/04/2019","small"),new banner("Buy Radiant Shadows","http://www.amazon.com/gp/product/006165924X/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=006165924X","/altad/radiantshadows.jpg","10/04/2019","small"),new banner("Buy Darkest Mercy","http://www.amazon.com/gp/product/0061659258/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0061659258","/altad/darkestmercy.jpg","10/04/2019","small"),new banner("Buy The Deomons Covenant","http://www.amazon.com/gp/product/1416963820/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416963820","/altad/demonscovenant.jpg","10/04/2019","small"),new banner("Buy The Demon's Surrender","http://www.amazon.com/gp/product/1416963839/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416963839","/altad/demonssurrender.jpg","10/04/2019","small"),new banner("Buy The Humger Games Trilogy","http://www.amazon.com/gp/product/0545265355/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0545265355","/altad/hungergamestrilogy.jpg","10/04/2019","small"),new banner("Buy The Hunger Games","http://www.amazon.com/gp/product/0439023521/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0439023521","/altad/hungergames.jpg","10/04/2019","small"),new banner("Buy Catching Fire","http://www.amazon.com/gp/product/0439023491/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0439023491","/altad/catchingfire.jpg","10/04/2019","small"),new banner("Buy Mockingjay","http://www.amazon.com/gp/product/0439023513/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0439023513","/altad/mockingjay.jpg","10/04/2019","small"),new banner("Buy The Secret Circle Part 1","http://www.amazon.com/gp/product/0061670855/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0061670855","/altad/secretcircle1.jpg","10/04/2019","small"),new banner("Buy The Secret Circle Part 2","http://www.amazon.com/gp/product/0061671355/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0061671355","/altad/secretcircle2.jpg","10/04/2019","small"),new banner("Buy Nightlife","http://www.amazon.com/gp/product/0451460758/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0451460758","/altad/nightlife.jpg","10/04/2019","small"),new banner("Buy Moonshine","http://www.amazon.com/gp/product/0451461398/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0451461398","/altad/moonshine.jpg","10/04/2019","small"),new banner("Buy Madhouse","http://www.amazon.com/gp/product/0451461967/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0451461967","/altad/madhouse.jpg","10/04/2019","small"),new banner("Buy Deathwish","http://www.amazon.com/gp/product/0451462629/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0451462629","/altad/deathwish.jpg","10/04/2019","small"),new banner("Buy Roadkill","http://www.amazon.com/gp/product/0451463196/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0451463196","/altad/roadkill.jpg","10/04/2019","small"),new banner("Buy Blackout","http://www.amazon.com/gp/product/0451463862/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0451463862","/altad/blackout.jpg","10/04/2019","small"),new banner("Buy Queen of Shadows","http://www.amazon.com/gp/product/0441019250/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0441019250","/altad/queenofshadows.jpg","10/04/2019","small"),new banner("Buy Shadowflame","http://www.amazon.com/gp/product/0441020658/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=0441020658","/altad/shadowflame.jpg","10/04/2019","small"),new banner("Buy Supernatural Season 5","http://www.amazon.com/gp/product/B002JVWRAO/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B002JVWRAO","/altad/spn5.jpg","10/04/2019","small"),new banner("Buy Supernatural Season 6","http://www.amazon.com/gp/product/B003L77GGK/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B003L77GGK","/altad/spn6.jpg","10/04/2019","small"),new banner("Buy Haven Season 1","http://www.amazon.com/gp/product/B004SMDJ9U/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B004SMDJ9U","/altad/haven.jpg","10/04/2019","small"),new banner("Buy Being Human Series 1","http://www.amazon.com/gp/product/B003IMERF6/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B003IMERF6","/altad/beinghuman1.jpg","10/04/2019","small"),new banner("Buy Being Human Series 2","http://www.amazon.com/gp/product/B003WEAW2C/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B003WEAW2C","/altad/beinghuman2.jpg","10/04/2019","small"),new banner("Buy Being Human Series 3","http://www.amazon.com/gp/product/B004R35DLW/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B004R35DLW","/altad/beinghuman3.jpg","10/04/2019","small"),new banner("Buy Dark Visions","http://www.amazon.com/gp/product/B004TE793Y/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B004TE793Y","/altad/darkvisions.jpg","10/04/2019","small"),new banner("Buy The Forbidden Game","http://www.amazon.com/gp/product/1416989404/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416989404","/altad/forbiddengame.jpg","10/04/2019","small"),new banner("Buy The Night of the Solstice","http://www.amazon.com/gp/product/1416998403/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416998403","/altad/nots.jpg","10/04/2019","small"),new banner("Buy Heart of Valor","http://www.amazon.com/gp/product/1416998411/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416998411","/altad/hov.jpg","10/04/2019","small"),new banner("Buy Night World Volume 1","http://www.amazon.com/gp/product/1416974504/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416974504","/altad/nwv1.jpg","10/04/2019","small"),new banner("Buy Night World Volume 2","http://www.amazon.com/gp/product/1416974512/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1416974512","/altad/nwv2.jpg","10/04/2019","small"),new banner("Buy Night World Volume 3","http://www.amazon.com/gp/product/B003R4ZH5E/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B003R4ZH5E","/altad/nwv3.jpg","10/04/2019","small"),new banner("Buy Hush, Hush","http://www.amazon.com/gp/product/B004TE6GCO/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B004TE6GCO","/altad/hushhush.jpg","10/04/2019","small"),new banner("Buy The Fallen","http://www.amazon.com/gp/product/1442408626/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1442408626","/altad/thefallen.jpg","10/04/2019","small"),new banner("Buy Fallen","http://www.amazon.com/gp/product/B0038MUZ3E/ref=as_li_ss_tl?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=B0038MUZ3E","/altad/fallen.jpg","10/04/2019","small"),new banner("Buy The Silver Kiss","http://www.amazon.com/gp/product/0375857826?ie=UTF8&tag=vampirediarie-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=0375857826","/altad/silverkiss.jpg","10/04/2019","small")];var used=0;var location_counter=0;var refresh_counter=1;var map=new Array();function banner(g,f,l,k,h){this.name=g;this.url=f;this.image=l;this.date=k;this.active=1;this.oid=0;if(h!=""){this.loc=h}else{this.loc=settings.default_ad_loc}}function show_banners(d){location_counter=location_counter+1;if(d!=""&&d!=undefined){map[location_counter]=d}else{map[location_counter]=settings.default_ad_loc}var c='<div id="'+settings.location_prefix+location_counter+'" class="'+settings.location_class+'"></div>';document.write(c);display_banners(location_counter)}function display_banners(w){var v=new Array();if(w==""||!w||w<0){return}var u=banners.length;if((u==used)&&settings.duplicate_banners==0){return}for(i=0;i<(banners.length);i++){banners[i].oid=i;if((banners[i].loc==map[w])&&(banners[i].active==1)){v.push(banners[i])}}var t=Math.floor(Math.random()*v.length);var s=v[t];var r=(settings.force_size==1)?' width="'+settings.img_width+'" height="'+settings.img_height+'"':"";var q='<a href="'+s.url+'" title="'+s.name+'" target="'+settings.window+'"><img border="0" src="'+s.image+'"'+r+' alt="'+s.name+'" /></a>';var p=new Date();var o=s.date;o=o.split("/",3);var n=new Date();n.setFullYear(parseInt(o[2]),parseInt(o[1])-1,parseInt(o[0]));if((p<n)&&s.active==1){var m=document.getElementById(settings.location_prefix+w);if(m==null){alert("spyka Webmaster banner rotator\nError: adLocation doesn't exist!")}else{m.innerHTML=q;if(settings.duplicate_banners==0){banners[s.oid].active=0;used++}return}}else{display_banners(w)}return}function refresh_banners(){if((refresh_counter==settings.refresh_max)||settings.refresh_time<1){clearInterval(banner_refresh)}used=0;for(j=0;j<(banners.length);j++){banners[j].active=1}for(j=1;j<(location_counter+1);j++){display_banners(j)}refresh_counter++}var banner_refresh=window.setInterval(refresh_banners,settings.refresh_time);

