//----------------- Boom Network AdServer Script Code --------
//------------ Copyright 2007 boom.ro, All Rights Reserved.---
if (typeof (tAdsUcs) == 'undefined') { tAdsUcs = 1 }; 
if(typeof(_boomASD_)=='undefined') {_boomASD_ = 'ads.softure.com'; }
if(typeof(oBoomAd)=='undefined') oBoomAd = new BoomAd();else oBoomAd.p = null;
function BoomAd(){this.rnd =parseInt(Math.random()*Math.pow(10,17));this.ex=0;}
if (typeof(_boomAdParam_)=='object')oBoomAd.p =_boomAdParam_;
BoomAd.prototype.GetAd=function (){if (this.pt()){if (!this.ex) this.Track();if (this.p.adslot.toLowerCase()=='video')	_boomAdVidParam_="&rnd"+this.rnd;	else	document.write('<sc'+'ript SRC="http://'+_boomASD_+'/adsjs.aspx?'+this.pm()+'&adslot='+this.p.adslot+this.prof()+this.pcx()+ this.other()+ '&tAdsUcs=' + tAdsUcs + this.prv() + this.sw() + this.sh() + '"></s'+'cript>');this.ex++;}}
BoomAd.prototype.Track=function(){document.write('<scr'+'ipt SRC="http://'+_boomASD_+'/track.aspx?'+this.pm()+this.pcx()+'"></sc'+'ript>');}
BoomAd.prototype.pt=function(){	if ( this.rnd && this.p && this.p.site && this.p.channel && this.p.net && this.p.adslot) 	return true;	else return false;}
BoomAd.prototype.pm=function(){	return 'net='+this.p.net+'&site='+this.p.site+'&channel='+this.p.channel+'&rnd='+this.rnd;}
BoomAd.prototype.pcx=function(){return '&tz='+((new Date()).getTimezoneOffset()).toString()+'&__url='+escape(document.URL.split('boomAdPrv')[0])+'&__ref='+escape(document.referrer)+'&domain='+document.domain;}
BoomAd.prototype.other=function(){var otP = "";otP=((this.p.size)?'&size='+this.p.size:'');return otP; }
BoomAd.prototype.sw=function(){var sw = "";sw=((screen.width)?'&sw='+screen.width:'');return sw; }
BoomAd.prototype.sh=function(){var sh = "";sh=((screen.height)?'&sh='+screen.height:'');return sh; }
BoomAd.prototype.prof=function(){var pV = (this.p.age)?'&age='+ escape(this.p.age):'';pV +=(this.p.gender)?'&gender='+escape(this.p.gender):'';pV +=(this.p.married)?'&married='+escape(this.p.married):'';pV +=(this.p.children)?'&children='+escape(this.p.children):'';pV +=(this.p.income_per_month)?'&income_per_month='+escape(this.p.income_per_month):'';pV +=(this.p.education)?'&education='+escape(this.p.education):'';pV +=(this.p.occupation)?'&occupation='+escape(this.p.occupation):'';pV +=(this.p.industry)?'&industry='+escape(this.p.industry):'';return pV;}
BoomAd.prototype.prv=function(){var prvVb  ="",boomAS_Prv = (document.URL.split('?').length >1)?document.URL.split('?')[1]:"";if (boomAS_Prv!="" && boomAS_Prv.indexOf("boomAdPrv")>=0)prvVb = "&"+boomAS_Prv.substring(boomAS_Prv.indexOf("boomAdPrv"), boomAS_Prv.length);return prvVb;}
oBoomAd.GetAd();_boomAdParam_ =null;
