
function Widgets()
{var un='undefined';this.sAffId=typeof(_affId)!=un?_affId:'';this.sPaidId=typeof(_paidId)!=un?_paidId:'';if(typeof _sz=='undefined')_sz='300x250';var aSz=_sz.split('x');this.sWidth=aSz[0];this.sHeight=aSz[1];var sDomain=typeof testEnv!='undefined'?'/':'http://www.vacapedia.com/';this.sUrl=sDomain+'search_widget.php?affid='+this.sAffId+'&paidid='+this.sPaidId+'&wt='+_wt;this.sUrl+='&_w='+this.sWidth+'&_h='+this.sHeight;if(typeof pg!=un)this.sUrl+='&pg='+pg;if(typeof cy!=un)this.sUrl+='&cy='+cy;if(typeof st!=un)this.sUrl+='&st='+st;if(typeof ct!=un)this.sUrl+='&ct='+ct;if(typeof dt!=un)this.sUrl+='&dt='+dt;if(typeof fh!=un)this.sUrl+='&fh='+fh;if(typeof _swt!=un)this.sUrl+='&swt='+_swt;if(typeof srchTitle!=un)this.sUrl+='&srchTitle='+srchTitle;this.sUrl+='&rd='+Math.floor(Math.random()*11);this.create=function()
{var s='';s+='<iframe frameborder="no" border="0" marginwidth="0" marginheight="0"';s+=' scrolling="no" id="vw_'+this.sAffId+'" name="vw_'+this.sAffId+'"';s+=' src="'+this.sUrl+'" width="'+this.sWidth+'" height="'+this.sHeight+'"';s+=' allowtransparency="true"></iframe>';document.write(s);}
this.create();}
var oW=new Widgets();