(function(){var e="";function i(){var l=document.referrer;if(l&&(l.match(/yahoo\.com\//)||l.match(/ask\.com\//)||l.match(/google\.com\//)||l.match(/bing\.com\//))){return true;}return false;}function g(l,m){if(m){e+="&"+l+"="+m;}}function c(l){if(l){if(typeof(encodeURIComponent)=="function"){return encodeURIComponent(l);}else{return escape(l);}}return l;}function d(l,m){g(l,c(m));}function h(l){return parseInt(l,10);}var f=window.ddc_adobj;if(f&&typeof(f)!="object"){return;}var a=f.ad_size;if(!(a&&a.length)){return;}var k=a.split("x");var b=h(k[0]);var j=h(k[1]);e="http://yssads.ddc.com/?sz=";e+=a;g("adfrmt",f.layout);g("n",f.num_ads);g("nr",f.num_relcats);g("nrc",f.num_relcat_cols);g("c",f.client_id);g("itad",f.intelliad);g("tyt",f.typetag);g("clt",f.classtag);g("zip",f.geo);d("cs",f.css_file);d("kw",f.keyword);d("rf",document.referrer);d("d",f.domain);g("dt",f.disp_type);g("dbg",f.debug);g("test",f.test);g("dbld",f.disable_bolding);if(f.search_filter&&f.search_filter.toLowerCase()=="clean"){g("sf","1");}g("cb",Math.round(9999999999*Math.random()));if(f.keyword||(f.intelliad&&i())){if(f.disp_type&&f.disp_type=="js"){document.write('<script type="text/javascript" src="'+e+'"><\/script>');}else{document.write("<ifra"+'me width="'+b+'" height="'+j+'" src="'+e+'" frameborder="0" scrolling="no" vspace="0" hspace="0" style="left:0pt;'+'top:0pt;"  name="ddc_iframe" marginwidth="0" marginheight="0" allowtransparency="true" ></ifra'+"me>");}}ddc_adobj=null;})();