You are on page 1of 1

var _bsa={rocks:function(t,b,z){var u=this.gen('_bsau',30),s=this.

gen('_bsas',1/
2),img=new Image();img.src='http://stats.buysellads.com/'+t+'.gif?z='+z+'&b='+b+
'&g='+u+'&s='+s+'&sw='+screen.width+'&sh='+screen.height+'&br='+this.br()+'&r='+
Math.random()},br:function(){var a=navigator.userAgent,p=navigator.platform,m=fu
nction(r,h){for(var i=0;i<h.length;i++)r=r.replace(h[i][0],h[i][1]);return r},i=
(a.match(/Opera|Navigator|Minefield|KHTML|Chrome/)?m(a,[[/(Firefox|MSIE|KHTML,\s
like\sGecko|Konqueror)/,''],['Chrome Safari','Chrome'],['Minefield','Firefox']])
:a).toLowerCase();return[(/(camino|chrome|firefox|opera|msie|safari)/.exec(i)||[
'','?'])[1],parseFloat((/(camino|chrome|firefox|opera|msie|safari)(\/|\s)([a-z09\.\+]*?)(\;|dev|rel|\s|$)/.exec(i)||[0,0,0,0])[3],10)||0,(/(win|mac|linux|iphon
e|blackberry|pike)/.exec(p.toLowerCase())||['?'])[0]]},gen:function(w,e){var c=d
ocument.cookie,i=c.indexOf(w+'=');if(i>=0)return c.substring(i+w.length+1).split
(';')[0];else{var d=new Date(),nd=+d;d.setTime(e*3600000+nd);document.cookie=w+'
='+(nd+Math.random().toString().substr(2,7))+'; expires='+d.toGMTString()+'; pat
h=/';return-1}}};function bsa1241932(ShowAdHereBanner,BannerStyles,Vertical,Repe
atAll,NoFollowAll){var ads=new Array();var Width="260";var Height="125";var numA
ds=1;var totalAds=ads.length;var SiteID=108;var output1241932="";var track='';ou
tput1241932+=showStyles(BannerStyles1241932,"adblock",Width,Height,Vertical12419
32);if(totalAds>0){if(numAds<totalAds){var AdSet=build_ad_array(totalAds);if(Wid
th!="16"){shuffle(ads)}for(i=0;i<numAds;i++){track+=ads[i][0]+';';output1241932+
=ad_output(ads,AdSet[i],Width,Height,NoFollowAll1241932)}}else{var AdSet=build_a
d_array(totalAds);if(Width!="16"){shuffle(ads)}for(i=0;i<totalAds;i++){track+=ad
s[i][0]+';';output1241932+=ad_output(ads,AdSet[i],Width,Height,NoFollowAll124193
2)}}}if(((totalAds==0)||(totalAds<numAds))&&(ShowAdHereBanner==true)){if(RepeatA
ll1241932==false){var NumAdHeres=1}else{var NumAdHeres=numAds-totalAds}for(i=0;i
<NumAdHeres;i++){output1241932+='<a href="http://buysellads.com/buy/detail/'+Sit
eID+'" title="Advertise Here" id="bsa_'+SiteID+'000" class="adhere"';if(NoFollow
All1241932==true){output1241932+=' rel="nofollow"'}output1241932+=' target="_bla
nk">Advertise Here</a>'}}var r=Math.random();var t=new Date();document.write("<d
iv id=\"bsaz_1241932\" class=\"adblock\">"+output1241932+"</div>");_bsa.rocks('i
mp',track,1241932)}bsa1241932(ShowAdHereBanner1241932,BannerStyles1241932,Vertic
al1241932,RepeatAll1241932,NoFollowAll1241932);function shuffle(myArray){var i=m
yArray.length;if(i==0)return false;while(--i){var j=Math.floor(Math.random()*(i+
1));var tempi=myArray[i];var tempj=myArray[j];myArray[i]=tempj;myArray[j]=tempi}
}function build_ad_array(totalAds){var rand=Math.floor(Math.random()*totalAds+1)
;var adArray=new Array();for(i=0;i<totalAds;i++){adArray[i]=i}return adArray}fun
ction ad_output(ads,i,Width,Height,NoFollowAll){var Ad_Output='<a href="'+ads[i]
[2]+'" onclick="_bsa.rocks(\'click\','+ads[i][0]+',1241932)" title="'+ads[i][3]+
'" id="bsa_'+ads[i][0]+'" target="_blank"';if((ads[i][5]==1)||(NoFollowAll124193
2==true)){Ad_Output+=' rel="nofollow"'}Ad_Output+='><img src="'+ads[i][1]+'" wid
th="'+Width+'" height="'+Height+'" alt="'+ads[i][3]+'"';Ad_Output+='/></a>';retu
rn Ad_Output}function showStyles(BannerStyles,StyleID,Width,Height,Vertical){sty
leCode="";var newWidth=Width-2;var newHeight=Height-2;if(Vertical==false){var Bl
ockWidth="100%"}else{var BlockWidth=Width+"px"}styleCode+="<style type=text/css>
";styleCode+="div#bsaz_1241932."+StyleID+" {width:"+BlockWidth+";display:block;}
";styleCode+=" div#bsaz_1241932."+StyleID+" a{width:"+Width+"px;} div#bsaz_12419
32."+StyleID+" a img{padding:0;} div#bsaz_1241932."+StyleID+" a em{font-style:no
rmal;}";for(i=0;i<BannerStyles.length;i++){styleCode+=" div#bsaz_1241932."+Style
ID+" "+BannerStyles[i]}if(Vertical==true){styleCode+=" div#bsaz_1241932."+StyleI
D+" a{margin-right:0;}"}if(Width<"100"){styleCode+="div#bsaz_1241932."+StyleID+"
a em{display:block;text-indent:-9000px;} div#bsaz_1241932."+StyleID+" a{height:
"+Height+";line-height:0;} div#bsaz_1241932."+StyleID+" a.adhere{font-size:0;}"}
styleCode+=" div#bsaz_1241932."+StyleID+" a.adhere{width:"+Width+"px;height:"+He
ight+"px;line-height:"+Height*8+"%;}";styleCode+=" html>body div#bsaz_1241932."+
StyleID+" a.adhere{width:"+newWidth+"px;height:"+newHeight+"px;} div#bsaz_124193
2."+StyleID+" img.s{height:0;width:0;}</style>";return styleCode}

You might also like