Vuezer.d=[];Vuezer.A=[];Vuezer.O=[];Vuezer.aq=[{name:"G",url:"html/options.php"},{name:"F",url:"http://www.facebook.com"},{name:"T",url:"http://twitter.com"},{name:"D",url:"http://digg.com"},{name:"S",url:"http://stumble.com"}];Vuezer.ah=0;Vuezer.av=null;Vuezer.aI=500;Vuezer.V=0;Vuezer.au=null;Vuezer.aR=0;Vuezer.aC=false;Vuezer.j=0;Vuezer.ag=false;Vuezer.aD={"MAIN ":"MAIN","SEARCH ":"SEARCH","SHOP ":"SHOP","VIDEO ":"VIDEO","IMAGES ":"IMAGES","MAPS ":"MAPS","NEWS ":"NEWS","ALTSEARCH ":"altsearch","GADGETS ":"gadgets","GOSSIP ":"gossip","HEALTH ":"health","RECIPES ":"recipes"};Vuezer.aS=function(){window.location="http://www.vuezer.com/"+document.forms.form1["topic"].value+"/"+encodeURIComponent(document.forms.form1["q"].value);};Vuezer.M=function(){document.forms.form1.action="http://www.vuezer.com/"+document.forms.form1["topic"].value+"/"+encodeURIComponent(document.forms.form1["q"].value);};Vuezer.onload=function(){Vuezer.d[0]=document.getElementById("btn0");Vuezer.d[1]=document.getElementById("btn1");Vuezer.d[2]=document.getElementById("btn2");Vuezer.A[0]=document.getElementById("iframe0");Vuezer.A[1]=document.getElementById("iframe1");Vuezer.A[2]=document.getElementById("iframe2");Vuezer.d[0].onmouseover=function(){Vuezer.autosuggest.hide();Vuezer.af(0);};Vuezer.d[0].onmouseout=function(){Vuezer.ai();};if(Vuezer.ae=="1")Vuezer.d[0].onclick=function(){window.open(Vuezer.A[0].src);};Vuezer.d[1].onmouseover=function(){Vuezer.autosuggest.hide();Vuezer.af(1);};Vuezer.d[1].onmouseout=function(){Vuezer.ai();};if(Vuezer.ae=="1")Vuezer.d[1].onclick=function(){window.open(Vuezer.A[1].src);};Vuezer.d[2].onmouseover=function(){Vuezer.autosuggest.hide();Vuezer.af(2);};Vuezer.d[2].onmouseout=function(){Vuezer.ai();};if(Vuezer.ae=="1")Vuezer.d[2].onclick=function(){window.open(Vuezer.A[2].src);};var ab=document.getElementById("btnsubmit");ab.onclick=function(){Vuezer.M();document.forms.form1.submit();};ab.onmouseover=function(){document.getElementById("btnsubmit").className="btnsubmiton";};ab.onmouseout=function(){document.getElementById("btnsubmit").className="btnsubmit";};var aj=["main","search","shop","video","images","maps","news","altsearch","gadgets","gossip","health","recipes"];for(var i=0;i<aj.length;i++){Vuezer.O[i]=document.getElementById(aj[i]);Vuezer.O[i].style.cursor="pointer";Vuezer.O[i].onclick=function(){var P=this.innerHTML;document.forms.form1["topic"].value=P;Vuezer.M();document.forms.form1.submit();};if(aj[i]!=Vuezer.m.toLowerCase()){Vuezer.O[i].onmouseover=function(){this.style.textDecoration="underline";};Vuezer.O[i].onmouseout=function(){this.style.textDecoration="none";}}}for(var i=0;i<Vuezer.aq.length;i++){var icon=document.getElementById("icon"+i);icon.style.cursor="pointer";icon.title=Vuezer.aq[i].url;if(i==0){icon.onclick=function(){window.location="http://www.vuezer.com/html/options.php";}}if(i==1){icon.title="Click to Post to your Facebook Profile";icon.onclick=function(){var g=window.location;var r="http://www.facebook.com/sharer.php?u="+encodeURIComponent(g)+"&t="+encodeURIComponent(document.title)+'&c='+encodeURIComponent("I just multi searched "+Vuezer.f+",see it here "+g+" .")+'&l=3';if(!window.open(r,'sharer','toolbar=0,status=0,width=626,height=436')){location.href=r;}}}if(i==2){icon.title="Click to share us on Twitter";icon.onclick=function(){var g="http://www.vuezer.com/"+m;if(Vuezer.f!=""){g+="/?q="+Vuezer.f;}var r="http://twitter.com/home/?status="+encodeURIComponent("I just multi-searched "+Vuezer.f+" - "+g.replace(/ /g,"%20")+" ");if(!window.open(r)){location.href=r;}}}if(i==3){icon.title="Click to Digg this Site";icon.onclick=function(){var g="http://www.vuezer.com/"+m;var R="See Vuezer Multisearche's current "+m+" content";if(Vuezer.f!=""){g+="/?q="+Vuezer.f;R="See Vuezer Multisearch's current "+m+" topic results for the search term '"+Vuezer.f+"'";}var r="http://digg.com/submit?url="+encodeURIComponent(g)+"&title="+encodeURIComponent(document.title)+"&bodytext="+encodeURIComponent(R)+"&media=news&topic=odd_stuff";if(!window.open(r)){location.href=r;}}}if(i==4){icon.title="Click to Stumble onto this site";icon.onclick=function(){var g="http://www.vuezer.com/"+m;var R="See Vuezer Multisearche's current "+m+" content";if(Vuezer.f!=""){g+="/?q="+Vuezer.f;R="See Vuezer Multisearch's current "+m+" topic results for the search term '"+Vuezer.f+"'";}var r="http://www.stumbleupon.com/submit?url="+encodeURIComponent(g)+"&title="+encodeURIComponent(document.title)+"&topic=Vuezer "+m+"&comment=I just stubmled on the mulisearch results for "+Vuezer.f+".See it at: "+g;if(!window.open(r)){location.href=r;}}}icon.onmouseover=function(){this.style.className="btniconon"};icon.onmouseout=function(){this.style.className="btniconoff"}}var li=document.getElementsByTagName("li");var s="";for(var i=0;i<li.length;i++){li[i].onclick=function(){var l=document.getElementsByTagName("li");Vuezer.ah++;if(Vuezer.ah==2){Vuezer.ah=0;}var P=this.innerHTML;P=Vuezer.aD[P];document.forms.form1["topic"].value=P;Vuezer.M();document.forms.form1.submit();};li[i].onmouseover=function(){this.style.textDecoration="underline";if(Vuezer.ag==false){if(Vuezer.au!=null){Vuezer.aJ()}}};li[i].onmouseout=function(){this.style.textDecoration="none";}}if(Vuezer.aa==true){var q=document.getElementById("q");q.style.fontStyle="italic";q.onkeydown=function(){q.style.fontStyle="normal";}}document.getElementById("q").onkeyup=function(e){var ev=e||window.event;switch(ev.keyCode){case(40):if(document.getElementById("autosuggest").style.display!="none"){if(window.event)document.getElementById("autosuggest").getElementsByTagName("a")[0].hideFocus=true;document.getElementById("autosuggest").getElementsByTagName("a")[0].className="asugon";document.getElementById("autosuggest").getElementsByTagName("a")[0].focus();return;}}var v=this.value;if(v.length>1){if(document.getElementById("autosuggest").style.display=="none"){document.getElementById("autosuggest").style.display="block";};Vuezer.autosuggest.show(v);}else{Vuezer.autosuggest.hide();}};document.getElementById("q").onfocus=function(){document.getElementById("q").select();};document.getElementById("datalist").onkeyup=function(e){var e=e||window.event;var B=e.srcElement?e.srcElement:e.target;var k=e.keyCode;var o=document.getElementById("autosuggest").getElementsByTagName("a");for(i=0;i<o.length;i++){if(o[i]==B){switch(k){case(38):if(i>0){B.className="asugoff";o[i-1].className="asugon";if(window.event)o[i-1].hideFocus=true;o[i-1].focus();}else{B.className="asugoff";document.getElementById("q").focus();};break;case(40):if(i<(o.length-1)){B.className="asugoff";if(window.event)o[i+1].hideFocus=true;o[i+1].className="asugon";o[i+1].focus();};break;}}}return false;};document.getElementById("datalist").onclick=function(e){if(window.event)e=window.event;var B=e.srcElement?e.srcElement:e.target;if(B.tagName.toLowerCase()=="a"){document.getElementById("q").value=B.innerHTML;document.getElementById("q").focus();Vuezer.M();document.forms.form1.submit();}Vuezer.autosuggest.hide();return false;};document.onmouseover=function(e){if(document.getElementById('autosuggest').style.display!="block"){return};var e=e||window.event;var x=e.clientX;var y=e.clientY;var p=Vuezer.aE(document.getElementById('autosuggest'));var ax=p.x+p.width;var aG=p.y+p.height;if((x>ax)||(y>aG)){Vuezer.autosuggest.hide();};};if(Vuezer.aK==""){document.getElementById("q").style.fontStyle="italic";document.getElementById("q").onclick=function(){document.getElementById("q").value="";document.getElementById("q").style.fontStyle="normal";document.getElementById("q").onclick="";}};setTimeout(Vuezer.aB,100);};Vuezer.aL=function(T,C,U,L){var ak='http://www.facebook.com/sharer.php?u=&'+encodeURIComponent(U)+'&t=&'+'t='+encodeURIComponent(T)+'&c='+encodeURIComponent(C)+'&l='+L;window.open(ak);if(!window.open(ak,'sharer','toolbar=0,status=0,width=626,height=436')){location.href=ak;}};Vuezer.aJ=function(){clearTimeout(Vuezer.au);};Vuezer.aN=function(){Vuezer.ao();Vuezer.aC=false;};Vuezer.af=function(n){Vuezer.av=setTimeout("Vuezer.openTab('"+n+"')",Vuezer.aI);};Vuezer.ai=function(){clearTimeout(Vuezer.av);};Vuezer.openTab=function(n,al){if(al==null&&n==Vuezer.V){return}if(n==null){return}Vuezer.d[n].className="btnon";if(al==null){Vuezer.d[Vuezer.V].className="btnoff";}Vuezer.A[n].style.left="0px";if(al==null){Vuezer.A[Vuezer.V].style.left="-4000px";}Vuezer.V=n;};Vuezer.aB=function(){for(var i=0;i<Vuezer.Q.length;i++){if((Vuezer.aa==false)&&(Vuezer.f!="")){document.getElementById("iframe"+i).src=Vuezer.Q[i].url.replace("@@query@@",encodeURIComponent(Vuezer.f));}else{document.getElementById("iframe"+i).src=Vuezer.Q[i].browse;}}};Vuezer.aO=function(name,value,as){if(as){var ad=new Date();ad.setTime(ad.getTime()+(as*24*60*60*1000));var expires=";expires="+ad.toGMTString();}else expires="";document.cookie=name+"="+value+expires+";path=/";};Vuezer.aP=function(name){var an=name+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' ')c=c.substring(1,c.length);if(c.indexOf(an)==0)return c.substring(an.length,c.length);}return null;};Vuezer.aE=function(H){var coords={x:0,y:0,width:H.offsetWidth,height:H.offsetHeight};while(H){coords.x+=H.offsetLeft;coords.y+=H.offsetTop;H=H.offsetParent;}return coords;};Vuezer.aA=function(){Vuezer.ag=false;Vuezer.j+=5;document.getElementById("topicslist").style.filter="alpha(opacity="+Vuezer.j+")";document.getElementById("topicslist").style.opacity=Vuezer.j/100;document.getElementById("topicslist").style["-moz-opacity"]=Vuezer.j/100;if(Vuezer.j<91){setTimeout(Vuezer.aA,1);}};Vuezer.ao=function(){Vuezer.ag=true;Vuezer.j-=5;document.getElementById("topicslist").style.filter="alpha(opacity="+Vuezer.j+")";document.getElementById("topicslist").style.opacity=Vuezer.j/100;document.getElementById("topicslist").style["-moz-opacity"]=Vuezer.j/100;if(Vuezer.j>9){setTimeout(Vuezer.ao,1);}else{Vuezer.j=0;document.getElementById("topicslist").style.display="none";}};top.location.replace=new Function("return false");location.replace=new Function("return false");window.onload=Vuezer.onload;