Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

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 bsa2325(ShowAdHereBanner,BannerStyles,Vertical,RepeatA
ll,NoFollowAll){var ads=new Array(
[6809,"http://s3.buysellads.com/2325/6f2
a72ce2a24589fd126c786b79adaf0-1243376058.jpg","http://www.cmsthemer.com/","CMS T
hemer","0"],
[6214,"http://s3.buysellads.com/1234738/7479-1253876381.jpg","http://xht
ml.pixelcrayons.com","PSD To XHTML","0"],
[2013,"http://s3.buysellads.com/1235418/7626-1254105655.gif","http://the
meforest.net/","Awesome Web Templates!","0"],
[1662,"http://s3.buysellads.com/1434/1584_20080925131243_1434.jpg","http
://w3-markup.com/order","PSD to HTML","0"]);var Width="125";var Height="125";var
numAds=8;var totalAds=ads.length;var SiteID=647;var output2325="";var track='';
output2325+=showStyles(BannerStyles2325,"adblock",Width,Height,Vertical2325);if(
totalAds>0){if(numAds<totalAds){var AdSet=build_ad_array(totalAds);if(Width!="16
"){shuffle(ads)}for(i=0;i<numAds;i++){track+=ads[i][0]+';';output2325+=ad_output
(ads,AdSet[i],Width,Height,NoFollowAll2325)}}else{var AdSet=build_ad_array(total
Ads);if(Width!="16"){shuffle(ads)}for(i=0;i<totalAds;i++){track+=ads[i][0]+';';o
utput2325+=ad_output(ads,AdSet[i],Width,Height,NoFollowAll2325)}}}if(((totalAds=
=0)||(totalAds<numAds))&&(ShowAdHereBanner==true)){if(RepeatAll2325==false){var
NumAdHeres=1}else{var NumAdHeres=numAds-totalAds}for(i=0;i<NumAdHeres;i++){outpu
t2325+='<a href="http://buysellads.com/buy/detail/'+SiteID+'" title="Advertise H
ere" id="bsa_'+SiteID+'000" class="adhere"';if(NoFollowAll2325==true){output2325
+=' rel="nofollow"'}output2325+=' target="_blank">Advertise Here</a>'}}var r=Mat
h.random();var t=new Date();document.write("<div id=\"bsaz_2325\" class=\"adbloc
k\">"+output2325+"</div>");_bsa.rocks('imp',track,2325)}bsa2325(ShowAdHereBanner
2325,BannerStyles2325,Vertical2325,RepeatAll2325,NoFollowAll2325);function shuff
le(myArray){var i=myArray.length;if(i==0)return false;while(--i){var j=Math.floo
r(Math.random()*(i+1));var tempi=myArray[i];var tempj=myArray[j];myArray[i]=temp
j;myArray[j]=tempi}}function build_ad_array(totalAds){var rand=Math.floor(Math.r
andom()*totalAds+1);var adArray=new Array();for(i=0;i<totalAds;i++){adArray[i]=i
}return adArray}function ad_output(ads,i,Width,Height,NoFollowAll){var Ad_Output
='<a href="'+ads[i][2]+'" onclick="_bsa.rocks(\'click\','+ads[i][0]+',2325)" tit
le="'+ads[i][3]+'" id="bsa_'+ads[i][0]+'" target="_blank"';if((ads[i][5]==1)||(N
oFollowAll2325==true)){Ad_Output+=' rel="nofollow"'}Ad_Output+='><img src="'+ads
[i][1]+'" width="'+Width+'" height="'+Height+'" alt="'+ads[i][3]+'"';Ad_Output+=
'/></a>';return Ad_Output}function showStyles(BannerStyles,StyleID,Width,Height,
Vertical){styleCode="";var newWidth=Width-2;var newHeight=Height-2;if(Vertical==
false){var BlockWidth="100%"}else{var BlockWidth=Width+"px"}styleCode+="<style t
ype=text/css>";styleCode+="div#bsaz_2325."+StyleID+" {width:"+BlockWidth+";displ
ay:block;}";styleCode+=" div#bsaz_2325."+StyleID+" a{width:"+Width+"px;} div#bsa
z_2325."+StyleID+" a img{padding:0;} div#bsaz_2325."+StyleID+" a em{font-style:n
ormal;}";for(i=0;i<BannerStyles.length;i++){styleCode+=" div#bsaz_2325."+StyleID
+" "+BannerStyles[i]}if(Vertical==true){styleCode+=" div#bsaz_2325."+StyleID+" a
{margin-right:0;}"}if(Width<"100"){styleCode+="div#bsaz_2325."+StyleID+" a em{di
splay:block;text-indent:-9000px;} div#bsaz_2325."+StyleID+" a{height:"+Height+";
line-height:0;} div#bsaz_2325."+StyleID+" a.adhere{font-size:0;}"}styleCode+=" d
iv#bsaz_2325."+StyleID+" a.adhere{width:"+Width+"px;height:"+Height+"px;line-hei

ght:"+Height*8+"%;}";styleCode+=" html>body div#bsaz_2325."+StyleID+" a.adhere{w


idth:"+newWidth+"px;height:"+newHeight+"px;} div#bsaz_2325."+StyleID+" img.s{hei
ght:0;width:0;}</style>";return styleCode}

You might also like