var ifrH,ifrW,m,q=[];if(adParams&&adParams.a&&adParams.size&&(m=adParams.size.match("([0-9]*)x([0-9]*)"))){adParams.serverdomain=adParams.serverdomain||"ads.adk2.com";adParams.ci="1";ifrW=m[1];ifrH=m[2];if(top!=self){adParams.u=document.referrer;adParams.r=""}else{adParams.r=document.referrer;adParams.u=window.location.href}for(var prop in adParams)prop!="serverdomain"&&q.push(prop+"="+encodeURIComponent(adParams[prop]));document.write('<iframe src="http://'+adParams.serverdomain+"/player.html?"+q.join("&")+'" height="'+ifrH+'" width="'+ifrW+'" frameborder="0" border="0"  scrolling="no" marginheight="0px" marginwidth="0px" ></iframe>')}