Sunteți pe pagina 1din 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 bsa2256(ShowAdHereBanner,BannerStyles,Vertical,RepeatA
ll,NoFollowAll){var ads=new Array(
[88342,"http://s3.buysellads.com/2256/61
18-1251750094.jpg","http://www.shutterstock.com/?sid=bsa1022&utm_source=Abduzeed
o.com&utm_medium=Banner&utm_content=250x200r_eyeshadow.jpg&utm_campaign=BuySellA
ds%2B-%20Graphic%20Design%20%231","stock photos","0"],
[8699,"http://s3.buysellads.com/2256/5614-1250995126.jpg","http://www.dr
eamtemplate.com","Free Web Templates","0"],
[4182,"http://s3.buysellads.com/2256/6159-1251787176.jpg","http://www.wi
x.com/start/wfree?utm_campaign=abduzeedo.com&experiment_id=abduzeedo220","web de
sign","0"]);var Width="250";var Height="200";var numAds=4;var totalAds=ads.lengt
h;var SiteID=125;var output2256="";var track='';output2256+=showStyles(BannerSty
les2256,"adblock",Width,Height,Vertical2256);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]+';';output2256+=ad_output(ads,AdSet[i],Width,Height,NoFol
lowAll2256)}}else{var AdSet=build_ad_array(totalAds);if(Width!="16"){shuffle(ads
)}for(i=0;i<totalAds;i++){track+=ads[i][0]+';';output2256+=ad_output(ads,AdSet[i
],Width,Height,NoFollowAll2256)}}}if(((totalAds==0)||(totalAds<numAds))&&(ShowAd
HereBanner==true)){if(RepeatAll2256==false){var NumAdHeres=1}else{var NumAdHeres
=numAds-totalAds}for(i=0;i<NumAdHeres;i++){output2256+='<a href="http://buysella
ds.com/buy/detail/'+SiteID+'" title="Advertise Here" id="bsa_'+SiteID+'000" clas
s="adhere"';if(NoFollowAll2256==true){output2256+=' rel="nofollow"'}output2256+=
' target="_blank">Advertise Here</a>'}}var r=Math.random();var t=new Date();docu
ment.write("<div id=\"bsaz_2256\" class=\"adblock\">"+output2256+"</div>");_bsa.
rocks('imp',track,2256)}bsa2256(ShowAdHereBanner2256,BannerStyles2256,Vertical22
56,RepeatAll2256,NoFollowAll2256);function shuffle(myArray){var i=myArray.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 bui
ld_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}function ad_outp
ut(ads,i,Width,Height,NoFollowAll){var Ad_Output='<a href="'+ads[i][2]+'" onclic
k="_bsa.rocks(\'click\','+ads[i][0]+',2256)" title="'+ads[i][3]+'" id="bsa_'+ads
[i][0]+'" target="_blank"';if((ads[i][5]==1)||(NoFollowAll2256==true)){Ad_Output
+=' rel="nofollow"'}Ad_Output+='><img src="'+ads[i][1]+'" width="'+Width+'" heig
ht="'+Height+'" alt="'+ads[i][3]+'"';Ad_Output+='/></a>';return Ad_Output}functi
on showStyles(BannerStyles,StyleID,Width,Height,Vertical){styleCode="";var newWi
dth=Width-2;var newHeight=Height-2;if(Vertical==false){var BlockWidth="100%"}els
e{var BlockWidth=Width+"px"}styleCode+="<style type=text/css>";styleCode+="div#b
saz_2256."+StyleID+" {width:"+BlockWidth+";display:block;}";styleCode+=" div#bsa
z_2256."+StyleID+" a{width:"+Width+"px;} div#bsaz_2256."+StyleID+" a img{padding
:0;} div#bsaz_2256."+StyleID+" a em{font-style:normal;}";for(i=0;i<BannerStyles.
length;i++){styleCode+=" div#bsaz_2256."+StyleID+" "+BannerStyles[i]}if(Vertical
==true){styleCode+=" div#bsaz_2256."+StyleID+" a{margin-right:0;}"}if(Width<"100
"){styleCode+="div#bsaz_2256."+StyleID+" a em{display:block;text-indent:-9000px;
} div#bsaz_2256."+StyleID+" a{height:"+Height+";line-height:0;} div#bsaz_2256."+
StyleID+" a.adhere{font-size:0;}"}styleCode+=" div#bsaz_2256."+StyleID+" a.adher
e{width:"+Width+"px;height:"+Height+"px;line-height:"+Height*8+"%;}";styleCode+=

" html>body div#bsaz_2256."+StyleID+" a.adhere{width:"+newWidth+"px;height:"+new


Height+"px;} div#bsaz_2256."+StyleID+" img.s{height:0;width:0;}</style>";return
styleCode}

S-ar putea să vă placă și