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 bsa1238162(ShowAdHereBanner,BannerStyles,Vertical,Repe
atAll,NoFollowAll){var ads=new Array( [4876,"http://s3.buysellads.com/1235804/
41caff703134c60e424d205cef82ced2-1243972283.jpg","http://www.wix.com/start/wfree
?utm_campaign=PSDTUTS&experiment_id=PSDTUTS220","Web Design","0"]);var Width="26
0";var Height="260";var numAds=1;var totalAds=ads.length;var SiteID=108;var outp
ut1238162="";var track='';output1238162+=showStyles(BannerStyles1238162,"adblock
",Width,Height,Vertical1238162);if(totalAds>0){if(numAds<totalAds){var AdSet=bui
ld_ad_array(totalAds);if(Width!="16"){shuffle(ads)}for(i=0;i<numAds;i++){track+=
ads[i][0]+';';output1238162+=ad_output(ads,AdSet[i],Width,Height,NoFollowAll1238
162)}}else{var AdSet=build_ad_array(totalAds);if(Width!="16"){shuffle(ads)}for(i
=0;i<totalAds;i++){track+=ads[i][0]+';';output1238162+=ad_output(ads,AdSet[i],Wi
dth,Height,NoFollowAll1238162)}}}if(((totalAds==0)||(totalAds<numAds))&&(ShowAdH
ereBanner==true)){if(RepeatAll1238162==false){var NumAdHeres=1}else{var NumAdHer
es=numAds-totalAds}for(i=0;i<NumAdHeres;i++){output1238162+='<a href="http://buy
sellads.com/buy/detail/'+SiteID+'" title="Advertise Here" id="bsa_'+SiteID+'000"
class="adhere"';if(NoFollowAll1238162==true){output1238162+=' rel="nofollow"'}o
utput1238162+=' target="_blank">Advertise Here</a>'}}var r=Math.random();var t=n
ew Date();document.write("<div id=\"bsaz_1238162\" class=\"adblock\">"+output123
8162+"</div>");_bsa.rocks('imp',track,1238162)}bsa1238162(ShowAdHereBanner123816
2,BannerStyles1238162,Vertical1238162,RepeatAll1238162,NoFollowAll1238162);funct
ion 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];myArra
y[i]=tempj;myArray[j]=tempi}}function build_ad_array(totalAds){var rand=Math.flo
or(Math.random()*totalAds+1);var adArray=new Array();for(i=0;i<totalAds;i++){adA
rray[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]+',1
238162)" title="'+ads[i][3]+'" id="bsa_'+ads[i][0]+'" target="_blank"';if((ads[i
][5]==1)||(NoFollowAll1238162==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,StyleI
D,Width,Height,Vertical){styleCode="";var newWidth=Width-2;var newHeight=Height2;if(Vertical==false){var BlockWidth="100%"}else{var BlockWidth=Width+"px"}style
Code+="<style type=text/css>";styleCode+="div#bsaz_1238162."+StyleID+" {width:"+
BlockWidth+";display:block;}";styleCode+=" div#bsaz_1238162."+StyleID+" a{width:
"+Width+"px;} div#bsaz_1238162."+StyleID+" a img{padding:0;} div#bsaz_1238162."+
StyleID+" a em{font-style:normal;}";for(i=0;i<BannerStyles.length;i++){styleCode
+=" div#bsaz_1238162."+StyleID+" "+BannerStyles[i]}if(Vertical==true){styleCode+
=" div#bsaz_1238162."+StyleID+" a{margin-right:0;}"}if(Width<"100"){styleCode+="
div#bsaz_1238162."+StyleID+" a em{display:block;text-indent:-9000px;} div#bsaz_1
238162."+StyleID+" a{height:"+Height+";line-height:0;} div#bsaz_1238162."+StyleI
D+" a.adhere{font-size:0;}"}styleCode+=" div#bsaz_1238162."+StyleID+" a.adhere{w
idth:"+Width+"px;height:"+Height+"px;line-height:"+Height*8+"%;}";styleCode+=" h
tml>body div#bsaz_1238162."+StyleID+" a.adhere{width:"+newWidth+"px;height:"+new
Height+"px;} div#bsaz_1238162."+StyleID+" img.s{height:0;width:0;}</style>";retu
rn styleCode}

You might also like