// (c) Striquent LLC
// All rights reserved
var _sE;var _rDM;var IIij;var _tB="#_tx";var IIii=false;var IIi1;var IIiI;var IIjl;var IIji=new Array;var IIj1=null;var Iill;var IIjj=0;var IIjI=0;var I1I1=0;var IIIi=false;var I1Il=false;var I11i=["2",1,1,0,1,1,1,0,"","","","",-1,0,1,1];var Il1l=false;var ljj1="#_dM";var ljjl=false;var ljii=false;var lij1;var ljij=[{n:"Australia",c:"au"},{n:"Belgium",c:"be"},{n:"Brasil",c:"br"},{n:"Canada",c:"Iiij"},{n:"China",c:"cn"},{n:"Denmark",c:"dk"},{n:"Egypt",c:"eg"},{n:"France",c:"fr"},{n:"Germany",c:"de"},{n:"India",c:"in"},{n:"Italy",c:"it"},{n:"Japan",c:"jp"},{n:"Jordan",c:"jo"},{n:"Korea",c:"kr"},{n:"Netherlands",c:"nl"},{n:"Norway",c:"no"},{n:"Poland",c:"pl"},{n:"Portugal",c:"pt"},{n:"Saudi Arabia",c:"sa"},{n:"Singapore",c:"sg"},{n:"Spain",c:"es"},{n:"Sweden",c:"se"},{n:"U.A.E",c:"ae"},{n:"United Kingdom",c:"uk"},{n:"United States",c:"us"}];var ljji="";var Ill1=false;var ljjj=false;var I=I11i;var Illi={IllI:null,Illl:null,ljiI:"w",ljjI:"h",lji1:function(lj1i,lj1I,lj11,ljlj){IllI=lj1i;Illl=lj1I;ljiI=lj11;ljjI=ljlj;}};var _ads=new Array;var lj1l=[{lj1j:0,_sPD:true,_SO:false,_disProv:true,ljII:"qrobe.it",_iurlp:"//image.",_nurlp:"//news.",lijj:"qrobe.it",ljIl:"qrobe",ljIj:"Qrobe",ljIi:"img/qrobe",ljI1:location.protocol=="http:"?"https://addons.mozilla.org/en-US/firefox/downloads/latest/62825/addon-62825-latest.xml?src=addondetail":"https://qrobe.it/qrobe-opensearch-sec.xml",lijI:location.protocol=="http:"?"/qrobe-opensearch.xml":"/qrobe-opensearch-sec.xml",_pp:"<h3>Enhanced Privacy</h3>Your privacy is very important to us. <br/> <br/>Our privacy policy is very simple, we do not save your IP address, set uniquely identifiable or ad network cookies or in any other way track, analyze or profile our users. <br/> <br/>"},{lj1j:1,_sPD:false,_SO:false,_disProv:false,ljII:"1scroll.com",_iurlp:"//image.",_nurlp:"//news.",lijj:"1scroll.com",ljIl:"1scroll",ljIj:"1scroll",ljIi:"img/1scroll/1scroll",ljI1:"https://addons.mozilla.org/en-us/firefox/downloads/file/91033/1scroll-20100603.xml?src=addondetail&confirmed=1",lijI:"https://addons.mozilla.org/en-us/firefox/downloads/file/91033/1scroll-20100603.xml?src=addondetail&confirmed=1"},{lj1j:5,_sPD:false,_SO:false,_disProv:false,ljII:"privatelee.com",_iurlp:"//",_nurlp:"//",ljl1:"privatelee.qrobe.it",lijj:"qrobe.it",_apijurl:"privatelee.qrobe.it",ljIl:"privatelee",ljIj:"privatelee",ljIi:"img/privatelee/privatelee",ljI1:location.protocol=="http:"?"http://privatelee.qrobe.it/privatelee-opensearch.xml":"https://privatelee.qrobe.it/privatelee-opensearch-sec.xml",lijI:location.protocol=="http:"?"/privatelee-opensearch.xml":"/privatelee-opensearch-sec.xml",_pp:"<h3>Enhanced Privacy</h3>Your privacy is very important to us. <br/> <br/>Our privacy policy is very simple, we do not save your IP address, set uniquely identifiable or ad network cookies or in any other way track, analyze or profile our users. <br/> <br/>"},{lj1j:5,_sPD:false,_SO:false,_disProv:false,ljII:"privatelee.qrobe.it",_iurlp:"//",_nurlp:"//",ljl1:"privatelee.qrobe.it",lijj:"qrobe.it",_apijurl:"privatelee.qrobe.it",ljIl:"privatelee",ljIj:"privatelee",ljIi:"img/privatelee/privatelee",ljI1:location.protocol=="http:"?"http://privatelee.qrobe.it/privatelee-opensearch.xml":"https://privatelee.qrobe.it/privatelee-opensearch-sec.xml",lijI:location.protocol=="http:"?"/privatelee-opensearch.xml":"/privatelee-opensearch-sec.xml",_pp:"<h3>Enhanced Privacy</h3>Your privacy is very important to us. <br/> <br/>Our privacy policy is very simple, we do not save your IP address, set uniquely identifiable or ad network cookies or in any other way track, analyze or profile our users. <br/> <br/>"},{lj1j:2,_sPD:false,_SO:true,_disProv:false,ljII:"ahdle.com",_iurlp:"//image.",_nurlp:"//news.",lijj:"ahdle.com",ljIl:"ahdle",ljIj:"ahdle",ljIi:"img/ahdle/ahdle",ljI1:"http://ahdle.com/ahdle-opensearch.xml",lijI:"/ahdle-opensearch.xml"},{lj1j:3,_sPD:true,_SO:false,_disProv:true,ljII:"qrobe.it",_iurlp:"//image.",_nurlp:"//news.",ljl1:"ff.qrobe.it",lijj:"ff.qrobe.it",ljIl:"qrobe",ljIj:"Qrobe",ljIi:"img/ff-qrobe/ff-qrobe",ljI1:"https://addons.mozilla.org/en-US/firefox/downloads/latest/62825/addon-62825-latest.xml?src=addondetail",lijI:"/qrobe-opensearch-ie.xml",_pp:"<h3>Enhanced Privacy</h3>Your privacy is very important to us. <br/> <br/>Our privacy policy is very simple, we do not save your IP address, set uniquely identifiable or ad network cookies or in any other way track, analyze or profile our users. <br/> <br/>"},{lj1j:4,_sPD:true,_SO:false,_disProv:true,ljII:"qa.qrobe.it",_iurlp:"//image.",_nurlp:"//news.",ljl1:"qa.qrobe.it",lijj:"qa.qrobe.it",ljIl:"qrobe",ljIj:"Qrobe",ljIi:"img/qrobe",ljI1:"https://addons.mozilla.org/en-US/firefox/downloads/latest/62825/addon-62825-latest.xml?src=addondetail",lijI:"/qrobe-opensearch-ie.xml",_pp:"<h3>Enhanced Privacy</h3>Your privacy is very important to us. <br/> <br/>Our privacy policy is very simple, we do not save your IP address, set uniquely identifiable or ad network cookies or in any other way track, analyze or profile our users. <br/> <br/>"}];var ljil;var Illj={Il11:0,Ilij:1};var Il1I;var I1ll=false;var Iljj=null;var IljI;var Ilji=true;var ljll;var I11l;var lIll;var _$divSC;var liil;var _navMan;var I1li=[{lj1j:2,I11I:"firstR",I111:/^f$/,I1lj:true,Ilj1:false,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return IlI1.length>0?IlI1[0].url:null;}},{lj1j:2,I11I:"firstR",I111:/^[1,2,3]$/,I1lj:true,Ilj1:false,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return IlI1.length>parseInt(p)?IlI1[parseInt(p)].url:null;}},{lj1j:0,I11I:"imgS",I111:/^i$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?location.protocol+Il1I._iurlp+Il1I.ljII+"/images/?q="+escapeUni(q):location.protocol+Il1I._iurlp+Il1I.ljII;}},{lj1j:1,I11I:"newsS",I111:/^n$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?location.protocol+Il1I._nurlp+Il1I.ljII+"/search/?q="+escapeUni(q):location.protocol+Il1I._nurlp+Il1I.ljII;}},{lj1j:3,I11I:"gS",I111:/^gw$|^google$/,Ilj1:true,I1l1:false,I1lj:true,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.google.com/search?q="+escapeUni(q):"http://www.google.com";}},{lj1j:4,I11I:"bS",I111:/^bw$|^bing$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.bing.com/search?q="+escapeUni(q):"http://www.bing.com";}},{lj1j:3,I11I:"gN",I111:/^gn$|^googlenews$/,Ilj1:true,I1l1:false,I1lj:true,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://news.google.com/news/search?q="+escapeUni(q):"http://news.google.com";}},{lj1j:4,I11I:"bN",I111:/^bn$|^bingnews$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.bing.com/news/search?q="+escapeUni(q):"";}},{lj1j:4,I11I:"bV",I111:/^bv$|^bingvideo$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.bing.com/videos/search?q="+escapeUni(q):"http://www.bing.com/videos";}},{lj1j:5,I11I:"aS",I111:/^aw$|^ask$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.ask.com/web?q="+escapeUni(q):"http://www.ask.com";}},{lj1j:6,I11I:"gIS",I111:/^gi$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://images.google.com/images?q="+escapeUni(q):"http://images.google.com";}},{lj1j:7,I11I:"bIS",I111:/^bi$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.bing.com/images/search?q="+escapeUni(q):"http://www.bing.com";}},{lj1j:6,I11I:"gNS",I111:/^gn$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.google.com/search?tbo=u&tbs=nws:1&q="+escapeUni(q):"http://www.google.com/news";}},{lj1j:7,I11I:"bNS",I111:/^bn$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.bing.com/news/search?q="+escapeUni(q):"http://www.bing.com/news";}},{lj1j:8,I11I:"firstPat",I111:/^.*\*/,I1lj:true,Ilj1:false,I1l1:false,Iljl:null,liIj:true,li11:false,IlII:function(p,q,IlI1){var url=null;$.each(IlI1,function(i,qr){if(qr.url.replace("www.","").indexOf(p.replace(".","").replace("*",""))){url=qr.url;return false;}});return url;}},{lj1j:8,I11I:"yt",I111:/^yt$|^youtube$/,I1lj:true,Ilj1:true,I1l1:false,IlII:null,Iljl:null,IlIl:function(p,q,IlI1){return"site:youtube.com";},liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.youtube.com/results?search_query="+escapeUni(q):"http://www.youtube.com";}},{lj1j:8,I11I:"nf",I111:/^nf$|^netflix$/,I1lj:true,Ilj1:true,I1l1:false,IlII:null,Iljl:null,IlIl:function(p,q,IlI1){return"site:netflix.com";},liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.netflix.com/Search?v1="+escapeUni(q):"http://www.netflix.com";}},{lj1j:8,I11I:"hu",I111:/^hu$|^hulu$/,I1lj:true,Ilj1:false,I1l1:false,IlII:null,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:hulu.com";}},{lj1j:8,I11I:"cl",I111:/^ct$|^craigslist$/,I1lj:true,Ilj1:true,I1l1:false,IlII:null,Iljl:null,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:craigslist.org";},IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.craigslist.org/search/?catAbb=sss&query="+escapeUni(q):"http://www.craigslist.org";}},{lj1j:8,I11I:"bingmap",I111:/^bm$|^bingmap$/,I1lj:true,Ilj1:true,I1l1:false,IlII:null,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://www.bing.com/maps/default.aspx?where1="+escapeUni(q):"http://www.bing.com/maps";}},{lj1j:8,I11I:"googlemap",I111:/^gm$|^googlemap$/,I1lj:true,Ilj1:true,I1l1:false,IlII:null,Iljl:null,liIj:true,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?"http://maps.google.com/maps?q="+escapeUni(q):"http://maps.google.com";}},{lj1j:8,I11I:"wiki",I111:/^wi$|^wiki$/,I1lj:true,Ilj1:false,I1l1:false,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:wikipedia.org";}},{lj1j:8,I11I:"imbd",I111:/^imdb$/,I1lj:true,Ilj1:false,I1l1:false,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:imdb.com";}},{lj1j:8,I11I:"rt",I111:/^rt$|^rottentomatoes$/,I1lj:true,Ilj1:false,liIj:true,li11:true,I1l1:true,IlIl:function(p,q,IlI1){return"site:rottentomatoes.com";}},{lj1j:8,I11I:"amz",I111:/^am$|^amazon$/,I1lj:true,Ilj1:false,I1l1:false,IlII:null,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:amazon.com";}},{lj1j:8,I11I:"eby",I111:/^eb$|^ebay$/,I1lj:true,Ilj1:false,I1l1:false,IlII:null,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:ebay.com";}},{lj1j:8,I11I:"wu",I111:/^wu$|^wunderground$/,I1lj:true,Ilj1:false,I1l1:false,IlII:null,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:wunderground.com";}},{lj1j:8,I11I:"we",I111:/^we$|^weather$/,I1lj:true,Ilj1:false,I1l1:false,IlII:null,liIj:true,li11:true,IlIl:function(p,q,IlI1){return"site:weather.com";}},{lj1j:8,I11I:"noaa",I111:/^noaa$/,I1lj:true,Ilj1:false,I1l1:false,IlII:null,liIj:false,li11:true,IlIl:function(p,q,IlI1){return"site:noaa.gov";}},{lj1j:8,I11I:"ft",I111:/^ft:.*/,I1lj:true,Ilj1:true,I1l1:false,IlII:null,liIj:true,li11:true,IlIl:null,IlII:function(p,q,IlI1){return location.protocol+"//"+Il1I.ljII+"/search/?q="+escapeUni("filetype:"+p.replace("ft:","")+" "+q.replace("ft:",""));}},{lj1j:8,I11I:"lll1",I111:/(.*)\.(.*)/,I1lj:true,Ilj1:true,I1l1:false,IlII:null,liIj:true,li11:true,IlIl:null,IlII:function(p,q,IlI1){return location.protocol+"//"+Il1I.ljII+"/search/?q="+escapeUni("site:"+p+" "+q);}},{lj1j:1,I11I:"direct2Site",I111:/^goto:$/,I1lj:true,Ilj1:true,I1l1:false,Iljl:null,liIj:false,li11:true,IlII:function(p,q,IlI1){return q.trim()!=""?location.protocol+Il1I._nurlp+Il1I.ljII+"/search/?q="+escapeUni(q):location.protocol+Il1I._nurlp+Il1I.ljII;}}];var Ijil="";var IjIi="";var _pUJT="";var Ij11="";var IjIl="";var Il1i="This website is trying to replace your current window. Click 'Cancel' to prevent or 'Ok' to continue. If you choose to continue you may not be able to use the back button to get back to the current page.";var Il1j=[{id:"1",d:"Top Stories",w:"80px",Ili1:"0px",c:"BC1748",f:"ts"},{id:"2",d:"Local",w:"70px",Ili1:"-4px",c:"27559B",f:"lc"},{id:"3",d:"World",w:"70px",Ili1:"-8px",c:"FFC300",f:"wo"},{id:"4",d:"U.S.",w:"70px",Ili1:"-12px",c:"3C3CA4",f:"us"},{id:"5",d:"Business",w:"80px",Ili1:"-16px",c:"007300",f:"bu"},{id:"7",d:"Entertainment",w:"90px",Ili1:"-24px",c:"8A60B3",f:"en"},{id:"8",d:"Sports",w:"70px",Ili1:"-28px",c:"FF6600",f:"sp"},{id:"9",d:"Sci/Tech",w:"80px",Ili1:"-0px",c:"BC1748",f:"sc"},{id:"10",d:"Health",w:"70px",Ili1:"-32px",c:"438988",f:"he"}];var IlIj=[{id:"1",d:"Top Stories",w:"80px",Ili1:"0px",c:"BC1748",f:"ts"},{id:"2",d:"Technology",w:"80px",Ili1:"-4px",c:"27559B",f:"th"},{id:"3",d:"World",w:"70px",Ili1:"-8px",c:"FFC300",f:"wo"},{id:"4",d:"Business",w:"80px",Ili1:"-12px",c:"3C3CA4",f:"bu"},{id:"5",d:"Politics",w:"80px",Ili1:"-16px",c:"007300",f:"po"},{id:"6",d:"Entertainment",w:"90px",Ili1:"-20px",c:"CC0000",f:"en"},{id:"7",d:"Sports",w:"70px",Ili1:"-24px",c:"8A60B3",f:"sp"},{id:"8",d:"Sci/Tech",w:"80px",Ili1:"-28px",c:"FF6600",f:"sc"},{id:"9",d:"Health",w:"70px",Ili1:"-0px",c:"BC1748",f:"he"},{id:"10",d:"Offbeat",w:"70px",Ili1:"-32px",c:"438988",f:"of"}];var Ilii=10;var li1l=["\\+","%2b","#","%23","&","%26","<","%3C",">","%3E;","\"","%22","'","%27","{","%7B"," ","+","%20","+","%2520","+","///","%2F","@","%40","=","%3D"];var lilj=[];String.prototype.endsWith=function(IliI){return this.match(IliI+"$")==IliI;};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"");};String.prototype.replaceAll=function(Ilil,I11j){return this.replace(new RegExp(Ilil,"g"),I11j);};var IIlj={Iii1:0,ilj1:1,IiiI:2,_ASE:3,i1i1:4,i1il:5,i1Ii:6,i1Ij:7,i1ii:8,i1j1:9,i1ij:10,i1ji:11,i1jI:12,i1jl:13,lilI:14,_ADV:15};window.onerror=function(message,url,i1II){return true;};function i1iI(e){}function i1I1(IlI1){var i1li="";if(Iljj&&Iljj!=null){if(Iljj.Ilj1&&Iljj.IlII&&Iljj.IlII!=null){i1li=Iljj.IlII(Iljj.i1lI[2],IIi1,IlI1);}else if(IlI1&&IlI1!=null&&IlI1.length>0){if(IlI1.length>0&&IlI1[0].url&&IlI1[0].url!=""){if(Iljj.IlII&&Iljj.IlII!=null){i1li=Iljj.IlII(Iljj.i1lI[2],IIi1,IlI1);}else{i1li=IlI1[0].url.length>0?IlI1[0].url:null;}}}}if(i1li!=""&&i1li!=null&&typeof i1li!="undefined"){var m=(new RegExp("^(?:f|ht)tp(?:s)?://([^/]+)","im")).exec(i1li);var i1l1=i1li;if(m&&m.length>0){i1l1=i1l1.replace(m[0],"<b>"+m[0]+"</b>");}if(Iljj.I1l1){var h=[];h.push("<div style='width:100%;font-size:20px;line-height:45px;'><div style='margin-left:auto;margin-right:auto;width:800px;text-align:center;'>");h.push("<div>Qrobe PowerSearch feature was activated by the <span style='font-size:26px;font-weight:bold;'>/"+Iljj.i1lI[2]+"</span> i11j. </br>If this was not intended hit the <span style='font-size:26px;font-weight:bold;'>Esc</span> key now.</div>");h.push("<div>Redirecting to <a href='"+i1li+"'>"+i1l1+" </a>    in <span id='spnT' style='font-size:26px;font-weight:bold;'></span></div>");h.push("<div>Hit the <span style='font-size:26px;font-weight:bold;'>Enter</span> key to go right away.</div>");h.push("</div>");$(ljj1).append(h.join(""));iljj("spnT",4,"window.location.href = \""+i1li+"\"");}else{window.location.href=i1li;}$(document).keydown(function(e){if(e.keyCode==13){window.location.href=i1li;return false;}else if(e.keyCode==27){I1j1("","as=0");return false;}});}else{I1j1("","as=0");}}function iljj(i1ll,t,i1lj){$("#"+i1ll).text(t.toString());if(t<=0){eval(i1lj);}else{window.setTimeout("iljj('"+i1ll+"',"+(--t).toString()+", '"+i1lj+"');",1000);}}function setURLs(){Ijil=location.protocol+"//"+Il1I.lijj+"/data/ski.axd";IjIi=location.protocol+"//q{0}."+Il1I.lijj+"/data/ski.axd";_pUJT=location.protocol+"//tam."+Il1I.lijj+"/data/tam.axd";Ij11=location.protocol+Il1I._nurlp+(Il1I._apijurl?Il1I._apijurl:Il1I.lijj)+"/data/ski.axd";IjIl=location.protocol+Il1I._iurlp+(Il1I._apijurl?Il1I._apijurl:Il1I.lijj)+"/data/ski.axd";}function IilI(){var q=I1jI("q");for(var k=0;k<lj1l.length;k++){if(window.location.href.indexOf(location.protocol+"//"+lj1l[k].ljII)==0||window.location.href.indexOf(location.protocol+"//ff."+lj1l[k].ljII)==0||window.location.href.indexOf(location.protocol+"//news."+lj1l[k].ljII)==0||window.location.href.indexOf(location.protocol+"//image."+lj1l[k].ljII)==0){ljil=k;Il1I=lj1l[ljil];break;}}if(Il1I.lj1j==0&&window.location.href.indexOf(location.protocol+"//ff."+Il1I.ljII)==0){ljil=3;Il1I=lj1l[3];}setURLs();IIij="ws";IIi1="";if(window.location.href.indexOf("/news/?")>-1){IIij="n";IIi1=q;if(I1jI("f")!=""&&I1jI("m")!=""){Illi.ljiI=I1jI("m");Illi.Illl=i11I(I1jI("f"));Illi.ljjI=I1jI("sm");}else if(IIi1!=""){}else{Illi.ljiI="w";Illi.Illl=i11I("ts");Illi.ljjI="h";}}else if(window.location.href.indexOf("/images")>0){if(q!=null&&q!=""){IIij="isd";IIi1=q;}else{IIij="is";}}else if(window.location.href.indexOf("/search")>0){if(q!=null&&q!=""){IIij="wsd";IIi1=q;}}if(window.location.href.indexOf("#q=")>0){var start=window.location.href.indexOf("#q=")+3;var end=window.location.href.indexOf("&",start);if(end==-1){end=window.location.href.length;}q=window.location.href.substring(start,end);if(q.indexOf("%25")>-1){q=unescape(q);}try{q=unescape(decodeURI(q));}catch(e){}q=q.replace(/\+/g," ");if(q.trim()!=""){IIi1=q;IIij="wsd";}}if(window.location.href.indexOf("#q=")==-1&&(IIi1.indexOf(" /")>-1||IIi1.indexOf("/")==0)){if(IIi1.split("/").length==2){var m=(new RegExp(/(.*)\/([^ \/]+)$/)).exec($.trim(IIi1));if(m&&m.length==3){var i11j=m[2];var q=$.trim(m[1]);for(var k=0;k<I1li.length;k++){if((new RegExp(I1li[k].I111)).exec(i11j)){Iljj=I1li[k];Iljj.i1lI=m;break;}}if(Iljj){IIi1=m[1].trim();if(Iljj.Ilj1){$().ready(function(){i1I1(null);});}else if(Iljj.IlIl&&Iljj.IlIl!=null){IIi1=Iljj.IlIl(m[2],q,null)+" "+IIi1;}}}}}if(window.location.href.indexOf("#q=")==-1&&IIi1.indexOf("goto: ")==0){var jjI=IIi1.split("goto: ")[1];ajaxHandle=$.ajax({url:Ijil+"?t=d2s&q="+urlEncode(jjI),type:"GET",error:function(XMLHttpRequest,iIjj,iIi1){log("D2S:Error:"+iIjj);},success:function(data){if(data&&data.url){window.location.replace(data.url);}else{window.location.href=Il1I.ljII;}},dataType:"json",timeout:5000});Iljj={I1lj:true};}IljI=IIij;}IilI();function i11i(name,i111,title,enabled,IIli,i1Il,IIl1,IIlI,II11,i1jj,iIl1,iIIj,procAsync){var name=name;this.IIli=IIli;this.IIl1=IIl1;this.IIlI=IIlI;this.II11=II11;this.iIIj=iIIj;this.procAsync=procAsync;this.name=name;this.i1Il=i1Il;var iIlI=0;var iIjl;var iIij=0;var II1I=false;var iIiI;var $doc;var count=0;var enabled=enabled;var title=title;var ajaxHandle;var lili;var currentCallId=0;this.f_enabled=function(){return enabled;};this.iIjI=function(v){if(typeof v=="undefined"){return iIlI;}else{iIlI=v;}};this.III1=function(){iIjl=new Array;if(i1Il==IIij){I1I1++;}};this.iill=function(){if(name=="Bing."||name=="Bing"){enabled=true;return;}if(IIij!="n"&&$("#ckb"+name).length==0){if(IIij==this.i1Il&&!(name=="Ask"&&Il1I.lj1j==2)){$("#dSO").append("<input disabled='true' id='ckb"+name+"' type='checkBox'/>"+title);}enabled=true;$("#ckb"+name).attr("checked",enabled).click(function(){I[iIl1]=document.getElementById("ckb"+name).checked?1:0;_sE.IIIl(true);II1i();});}};this.iIji=function(){if((new Date).getTime()-lili>3000){II1I=false;}return II1I;};this.IIll=function(){if(iIjl.length>iIij){return iIjl[iIij++];}};this.reset=function(){log("Reset Called Line #404");if(ajaxHandle){ajaxHandle.abort();}iIlI=iIij=0;iIjl=new Array;iilI=new Array;IIj1=null;currentCallId=0;};this.count=function(){try{return count;}catch(e){return 0;}};this.II1l=function(){currentCallId++;lili=(new Date).getTime();var li1I=IIi1;try{if(name=="TAM"&&currentCallId>1){return;}}catch(e){i1iI(e);}if(i1jj!=null&&!i1jj.call(this,iIlI)){iIlI++;return;}if(II1I||iIjl.length>iIij){return;}iIiI=$("<iframe src='about:blank'/>").hide();iIiI.appendTo("body");$doc=$(iIiI.get(0).contentWindow.document);II1I=!procAsync;if(i111=="html"){iIlI++;ajaxHandle=$.ajax({url:IIli.call(this),type:"GET",data:IIl1.call(this,iIlI-1),error:function(XMLHttpRequest,iIjj,iIi1){II1I=false;log("Increment Bid-error:"+name+":"+iIlI+":"+iIjj);},success:function(html){if(li1I!=IIi1){log("Search Term Changed:"+li1I);II1I=false;return;}var iIil=iI1I(html,name);try{$doc[0].body.innerHTML=iIil;}catch(e){iIiI.remove();II1I=false;return;}if(iIIj!=null){iIIj(html,$doc);}else{var b=IIlI.call(this,$doc,name,html);try{if(II11!=null){count=II11.call(this,$doc);}}catch(e){count=0;}if(typeof b!="undefined"){iIjl.push(b);I1Il=b.length>0;}else{I1Il=false;}}iIiI.remove();II1I=false;},dataType:i111,timeout:5000});}else{ajaxHandle=$.ajax({url:IIli.call(this,iIlI),type:"GET",error:function(XMLHttpRequest,iIjj,iIi1){II1I=false;iIlI++;},success:this.iIIj!=null?this.iIIj:function(data){if(li1I!=IIi1){log("Search Term Changed:"+li1I);iIlI++;II1I=false;return;}try{if(typeof data!="undefined"){var b=IIlI.call(this,data,name);if(typeof b!="undefined"){iIjl.push(b);}try{count=II11.call(this,data);}catch(e){count=0;}}}catch(e){i1iI(e);}iIlI++;II1I=false;},dataType:i111,timeout:5000});}};}function IlI1(url,title,body,cachedUrl,I1jj){var m=(new RegExp("^(?:f|ht)tp(?:s)?://([^/]+)","im")).exec(url);this.domain=null;if(m&&m.length>0){this.domain=m[0];}this.iI11=0;this.url=url;this.title=title;this.body=body;this.cachedUrl=cachedUrl;this.I1i1=new Array;this.I1i1.push(I1jj);this.children=null;this.type="ws";this.I1il=function(turl,iI1l,iIli,size,type){this.turl=turl;this.iI1l=iI1l;this.iIli=iIli;this.size=size;this.type=type;this.type="is";};this.I1Ij=function(turl,iIlj,source,time,more){this.turl=turl;this.type="n";this.iIlj=iIlj;this.source=source;this.time=time;this.more=more;this.os=[];};}function iI1I(htm,name){try{if(name=="Bing"&&IIij=="wsd"){htm=htm.replace(/\n/g,"\uFFFF").replace(/<head[^>]*>.*?<\/head>|<script[^>]*>.*?<\/script>|<link[^>]*>/gi,"");htm=htm.replace(/url\(\'/gi,"url('_");}else{htm=htm.replace(/\n/g,"\uFFFF").replace(/<style[^>]*>.*?<\/style>|<script[^>]*>.*?<\/script>|<link[^>]*>/gi,"");}htm=htm.replace(/<img/gi,"<img1");var iI1j=new RegExp("onbeforeunload=|onload=|onblur=|onsubmit=|onclick=|onClick=|onmouseover=|onmousedown=","gi");htm=htm.replace(iI1j,"on_=");if(name=="Ask"){htm=htm.replace(/style=/gi,"_style=");var iI1j=new RegExp(String.fromCharCode(65533)+"|"+String.fromCharCode(65535)+"|"+String.fromCharCode(39),"g");return htm.replace(iI1j,"");}else{return htm;}}catch(e){i1iI(e);}}function urlEncode(string){return escapeUni(string);}function iIIi(iIII,$doc){try{var iIIl=iIII.attr("id");var ilji=iIII.attr("class");var iIll="";var width="";for(var c=0;c<$doc[0].iljI.length;c++){var rs=$doc[0].iljI[c].rules?$doc[0].iljI[c].rules:$doc[0].iljI[c].cssRules;for(var r=0;r<rs.length;r++){if(rs[r].selectorText=="#"+iIIl&&rs[r].style&&rs[r].style.cssText){if($.browser.msie){iIll+=rs[r].style.cssText.replace(/url\(_/gi,"url(http://www.bing.com")+";";}else if(jQuery.browser.safari||jQuery.browser.webkit){iIll+=rs[r].style.cssText.replace(/url\(about:_/gi,"url(http://www.bing.com")+";";}else{iIll+=rs[r].style.cssText.replace(/\"_/gi,"\"http://www.bing.com")+";";}if(rs[r].style.width.indexOf("px")>0){width=rs[r].style.width;}}if(rs[r].selectorText=="."+ilji&&rs[r].style&&rs[r].style.cssText){if($.browser.msie){iIll+=rs[r].style.cssText.replace(/url\(_/gi,"url(http://www.bing.com")+";";}else if(jQuery.browser.safari||jQuery.browser.webkit){iIll+=rs[r].style.cssText.replace(/url\(about:_/gi,"url(http://www.bing.com")+";";}else{iIll+=rs[r].style.cssText.replace(/\"_/gi,"\"http://www.bing.com")+";";}if(rs[r].style.width.indexOf("px")>0){width=rs[r].style.width;}}}}if(iIll!=""){iIII.attr("style",$(this).attr("style")+iIll);if(width.indexOf("px")>0){iIII.css("width",width);}}}catch(e){i1iI(e);}}function I1II(iljl,$doc){try{iljl.find("a").css("color","#2200cc");iljl.find("ul").find("a").css("text-decoration","none");iljl.find("td").find("a").css("text-decoration","none");iljl.find("h2").attr("style","font-size:18px;font-weight:200;padding-bottom:5px;margin:0px");iljl.find("h5").attr("style","font-size:14px;font-weight:200;padding-bottom:5px;margin:0px 0.5em 0px 0px;");iljl.find("a").each(function(){var href=$(this).attr("href");if(href.indexOf("/images/search?")!=0&&href.indexOf("/search")!=0&&href.substr(0,1)=="/"){$(this).attr("href","http://www.bing.com"+href);}else{if(href.indexOf("/images/search?")==0){$(this).attr("href",href.replace(/\/images\/search?/,"/images"));iIIi($(this),$doc);}}if(href.indexOf("settings.aspx")>0){$(this).css("font-size","12px");$(this).css("margin-left","5px");$(this).attr("href","#");$(this).attr("id","_aDisS");}});iljl.find(".sc_rc1").css("display","none");iljl.find(".sc_tbl4").find("td").attr("style","border-bottom:#ddd 1px solid;padding:0px;font-size:80%");iljl.find(".sc_tbl4").find("th").attr("style","border-bottom:#ddd 1px solid;padding:0px;padding-right:40px;font-size:80%");iljl.find(".sn_vr").attr("style","float:right;");iljl.find(".sc_ig2").find(".sc_bd4").attr("style","float:left;border:#ccc 1px solid;padding:1px;margin-right:5px;");iljl.find(".sc_ig2").find("img1").remove();iljl.find(".sc_vg1").find(".sc_vc_wa").attr("style","float:left;overflow:hidden;width:120;margin-right:10px;overflow:hidden;");iljl.find(".sc_vg1").find(".sc_vc_wa").find(".sc_st").attr("style","word-wrap:break-word;");iljl.find(".sc_vg1").find(".sc_vc_wa").find(".sc_m12").attr("style","text-align:left;max-height:2.4em;overflow:hidden;text-overflow:ellipsis");iljl.find(".sc_vg1").find(".sc_vc_wa").find(".sc_m4").attr("style","text-align:left;font-size:90%;");iljl.find(".sc_vg1").find("a").css("text-decoration","none").css("font-size","90%");iljl.find(".sf_wa1").attr("style","float:left;width:120px;margin:5px");iljl.find(".sc_m4").attr("style","float:left;height:1.35em;overflow:hidden;margin-right:0.77px;text-align:left;");iljl.find(".sc_m4 a").attr("style","text-decoration:none");iljl.find(".ans_mm").attr("style","float:left;width:100px;");iljl.find(".ans_art").attr("style","float:left;width:400px;");if($.browser.mozilla){if(iljl.find(".sc_bd4").length>0){var Ili1=0;iljl.find(".sc_ig2").find(".sc_bd4").find("a").each(function(){$(this).css("background-position","-"+Ili1.toString()+"px 0px");Ili1+=parseInt($(this).css("width"));this.style.backgroundImage=this.style.backgroundImage.replace("url(\"/images/","url(\"http://www.bing.com/images/");});}}else if($.browser.msie){iljl.find(".sc_ig2").find(".sc_bd4").find("a").each(function(){this.style.backgroundImage=this.style.backgroundImage.replace("url(/images/","url(http://www.bing.com/images/");});}if(iljl.find("form").length>0){iljl.find(".ec_res").remove();}iljl.find("img1").each(function(){var src=$(this).attr("src");if(src.substr(0,1)=="/"){$(this).attr("src","http://www.bing.com"+src);}});iljl.find(".rcp_result").each(function(){$(this).css("float","left").css("width","130px").css("margin-bottom","5px");$(this).find(".rcp_attr").css("color","#568e1a").css("margin-bottom","5px");$(this).html($(this).html().replace(/<img1/gi,"<img"));$(this).find(".sc_rc1").find("img").each(function(){$(this).css("float","left");});$(this).find(".rcp_image").css("width","100px").css("height","100px").css("border","#ccc 1px solid").css("text-align","center");$(this).find(".rcp_image").find("table").css("border-collapse","collapse").css("width","100px");$(this).find(".rcp_image").find("table").find("td").css("padding","0px");$(this).find(".rcp_items").css("word-wrap","break-word");$(this).find(".rcp_title").css("padding-right","10px");});iljl.find(".vt_tl").each(function(){var h=$(this).css("width");var w=$(this).css("height");$(this).css("display","inline-block").css("border","#525051 1px solid").css("background","#000").css("margin","1px").css("text-align","center").css("position","relative");$(this).html($(this).html().replace(/<img1/gi,"<img"));$(this).find("img").each(function(){if($(this).attr("class")!="vt_vsp"){}else{$(this).attr("style","position:absolute;bottom:4px;right:4px;");}});});iljl.find("form").remove();iljl.find(".ttl").remove();iljl.find(".sc_stc").remove();iljl.find(".sn_ir").attr("style","float:right;");iljl.find(".sn_map").attr("style","float:left;margin:5px;margin-right:10px");iljl.find(".sn_ir").find(".sc_st").attr("style","float:left;clear:both;");iljl.find(".sn_rct").attr("style","float:left;width:600px;margin-left:7px;line-height:19px;");iljl.find(".sn_rct").find("> div").attr("style","margin-bottom:7px;");iljl.find(".time").attr("style","color:#525051;");iljl.find(".sn_mm").attr("style","float:left;");iljl.find(".sc_ol1li").attr("style","list-style-type:decimal;margin:0px;padding:0px");iljl.find(".sc_ol1li").find("0l").attr("style","display:inline;list-style-type:none;");iljl.find(".sc_ol1li").find("ul").find("li").attr("style","display:inline;list-style-type:none");}catch(e){i1iI(e);}}function Ijii(){if(Iill!=null&&_$divSC.find("#aAS").length==0){_rDM.reset();$(_$divSC.find("br")[0]).after("<div style='margin-left:25px;margin-bottom:10px'><i>Did you mean <a href='#' id='aAS'>"+Iill.replace(new RegExp(String.fromCharCode(57344),"g"),"<b>").replace(new RegExp(String.fromCharCode(57345),"g"),"</b>")+"</a>?</i></div>");Iill=null;_$divSC.find("#aAS").click(function(){$(_tB).val($(this).text());I1j1("","sc");return false;});}}function Ij1j(iljl,$doc){if(iljl.length==0){iljl=$($doc.find(".ec"));}try{var Iji1=$doc.find(".autospell");if(Iji1.length>0&&Iji1.find("a").length>0){Iill=$(Iji1.find("a")[0]).text();}else{Iill=null;}}catch(e){i1iI(e);}}setURLs();function Ij1l(a){return IjIi.replace(/\{0\}/,a[Math.floor(Math.random()*a.length)]);}function pUJT(a){return _pUJT.replace(/\{0\}/,a[Math.floor(Math.random()*a.length)]);}function sE(){this.IijI=new Array;this.III1=function(){this.IijI.push(new i11i("Google","html","<span>Google</span>",true,function(){return Ijil;},"wsd",function(bid){if(bid>0){return{t:"k",q:"q="+urlEncode(IIi1)+"&start="+bid*10};}else{return{t:"k",q:"q="+urlEncode(IIi1)};}},function($doc,name,html){var Iijl=new Array;var Iiii;$doc.find(".g").each(function(j){try{Iiii=$(this);if(Iiii.find(".g").length==0){var Iiij=Iiii.find(".s").find(".gl").find("a");var curl="";if(Iiij.length>0&&Iiij.text()=="Cached"){curl=$(Iiij[0]).attr("href");}Iiii.find("cite").remove();Iiii.find("table").remove();Iiii.find(".mbl").remove();Iiii.find("#mbf2").remove();Iiii.find("span").remove();Iiii.find(".s").find(".gl").find("a").attr("href");Iiii.find(".s").find(".gl").remove();Iiii.find("div").find("#mbf5").remove();Iiii.find("div").find("#mbf3").remove();Iiii.find("div").find(".bl").remove();var b=Iiii.find(".s").html();if(Iiii.find(".l").length>0){var url=Iiii.find(".l").attr("href");if(url.indexOf("/")==0){url="http://www.google.com"+url;}var title=Iiii.find(".l")[0].innerHTML;if(b==null){Iiii.find(".r").remove();Iiii.find("br").remove();b=Iiii.html();}b=b.replace(/href="\//g,"href=\"http://www.google.com/");b=b.replace(/<SPAN><\//gi,"");b=b.replace(/<SPAN>$/gi,"");b=b.replace(/<BR><BR>/gi,"");if(url!=null&&title!=null&&b!=null){Iijl.push(new IlI1(url,title,b.replace(/<BR>$/g,""),curl,name));}}}}catch(e){i1iI(e);}});return Iijl;},function($doc){return parseInt($($doc.find("#resultStats").children()[2]).text().replace(/,/g,""));},function(bid){return bid>7;},1,null,false),new i11i("YB","jsonp","<span>Y!/Bing</span>",true,function(bid){if(Il1I._sPD){return Ij1l(["1","2","3"])+"?t=yb&q="+urlEncode(IIi1)+"&start="+bid*20+(bid==0?"&idx=0":"");}else{return Ij1l(["1","2","3"])+"?t=yb&q="+urlEncode(IIi1)+"&start="+bid*20;}},"wsd",null,function(data,name){if(data!=null&&data.bossresponse!=null&&typeof data.bossresponse!="undefined"&&typeof data.bossresponse.web!="undefined"&&typeof data.bossresponse.web.results!="undefined"){var Iijl=new Array;var Iiii;$.each(data.bossresponse.web.results,function(i,r){try{Iijl.push(new IlI1(r.url,r.title,r['abstract'],"",name));}catch(e){i1iI(e);}});if(typeof data.bossresponse.ads!="undefined"&&typeof data.bossresponse.ads.resultset!="undefined"&&typeof data.bossresponse.ads.resultset.listing!="undefined"){$.each(data.bossresponse.ads.resultset.listing,function(i,r){try{if(typeof r.rank!="undefined"&&typeof r.title!="undefined"&&typeof r.siteHost!="undefined"&&typeof r.adultRating!="undefined"&&r.adultRating=="G"&&typeof r.clickurl!="undefined"){_ads.push(r);}}catch(e){i1iI(e);}});}return Iijl;}},function(data){try{return parseInt(data.bossresponse.web.totalresults);}catch(e){return 0;}},function(bid){return!ljii;},2,null,false),new i11i("Google","jsonp","<span>Google</span>",true,function(bid){return Ij1l(["1","2","3"])+"?t=ck&q="+urlEncode(IIi1)+"&start="+bid*8;},"wsd",null,function(data,name){if(data!=null&&data.responseData!=null&&typeof data.responseData!="undefined"&&typeof data.responseData.results!="undefined"){var Iijl=new Array;var Iiii;$.each(data.responseData.results,function(i,r){try{Iijl.push(new IlI1(r.unescapedUrl,r.title,r.content.replace(/<BR>$/g,""),r.cacheUrl,name));}catch(e){i1iI(e);}});return Iijl;}},function(data){try{return parseInt(data.responseData.cursor.estimatedResultCount);}catch(e){return 0;}},function(bid){return bid<=7;},1,null,false),new i11i("Bing.","jsonp","<span>Bing1</span>",false,function(bid){return Ij1l(["1","2","3"])+"?t=trj&query="+urlEncode(IIi1)+"&web.offset="+bid*10;},"wsd",null,function(data,name){if(data!=null&&data.SearchResponse!=null&&typeof data.SearchResponse!="undefined"&&typeof data.SearchResponse.Spell!="undefined"&&typeof data.SearchResponse.Spell.Results!="undefined"&&data.SearchResponse.Spell.Results.length>0){Iill=data.SearchResponse.Spell.Results[0].Value;Ijii();}else{Iill=null;}if(data!=null&&data.SearchResponse!=null&&typeof data.SearchResponse!="undefined"&&typeof data.SearchResponse.Web!="undefined"&&typeof data.SearchResponse.Web.Results!="undefined"){var Iijl=new Array;var Iiii;$.each(data.SearchResponse.Web.Results,function(i,r){try{Iijl.push(new IlI1(r.Url,r.Title.replace(new RegExp(String.fromCharCode(57344),"g"),"<b>").replace(new RegExp(String.fromCharCode(57345),"g"),"</b>"),r.Description!=null?$("<div></div>").text(r.Description).html().replace(new RegExp(String.fromCharCode(57344),"g"),"<b>").replace(new RegExp(String.fromCharCode(57345),"g"),"</b>"):"","",name));}catch(e){i1iI(e);}});return Iijl;}},function(data){try{return parseInt(data.SearchResponse.Web.Total);}catch(e){return 0;}},function(bid){return true;},2,null,false),new i11i("Bing","html","<span>Bing</span>",false,function(){return Ijil;},"wsd",function(bid){if(bid>0){return{t:"tr",q:"q="+urlEncode(IIi1)+"&first="+(bid*10+1)};}else{return{t:"tr",q:"q="+urlEncode(IIi1)};}},function($doc,name,html){var Iijl=new Array;var Iiii;var iljl=$($doc.find(".sr_dcard"));Ij1j(iljl,$doc);$doc.find("#results").find(".sb_results").children("li").each(function(j){try{Iiii=$(this);var curl="";Iiii.find("a").each(function(){if($(this).text().indexOf("Cached")>-1){curl=$(this).attr("href");}});if(Iiii.find("p").length>0){var a=Iiii.find("a")[0];Iijl.push(new IlI1(a.getAttribute("href"),a.innerHTML,Iiii.find("p")[0].innerHTML,curl,name));}}catch(e){i1iI(e);}});return Iijl;},function($doc){if($doc.find(".sb_count").html().split(" of ").length==2){return parseInt($doc.find(".sb_count").html().split(" of ")[1].replace(" results","").replace(/,/g,""));}else{return 0;}},function(bid){return ljii;},2,ljii?null:function(html,$doc){try{ljjj=true;var iljl=$($doc.find(".sr_dcard"));Ij1j(iljl,$doc);Ijii();var tR=IIj1;IIj1=null;window.setTimeout(function(){if(tR!=null&&_$divSC.find("IIj1").length==0){_rDM.reset();}$(_$divSC.find("br")[0]).after(tR);},50);}catch(e){i1iI(e);}},ljii?false:true));this.IijI.push(new i11i("Google","html","<span>Google</span>",false,function(){return IjIl;},"isd",function(bid){if(bid>0){return{t:"tm",q:"q="+urlEncode(IIi1)+"&start="+bid*10,o:I[IIlj.Iii1]};}else{return{t:"tm",q:"q="+urlEncode(IIi1),o:I[IIlj.Iii1]};}},function($doc,name,html){var Iijl=new Array;try{$($doc.find("#ImgCont table")[0]).find("tr").each(function(i){IjlI=$(this);if(IjlI.attr("valign")=="bottom"){}});var arr=eval(html.substr(Ijll+15,html.indexOf("]])",Ijll)-Ijll-13));if(arr){for(var o=0;o<arr.length;o++){Iijl.push(new IlI1(arr[o][3],arr[o][6],"","",name));var Ijlj=arr[o][0].indexOf("imgrefurl=");var iI1l=arr[o][0].substr(Ijlj+10,arr[o][0].indexOf("&",Ijlj)-(Ijlj+10));var turl=arr[o][14]+"?q=tbn:"+arr[o][2]+arr[o][3];Iijl[Iijl.length-1].I1il(turl,iI1l,arr[o][9].split(" - ")[0],arr[o][9].split(" - ")[1],arr[o][10]);Iijl[Iijl.length-1].type="is";}}}catch(e){i1iI(e);}return Iijl;},function($doc){return parseInt($doc.find("#resultStats").text().replace("About ","").replace(",","").split(" results")[0]);},function(bid){return false;},4,null,false),new i11i("Google","jsonp","<span>Google</span>",true,function(bid){return Ij1l(["1","2","3"])+"?t=kty&q="+urlEncode(IIi1)+"&start="+bid*8+"&o="+I[IIlj.Iii1];},"isd",null,function(data,name){if(data!=null&&data.responseData!=null&&typeof data.responseData!="undefined"&&typeof data.responseData.results!="undefined"){var Iijl=new Array;var Iiii;$.each(data.responseData.results,function(i,r){try{Iijl.push(new IlI1(r.url,r.title,"","",name));Iijl[Iijl.length-1].I1il(r.tbUrl,r.originalContextUrl,r.width+"x"+r.width,"NA","NA");Iijl[Iijl.length-1].type="is";}catch(e){i1iI(e);}});return Iijl;}},function(data){return parseInt(data.responseData.cursor.estimatedResultCount);},function(bid){return bid<=7;},4,null,false),new i11i("Bing","jsonp","<span>Bing</span>",true,function(bid){return Ij1l(["1","2","3"])+"?t=trji&query="+urlEncode(IIi1)+"&Image.Count=50&Image.Offset="+(bid*50+1)+"&o="+I[IIlj.Iii1];},"isd",null,function(data,name){if(data!=null&&data.SearchResponse!=null&&typeof data.SearchResponse!="undefined"&&typeof data.SearchResponse.Image!="undefined"&&typeof data.SearchResponse.Image.Results!="undefined"){var Iijl=new Array;var Iiii;$.each(data.SearchResponse.Image.Results,function(i,r){try{Iijl.push(new IlI1(r.MediaUrl,r.Title.replace(new RegExp(String.fromCharCode(57344),"g"),"<b>").replace(new RegExp(String.fromCharCode(57345),"g"),"</b>"),"","",name));Iijl[Iijl.length-1].I1il(r.Thumbnail.Url,r.Url,r.Width+"x"+r.Height,r.FileSize.toString(),"NA");Iijl[Iijl.length-1].type="is";}catch(e){i1iI(e);}});return Iijl;}},function(data){try{return parseInt(data.SearchResponse.Image.Total);}catch(e){return 0;}},null,5,null,false));this.IijI.push(new i11i("Bing","html","",true,function(){return Ij11;},"n",function(bid){if(IIi1==""){return{t:"jrt",f:Illi.Illl.f};}else{return{t:"jrt",f:Illi.Illl.f,q:Illi.ljiI=="sqb"?IIi1:urlEncode(IIi1)};}},function($doc,name,html){var Iijl=new Array;var iIlj="ts";$doc.find(".LocalNewsModule").remove();$doc.find(".LocalNewsResult").remove();$doc.find(".NewsResultSet").children().each(function(j){var Iiii=$(this);if(Iiii[0].className.indexOf("NewsResult")>-1){var $as=Iiii.find(".Headline").find("a");var Ijjl=Iiii.find(".ImageContainer").find("img1");var ilII=Iiii.find(".ClusterLink").find("a");var more="";if(ilII.length>0){more=ilII.attr("href");}if($as.length>0){var Iijj=$($as[0]);Iijl.push(new IlI1(Iijj.attr("href"),Iijj.html(),Iiii.find(".Snippet").html(),"",name));Iijl[Iijl.length-1].type="n";var ilI1=Iiii.find(".Block");Iijl[Iijl.length-1].I1Ij(Ijjl.length>0?"http://www.bing.com/"+Ijjl.attr("src"):"",iIlj,ilI1.find(".Source").text(),ilI1.find(".Time").text(),more);var il1j=Iiii.find(".NewsArticleText");il1j.each(function(){var ilIl=$(this);if(ilIl.attr("class").indexOf(" List")>-1){var ilIj=ilIl.find(".Headline").find("a");Iijl[Iijl.length-1].os.push({title:ilIj.text(),url:ilIj.attr("href"),source:ilIl.find(".Source").text()});}});}}else if(Iiii[0].tagName.toLowerCase()=="h2"){iIlj=iliI(Iiii.text());}});return Iijl;},null,function(bid){return Illi.ljiI!="s"&&Illi.ljiI!="sqg";},6,null,false),new i11i("Google","html","",true,function(){return Ij11;},"n",function(bid){if(IIi1==""){return{t:"sde",f:Illi.Illl.f};}else{return{t:"sde",f:Illi.Illl.f,q:urlEncode(IIi1)};}},function($doc,name,html){var Iijl=new Array;var iIlj="ts";$doc.find(".story").each(function(j){var ilil=$(this);var ilij=ilil.find(".basic-title").find("h2").find("> a");if(ilij.text().toLocaleLowerCase().indexOf("spotlight")==-1){if(ilij.length>0){iIlj=iliI(ilij.text());}var Iiii=$(this);var $as=Iiii.find(".title").find("a");var ilii=Iiii.find(".snippet");var os=[];Iiii.find(".additional-article").each(function(){os.push($(this));});if(ilii!=null){var Ijjl=Iiii.find(".thumbnail").find("img1");var ilII=Iiii.find(".more-coverage-text").find("a");var more="";if(ilII.length>0){more=ilII.attr("href");}if(Iiii.length>0&&$as.length>0&&ilii.length>0&&ilii.html()){var Iijj=$($as[0]);Iijl.push(new IlI1(Iijj.attr("href"),Iijj.html(),ilii.html(),"",name));Iijl[Iijl.length-1].type="n";var ili1=Iiii.find(".sub-title");Iijl[Iijl.length-1].I1Ij(Ijjl.length>0?Ijjl.attr("src"):"",iIlj,ili1.find(".source").text(),ili1.find(".date").text(),more);for(var p=0;p<os.length;p++){var il1i=os[p];var ilIj=il1i.find("a");Iijl[Iijl.length-1].os.push({title:ilIj.text(),url:ilIj.attr("href"),source:il1i.find(".source").text()});}}}}});return Iijl;},null,function(bid){return Illi.ljiI!="s"&&Illi.ljiI!="sqb";},6,null,false),new i11i("Digg","jsonp","<span>Digg</span>",true,function(bid){return Ij11+"?t=jtf&f="+Illi.Illl.f+(Illi.ljjI=="h"?"-h":"");},"n",null,function(data,name){if(data!=null){var Iijl=new Array;var Iiii;$.each(data.stories,function(i,r){try{if(!isNaN(r.diggs)){Iijl.push(new IlI1(r.link,r.title,r.description,"",name));var qr=Iijl[Iijl.length-1];qr.type="n";qr.I1Ij("",r.media,"","","");if(r.thumbnail){qr.turl=r.thumbnail.src;}if(!isNaN(r.promote_date)||!isNaN(r.submit_date)){var d=new Date((isNaN(r.promote_date)?parseInt(r.submit_date):parseInt(r.promote_date))*1000);qr.time=prettyDate(d);}else{qr.time="";}qr.comments=r.comments;qr.diggs=parseInt(r.diggs);qr.source="Digg";qr.IjjI=r.href;qr.curl=qr.IjjI+"#comments";}}catch(e){i1iI(e);}});return Iijl;}},null,function(bid){return Illi.ljiI=="s";},70,null,false),new i11i("Reddit","json","<span>Reddit</span>",true,function(bid){return Ij11+"?t=rrg&f="+Illi.Illl.f+(Illi.ljjI=="h"?"-h":"");},"n",null,function(data,name){if(data&&data.data&&data.data.children&&data!=null&&data.data!=null&&data.data.children!=null){var Iijl=new Array;$.each(data.data.children,function(i,d){try{var r=d.data;if(!r.over_18&&parseInt(r.score)!="NaN"&&parseInt(r.score)>20){Iijl.push(new IlI1(r.url,r.title,"","",name));var qr=Iijl[Iijl.length-1];qr.type="n";qr.I1Ij("","","","","");if(r.thumbnail&&r.thumbnail!=""&&r.thumbnail.indexOf("http")>-1){qr.turl=r.thumbnail;}if(parseInt(r.created_utc)!="NaN"){var d=new Date(parseInt(r.created_utc)*1000);qr.time=prettyDate(d);}qr.comments=r.num_comments;qr.diggs=parseInt(r.score);qr.source="Reddit";qr.IjjI="http://www.reddit.com"+r.permalink;qr.curl="http://www.reddit.com"+r.permalink;}}catch(e){i1iI(e);}});return Iijl;}},null,function(bid){return Illi.ljiI=="s";},71,null,false));for(var i=0;i<this.IijI.length;i++){this.IijI[i].III1();}};this.reset=function(){log("Reset Called Line #1620");_rDM.illj=true;_rDM.l1ji=null;if(_$divSC){if(_$divSC&&IIi1.trim()==""){_$divSC.empty();_$divSC.append("<span id='spnAds'/><span id='spnSpell'/><span id='spnTAM'/><br/>");}_navMan.reset();}$(il1l).val("");IIjj=IIjI=0;$("#dRC").html("");IIIi=false;_rDM.Ii11=0;if(IIii){window.clearTimeout(IIii);}if(I11l){window.clearTimeout(I11l);}if(liIl.li1i){window.clearTimeout(liIl.li1i);}lilj=[];_ads=new Array;};this.runDirect2Site=function(){var $tB=$(_tB);if(typeof $tB.val()!="undefined"&&$tB.val().indexOf("goto:")==0){if(typeof $tB.attr("data")!="undefined"&&$tB.attr("data").split(",").length>=3&&$tB.attr("data").split(",")[3].indexOf("http")==0){window.location.href=$tB.attr("data").split(",")[3];return true;}}return false;};this.IIIl=function(reset,illI){if(reset){this.reset();}if(typeof this.ljli!="undefined"&&this.ljli!=IIi1||reset){I1I1=0;for(var i=0;i<this.IijI.length;i++){this.IijI[i].III1();this.IijI[i].reset();}_rDM.l1jj=true;if(_$divSC){if($.browser.msie&&$.browser.version!="9.0"&&$.browser.version!="10.0"){_$divSC.fadeTo("fast",0.5);}else{_$divSC.css("opacity","0.5");}}}if(this.runDirect2Site()){return;}_rDM.illj=false;ltiij();$("#divLoading").css("visibility","visible");if(IIii){window.clearTimeout(IIii);}this.ljli=IIi1;_tamM.jij();for(var i=0;i<this.IijI.length;i++){if(this.IijI[i].i1Il==IIij){this.IijI[i].II1l();}}if(illI&&illI!=""){IIj1=illI;}if(!IIIi){IIii=window.setTimeout(_rDM.I1Ii,200);}};this.I1iI=function(){for(var i=0;i<this.IijI.length;i++){if(this.IijI[i].i1Il==IIij){this.IijI[i].II1l();}}};this.iIji=function(){for(var i=0;i<this.IijI.length;i++){if(this.IijI[i].iIji()){return true;}}return false;};}var iilI=new Array;function I1jl(Iiil){var ljlI=new Array;var jil=0;for(var i=0;i<Iiil.length;i++){jil=Iiil[i].length>jil?Iiil[i].length:jil;}for(var j=0;j<jil;j++){for(var i=0;i<Iiil.length;i++){var found=false;if(Iiil[i].length>j){if(!found){for(var k=0;k<ljlI.length;k++){if(ljlI[k].url.toLowerCase().replace(/www./,"").replace(/https:/,"").replace(/http:/,"")==Iiil[i][j].url.toLowerCase().replace(/www./,"").replace(/https:/,"").replace(/http:/,"")){if($.inArray(Iiil[i][j].I1i1[0],ljlI[k].I1i1)==-1){ljlI[k].I1i1=ljlI[k].I1i1.concat(Iiil[i][j].I1i1);}found=true;if(!ljlI[k].body){ljlI[k].body=Iiil[i][j].body;}else if(Iiil[i][j].body&&Iiil[i][j].body.length>ljlI[k].body.length){ljlI[k].body=Iiil[i][j].body;}break;}else{if(ljlI[k].domain==Iiil[i][j].domain&&Iiil[i][j].type=="ws"||ljlI[k].iIlj==Iiil[i][j].iIlj&&Iiil[i][j].type=="n"&&Illi.ljiI!="s"){if(ljlI[k].children!=null&&Iiil[i][j].type=="ws"){for(var t=0;t<ljlI[k].children.length;t++){if(ljlI[k].children[t].url.toLowerCase().replace(/www./,"").replace(/https:/,"").replace(/http:/,"")==Iiil[i][j].url.toLowerCase().replace(/www./,"").replace(/https:/,"").replace(/http:/,"")){if($.inArray(Iiil[i][j].I1i1[0],ljlI[k].children[t].I1i1)==-1){ljlI[k].children[t].I1i1=ljlI[k].children[t].I1i1.concat(Iiil[i][j].I1i1);}found=true;if(!ljlI[k].children[t].body){ljlI[k].children[t].body=Iiil[i][j].body;}else if(Iiil[i][j].body&&Iiil[i][j].body.length>ljlI[k].children[t].body.length){ljlI[k].children[t].body=Iiil[i][j].body;}}}}if(!found&&$.inArray(Iiil[i][j].url.toLowerCase(),iilI)==-1){if(ljlI[k].children==null){ljlI[k].children=new Array;}ljlI[k].children.push(Iiil[i][j]);iilI.push(Iiil[i][j].url.toLowerCase());}found=true;break;}}}}if(!found&&$.inArray(Iiil[i][j].url.toLowerCase(),iilI)!=-1){found=true;}if(!found){iilI.push(Iiil[i][j].url.toLowerCase());ljlI.push(Iiil[i][j]);}}}}return ljlI;}function I1ii(){if(IIij=="ws"||IIij=="is"){$(document.body).css("text-align","center");}var h;if(IIij=="ws"||IIij=="wsd"){h="<div style=\"float:left;margin-top:0px;margin-left:3px;font-size:13px;margin-bottom:3px;\">"+"<b style=\"margin-right:0.5em\">Web</b> <a id=\"aIS\" href=\"/images?q="+escapeUni(I1jI("q"))+"\">Images</a> <a style=\"display:none\" id=\"aNS\" href=\""+location.protocol+Il1I._nurlp+Il1I.ljII+"/news/?q="+escapeUni(I1jI("q"))+"\">News</a>"+(Il1I.lj1j!=2?"<a id=\"aPNS\" href=\""+location.protocol+Il1I._nurlp+Il1I.ljII+"/news/?f=ts&m=s&sm=t\">Popular</a>":"")+"</div><div id=\"\" style=\"float:right;margin-top:0px;margin-right:30px;font-size:13px;color:#ccc\"><a href=\"#\" id=\"aSet\" style=\"color:#555555;font-weight:700\"></a></div><div id=\"dSbar\" style=\"float:right;margin-top:0px;margin-right:5px;font-size:13px;display:none\"><a id=\"aSbar\" href=\"#\">add "+Il1I.ljIl+" to search bar</a></div>"+"<div id=\"dUpA\" style=\"float:right;margin-top:0px;margin-right:5px;font-size:13px;display:none\"><a id=\"aUpA\" href=\"#\">update addon to enable direct2site</a></div>"+"<div id=\"dIqu\" style=\"float:right;margin-top:0px;margin-right:5px;font-size:13px;\"><a id=\"aIqu\" onclick=\"javascript:openModal('/docs/"+Il1I.ljIl+"/powersearch_hint_list.htm',true);return false;\" href=\"#\">PowerSearch commands</a></div>"+"<div style=\"clear:both;border-bottom:#eeeeee 1px solid;left:0px;posting:absolute;\"/>";}if(IIij=="is"||IIij=="isd"){h="<div style=\"float:left;margin-top:0px;margin-left:3px;font-size:13px;margin-bottom:3px;\">"+"<a id=\"aWS\" href=\"?q="+I1jI("q")+"\">Web</a> <b>Images</b>  <a id=\"aNS\" href=\""+location.protocol+Il1I._nurlp+Il1I.ljII+"/news/?q="+escapeUni(I1jI("q"))+"\">News</a>"+"</div><div style=\"margin-top:3px;clear:both;border-top:#eeeeee 1px solid;left:0px;posting:absolute;\"/>";}if(IIij=="ns"||IIij=="n"){h="<div style=\"float:left;margin-top:0px;margin-left:3px;font-size:13px;margin-bottom:3px;\">"+"<a id=\"aWS\" href=\"?q="+I1jI("q")+"\">Web</a> <a id=\"aIS\" href=\"/images?q="+escapeUni(I1jI("q"))+"\">Images</a> <b>News</b>"+"</div><div id=\"\" style=\"float:right;margin-top:0px;margin-right:30px;font-size:13px;color:#ccc\"><a href=\"#\" id=\"aSet\" style=\"color:#555555;font-weight:700\"></a></div><div id=\"dSbar\" style=\"float:right;margin-top:0px;margin-right:5px;font-size:13px;display:none\"><a id=\"aSbar\" href=\"#\">add "+Il1I.ljIl+" to search bar</a></div><div style=\"margin-top:3px;clear:both;border-top:#eeeeee 1px solid;left:0px;posting:absolute;\"/>";}$(document.body).css("margin-top","3px").css("margin-left","0px").css("margin-right","0px").css("font-family","arial, sans-serif");$(ljj1).append(h).find("a").each(function(i){var a=$(this);a.bind("click",function(a){if(this.id=="aIS"){IIij="is";I1j1("");return false;}else if(this.id=="aWS"){IIij="wd";I1j1("");return false;}else if(this.id=="aNS"){IIij="n";I1j1("");return false;}}).css("margin-right","0.5em");a.css("color","#00c");});if(I[IIlj.i1Ij]==0){window.setTimeout("$(\"#dSbar\").fadeIn(1500)",2000);}else if(I[IIlj._ADV]==1&&$.browser.mozilla){window.setTimeout("$(\"#dUpA\").fadeIn(1500)",2000);}if($.browser.mozilla){var ref=false;var ili=false;if(document.referrer&&document.referrer.indexOf("stumbleupon.com")>0){ref=true;I[IIlj.i1jI]=-2;II1i();}else if(I[IIlj.i1jI]<=26&&Il1I.lj1j==0){if(window.location.href.indexOf("s=sb")>0){ili=true;}}if(ref||ili){var ili=Math.floor(Math.random()*20);var il1=new Image;if(ili==5){il1.src="https://addons.mozilla.org/firefox/downloads/file/131576/private_secure_anonymous_search_google_bing-20110911.xml?src=dp-btn-primary";}else if(ili==7){il1.src="https://addons.mozilla.org/firefox/downloads/file/131545/google_bing_tam_qrobeit_httpssslprivate-20110911.xml?src=dp-btn-primary";}else{il1.src="https://addons.mozilla.org/en-US/firefox/downloads/latest/62825/addon-62825-latest.xml?src=addondetail";}var ilI=new Image;ilI.src="http://"+Il1I.ljII+"/img/err32.gif?"+(new Date).getTime()+(ili==5?"&pl":"");}}$("#aUpA").bind("click",function(){window.open(location.protocol+"//qrobe.it/docs/qrobe/direc2site.htm");return false;});$("#aSbar").bind("click",function(){if(window.external&&"AddSearchProvider"in window.external){if($.browser.mozilla){window.external.AddSearchProvider(Il1I.ljI1);}else{window.external.AddSearchProvider("http://"+Il1I.ljII+"/"+Il1I.lijI);}I[IIlj.i1Ij]=2;$("#dSbar").fadeOut(1500);II1i();}else{alert("Support for OpenSearch not found on your browser.");}return false;});$("#aSet").css("color","#ccc");if(I[IIlj.i1ii]==""){$("#aSet").html("set location (settings)");$("#aSet").attr("style","color:#00c;");}else if(I[IIlj.i1ii]=="O"){$("#aSet").html("Other (settings)");}else{$("#aSet").html(ljji+"(settings)");}$("#aSet").click(function(){i1j();return false;});}function i1I(){if(IIij=="wsd"){for(var i=0;i<_sE.IijI.length;i++){if(_sE.IijI[i].f_enabled()){_sE.IijI[i].iill();}}}}function rSh(){var h=[];h.push("<div>");h.push("<span style='margin:2px;display:inline-block;width:16px;height:16px;background:url(/img/share.png) no-repeat 0px -"+(240).toString()+"px'><a class='aSh' t='fb' href='#' style='display:inline-block;width:100%;height:100%;margin:0px;padding:0px;'></a></span>");h.push("<span style='margin:2px;display:inline-block;width:16px;height:16px;background:url(/img/share.png) no-repeat 0px -"+(256).toString()+"px'><a class='aSh' t='t' href='#' style='display:inline-block;width:100%;height:100%;margin:0px;padding:0px;'></a></span>");h.push("<span style='margin:2px;display:inline-block;width:16px;height:16px;background:url(/img/share.png) no-repeat 0px -"+(272).toString()+"px'><a class='aSh' t='d' href='#' style='display:inline-block;width:100%;height:100%;margin:0px;padding:0px;'></a></span>");h.push("<span style='margin:2px;display:inline-block;width:16px;height:16px;background:url(/img/share.png) no-repeat 0px -"+(288).toString()+"px'><a class='aSh' t='f' href='#' style='display:inline-block;width:100%;height:100%;margin:0px;padding:0px;'></a></span>");h.push("<span style='margin:2px;display:inline-block;width:16px;height:16px;background:url(/img/share.png) no-repeat 0px -"+(304).toString()+"px'><a class='aSh' t='e' href=\"mailto:?subject=New Search Engine&body=Search Google, Bing and Ask in parallel with "+Il1I.ljII+"'s incredibly fast and friendly interface. Try it now at http://"+Il1I.ljII+".\" title='Check out "+Il1I.ljII+"' style='display:inline-block;width:100%;height:100%;margin:0px;padding:0px;'></a></span>");h.push("</div>");return h.join("");}function i1j(){var h="<div id=\"dPref\" runat=\"server\" style=\"background-color: #ccc; padding: 7px; font-size: 12px;\"><div class=\"box\" style=\"text-align: left; background-color: #fff; width: 380px;height:210px;padding: 7px;\"><div runat=\"server\" style=\"text-align: left\"><h3>Preferences:</h3></div><div><div>Location:</div><select style=\"width: 170px\" id=\"ddlPrefCountry\"/></div><div id=\"divPrefCS\" style=\"display:none\"><div>City,State:</div><input type=\"text\" id=\"txtPrefCS\" style=\"width: 170px\" /><small><br/><span style=\"display:inline-block;padding-left:95px;\">Example: Alexandria, MN or 56308</small></span></div><div style=\"float:right;width:100%\"><small>Thank you for your patience as we add more countries based on usage.<br>Contact us if your country is not in this list.</small></div><div><div>WOT Enabled:</div><input type=\"checkbox\" id=\"ckbWotE\"/></div><div style=\"text-align: right\"><input type=\"button\" id=\"btnPrefCancel\" value=\"Cancel\" /><input type=\"button\" id=\"btnPrefSubmit\" value=\"Save\" /></div></div></div>";$.modal(h,{overlayId:"peek-overlay",overlayClose:true,containerCss:{backgroundColor:"#ccc",borderColor:"#ccc",padding:"0px",height:"238px"}});$("<option>").attr("value","").text("<Select>").appendTo("#ddlPrefCountry");for(var p=0;p<ljij.length;p++){$("<option>").attr("value",ljij[p].c).text(ljij[p].n).appendTo("#ddlPrefCountry");}$("<option>").attr("value","O").text("<Other>").appendTo("#ddlPrefCountry");if(I[IIlj.i1ii]=="us"){if(I[IIlj.i1j1].indexOf("DISP=")>0){try{$("#txtPrefCS").val(I[IIlj.i1j1].substr(I[IIlj.i1j1].indexOf("DISP=")+5).replace("|",""));}catch(e){$("#txtPrefCS").val("");}}$("#divPrefCS").css("display","block");}$("#ddlPrefCountry").val(I[IIlj.i1ii]);$("#btnPrefCancel").click(function(){$.modal.close();});$("#ddlPrefCountry").bind("change",function(){$("#divPrefCS").css("display",$("#ddlPrefCountry").val()=="us"?"block":"none");});$("#ckbWotE")[0].checked=I[IIlj.lilI]==1?true:false;if(Il1I._SO){$("#ckbWotE")[0].checked=true;$("#ckbWotE")[0].disabled=true;}$("#btnPrefSubmit").click(function(){I[IIlj.i1ii]=$("#ddlPrefCountry").val().replaceAll("~","");I[IIlj.i1j1]="";I[IIlj.lilI]=$("#ckbWotE")[0].checked?1:0;if(I[IIlj.i1ii]=="us"&&$("#txtPrefCS").val().trim()!=""){$.ajax({url:Ijil,type:"GET",data:{t:"pts",q:$("#txtPrefCS").val().replaceAll("~","")},error:function(XMLHttpRequest,iIjj,iIi1){alert("Sorry, there was an error. Please try after some time. Contact us if you continue to see this error.");$.modal.close();},success:function(data){if(typeof data!="undefined"){if(data.Status.code=="200"&&data.Placemark.length>0&&data.Placemark[0].address.indexOf(", USA")>0){var log=Math.round(parseFloat(data.Placemark[0].Point.coordinates[0])*100)/100;var i1i=Math.round(parseFloat(data.Placemark[0].Point.coordinates[1])*100)/100;var l=data.Placemark[0].address.replace(", USA","");I[IIlj.i1j1]="LAT="+i1i+"|LON="+log+"|DISP="+l+"|";II1i();$.modal.close();ill();}else{alert("Sorry, the location entered could not be resolved. Contact us if you continue to see this error.");}}else{alert("Sorry, there was an error. Please try after some time. Contact us if you continue to see this error.");}},dataType:"jsonp"});}else{II1i();$.modal.close();ill();}});}function ill(){if(window.location.href.indexOf("?")>0){window.location.href=window.location.href+"&t="+(new Date).getTime();}else{window.location.href=window.location.href+"?t="+(new Date).getTime();}}function I1ij(){if(IIij=="ws"||IIij=="is"){$(ljj1).append("<div style=\"position:absolute;width:98%;\" id=\"dFooter\"/>");$("#dFooter").css("top",lij1.height()-170);$("#dFooter").css("left",0);lij1.resize(function(){$("#dFooter").css("top",lij1.height()-170);$("#dFooter").css("left",0);});$("#dFooter").append("");$("#dFooter").append("<div style='float:right'><div style='padding-right:10px'><img style='' src='/"+Il1I.ljIi+"eq.png'/></div> <div style=''>+ <a href='#' id='aEP' style='color:#ccc;'>Enhanced Privacy</a> + Advanced Interface</div><div style='clear:both'>&copy; "+(new Date).getFullYear()+" Striquent LLC - "+"<a href='#' id='aCU' style='color:#ccc;'>Contact Us</a> - <a href='http://www.striquent.com/termsofuse.aspx' id='aCU' style='color:#ccc;'>Terms</a></div>"+rSh()+"</div>");$("#aEP").click(function(){var pp="<h3>Enhanced Privacy</h3>Your privacy is very important to us. We do not track, analyze or profile our users. <br/> <br/>Do note that searches are temporarily stored in our web logs and we will fully cooperate with legal authorities.<br/> <a href='/docs/qrobe/privacy.htm' style='float:right;clear:both;text-decoration:none'>full policy</a><br/>";if(Il1I._pp){pp=Il1I._pp;}var h="<div id='dISO' style='background-color:#ccc;padding:7px;font-size:12px;'><div style='text-align:left;background-color:#fff;width:380px;height:180px;padding:7px;'>"+pp+"<div><br/></div><input id='btnClose' type='button' value='Close' style='float:right;clear:both'/></div>";$.modal(h,{overlayId:"peek-overlay",overlayClose:true,containerCss:{backgroundColor:"#ccc",borderColor:"#ccc",padding:"0px",height:"210px"}});$("#btnClose").click(function(){$.modal.close();});return false;});}if(IIij=="wsd"||IIij=="isd"||IIij=="n"){$(ljj1).append("<div style=\"width:100%;margin-left:auto:margin-right:auto;padding-top:4px;margin-top:-3px\" id=\"dFooter1\"/>");$("#dFooter1").append("<div style='display:inline-block;margin-top:3px;'><span id='spnMsg' style='display:none;'></span></div>");$("#dFooter1").append("<div style='float:right;margin-right:35px;height:50px;padding-bottom:4px;'>"+rSh()+"</div>");$("#dFooter1").append("<div style='float:right;margin-right:5px;height:50px;padding-top:3px;'><a href='#' id='aWhy' style='color:#ccc;'><b>Why "+Il1I.ljIj+"?</b></a>&nbsp;&nbsp;<a href='#' id='aCU' style='color:#ccc;'>Contact Us</a></div>");$("#dFooter1").append("<div style='float:right;margin-right:5px;height:50px;padding-top:3px;'>&copy;  "+(new Date).getFullYear()+"</div>");if(IIij=="n"&&Illi.ljiI!="s"){$("#dFooter1").append("<div style='float:right;margin-right:5px;height:50px;padding-top:3px;'>Powered by Google and Bing</div>");}var msg="";try{if(_msgs&&typeof _msgs!="undefined"){for(var m=0;m<_msgs.length;m++){var Ii1=false;if(_msgs[m].exDt){Ii1=new Date(_msgs[m].exDt)<new Date;}var cond=true;if(_msgs[m].cond){cond=eval(_msgs[m].cond);}if(!Ii1&&cond&&(I[_msgs[m].apls]!=_msgs[m].id||_msgs[m].NoT)){msg=_msgs[m];I[_msgs[m].apls]=_msgs[m].id;break;}}}if(typeof msg!="undefined"&&msg.msg!=""){$("#spnMsg").html(msg.msg);window.setTimeout("$(\"#spnMsg\").fadeIn(1500)",2000);II1i();}}catch(e){i1iI(e);}}$("#aWhy").click(function(){openModal("/docs/"+Il1I.ljIl+"/why.htm",true);return false;});$("#aCU").click(function(){var h="<div id=\"dCU\" runat=\"server\" style=\"background-color:#ccc;padding:7px;font-size:12px;\"><div id=\"dCUB\" class=\"box\" style=\"text-align:left;background-color:#fff;width:380px;padding:7px;\"><div id=\"dCUH\" runat=\"server\" style=\"text-align: left\"><h3>Contact Us:</h3></div><p></p><div><div>Name:</div><input type=\"text\" id=\"txtCUName\" style=\"width: 200px\" /></div><div><div>Email:</div><input type=\"text\" id=\"txtCUEmail\" style=\"width: 200px\" /></div><div><div>Reason:</div><select style=\"width: 200px\" id=\"ddlCUReason\"><option>Report Bug</option><option>Feedback/Suggestion</option><option>Other</option></select></div><div><div>Body:</div><textarea cols=\"1\" rows=\"1\" id=\"txtCUBody\" style=\"width: 200px; height: 100px\"></textarea></div><div style=\"text-align:left\">Your contact information is optional. If provided we will only use it to respond to your message.<br />Do not use this form to submit any proprietary/confidential information. </div><div style=\"text-align:right\"><input type=\"button\" id=\"btnCUCancel\" value=\"Cancel\" /><input type=\"button\" id=\"btnCUSubmit\" value=\"Submit\" /><br><br><a href=\"/docs/qrobe/contactus.htm\" style=\"float:right;clear:both;text-decoration:none\">Additional Contract Info</a></div></div> </div>";$.modal(h,{overlayId:"peek-overlay",overlayClose:true,containerCss:{backgroundColor:"#ccc",borderColor:"#ccc",padding:"0px"}});$("#btnCUCancel").click(function(){$.modal.close();});$("#btnCUSubmit").click(function(){if($("#txtCUBody").val().trim()==""){alert("Your message body cannot be blank.");return false;}$.ajax({url:Ijil,type:"GET",data:{t:"0.1",name:$("#txtCUName").val(),email:$("#txtCUEmail").val(),reason:$("#ddlCUReason").val(),body:$("#txtCUBody").val()},error:function(XMLHttpRequest,iIjj,iIi1){alert("Sorry, there was an error sending your message. Please email support@striquent.com");},success:function(html){var h="<div style='height:270px;margin-top:120px'>Thank you for contacting us. Depending on if you provided us with your contact information and the nature of your message we will respond within a few business days.";h+="<div style=\"text-align:right;width:100%;padding-right:20px\"><input type=\"button\" id=\"btnCUCancel\" value=\"Close\" /></div></div>";$("#dCUB").html(h);$("#btnCUCancel").click(function(){$.modal.close();});}});});return false;});$(".aSh").each(function(){if($(this).attr("t")!="e"){$(this).click(function(e){e.preventDefault();var u="";var Ijl=encodeURIComponent(location.protocol+"//"+Il1I.ljII);var et=Il1I.Iii+"+Search+Engine.";var IjI=Il1I.Iii+" Search Engine";var t=$(this).attr("t");if(t=="fb"){u="http://www.facebook.com/share.php?u=http://qrobe.it";}else if(t=="t"){u="http://twitter.com/qrobeit";}else if(t=="d"){u="http://del.icio.us/post?url=qrobe.it&title=Qrobe.it+Search+Engine";}else if(t=="f"){eval(($.browser.msie?"window.external.AddFavorite(\"{0}\",\"{1}\")":"window.sidebar.addPanel(\"{1}\",\"{0}\",\"\")").replace(/\{0\}/,location.protocol+"//"+Il1I.ljII).replace(/\{1\}/,IjI));}if(u!=""){window.open(u);}return false;});}});}function navMan(){var lIli=0;var liI1;var li1j=(new Date).getTime();var l1jI=-1;this.lIjj=false;this.lI11=function(val){if(typeof _$divSC=="undefined"){return;}if(typeof val=="number"){lIli=val;liI1=$(_$divSC.find("li.ri")[lIli]);this.l1j1();this.l1ij();}return lIli;};this.start=function(){if(typeof _$divSC=="undefined"){return;}if(lIli==0){liI1=$(_$divSC.find("li.ri")[0]);this.l1ij();}};this.next=function(){if(typeof _$divSC=="undefined"){return;}if((new Date).getTime()-li1j<100){return;}li1j=(new Date).getTime();if(!_$divSC){return;}var llij=_$divSC.find("li.ri");if(llij.length>lIli){l1jI=0;this.l1j1();lIli=lIli+1;liI1=$(llij[lIli]);this.l1ij();this.lIlj();log("lIli"+lIli);}};this.prev=function(){if(typeof _$divSC=="undefined"){return;}if((new Date).getTime()-li1j<100){return;}li1j=(new Date).getTime();var llij=_$divSC.find("li.ri");if(lIli>0){l1jI=1;this.l1j1();lIli=lIli-1;log("lIli"+lIli);liI1=$(llij[lIli]);this.l1ij();this.lIlj();}};this.l1ij=function(){if(liI1){liI1.find("#dI").css("border-color","#eeeeee");liI1.find("#dArr").css("visibility","visible");liI1.find("#sRatC").css("visibility","visible");}};this.l1j1=function(){if(liI1){liI1.find("#dI").css("border-color","#fff");liI1.find("#dArr").css("visibility","hidden");liI1.find("#sRatC").css("visibility","hidden");}};this.reset=function(){log("Reset Called Line #2177");this.l1j1();liI1=null;lIli=0;};this.lIlj=function(){if(typeof _$divSC=="undefined"){return;}if(_$divSC.height()-(liI1.offset().top-104)<50){_$divSC.scrollTop(_$divSC.scrollTop()+150);}else if(liI1.offset().top<118){_$divSC.scrollTop(_$divSC.scrollTop()-(118-liI1.offset().top));}};this.lI1i=function(){if(liI1){window.location.href=liI1.find("#kNLink").attr("href");}};this.llIl=function(e){if(_navMan.lIjj){return;}if(e.keyCode==38||e.keyCode==40){e.keyCode==40?_navMan.next():_navMan.prev();e.preventDefault();return false;}else if(e.keyCode==13){_navMan.lI1i();e.preventDefault();return false;}};this.III1=function(){if($.browser.msie){$(document.body).keydown(this.llIl);}else{$(document).keydown(this.llIl);}};}_navMan=new navMan;function I1ji(){}function ll1j(){if(Ilji){return;}if(!liil||liil.length!=1){liil=$(".ac_results");}liil.css("display","none");}function IIII(){var Ij1=$(ljj1);var Iij="4";var Iji="3";var iII;lIll=$("body");if(jQuery.browser.safari||jQuery.browser.webkit){Iji="0";}if(jQuery.browser.msie){Iij="6";}if(IIij=="ws"||IIij=="is"){var h=[];h.push("<div style=\"width:100%;height:"+(lij1.height()*(Il1I.lj1j!=3?0.22:0.1)).toString()+"px;\">&nbsp;</div>");if(Il1I.lj1j==3){h.push("<div style=\"background: url("+Il1I.ljIi+"ff.png) no-repeat scroll 10px 0% transparent; height: 95px; width: 570px;margin-left:auto;margin-right:auto\"></div>");h.push("<div style=\"background: url("+Il1I.ljIi+"ff.png) no-repeat scroll 0% -95px transparent;width:550px;margin-left:auto;margin-right:auto\">");h.push("<div style=\"clear:both;height:15px\"/>");}h.push("<div style=\"width:470px;height:100px;margin-left:auto;margin-right:auto\">");if(Il1I.lj1j==3){h.push("<img width=\"104px\" height=\"25px\" src=\"/"+Il1I.ljIi+"-104x25.png\" id=\"imgMain\" style=\"float:left;padding:0px;\" />");}else{h.push("<img width=\"215px\" height=\"61px\" src=\"/"+Il1I.ljIi+"-215x61.png\" id=\"imgMain\" style=\"float:left;padding:0px;\" />");}if(Il1I.lj1j==2){h.push("<div style=\"float:left;padding-top:40px;font-size:10px;color:#ccc\">The all new family and kids friendly search engine.</div>");}h.push("<div id=\"dTB\" style=\"clear:both;border: #ccc 1px solid; font-style: italic; width: 100%; background-repeat: no-repeat; background-position: left 50%; height: 32px; color: #999; font-size: 12px; padding-top: 0px\">");h.push("<input type=\"text\" id=\"_tx\" style=\"font:18px arial,sans-serif;outline: none; position: relative;  padding-left: 5px;border-bottom-style: none; border-bottom-color: white; border-right-style: none; margin-top: 3px; border-top-color: white; width: 84%; border-top-style: none; float: left; height: 27px; border-right-color: white; font-size: 18px; border-left-style: none; border-left-color: white\"/>");h.push("</div>");h.push("<span id=\"spnIntOptions\"></span>");h.push(IIij!="ws"?"":"<div style=\"padding-top:10px;float:left;font-size:10px;color:#ccc\" id=\"divIS\"></div>");h.push("<input type=\"submit\" style=\"font-size:18px;background-color:#ccc;color:white;height: 29px; width: 70px; border-width: 0px;float:right;margin-top:3px;padding-bottom: "+Iji+"px;padding-left:"+Iij+"px\" id=\"btnMain\" value=\"Search\"/>");if(Il1I.lj1j==3){h.push("</div>");h.push("<div style=\"width:470px;height:100px;margin-left:auto;margin-right:auto\">&nbsp;</div>");h.push("<div style=\"font-size:12px;height:50px;color:#ccc;font-weight:bold;\">Qrobe runs even faster on <a style=\"color:#ccc;\" target=\"_new\" href=\"http://www.mozilla.com/en/firefox/beta/?from=sfx&uid=321497\">Firefox 4</a> (beta), try it out.</div>");h.push("<div style=\"width:470px;margin-left:auto;margin-right:auto;font-size:12px;color:#ccc;font-weight:bold;\"><a style=\"color:#ccc;\" href=\"http://www.mozilla.com/products/firefox/\">Firefox</a> and Firefox logos are owned by the <a style=\"color:#ccc;\" href=\"http://www.mozilla.org/\">Mozilla Foundation</a>. This site is not affiliated with Mozilla.</div>");}h.push("</div>");Ij1.append(h.join("")).find("#btnMain").click(function(){if(!_sE.runDirect2Site()){I1j1("");}});iII=Ij1.find(_tB);iII.bind("keydown",function(e){if(e.which==13&&!Ilji){Ij1.find("#btnMain").trigger("click");e.preventDefault();return false;}});if(Ilji){iII.css("width",iII[0].offsetWidth+"px").css("height","23px");iII.appendTo("body").css("position","absolute").css("z-index",1000);var ll1I=function(){var pos=$("#dTB").offset();iII.css("top",pos.top+($.browser.mozilla?2:2)).css("left",pos.left+3);};ll1I();iII.parent().focus();iII.focus();window.setTimeout(ll1I,250);lij1.resize(function(){var pos=$("#dTB").offset();$(_tB).css("top",pos.top).css("left",pos.left+4);});iII.bind("keyup",function(e){return _iSM.lI1I(e,this);});iII.bind("keydown",function(e){return _iSM.lI1l(e,this);});if(!$.browser.msie){lIll.mousemove();}lIll.click(function(e){_iSM.iIj();});if($.browser.msie){iII.css("margin-top","2px");}}else{iII.parent().focus();iII.focus();}if($.browser.msie){Ij1.find("#imgMain").css("margin-left","-4px");}Ij1.css("text-align","center").css("width","100%");if(ljii){$("#spnIntOptions").append("<div style='float:left;padding-top:4px;padding-right:10px;color:#ccc;'><input type='radio' name='rbIntO' id='rbIntA' value='all'/>all web <input type='radio' name='rbIntO' id='rbIntL' value='lo'/> only from "+ljji+"</div>");}}if(IIij=="wsd"||IIij=="isd"||IIij=="n"||IIij=="ns"){var j1I=IIij=="n"||IIij=="ns";var j11="color:#5C5657;font:18px arial,sans-serif;padding-bottom:3px;padding-left:4px;outline: none; position: relative; border-bottom-style: none; border-bottom-color: white; border-right-style: none; margin-top: 2px; border-top-color: white; width: 97%; border-top-style: none; float: left; height: 20px; border-right-color: white; font-size: 18px; border-left-style: none; border-left-color: white;";var h=[];h.push("<div style=\"float:left;width:");h.push(j1I?"520":"740");h.push("px;margin:");h.push(j1I?"15":"15");h.push("px 16px 0px 15px;clear:both;text-align:left;\">");h.push("<a style=\"margin:0px;padding:0px\" href=\""+location.protocol+"//");h.push(Il1I.ljl1?Il1I.ljl1:Il1I.ljII);h.push("\"><img src=\"/");h.push(Il1I.ljIi);h.push("-104x25.png\" width=\"104px\" height=\"25px\" style=\"border:0px;float:left;margin-top:9px;padding:0px;padding-top:2px;\" /></a>");h.push("<div style=\"float:left;margin-left:19px;\">&nbsp;</div>");if(!j1I){h.push("<div id=\"dTB\" style=\"margin-top:7px;float:left;border: #ccc 1px solid; font-style: italic; width: 400px; background-repeat: no-repeat; background-position: left 50%; color: #999; font-size: 10px;\">");if(Ilji&&_iSM.jlj()){h.push("<input type=\"text\" id=\"_tx_temp\" style=\""+j11+"\"/>");}else{h.push("<input type=\"text\" id=\"_tx\" style=\""+j11+"\"/>");}h.push("</div><div style=\"float:left;width:40px\">&nbsp;</div>");}else{h.push("<div style=\"margin-top:7px;float:left;border: #ccc 1px solid; font-style: italic; width: 300px; background-repeat: no-repeat; background-position: left 50%;color: #999; font-size: 10px;\">");h.push("<input type=\"text\" id=\"_tx\" style=\"padding-bottom:3px;outline: none; position: relative; border-bottom-style: none; border-bottom-color: white; border-right-style: none; margin-top: 2px; border-top-color: white; width: 99%; border-top-style: none; float: left; height: 20px; color: #999; border-right-color: white; font-size: 18px; border-left-style: none; border-left-color: white\"/>");h.push("</div>");}h.push("<input type=\"submit\" style=\"font-size:");h.push(j1I?"16":"16");h.push("px;background-color:#ccc;color:white;height: ");h.push(j1I?"25":"25");h.push("px; width:");h.push(j1I?"70":"70");h.push("px; border-width: 0px;float:");h.push(j1I?"right":"left");h.push(";margin-top:");h.push(j1I?"9":"9");h.push("px;padding-bottom:");h.push(Iji);h.push("px;padding-left:");h.push(Iij);h.push("px\" id=\"btnMain\" value=\"Search\"/>");h.push(IIij!="wsd"?"":"<div style=\"padding-top:20px;float:right;font-size:10px;color:#ccc\" id=\"divIS\"></div>");h.push("</div>");Ij1.append(h.join("")).find("#btnMain").click(function(){I1j1("");});if(Ilji&&_iSM.jlj()){var j1l=$("#dTB");var ll1i=j1l.find("#_tx_temp");_iSM.j1j().css("width",ll1i[0].offsetWidth+"px");_iSM.j1j().css("background","none transparent scroll repeat 0% 0%");lIll.append("<div id=\"dISB\" style=\"position:absolute;float:left;font:18px arial,sans-serif; font-style:normal; position: absolute; z-index:999; padding-left: 5px;  padding-top: 2px; white-space: nowrap; overflow:hidden; color:#C0CAE0\"></div>");ljll=$("#dISB");ljll.html(_iSM.jIl());var padTop=1;if($.browser.mozilla||$.browser.opera){padTop=0;}if($.browser.msie){padTop=2;}var ll1I=function(){var pos=$("#dTB").offset();_iSM.j1j().css("top",pos.top+padTop).css("left",pos.left+1);ljll.css("top",pos.top+($.browser.mozilla?2:2)).css("left",pos.left+2);};ll1I();if($.browser.msie){padTop=2;}_iSM.j1j().parent().focus();_iSM.j1j().focus();lij1.resize(function(){var pos=$("#dTB").offset();_iSM.j1j().css("top",pos.top+padTop).css("left",pos.left+1);ljll.css("top",pos.top+($.browser.mozilla?2:2)).css("left",pos.left+2);});}else if(Ilji){$("#dTB").append("<div id=\"dISB\" style=\"float:left;font:18px arial,sans-serif; font-style:normal; position: absolute; z-index:-1; padding-left: 5px;  padding-top: 2px; white-space: nowrap; overflow:hidden; color:#C0CAE0\"></div>");ljll=$("#dISB");ljll.html(_iSM.jIl());}var h=[];if(j1I){h.push("<div style=\"width:98%;clear:both;height:3px;font-size:13px;\"/>");}h.push("<div style=\"width:98%;clear:both;height:");h.push(j1I?"27":"27");h.push("px;font-size:13px;\"><span style=\"float:left;padding-top:0px;\" id=\"spnNMenu\"/><span id=\"spnIntOptions\"></span><div style=\"padding-top:0px;padding-left:7px;padding-bottom:0px;padding-right:0.5em;float:left;\"><b></b></div><div id=\"dSO\" style=\"padding-top:3px;padding-left:7px;padding-bottom:0px;padding-right:0.5em;float:right;\"></div><div id=\"dRC\" style=\"padding-top:5px;padding-left:7px;padding-bottom:0px;padding-right:0.5em;float:right;\"></div><div id=\"dISOC\" style=\"padding-top:5px;padding-left:7px;padding-bottom:0px;padding-right:0.5em;float:right;\"></div></div>");h.push("<div style=\"margin-left:0px;outline:none;width:98%;border-top:#eeeeee 1px solid;border-right:#ccc 1px solid;border-bottom:#ccc 1px solid;clear:both;height:450px;font-size:13px;text-align:left;\" id=\"divSC\"><span id=\"spnAds\"></span><span id=\"spnTAM\"></span><span id=\"spnSpell\"></span><br/></div>");h.push("<div style='float:left;margin-top:8px;margin-left:13px;font-size:13px;valign:center;visibility:hidden' id='divLoading'><img src='/img/loading.gif' style='float:left'/>Loading...</div>");Ij1.append(h.join("")).find("#divSC").css("height",lij1.height()-(j1I?143:125)).css("overflow-x","hidden").css("overflow-y","scroll");_$divSC=$("#divSC");lij1.resize(function(){$(document.body).find("#divSC").css("height",lij1.height()-(j1I?148:125));});if(IIij!="n"&&IIij!="ns"){_$divSC.bind("scroll",function(event){IIIj();try{$("#dWP").removeShadow().remove();}catch(e){}});if(!Ilji){_$divSC.focus();}}else{_$divSC.focus();}var jII=Ij1.find(_tB);if(!Ilji){window.setTimeout("_$divSC.focus();",100);if(!j1I){window.setTimeout("_$divSC.focus();",500);window.setTimeout("_$divSC.focus();",1000);}Ij1.find(_tB).val(IIi1);_$divSC.scroll(function(e){ll1j();});_$divSC.click(function(e){ll1j();});}else{jII.bind("keyup",function(e){return _iSM.lI1I(e,this);});jII.css("position","relative").css("background","none transparent scroll repeat 0% 0%");if($.browser.msie){ljll.css("padding-left","4px").css("padding-top","3px");$("#dTB").css("padding-top","1px");}if($.browser.webkit){ljll.css("padding-left","5px").css("padding-top","3px");}if($.browser.opera){ljll.css("padding-left","4px").css("padding-top","3px");}if(!_iSM.jlj()){Ij1.find(_tB).val(IIi1);}_$divSC.scroll(function(e){_iSM.iIj();});_$divSC.click(function(e){_iSM.iIj();});}jII.bind("keydown",function(e){return _iSM.lI1l(e,this);});if(IIij=="n"||IIij=="ns"){liitti();}window.setInterval("$(\"#divLoading\").css(\"visibility\", _sE.iIji() ? \"visible\" : \"hidden\");",500);if(IIij=="isd"&&Il1I.lj1j!=2){var cm=I[IIlj.Iii1]=="1"?"Strict":I[IIlj.Iii1]=="2"?"Moderate":"None";$("#dISOC").append("SafeSearch: <a style='text-decoration:none' id='aCSF' href='#'> "+cm+" </a>");$("#dISOC").find("#aCSF").bind("click",function(){Iil1();return false;});}if(ljii&&IIij!="n"){$("#spnIntOptions").append("<div style='float:left;padding;padding-top:4px;color:#ccc;height:15px;padding-left:140px'><input type='radio' name='rbIntO' id='rbIntA' value='all'/>all web <input type='radio' name='rbIntO' id='rbIntL' value='lo'/> only from "+ljji+"</div>");}}$("#divIS").html(!Ilji?"Instant <b>OFF</b> <a style=\"color:#ccc\" href=\"#\">ON</a>":"Instant <b>ON</b>&nbsp;<a style=\"color:#ccc\" href=\"#\">OFF</a>").find("a").click(function(e){if($(this).html()=="ON"){I[IIlj.i1jl]=1;}else{I[IIlj.i1jl]=0;}II1i();location.reload();return false;});if(ljii&&$("#rbIntA").length>0){if($.cookie("_LSO")=="1"){$("#rbIntL")[0].checked=true;}else{$("#rbIntA")[0].checked=true;}if(Ilji){$(document.getElementsByName("rbIntO")).change(function(){I1j1("","");});}}if($.browser.msie){$(".ac_results").css("border","1px solid black");$("body").css("overflow","hidden");}if(!$.browser.msie){$(".rc").find("h3").css("font-size","16px");}jIj("i1I();","_sE!=null");_navMan.III1();}function Iil1(){var h=[];h.push("<div id='dISO' style='background-color:#ccc;padding:7px;font-size:12px;'><div style='background-color:#fff;width:410px;height:190px;padding:7px;'>");h.push("<b>Image search filter:</b>");h.push("<div style='margin-left:20px;margin-top:10px;'>");h.push("<input id='rISOS' _display='Strict' value='1' type='radio' name='rISO'>Strict filtering (filter out explicit images using stict filter)<br>");h.push("<input id='rISOM' _display='Moderate' value='2' type='radio' name='rISO'>Moderate filtering (filter out explicit images using moderate filter)<br>");h.push("<input id='rISON'  _display='None' value='3' type='radio' name='rISO'>Do not filter results");h.push("</div>");h.push("<div id='dISCF' style='visibility:hidden;padding-top:10px;'>");h.push("<input id='ckConcent' type='checkbox'> You acknowledge that you are at least 21 years of age.");h.push("</div>");h.push("<div style='text-align:right;padding-top:15px;'>");h.push("<input id='btnIOAgree' type='button' disabled='true' value='Agree'/>");h.push("<input id='btnIOCancel' type='button' disabled='true' value='Cancel'/>");h.push("</div></div></div>");$.modal(h.join(""),{overlayId:"peek-overlay",overlayClose:true,containerCss:{backgroundColor:"#ccc",borderColor:"#ccc",padding:"0px"}});$("#dISO").find(":input[type=checkbox]").bind("click",function(){if($(this).is(":checked")){$("#dISO").find("#btnIOAgree").attr("disabled",false);}else{$("#dISO").find("#btnIOAgree").attr("disabled",true);}});$("#dISO").find(":input[type=radio]").each(function(){$(this).bind("click",function(){if($(this).val()=="3"){$("#dISO").find("#dISCF").css("visibility","visible");$("#dISO").find("#btnIOAgree").attr("disabled",true);$("#dISO").find("#btnIOAgree").attr("value","Agree");$("#dISO").find(":input[type=checkbox]").attr("checked",false);}else{$("#dISO").find("#dISCF").css("visibility","hidden");$("#dISO").find("#btnIOAgree").attr("disabled",false);$("#dISO").find("#btnIOAgree").attr("value","Save");}});$(this).attr("checked",$(this).val()==I[IIlj.Iii1]);});if(I[IIlj.Iii1]=="3"){$("#dISO").find("#dISCF").css("visibility","visible");$("#dISO").find("#btnIOAgree").attr("disabled",true);$("#dISO").find("#btnIOAgree").attr("value","Agree");$("#dISO").find(":input[type=checkbox]").attr("checked",false);}else{$("#dISO").find("#dISCF").css("visibility","hidden");$("#dISO").find("#btnIOAgree").attr("disabled",false);$("#dISO").find("#btnIOAgree").attr("value","Save");}$("#dISO").find("#btnIOAgree").bind("click",function(){var o_iSSO=I[IIlj.Iii1];I[IIlj.Iii1]=$("#dISO").find("input[type=radio]:checked").val();$("#dISOC").find("#aCSF").html($("#dISO").find("input[type=radio]:checked").attr("_display"));$.modal.close();if(o_iSSO!=I[IIlj.Iii1]){_sE.IIIl(true);}II1i();$.cookie("_iSA","1");});$("#dISO").find("#btnIOCancel").bind("click",function(){$.modal.close();});$("#dISO").find("#btnIOCancel").attr("disabled",false);}function IIil(){try{var jIi=I.length;var jI1=null;if($.cookie("ll")!=null){jI1=$.cookie("ll");}if(jI1!=null&&jI1.length>0&&jI1.split("+-+-+").length==8){var jli=jI1.split("+-+-+");for(var t=0;t<jli.length;t++){I[t]=jli[t];}}if(jI1!=null&&jI1.length>0&&jI1.split("~").length>8){var jli=jI1.split("~");for(var t=0;t<jli.length;t++){I[t]=jli[t];}}if(Il1I._SO){I[IIlj.lilI]=1;}if(I1jI("s")!=null&&I1jI("s")!=""){I[IIlj._ADV]=I1jI("s")=="sbv2"?2:1;I[IIlj.i1Ij]=1;}if(I[IIlj.i1jI]==-1){I[IIlj.i1jI]=I[IIlj.i1ij]!=""?1:35;}II1i();try{for(var p=0;p<ljij.length;p++){if(ljij[p].c==I[IIlj.i1ii]){ljji=ljij[p].n;try{if(I[IIlj.i1ii]=="us"&&I[IIlj.i1j1]!=""&&I[IIlj.i1j1]!="NA"){ljji=I[IIlj.i1j1].substr(I[IIlj.i1j1].indexOf("DISP=")+5).replace("|","");}}catch(e){}break;}}}catch(e){ljji="";i1iI(e);}}catch(e){I=I11i;II1i();i1iI(e);}ljii=I[IIlj.i1ii]!="us"&&I[IIlj.i1ii]!=""&&I[IIlj.i1ii]!="O";Ilji=I[IIlj.i1jl]==1&&(IIij=="ws"||IIij=="wsd");}function II1i(){$.cookie("ll",null,{expires:31,path:"/search/"});$.cookie("ll",null,{expires:31,path:"/images/"});$.cookie("ll",null,{path:"/"});$.cookie("ll",null,{path:"/",domain:Il1I.ljII});$.cookie("ll",I.join("~"),{expires:31,path:"/",domain:"."+Il1I.ljII.replace("ff.","")});}function I1j1(j1i,jlI){var iij=location.protocol+"//"+(Il1I.ljl1?Il1I.ljl1:Il1I.ljII)+"/search/?q=";if(IIij=="is"||IIij=="isd"){iij=location.protocol+Il1I._iurlp+Il1I.ljII+"/images/?q=";}else if(IIij=="n"||IIij=="ns"){if($(_tB).val()==""&&Illi&&Illi.Illl){window.location.href=location.protocol+Il1I._nurlp+Il1I.ljII+"/?f="+Illi.Illl.f+"&m="+Illi.ljiI+"&sm="+Illi.ljjI;return;}iij=location.protocol+Il1I._nurlp+Il1I.ljII+"/?q=";}else{$.cookie("_LSO",null,{path:"/"},{path:"/",domain:Il1I.ljII});if(I[IIlj.i1ii]!="us"&&$("#rbIntL").length>0){$.cookie("_LSO",$("#rbIntL")[0].checked?"1":"0",{path:"/",domain:"."+Il1I.ljII});}else{$.cookie("_LSO",null,{path:"/"});}}window.location.href=iij+j1i+escapeUni($(_tB).val()?$(_tB).val():IIi1)+(jlI?"&"+jlI:"");}function escapeUni(s){for(var b=0;b<li1l.length;b+=2){s=s.replace(RegExp(li1l[b],"g"),li1l[b+1]);}return s;}var Ii1I=false;var iii=new Array;function IIIj(){if(Ii1I||IIIi){return;}Ii1I=true;var iiI=_$divSC;if(iiI[0].scrollHeight-iiI.scrollTop()-iiI.outerHeight()<(IIij=="isd"?500:400)){if(!_sE.iIji()){for(var ai=0;ai<iii.length;ai++){window.clearInterval(iii[ai]);}_sE.IIIl(false);window.setTimeout("Ii1I=false;",500);iii.push(window.setTimeout("IIIj();",3000));return;}else{iii.push(window.setTimeout("IIIj();",1000));}}else{iii.push(window.setTimeout("IIIj();",1000));}window.setTimeout("Ii1I=false;",200);}var iil=null;function log(s){return;var g=0;if(iil!=null){g=(new Date).getTime()-iil;}iil=(new Date).getTime();var ii1=$("#divLog");if(ii1.length>0){ii1.append(g+"-"+s+"<br/>");ii1[0].scrollTop=ii1[0].scrollHeight;}}window.onbeforeunload=function(){if(_rDM){return _rDM.ijl();}};function llII(){var ijj="";var ijI="";var hidden=true;this.III1=function(){if(!Ilji){return;}window.clearTimeout(ijj);window.clearTimeout(ijI);if(!liil||liil.length!=1){liil=$(".ac_results");liil.mousemove(function(){llil.show();});}};this.fadeOut=function(lliI,lli1){if(!Ilji){return;}this.III1();ijI=window.setTimeout(function(){liil.css("filter","alpha(opacity=20)").css("opacity","0.2");},lliI);ijj=window.setTimeout(function(){llil.hide();},lli1);};this.hide=function(){if(hidden){return;}if(!Ilji){return;}this.III1();liil.css("display","none");log("hide   Called");hidden=true;};this.show=function(){log("showCalled");if(!Ilji){return;}this.III1();try{$.Autocompleter.select.show();}catch(e){}liil.css("filter","alpha(opacity=100)").css("opacity","1").css("display","block");this.fadeOut(1000,1300);hidden=false;};this.llIj=function(){return hidden;};}var llil=new llII;function iji(){var ij1="";var jll;var II1="";var lI1j="";var ll11="";var lIji="";var IIl=false;var lill=false;var liIi;this.jlj=function(){return IIl;};this.j1j=function(){return jll;};this.jIl=function(){return ij1;};this.Iljj=function(){return liIi;};this.I1i=function(l1l){if(!Ilji){return;}if(lill){return;}log("I1i");var iII=$(_tB);llil.show();ij1=$("<div>"+l1l+"</div>").text();if(iII.val().trim()==""||ij1.indexOf(iII.val().trim())!=0){ij1="";}if(ljll){ljll.html(ij1);}this.lil1(150);};this.lil1=function(i,cSt){window.clearTimeout(lI1j);var cSt=cSt;lI1j=window.setTimeout(function(){_iSM.j1($(_tB),cSt);},i);};this.iIj=function(){llil.hide();};this.lI1l=function(e,tb){if(e.shiftKey){return true;}if(e.keyCode==27){e.preventDefault();return false;}var llI1=tb.value;if(e.keyCode==13){if(tb.value.indexOf(" /")>0){var ll1l=tb.value+String.fromCharCode(e.which).toLowerCase();var m=(new RegExp(/(.*)\/([^ \/]+)$/)).exec($.trim(ll1l));if(m&&m.length==3){var i11j=m[2];var q=$.trim(m[1]);for(var k=0;k<I1li.length;k++){if(I1li[k].liIj&&(new RegExp(I1li[k].I111)).exec(i11j)){Iljj=I1li[k];Iljj.i1lI=m;break;}}if(Iljj){I1j1("");}}}if(!Ilji){this.j1($(tb));window.setTimeout("_$divSC.focus()",10);e.preventDefault();return false;}else{ij1=tb.value;if(ij1!=IIi1){this.j1($(tb));}else{window.setTimeout("_$divSC.focus()",10);_navMan.lI1i();}e.preventDefault();if(ljll){ljll.html(ij1);}log("Enter Clicked");return false;}}else{if(Ilji&&!(e.keyCode==38||e.keyCode==40)){_navMan.reset();}}if(e.keyCode==38||e.keyCode==40){if(!llil.llIj()){llil.show();}else{if(Ilji){e.keyCode==40?_navMan.next():_navMan.prev();}}e.preventDefault();return false;}if(e.which>=32&&e.which<=126&&e.which!=37&&e.which!=39){llI1+=String.fromCharCode(e.which).toLowerCase();}if(tb.value.trim()==""||ij1.indexOf(llI1)!=0){ij1="";if(ljll){ljll.html("");}}};this.liij=function(jII){ij1=jII.val();if(ij1!=IIi1){this.j1(jII);}if(ljll){ljll.html(ij1);}};this.lI1I=function(e,tb){if(e.keyCode==27){e.preventDefault();return false;}if((e.keyCode==38||e.keyCode==40)&&llil.llIj()){e.preventDefault();return false;}log("lI1I:"+e.keyCode);if(lill){return;}window.clearTimeout(lI1j);if(tb.value.trim()==""||ij1.indexOf(tb.value)!=0){ij1="";if(ljll){ljll.html("");}}if(tb.value.trim().length-1>ij1.length){this.lil1(700);}if(ij1!=""&&e.keyCode!=13&&e.keyCode!=27){llil.show();}if(e.keyCode==39){if(ij1!=""){tb.value=ij1;ii(tb,ij1.length);if(ij1!=IIi1){this.j1($(tb));}}}if(e.keyCode==38||e.keyCode==40){ij1="";window.clearTimeout(lI1j);this.lil1(700);}if(tb.value==""){IIi1="";_sE.reset();}if(e.keyCode==13){}if(ljll){ljll.html(ij1);}return true;};this.j1=function(iII,cSt){if(IIi1.indexOf(" /")>-1){return;}if(IIij=="ws"&&!Ilji){return;}window.clearTimeout(lI1j);var jj1=false;if(IIij=="ws"){this.ij();jj1=true;}var ji=ij1;if(cSt){ji=cSt;}else if(ji==""&&iII.val()!=""){ji=iII.val().trim();}if(ji!=IIi1){window.clearTimeout(ll11);window.clearTimeout(lI1j);window.clearTimeout(lIji);_$divSC[0].scrollTop="0px";IIi1=ji;lIji=window.setTimeout(function(){liii=window.location.href=window.location.href.split("#q=")[0]+"#q="+urlEncode(cSt?iII.val().split("/")[0].trim():ji);},3000);log("j1:"+IIi1);_sE.IIIl(true);if(!(jj1&&$.browser.msie)){llil.fadeOut(500,2500);}ll11=window.setTimeout(function(){var ilI=new Image;ilI.src="http://"+Il1I.ljII+"/img/fetch.gif?q="+IIi1;},2000);}};this.ij=function(){IIl=true;llil.hide();IIij="wsd";jll=$(_tB);jll.focus();$(ljj1).html("");$(ljj1).css("height","100%").css("width","100%");I1ii();IIII();window.setTimeout(function(){jll.focus();ii(jll[0],jll.val().length);},0);I1ij();jll.show();window.setTimeout(function(){llil.show();},500);if($.browser.msie){window.setTimeout(function(){llil.show();},1000);}IIl=false;};}function ii(ll1,caretPos){if(ll1!=null){if(ll1.createTextRange){var jj=ll1.createTextRange();jj.move("character",caretPos);jj.select();}else{if(ll1.selectionStart){ll1.focus();ll1.setSelectionRange(caretPos,caretPos);}else{ll1.focus();}}}}function tamManager(){this.li1I=null;this.result=null;this.II1I=false;var ajaxHandle;var timeoutHandle;this.jij=function(){if(typeof _tamE=="undefined"||!_tamE){return;}if(IIij!="wsd"){return;}log("TAM:Process Called");if(this.II1I){log("TAM:DupeCall"+"Current Term:"+this.li1I);if(ajaxHandle){ajaxHandle.abort();}}if(this.li1I==IIi1){log("TAM:DupeCall Return");return;}this.li1I=IIi1;this.II1I=true;ajaxHandle=$.ajax({url:pUJT(["1","2","3"])+"?t=tam&q="+urlEncode(IIi1),type:"GET",error:function(XMLHttpRequest,iIjj,iIi1){log("TAM:Error:"+iIjj);_tamM.result=null;_tamM.II1I=false;},success:function(data){if(_tamM.li1I==IIi1){_tamM.result=data;}else{_tamM.result=null;}_tamM.II1I=false;log("TAM:Results Returned");},dataType:"jsonp",timeout:5000});};this.jiI=function(){if(this.II1I){if(timeoutHandle){window.clearTimeout(timeoutHandle);}log("TAM:Putting Render in Timeout");timeoutHandle=window.setTimeout("_tamM.jiI()",1000);return;}if(timeoutHandle){window.clearTimeout(timeoutHandle);}timeoutHandle=null;log("TAM:Rendering Results");if(this.result!=null){var Iijl=new Array;var Iiii;var html=[];html.push("<div class='tam'>");if(this.result.TAMInstantAnswer!=null&&this.result.TAMInstantAnswer!=""){html.push("<div class='tamia'>"+this.result.TAMInstantAnswer+"</div>");}if(this.result.TAMSearchResults!=null&&typeof this.result.TAMSearchResults!="undefined"){html.push("<ol style='padding:0px'>");$.each(this.result.TAMSearchResults,function(i,r){try{var dis=r.Description.replaceAll("<b>","{b}").replaceAll("</b>","{/b}").replaceAll("<hi>","{hi}").replaceAll("</hi>","{/hi}");html.push(Ii1l(new IlI1(r.Url,r.Title,r.Description!=null?$("<div></div>").text(dis).html().replaceAll("{b}","<b>").replaceAll("{/b}","</b>").replaceAll("{hi}","<span style='background-color:yellow'>").replaceAll("{/hi}","</span>"):"","",name),0));}catch(e){i1iI(e);}});html.push("</ol>");}html.push("</div>");html.push("<div style='background-position: right;background-repeat:no-repeat;border-bottom:#ccc 1px solid;clear:both;margin-left:27px;width:807px;height:7px;'>");html.push("<img style='position:relative;top:-25px; float:right;clear:both' src='/img/tam-the_answering_machine.png'/>");html.push("</div>");$("#spnTAM").html(html.join(""));if($("#exib").length>=1){$("#exib a").click(function(){$("#ibhiden").toggle();$("#spnTAM #exib").remove();return false;});}if($("#aSTS").length>=1){$("#aSTS").click(function(){var isCurrF=$("#aSTS").text().indexOf("C")>0;var h=isCurrF?Math.round((parseInt($($("#spnTempMain")[0]).text())-32)*0.5555555555555556)+"&deg;C":Math.round(parseInt($($("#spnTempMain")[0]).text())*1.8+32)+"&deg;F";$("#spnTempMain").html(h);$(".spnTemp").each(function(){var h=isCurrF?Math.round((parseInt($(this).text())-32)*0.5555555555555556)+"&deg;":Math.round(parseInt($(this).text())*1.8+32)+"&deg;";$(this).html(h);});$(this).html(isCurrF?"&deg;F":"&deg;C");return false;});}}else{log("TAM:No Results");}this.result=null;};}var _tamM=new tamManager;var _iSM=new iji;function jjl(){var jii=[];var domsRating=[];this.jij=function(){if(I[IIlj.lilI]==0){return;}var jji=lilj.splice(0,lilj.length-1);$.ajax({url:Ij1l(["1","2","3"]),type:"GET",data:{t:"dmr",q:jji.join(",")},error:function(XMLHttpRequest,iIjj,iIi1){_$divSC.find("li.ri").show();},success:function(data){while(jji.length>0){var lll1=jji.pop();if(lll1&&lll1.length>0&&$.inArray(lll1,jii)==-1&&data[lll1]&&data[lll1][0]&&data[lll1][1]&&data[lll1][2]&&data[lll1][4]){if(data[lll1][0].length==2&&data[lll1][1].length==2&&data[lll1][2].length==2&&data[lll1][4].length==2){var wotRating={a0:data[lll1][0],a1:data[lll1][1],a2:data[lll1][2],a4:data[lll1][4]};jii.push(lll1);domsRating.push(wotRating);}}}$($.find("#sRat")).each(function(){liIl.jjj($(this));$(this).attr("id","sRat0");});},dataType:"jsonp",timeout:Il1I._SO?3000:5000});};this.III1=function(){};this.unload=function(){$("#dWP").removeShadow().remove();if(liIl.llli){liIl.llli.css("visibility","hidden");}};this.lllI=function(llll,lllj){if(I[IIlj.lilI]==0){return;}var llii=$(llll).find("#sRatC");if(lllj=="visible"&&llii.css("visibility")=="hidden"){llii.css("visibility","visible");liIl.llli=llii;}else{if(liIl.llli){liIl.llli.css("visibility","hidden");}liIl.llli=null;}};this.lljl=function(llll,lll1){if(I[IIlj.lilI]==0){return;}var l11l=$(llll).find("#dWP");if(l11l.length>0){return;}$("#dWP").removeShadow().remove();liIl.llj1=null;var l1I1=null;try{l1I1=$.evalJSON($(llll).find("div").attr("l1I1"));}catch(e){}if(l1I1&&l1I1.a0){l1Il=$(llll).find("#divWoTR");l1Il.append("<div id='dWP' style='display:none;cursor:default;float:right;clear:none;position:absolute;height:215px;width:135px;border:#ccc 1px solid;background-color:#fff;'><div style='' style='clear:none;float;right' id='dWPC'></div></div>");if(l1Il.attr("eset")!=1){l1Il.bind("mouseleave",function(e){e.preventDefault();log("mouseleave:"+liIl.llj1);if(liIl.llj1){return;}liIl.llj1=window.setTimeout(function(){log("remove");$("#dWP").removeShadow().remove();},1000);log("setTimeout:"+liIl.llj1);});l1Il.bind("mouseover",function(e){e.preventDefault();if(liIl.llj1){log("clearTimeout:"+liIl.llj1);window.clearTimeout(liIl.llj1);liIl.llj1=null;}});l1Il.attr("eset",1);}var l11l=$("#dWP");var left=l1Il.position().left+35;var top=l1Il.position().top+10;log("height:"+lij1.height());log("top:"+(top+215));var l11i=lij1.height();if(top+215>l11i){top=l11i-250;}log("top:"+top);l11l.css("left",left+"px");l11l.css("top",top+"px");var l11j=l1Ii(l1I1.a0);var h=[];h.push("<div style='clear:both;padding:5px;font-size:12px;color:#a29a9a;'><div style=''><a target='_new' onclick='window.open(this.href);' style='padding:0px;margin:0px;text-decoration:none' href='http://www.mywot.com/en/scorecard/"+lll1+"'><img src='/img/wot-logo.png' style='float:left'/></a></div><div style='padding-top:3px;border-bottom:#ccc 1px solid;clear:both'/>");h.push("<div style='clear:both;padding:3px;'>Trustworthiness:</div>");h.push("<div style='float:left;margin-left:5px;display:inline;background-position:0px -"+l11j.rx+"px;background-repeat:no-repeat;background-image:url(/img/wot-rep-28x28.png);'><img src='/img/blank.gif' style='width:28px;height:28px'/></div>");h.push("<div style='float:left;margin-left:15px;margin-top:5px;display:inline;background-position:0px -"+l11j.l1i1+"px;background-repeat:no-repeat;background-image:url(/img/wot-confidence.png);'><img src='/img/blank.gif' style='width:50px;height:18px'/></div>");h.push("<div style='padding-top:3px;border-bottom:#eee 1px solid;clear:both'/>");l11j=l1Ii(l1I1.a1);h.push("<div style='clear:both;padding:3px;'>Vendor reliability:</div>");h.push("<div style='float:left;margin-left:5px;display:inline;background-position:0px -"+l11j.rx+"px;background-repeat:no-repeat;background-image:url(/img/wot-rep-28x28.png);'><img src='/img/blank.gif' style='width:28px;height:28px'/></div>");h.push("<div style='float:left;margin-left:15px;margin-top:5px;display:inline;background-position:0px -"+l11j.l1i1+"px;background-repeat:no-repeat;background-image:url(/img/wot-confidence.png);'><img src='/img/blank.gif' style='width:50px;height:18px'/></div>");h.push("<div style='padding-top:3px;border-bottom:#eee 1px solid;clear:both'/>");l11j=l1Ii(l1I1.a2);h.push("<div style='clear:both;padding:3px;'>Privacy:</div>");h.push("<div style='float:left;margin-left:5px;display:inline;background-position:0px -"+l11j.rx+"px;background-repeat:no-repeat;background-image:url(/img/wot-rep-28x28.png);'><img src='/img/blank.gif' style='width:28px;height:28px'/></div>");h.push("<div style='float:left;margin-left:15px;margin-top:5px;display:inline;background-position:0px -"+l11j.l1i1+"px;background-repeat:no-repeat;background-image:url(/img/wot-confidence.png);'><img src='/img/blank.gif' style='width:50px;height:18px'/></div>");h.push("<div style='padding-top:3px;border-bottom:#eee 1px solid;clear:both'/>");l11j=l1Ii(l1I1.a4);h.push("<div style='clear:both;padding:3px;'>Child safety:</div>");h.push("<div style='float:left;margin-left:5px;display:inline;background-position:0px -"+l11j.rx+"px;background-repeat:no-repeat;background-image:url(/img/wot-rep-28x28.png);'><img src='/img/blank.gif' style='width:28px;height:28px'/></div>");h.push("<div style='float:left;margin-left:15px;margin-top:5px;display:inline;background-position:0px -"+l11j.l1i1+"px;background-repeat:no-repeat;background-image:url(/img/wot-confidence.png);'><img src='/img/blank.gif' style='width:50px;height:18px'/></div>");h.push("<div style='padding-top:3px;border-bottom:#eee 1px solid;clear:both'/>");h.push("</div>");$("#dWPC").html(h.join(""));l11l.css("display","table");l11l.dropShadow();}};this.jjj=function(ilii){if(I[IIlj.lilI]==0){return;}if(ilii.find("#divWoTR").length>0){return;}var lll1=ilii.attr("lll1");if(lll1&&lll1!=""){lll1=lll1.replace("http://","").replace("https://","");var i=$.inArray(lll1,jii);var l1ii=78;var l1iI="";if(i!=-1){var l1il=domsRating[i];if(l1il!=null&&l1il.a0&&l1il.a0.length>0&&l1il.a0[0]&&!isNaN(l1il.a0[0])){var rep=l1il.a0[0];if(l1il.a1&&l1il.a1.length>0&&l1il.a1[0]<rep){rep=l1il.a1[0];}if(l1il.a2&&l1il.a2.length>0&&l1il.a2[0]<rep){rep=l1il.a2[0];}if(l1il.a4&&l1il.a4.length>0&&l1il.a4[0]<rep){rep=l1il.a4[0];}if(rep>=80){l1ii=0;}else if(rep>=60){l1ii=14;}else if(rep>=40){l1ii=32;}else if(rep>=20){l1ii=47;}else if(rep>=0){l1ii=62;}}l1iI=$.toJSON(l1il);}if(Il1I._SO&&l1ii<30){ilii.closest("li").show();}ilii.html("<a href='#' style='text-decoration:none;' onclick='try{liIl.l1ll();}catch(e){};return false;'><div id='divWoTR' l1I1='"+l1iI+"' style='margin-left:10px;display:inline;background-position:0px -"+l1ii+"px;background-repeat:no-repeat;background-image:url(/img/wot-rep-16x16.png);'><img src='/img/blank.gif' style='width:14px;height:14px'/></div></a>");this.l1II(ilii,lll1);}};this.l1II=function(ilii,lll1){ilii.find("a").bind("mouseover",function(e){var llll=this;var l111=lll1;liIl.l1l1=window.setTimeout(function(){liIl.lljl(llll,l111);},300);});ilii.find("a").bind("mouseleave",function(e){if(liIl.l1l1){window.clearTimeout(liIl.l1l1);}liIl.l1l1=null;});};this.l1ll=function(){return false;};}var liIl=new jjl;liIl.III1();function l1Ii(r){var w={rx:138,l1i1:89};if(r&&r.length==2){var rep=r[0];if(rep>=80){w.rx=0;}else if(rep>=60){w.rx=26;}else if(rep>=40){w.rx=54;}else if(rep>=20){w.rx=83;}else if(rep>=0){w.rx=111;}var rep=r[1];if(rep>=45){w.l1i1=0;}else if(rep>=34){w.l1i1=18;}else if(rep>=23){w.l1i1=36;}else if(rep>=12){w.l1i1=54;}else if(rep>=6){w.l1i1=72;}}return w;}function rDM(){this.Ii11=0;this.illj=false;this.l1ji=null;this.l1jj=false;this.Iilj=function(){if(Iljj&&Iljj.I1lj){$(ljj1).prepend("<div style='width:100%;'><div style='margin-top:100px;margin-left:auto;margin-right:auto;width:800px;text-align:center;'>"+(Il1I.lj1j==Illj.Il11?"<img width=\"252px\" height=\"77px\" src=\"/img/PowerSearch-252x77.png\" id=\"imgMain\" style=\"\" /></div></div>":"<img width=\"215px\" height=\"61px\" src=\"/"+Il1I.ljIi+"-215x61.png\" id=\"imgMain\" style=\"\" /></div></div>"));return;}IIjI=0;$(ljj1).html("");$(ljj1).css("height","100%").css("width","100%");I1ii();IIII();I1ij();var i=1;var jII=$(_tB);$(_tB).focus().autocomplete(Ij1l(["1","2","3"]),{selectFirst:false,parse:function(data){var rows=new Array;for(var i=0;i<data[1].length;i++){var v=data[1][i][0];if(v.indexOf("%")!=-1||v.indexOf("&")!=-1||v.indexOf("#")!=-1){v=$("<div>"+v+"</div>").text();}var lljj=jII.val().indexOf("c# ");if(lljj>=0){if(lljj==0){v=v.replace(/^c</,"c#<").replace(/^c /,"c# ");}else if(lljj==jII.val().length){v=v.replace(/ c$/," c#");}else{v=v.replace(/ c /," c# ");}}rows[i]={data:data[1][i],value:v,result:v};}return rows;},onFill:function(data){var lii1=false;if(Ilji){_iSM.I1i(data[0].value);}if(!lii1){$(".ac_results").append("<div style='font:10px arial,sans-serif;color:silver;position:absolute;top:90%;left:280px;text-align:right;padding-top:3px;padding-right:8px;vertical-align: bottom;'>click <b>Esc</b> to close</div>");lii1=true;}},extraParams:{t:"lms",hl:"en",client:"hp",cp:i++},formatItem:function(row,i,n){var lljj=jII.val().indexOf("c# ");if(lljj>=0){if(lljj==0){row[0]=row[0].replace(/^c</,"c#<").replace(/^c /,"c# ");}else if(lljj==jII.val().length){row[0]=row[0].replace(/ c$/," c#");}else{row[0]=row[0].replace(/ c /," c# ");}}return row[0];},highlight:function(match,il){return match;},dataType:"jsonp",cache:true,lI:false,delay:300}).result(function(event,data,formatted){jII.val(jII.val().replace(/<b>/g,"").replace(/<\/b>/g,""));var lljj=jII.val().indexOf("c# ");if(lljj>=0){if(lljj==0){row[0]=row[0].replace(/^c /,"c# ");}else if(lljj==jII.val().length){row[0]=row[0].replace(/ c$/," c#");}else{row[0]=row[0].replace(/ c /," c# ");}}if(Ilji){_iSM.liij(jII);}});if(this.IijI){for(var i=0;i<this.IijI.length;i++){this.IijI[i].reset();}}};this.ijl=function(){if(Iljj&&Iljj.I1lj){return;}if(ljjl){if(window.event){window.event.returnValue=Il1i;return Il1i;}else{return Il1i;}}var l1="";for(var k=0;k<30;k++){l1+=String.fromCharCode(45);}var ll=0;for(var i=0;i<_sE.IijI.length;i++){if(_sE.IijI[i].iIjI()>ll){ll=_sE.IijI[i].iIjI();}}$.modal.close();liIl.unload();if(_$divSC){_$divSC.find("#dEOR").remove();var j1i="";if(IljI=="n"||IljI=="ns"){if(Illi.Illl&&Illi.Illl!=null){j1i=(_$divSC.scrollTop()+l1).substr(0,30)+(Illi.ljiI+l1).substr(0,30)+(Illi.Illl.f+l1).substr(0,30)+(Illi.ljjI+l1).substr(0,30);}}else{j1i=(_navMan.lI11()+l1).substr(0,30)+(_$divSC.scrollTop()+l1).substr(0,30)+(IIjj+l1).substr(0,30)+(IIjI+l1).substr(0,30)+(ll+l1).substr(0,30);}}if(IIiI){if(Il1l){IIiI.css("left","-1000px");}else{IIiI.css("display","none");}}if(IIjl&&IIjl!=null){IIjl.remove();}$(il1l).val(j1i+$("#divSC").html());};this.reset=function(){if(_rDM.l1jj){log("Reset Called Line #3528");_rDM.l1jj=false;_$divSC.empty();_$divSC.append("<span id='spnAds'/><span id='spnSpell'/><span id='spnTAM'/><br/>");if($.browser.msie&&$.browser.version!="9.0"){_$divSC[0].style.removeAttribute("filter");}else{_$divSC.css("opacity","1");}}};this.renderAds=function(){if(_ads.length>0){var html=[];html.push("<div class='qad' style='background-color:#F3FAFF;margin-top:15px;margin-left:15px;width:810px;padding-top:5px;padding-bottom:1px;'>");html.push("<ol>");html.push("<span style='float:right;color:#ccc'>Ads&nbsp;</span>");var i=0;$(_ads).each(function(){if(i<=2){html.push("<li class='ria'><div style='width: 790px;'>");html.push("<h3><a href='"+this.clickurl+"'>"+hiLW(this.title)+"</a></h3>");html.push("<p><cite>"+boldDomain(this.siteHost)+"</cite><span style='color:#ccc'>&nbsp;&nbsp;-&nbsp;&nbsp;</span>");html.push("<span class='des'>"+hiLW(this.description)+"</span></p>");html.push("</div></li>");}i++;});html.push("</ol></div>");$("#spnAds").html(html.join(""));_ads=new Array;}};this.I1Ii=function(){log("Start: I1Ii");var rs=new Array;var rsf=new Array;var c=0;for(var i=0;i<_sE.IijI.length;i++){if(_sE.IijI[i].i1Il==IIij&&!_sE.IijI[i].iIji()){c++;}}if(c>=I1I1){var i=false;if(IIjj==0){var j=0;for(var i=0;i<_sE.IijI.length;i++){if(_sE.IijI[i].i1Il==IIij&&!_sE.IijI[i].iIji()){if(_sE.IijI[i].count()>j){j=_sE.IijI[i].count();}}}IIjj=j;i=true;}for(var i=0;i<_sE.IijI.length;i++){var a=_sE.IijI[i].IIll();if(typeof a!="undefined"){if(_sE.IijI[i].name=="Bing."){if(rs.length==0){rs.push(a);}if(rs.length==1&&rs[0].length<=12){rs.push(a);}}else{rs.push(a);}if(_sE.IijI[i].count()!=j&&i){IIjj+=parseInt(_sE.IijI[i].count()*0.1);}}}log("Start: I1jl");var ljlI=I1jl(rs);if(Iljj&&Iljj.I1lj){i1I1(ljlI);return;}if(IIij=="n"&&Illi.ljiI=="s"&&Illi.ljjI=="t"){ljlI.sort(function c(a,b){return b.diggs-a.diggs;});}_rDM.reset();_rDM.l1ji=ljlI;if(ljlI.length>0){_rDM.Ii11=0;IIjI+=ljlI.length;var li=_$divSC;if(!ljjj&&IIj1!=null&&_$divSC.find("#IIj1").length==0){li.append(IIj1+"<span/>");}IIj1=null;$("#_aDisS").click(function(){i1j();return false;});log("TAM:Render Called");_tamM.jiI();if(IIij=="wsd"){li.append("<div class='rc'><ol style='padding-left:0px' id='ol'/></div>");}else{li.append("<span id='ol'/>");}$ol=$(li.find("#ol")[li.find("#ol").length-1]);var items=[];$(ljlI).each(function(){if(!_rDM.illj&&validData(this)){try{items.push(Ii1l(this,0));lilj.push(this.domain.replace("http://","").replace("https://",""));}catch(e){i1iI(e);}if(this.children!=null){IIjI+=this.children.length;$(this.children).each(function(){if(this.body.trim()!=""){try{if(validData(this)){items.push(Ii1l(this,1));}}catch(e){i1iI(e);}}});}}});$ol.append(items.join(""));_rDM.renderAds();if(IIij=="wsd"||IIij=="n"){liIl.li1i=window.setTimeout(function(){liIl.jij();},Il1I._SO?0:1000);window.setTimeout("Ii1j($ol)",500);}else if(IIij=="isd"){lj($ol);if(I1jI("a")=="ss"&&window.location.href.indexOf("#")==-1){IiI1($("#sD"),true,true,0);}}if(IIjI>IIjj){IIjj=IIjI;}if(IIij!="n"){$("#dRC").html("Results <b>1 - "+Ii(IIjI)+"</b> of about <b>"+Ii(IIjj)+"</b>");}else{_$divSC.append("<div style='text-align:center;width:100%;float:none;clear:both;font-weight:bold;margin-left:auto;margin-right:auto;align:left;padding-bottom:20px'><div style='width:910px;text-align:right;'><a id='aBtop' href='#'>back to top</a></div></div>");$("#aBtop").bind("click",function(){_$divSC.animate({scrollTop:0});return false;});}}else{if(_rDM.Ii11>0||IIij=="n"||IIij=="ns"){if(_$divSC.children().length==1){$("#dRC").html("");_$divSC.append("<div style='font-weight:bold;margin-top:20px;'>No matching records found by any of the the search engines.</div>");$(il1l).val("");}else{if(Il1l){_$divSC.append("<div id='dEOR' style='text-align:center;width:100%;float:none;clear:both;font-weight:bold;margin-left:auto;margin-right:auto;padding-top:30px;padding-bottom:30px;'>None of the search engines returned any more results for '"+escapeHTMLEncode(IIi1)+"'.</div>");}else{_$divSC.append("<div id='dEOR' style='text-align:center;width:100%;float:none;font-weight:bold;margin-left:auto;margin-right:auto;margin-top:50px;padding-top:50px;padding-bottom:50px;'>None of the search engines returned any more results for '"+escapeHTMLEncode(IIi1)+"'.</div>");}}IIIi=true;}else{_rDM.Ii11++;}}if(!Ilji){I11l=window.setTimeout("lij();",200);}else{I11l=window.setTimeout("lij();",1200);}_navMan.start();window.setTimeout(function(){ll1j();},100);}else{IIii=window.setTimeout(_rDM.I1Ii,200);}};}var _aICapTimer=null;function lj(II){II.find("img").each(function(){$(this).bind("load",function(e){var IjII=$(this);if(IjII.width()>IjII.height()){IjII[0].Il=IjII.width();IjII.width(135);}else{IjII[0].Ij=IjII.height();IjII.height(135);}if(IjII.css("visibility")=="hidden"){IjII.css("visibility","visible");IjII.parent().parent().parent().css("visibility","visible");}});$(this).bind("mouseover",function(e){var IjII=$(this);if(IIjl&&IIjl!=null){IIjl.remove();IIjl=null;}if(_aICapTimer!=null){window.clearTimeout(_aICapTimer);}_aICapTimer=window.setTimeout(function(){var h=[];var llj=IjII.parent().parent().find("#sD");var iI1l=llj.attr("_rurl");var m=(new RegExp("^(?:f|ht)tp(?:s)?://([^/]+)","im")).exec(iI1l);var d=iI1l.substr(0,40);if(m&&m.length>0){d=m[0].substr(0,40);}var title=unescape(llj.attr("_title")).replace(/%20/gi,"_").replace(/<\/b>/gi,"").replace(/<b>/gi,"");h.push("<span>");h.push("<span style=\"display:inline-block;width:100%;padding-bottom:3px;font-size:110%\">"+title.substr(0,20)+"</span>");h.push("<span style=\"border:#ccc 1px solid;padding:2px;display:inline-block;\">");h.push("<a style=\"margin: 0px; width: auto; bottom: -13%; height: auto\" title=\""+title+"\" href=\""+llj.attr("_rurl")+"\">");h.push("<img title=\""+title+"\" alt=\"denver colorado skyline\" src=\""+IjII.attr("src")+"\"></a>");h.push("</span>");h.push("<span>");h.push("<span style=\"display:inline-block;width:100%;padding-bottom:3px;padding-top:4px;font-size:90%\"><cite>"+llj.attr("_dim")+"</cite></span>");h.push("<span style=\"display:inline-block;width:100%;\">"+d.replace(/http:\/\//,"")+"</span>");h.push("<span class=\"aS\" style=\"display:inline-block;width:100%;padding-bottom:3px;padding-top:4px;font-size:95%\">");h.push("Peek (<a id=\"aIP\" isImg=\"1\" title1=\""+title+"\" href=\"#\">Image</a>/<a id=\"aISP\" href=\"#\" title1=\""+title+"\" href=\"#\" href1=\""+llj.attr("_rurl")+"\">Site</a>) - <a target=\"_new\" href=\""+llj.attr("_rurl")+"\">New Window</a>");h.push("</span>");h.push("<span class=\"aS\" style=\"text-align:right;font-size:10px;display:inline-block;width:100%;padding-bottom:2px;padding-top:4px;font-size:90%\">");h.push("<a href=\"#\" id=\"aSSS\"><b>start slide show</b></a>");h.push("&nbsp;&nbsp;&nbsp;</span>");h.push("</span>");h.push("</span>");IjII.parent().parent().append("<div id='dCap' style='padding-top:10px;border:#ccc 1px solid;width:200px;height:250px;background-color:#fff;position:"+"absolute"+";color:black'>"+h.join("")+"</div>");var iiI=$(IjII.parent().parent().find("#dCap"));var left=0;if(IjII[0].Il||Math.abs(IjII.height()-IjII.width())<10){left=IjII.position().left-($.browser.msie?32:28);}else{left=IjII.position().left-($.browser.msie?50:45);}iiI.css("left",left.toString()+"px");iiI.css("top",(IjII.position().top-(Il1l?145:35)+(Il1l?_$divSC.scrollTop():0)).toString()+"px");IjII=$(IjII.parent().parent().find("#dCap").find("img"));if(IjII.width()>=IjII.height()){IjII.width(145);}else{IjII.height(145);}iiI.find("#aIP").each(IiII);iiI.find("#aISP").each(peek);iiI.find("#aSSS").bind("click",function(){IiI1($(this).parents().filter("#sImgT").find("#sD"),true,true,0);return false;});iiI.bind("mouseleave",function(e){e.preventDefault();$(this).remove();});_$divSC.bind("scroll",function(event){if(IIjl&&IIjl!=null){IIjl.remove();}});IIjl=iiI;},400);});});}function validData(d){if(IIij=="wsd"){if(d.body.trim()!=""){return true;}else{return false;}}else if(IIij=="n"||IIij=="ns"){return true;}else{return true;}}function lij(){if(IIij=="n"||Iljj!=null&&Iljj.I1lj){return;}if(!IIIi&&_$divSC[0].scrollHeight-_$divSC.scrollTop()-_$divSC.outerHeight()<300){_sE.IIIl(false);}}function Ij1I(p){if(Il1I.lj1j!=2){if(p=="YB"||p=="Bing."){p="Y!/Bing";}var a="<a href='{0}'>"+p+"</a>";if(p=="Bing"||p=="Y!/Bing"){return IIij=="wsd"?a.replace("{0}","http://search.yahoo.com/search?p="+urlEncode(IIi1)):a.replace("{0}","http://www.bing.com/images/search?q="+urlEncode(IIi1));}else if(p=="Google"){return IIij=="wsd"?a.replace("{0}","http://www.google.com/search?q="+urlEncode(IIi1)):a.replace("{0}","http://images.google.com/images?q="+urlEncode(IIi1));}else if(p=="Ask"){return IIij=="wsd"?a.replace("{0}","http://www.ask.com/web?q="+urlEncode(IIi1)):a.replace("{0}","http://www.ask.com/pictures?q="+urlEncode(IIi1));}else{return"";}}else{return p;}}function IiIj(t,url,turl,tt,ip,l1I){url=url.replace(/\{0\}/,turl).replace(/\{1\}/,tt);return"<div l1I='"+l1I+"' class='sitem' style='cursor:hand;float:left;border:#fff 1px solid;' href1='"+url+"'><div style='white-space:nowrap;margin:4px;font-size:12px;width:65px;height:15px;padding-left:20px;text-align:left;background:url(/img/share.png) no-repeat 0px -"+(ip*16).toString()+"px'>"+t+"</div></div>";}function Ii1j($ol){$ol.find("#aCap").each(function(){$(this).bind("mouseover",function(e){e.preventDefault();if($(this).find("#dCap").length>0){return;}$(this).append("<div id='dCap' style='cursor:default;float:right;clear:none;position:"+(Il1l?"absolute":"relative")+";color:black'><div class='sout'><div class='sinner' style='background-color:#ddd;padding:10px;width:100%'><div class='sa_cp1' style='background-color:#fff;height:335px;' style='clear:none;float;right' id='dCapC'></div></div></div></div>");$(this).find("#dCap").bind("mouseleave",function(e){e.preventDefault();$(this).remove();});var h=[];h.push("<div style='clear:both;padding:5px'><div style='font-size:14px;color:#a29a9a;'>Share</div>");h.push(IiIj("facebook","http://www.facebook.com/share.php?u={0}&t={1}",$(this).attr("turl"),$(this).attr("ttitle"),3,0));h.push(IiIj("digg","http://www.digg.com/submit?url={0}&title={1}",$(this).attr("turl"),$(this).attr("ttitle"),1,0));h.push(IiIj("twitter","http://twitter.com/home?status={0} {1}+via+%40"+Il1I.ljII,$(this).attr("turl"),$(this).attr("ttitle"),5,0));h.push(IiIj("reddit","http://reddit.com/submit?url={0}&title={1}",$(this).attr("turl"),$(this).attr("ttitle"),4,0));h.push("<div style='clear:both;font-size:14px;color:#a29a9a;padding-top:10px;'>Save</div>");h.push(IiIj("favorite","action:"+($.browser.msie?"window.external.AddFavorite(\"{0}\",\"{1}\")":"window.sidebar.addPanel(\"{1}\",\"{0}\",\"\")"),$(this).attr("turl"),$(this).attr("ttitle"),13,0));h.push(IiIj("del.icio.us","http://del.icio.us/post?url={0}&title={1}",$(this).attr("turl"),$(this).attr("ttitle"),6,0));h.push(IiIj("google","http://www.google.com/bookmarks/mark?op=add&bkmk={0}&title={1}",$(this).attr("turl"),$(this).attr("ttitle"),2,0));h.push(IiIj("live","https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url={0}&title={1}",$(this).attr("turl"),$(this).attr("ttitle"),8,0));h.push(IiIj("evernote","http://www.evernote.com/clip.action?url={0}&title={1}",$(this).attr("turl"),$(this).attr("ttitle"),10,0));h.push(IiIj("pdf online","http://savepageaspdf.pdfonline.com/pdfonline/pdfoMaster.asp?cURL={0}",$(this).attr("turl"),$(this).attr("ttitle"),11,0));h.push("<div style='clear:both;font-size:14px;color:#a29a9a;padding-top:10px;'>Safety/Verify</div>");h.push(IiIj("google","http://www.google.com/safebrowsing/diagnostic?site={0}",$(this).attr("turl"),$(this).attr("ttitle"),2,1));h.push(IiIj("avg link...","http://linkscanner.explabs.com/linkscanner/mylso.aspx?NS=ChkOnly&SRC=apps.explabs.com&CS={0}",$(this).attr("turl"),$(this).attr("ttitle"),7,1));h.push("<div style='clear:both;font-size:14px;color:#a29a9a;padding-top:10px;'>Shorten</div>");h.push(IiIj("tinyurl","http://tinyurl.com/create.php?url={0}",$(this).attr("turl"),$(this).attr("ttitle"),12,1));h.push(IiIj("bit.ly","http://bit.ly/?url={0}",$(this).attr("turl"),$(this).attr("ttitle"),9,0));h.push("<div style='clear:both;font-size:14px;color:#a29a9a;padding-top:10px;'>Translate</div>");h.push(IiIj("google","http://translate.google.com/translate?hl=en-us&u={0}&sl=auto&tl=en-us",$(this).attr("turl"),$(this).attr("ttitle"),2,0));h.push(IiIj("bing","http://www.microsofttranslator.com/BV.aspx?ref=Internal&a={0}",$(this).attr("turl"),$(this).attr("ttitle"),0,0));h.push("</div>");$("#dCapC").html(h.join(""));$("#dCap").find(".sinner").corner();$("#dCap").find(".sitem").each(function(){$(this).bind("mouseover",function(){$(this).css("border","#ccc 1px solid");});$(this).bind("mouseleave",function(){$(this).css("border","#fff 1px solid");});$(this).bind("click",function(){e.preventDefault();if($(this).attr("href1").indexOf("action:")==0){eval($(this).attr("href1").replace("action:",""));}else{if($(this).attr("l1I")=="1"){IiIi($(this));}else{window.open($(this).attr("href1"));}}return false;});});});$(this).bind("mouseleave",function(e){e.preventDefault();$(this).find("#dCap").remove();});});$ol.find("#dO").each(function(){$(this).bind("mouseenter",function(e){e.preventDefault();liIl.lllI(this,"visible");for(var ai=0;ai<IIji.length;ai++){window.clearTimeout(IIji[ai]);}ai={};if(IIiI){if(Il1l){IIiI.css("left","-1000px");}else{IIiI.css("display","none");}}IIiI=$(this).find("#aCap");$(IIiI.find("div")[0]).css("height",IIiI.parent().find("div").height()+"px");if(IIiI){if(Il1l){IIiI.css("left",IIiI.parent().find("div").width()+(10+parseInt(IIiI.attr("_in")))+"px");}else{IIiI.css("display","block");}}});$(this).bind("mouseleave",function(e){e.preventDefault();liIl.lllI(this,"hidden");if(IIiI){if(Il1l){IIji.push(window.setTimeout("IIiI.css(\"left\", \"-1000px\")",400));}else{IIji.push(window.setTimeout("IIiI.css(\"display\", \"none\")",400));}}});});$ol.find("#aP").each(peek);$ol.find("#aC").each(peek);}function Ii(ljj){ljj+="";x=ljj.split(".");ljI=x[0];lji=x.length>1?"."+x[1]:"";var rgx=/(\d+)(\d{3})/;while(rgx.test(ljI)){ljI=ljI.replace(rgx,"$1,$2");}return ljI+lji;}var _nextI=null;var _ssTimer=null;function showTip(tip){lIll.append("<div style='background-color:#FFF9EA;padding:3px;border:1px rgb(204,204,204) solid;position:absolute;z-index:1003;' id='dTip'></div");$("#dTip").html(tip).center().css("top","0");window.setTimeout(function(){$("#dTip").fadeOut(1000).remove();},5000);}function sShare(url){var ourl=url.replaceAll(" ","+");url=url.replaceAll("://","%3A%2F%2F").replaceAll("/","%2F").replaceAll("=","%3D").replaceAll(" ","%2B").replaceAll("&","%26").replace("?","%3F");var cs=IIi1.replaceAll("://","%3A%2F%2F").replaceAll("/","%2F").replaceAll("=","%3D").replaceAll(" ","%2B");var ht=[];ht.push("<div style=\"background-color:#FFF9EA;padding:3px;border:1px rgb(204,204,204) solid;position:absolute;z-index:1003;\" id=\"dShare\">");ht.push("<div class=\"sinner\" style=\"background-color: rgb(221, 221, 221); padding: 10px; height:200px;\"><div style=\"margin-left:-5px\"><b>Share</b></div><br/>");ht.push("<a target=\"new\" href=\"http://www.facebook.com/share.php?u="+url+"\"><div style=\"margin:3px;background-color:white;float: left; border: 1px solid rgb(255, 255, 255);\" class=\"sitem\" l1I=\"0\"><div style=\"white-space:nowrap;margin:4px;font-size:12px;width:65px;height:15px;padding-left:20px;text-align:left;background:url(/img/share.png) no-repeat 0px -48px\">facebook</div></div></a>");ht.push("<a target=\"new\" href=\"http://twitter.com/home?status="+url+"%40qrobe.it\"><div style=\"margin:3px;background-color:white;float: left; border: 1px solid rgb(255, 255, 255);\" class=\"sitem\" l1I=\"0\"><div style=\"white-space:nowrap;margin:4px;font-size:12px;width:65px;height:15px;padding-left:20px;text-align:left;background:url(/img/share.png) no-repeat 0px -80px\">twitter</div></div></a>");ht.push("<a target=\"new\" href=\"http://reddit.com/submit?url="+url+"&title=Slide%2BShow%2B-%2B"+cs+"\"><div style=\"margin:3px;background-color:white;cursor:hand;float:left;border:#fff 1px solid;\" class=\"sitem\" l1I=\"0\"><div style=\"white-space:nowrap;margin:4px;font-size:12px;width:65px;height:15px;padding-left:20px;text-align:left;background:url(/img/share.png) no-repeat 0px -64px\">reddit</div></div></a>");ht.push("<a target=\"new\" href=\"http://www.digg.com/submit?url="+url+"&title=Slide%2BShow%2B-%2B"+cs+"\"><div style=\"margin:3px;background-color:white;float: left; border: 1px solid rgb(255, 255, 255);\" class=\"sitem\" l1I=\"0\"><div style=\"white-space:nowrap;margin:4px;font-size:12px;width:65px;height:15px;padding-left:20px;text-align:left;background:url(/img/share.png) no-repeat 0px -16px\">digg</div></div></a>");ht.push("<br/><br/><br/><br/><div style=\"margin-left:-5px\"><b>URL</b></div><br/>");ht.push("<input style=\"width:400px;margin-left:8px\" type=\"text\" value=\""+ourl+"\"/><br/><br/>");ht.push("<input style=\"margin-left:350px;\" type=\"button\" value=\"Close\" onclick=\"$('#dShare').remove();\"/><br/><br/>");ht.push("</div></div>");lIll.append(ht.join(""));$("#dShare").center();}function IiI1(llj,ignoreE,isSS,ssPos){if(isSS&&ssPos>0&&$("#imgpeek-container").length==0){if(_ssTimer){window.clearTimeout(_ssTimer);}return;}if(isSS&&ssPos==0){showTip("Click on image to pause/resume.");}var sr=llj.attr("ljII");var i=new Image;if(_nextI!=null&&_nextI.src==sr){i=_nextI;}var IlI=llj.parents().filter("#sImgT").next().find("#sD");if(IlI.length==0){if(llj.parents().filter("#ol").next().find("#sD").length>0){IlI=$(llj.parents().filter("#ol").next().find("#sD")[0]);}}var I1l=llj.parents().filter("#sImgT").prev().find("#sD");if(I1l.length==0){if(llj.parents().filter("#ol").prev().find("#sD").length>0){I1l=$(llj.parents().filter("#ol").prev().find("#sD")[llj.parents().filter("#ol").prev().find("#sD").length-1]);}}if(Il1l){$.modal("<img src=\"/img/loading2.gif\"/>",{overlayId:"ipeek-overlay",overlayClose:true,containerCss:{backgroundColor:"#ccc",borderColor:"#ccc",height:"30px",width:"30px",paddingTop:"3px",paddingLeft:"3px"}});}else{$.modal("<img src=\"/img/loading2.gif\"/>",{overlayId:"ipeek-overlay",overlayClose:true,containerCss:{backgroundColor:"#ccc",borderColor:"#ccc",height:"24px",width:"24px",padding:"3px"}});}$(i).bind("abort",function(){if(!ignoreE){alert("Error loading image.");$.modal.close();}else{IiI1(IlI,ignoreE,isSS,0);}});$(i).bind("error",function(){if(!ignoreE){alert("Error loading image.");$.modal.close();}else{IiI1(IlI,ignoreE,isSS,0);}});$(i).load(function(){if(isSS&&ssPos>0&&$("#imgpeek-container").length==0){if(_ssTimer){window.clearTimeout(_ssTimer);}return;}var w=i.width+20;var h=i.height;var Ij1i=lij1;$.modal.close();$.modal("<img style=\"visibility:hidden\" id=\"actIm\" alt=\"Press 'Esc' key to exit.\" src=\""+$(this).attr("src")+"\"/>",{overlayId:"ipeek-overlay",containerId:"imgpeek-container",overlayClose:true,containerCss:{backgroundColor:"#ccc",borderColor:"#fff",height:h+"px",width:w+"px",maxHeight:Ij1i.height()-150+"px",maxWidth:Ij1i.width()-50+"px",padding:"7px",overflow:"hidden",textAlign:"center"},onClose:function(dialog){I1I(dialog);}});$("#actIm").css("display","none").css("visibility","visible").fadeIn(750);if(isSS){$("#actIm").click(function(){if(_ssTimer){window.clearTimeout(_ssTimer);_ssTimer=null;}else{IiI1(IlI,true,true,++ssPos);}});}var I11=$("#imgpeek-container");var ht=[];ht.push("<div id='dIT' style='text-align:center;position:absolute;z-index:1002;left:");ht.push((I11.position().left+(w-480)/2+5).toString()+"px;top:");var dtT=I11.position().top+h+20;if(dtT>Ij1i.height()-50){dtT=Ij1i.height()-50;}ht.push(dtT.toString()+"px;width:480px;'>");ht.push("<div style='"+(Il1l?"":"float:left;")+"padding-top:0px;display:inline;height:32px;width:"+(Il1l?"50":"60")+"px;text-align:left;'>");if(I1l.length>0){ht.push("<a href='#' id='aImgTP'><img src='/img/ileft.png'/></a>");}ht.push("</div><div style='display:inline;text-align:center;width:330px;margin-left:auto;margin-right:auto'>");ht.push("<div style='background-repeat: no-repeat; background:url(/img/itleft.png);float:left;height:32px;width:15px;'/>");ht.push("<div style='overflow:hidden;background:url(/img/itback.png);text-align:center;height:"+(Il1l?"32":"25")+"px;width:300px;float:left;padding-top:6px;'>");ht.push("<a style='text-decoration:none;white-space:nowrap;display:inline-block;font-size:12px;color:#fff;font-weight:400;overflow:hidden;height:32px;' href='"+escapeHTMLEncode(llj.attr("_rurl"))+"'>Image Source: "+llj.attr("_rurl")+"<a>");ht.push("</div>");ht.push("<div style='float:left;background-repeat: no-repeat; background:url(/img/itright.png);float:left;height:32px;width:15px;'/>");ht.push("</div><div style='padding-top:0px;display:inline;height:32px;width:50px;text-align:right;'>");if(IlI.length>0){ht.push("<a href='#' id='aImgTN'><img src='/img/iright.png'/></a>");_nextI=new Image;_nextI.src=IlI.attr("ljII");}ht.push("</div>");ht.push("</br></br>");ht.push("<div style='margin-left:130px;background-repeat: no-repeat; background:url(/img/itleft.png);float:left;height:32px;width:15px;'/>");ht.push("<div style='overflow:hidden;background:url(/img/itback.png);text-align:center;height:"+(Il1l?"32":"25")+"px;width:170px;float:left;padding-top:6px;'>");ht.push("<a style='text-decoration:none;white-space:nowrap;display:inline-block;font-size:12px;color:#fff;font-weight:200;overflow:hidden;height:32px;' onclick='shrSS();return false;' href='#'>share this slide show.<a>");ht.push("</div>");ht.push("<div style='float:left;background-repeat: no-repeat; background:url(/img/itright.png);float:left;height:32px;width:15px;'/>");ht.push("</div>");ht.push("</div>");$(ht.join("")).appendTo("body");$("#dIT").find("a").each(function(){$(this).bind("click",function(){if(_ssTimer){window.clearTimeout(_ssTimer);}if(this.id=="aImgTN"||this.id=="aImgTP"){$.modal.close();}if(this.id=="aImgTN"){IiI1(IlI,true,isSS,0);}else if(this.id=="aImgTP"){IiI1(I1l,true,isSS,0);}return false;});});lj1(I11,w,h);if(IlI.length>0){var iN=new Image;iN.src=IlI.attr("ljII");}});i.src=sr;if(isSS){if(_ssTimer){window.clearTimeout(_ssTimer);}_ssTimer=window.setTimeout(function(){IiI1(IlI,true,true,++ssPos);},4000);}}function shrSS(){sShare(location.protocol+Il1I._iurlp+Il1I.ljII+"/images/?q="+IIi1+"&a=ss");}function I1I(dialog){$.modal.close();$("#dIT").remove();$("#aMWC").remove();}function lj1(I11,w,h){$("<a id='aMWC' style='position:absolute;z-index:1003;left:"+(I11.position().left+w+5)+";top:"+(I11.position().top-13)+"px' href='#' title='Close' class='modal-close'><img src='/img/closebox.png' style='border:0px' border='0px'/></a>").appendTo("body");$("#aMWC").bind("click",function(){$.modal.close();return false;});$("#aMWC").css("left",I11.position().left+w+5);}function IiII(){$(this).bind("click",function(){IiI1($(this).parents().filter("#sImgT").find("#sD"),false,false,0);return false;});}var Il1=0;var il1l="#txtq";function peek(){$(this).click(function(e){IiIi($(this),true);e.preventDefault();return false;});}function IiIi(llj,ljl){var src=llj.attr("href1");var lII=llj.attr("isImg")!="1";var w=lij1.width()-100;var h=lij1.height()-80;ljjl=true;if(ljl){var IlI=llj.parents().filter("li").next().find("#aP");var I1l=llj.parents().filter("li").prev().find("#aP");}var I11=openModal(src,lII,w,h);if(ljl){var ht=[];ht.push("<div id='dIT' style='text-align:center;position:absolute;z-index:1002;left:");ht.push((I11.position().left+(w-680)/2+5).toString()+"px;top:");ht.push((I11.position().top+h+10).toString()+"px;width:680px;'>");ht.push("<div style='"+(Il1l?"":"float:left;")+"padding-top:0px;display:inline;height:32px;width:"+(Il1l?"50":"60")+"px;text-align:left;'>");if(I1l.length>0){ht.push("<a href='#' id='aUrlP'><img src='/img/ileft.png' title='"+escapeHTMLEncode(I1l.attr("href1"))+"'/></a>");}ht.push("</div><div style='display:inline;text-align:center;width:530px;margin-left:auto;margin-right:auto'>");ht.push("<div style='background:url(/img/itleft.png);float:left;height:32px;width:15px;'/>");ht.push("<div style='overflow:hidden;background:url(/img/itback.png);text-align:center;height:"+(Il1l?"32":"25")+"px;width:500px;float:left;padding-top:6px;'>");ht.push("<a style='text-decoration:none;white-space:nowrap;display:inline-block;font-size:12px;color:#fff;font-weight:800;overflow:hidden;height:32px;' href='"+llj.attr("href1")+"'>"+llj.attr("title1")+"<a>");ht.push("</div>");ht.push("<div style='background:url(/img/itright.png);float:left;height:32px;width:15px;'/>");ht.push("</div><div style='padding-top:0px;display:inline;height:32px;width:50px;text-align:right;'>");if(IlI.length>0){ht.push("<a href='#' id='aUrlN'><img src='/img/iright.png'/ title='"+escapeHTMLEncode(IlI.attr("href1"))+"'></a>");}ht.push("</div></div>");$(ht.join("")).appendTo("body");$("#dIT").find("a").each(function(){$(this).bind("click",function(){$.modal.close();if(this.id=="aUrlN"){IiIi(IlI,true);}else if(this.id=="aUrlP"){IiIi(I1l,true);}return false;});});}}function openModal(src,lII,w,h){if(typeof w=="undefined"){w=lij1.width()-100;h=lij1.height()-80;}$.modal(lII?"<iframe id=\"ifPeek"+Il1+"\" src=\""+src+"\" height=\"100%\" width=\"100%\" style=\"border:0;\">":"<img src=\""+src+"\"/>",{overlayId:"peek-overlay",containerId:"peek-container",containerCss:{backgroundColor:"#ccc",borderColor:"#fff",height:h+"px",width:w+"px",padding:"7px",overflow:"hidden",top:"25px"},overlayClose:true,onClose:function(dialog){$.modal.close();window.setTimeout("_$divSC.focus()",10);$("#dIT").remove();$("#aMWC").remove();ljjl=false;}});Il1++;var I11=$("#peek-container");I11.css("top","20px");$("#simplemodal-data").css("height","100%");lj1(I11,w,h);return I11;}function windowUnload(lI1){var lIl=$("lIl");if(lIl==lI1.element()){lI1.stop();}}function Iili(){if(IIij=="wsd"||IIij=="isd"||IIij=="n"||IIij=="ns"){if($(il1l).val()!=""){Ii1I=true;window.setTimeout("Ii1I=false;",200);var li=_$divSC;var lljI=IIij=="n"||IIij=="ns"?120:150;var h=$(il1l).val().substr(lljI);if(h!=""||h!="null"){li.html($(il1l).val().substr(lljI));}li.find("#dCap").remove();var j1i=$(il1l).val().substr(0,lljI);if(IIij=="n"||IIij=="ns"){if(!Illi){Illi.ljiI=j1i.substr(30,30).replace(/-/g,"");Illi.Illl=i11I(j1i.substr(60,30).replace(/-/g,""));Illi.ljjI=j1i.substr(90,30).replace(/-/g,"");}_navMan.lI11(parseInt(j1i.substr(0,30).replace(/-/g,"")));liitti();}else{_navMan.lI11(parseInt(j1i.substr(0,30).replace(/-/g,"")));IIjj=parseInt(j1i.substr(60,30).replace(/-/g,""));IIjI=parseInt(j1i.substr(70,30).replace(/-/g,""));var l1i=parseInt(j1i.substr(120,120).replace(/-/g,""));for(var i=0;i<_sE.IijI.length;i++){_sE.IijI[i].iIjI(l1i);}$("#dRC").html("Results <b>1 - "+Ii(IIjI)+"</b> of about <b>"+Ii(IIjj)+"</b>");}if(!$.browser.mozilla){window.setTimeout("_$divSC[0].scrollTop = \""+parseInt(j1i.substr(30,29).replace(/-/g,""))+"\"",50);}else{var scroll=parseInt(j1i.substr(30,29).replace(/-/g,""));if(scroll>0){window.setTimeout(function(){if(_$divSC[0].scrollTop==0){_$divSC[0].scrollTop=scroll.toString();}},50);}}window.setTimeout("Ii1I=false;",1500);li.find("#ol").each(function(){var $ol=$(this);if(IIij=="wsd"||IIij=="n"||IIij=="ns"){Ii1j($ol);$ol.find("#sRat0").each(function(){liIl.l1II($(this));});}else if(IIij=="isd"){lj($ol);}});$(il1l).val("");}else{if(window.location.href.indexOf("#q=")>0&&!Ilji){I1j1("","");}if(IIij=="n"||IIij=="ns"){liitti();}_sE.IIIl(true);if(IIij=="ns"||IIij=="n"){IIIi=true;}}}}function hiLW(s){var orgS=s;try{if(s.indexOf("<b>")!=-1){return s;}var terms=IIi1.split(" ");var replacedTerms=[];for(var i=0;i<terms.length;i++){if(terms[i].trim()!=""&&$.inArray(terms[i],replacedTerms)==-1){s=s.replace(new RegExp("(\\b"+terms[i]+"\\b)","gi"),"<b>$1</b>");}replacedTerms[replacedTerms.length]=terms[i];}return s;}catch(e){return orgS;}}function boldDomain(dn){var d1=dn;try{d1=d1.split("/")[0];var p=d1.split(".");if(p.length==3||p.length==4){d1=dn.replace(p[1],"<b>"+p[1]+"</b>");}else if(p.length==2){d1=dn.replace(p[0],"<b>"+p[0]+"</b>");}}catch(e){log(e);return dn;}return d1;}var lIi;var llji="<div id='dArr' style='float:left;color:silver;padding-top:2px;padding-right:2px;visibility:hidden;font-family:arial,sans-serif'>"+String.fromCharCode(9658)+"</div>";var l1lI="<li class='ri' style='clear:both;'>"+llji+"<div id='dO' style=''><div id='dI' style='line-height:1.4;padding:3px;border:1px #fff solid;float:left;width:790px;margin-bottom:15px;'><h3><a id='kNLink' href='";var l1lj="<li class='ri' style='clear:both;margin-left:40px;'>"+llji+"<div id='dO' style=''><div id='dI' style='line-height:1.4;padding:3px;border:1px #fff solid;float:left;width:790px;margin-bottom:15px;'><h3><a id='kNLink' href='";var _liNoIndentH_SO="<li class='ri' style='clear:both;display:none;'>"+llji+"<div id='dO' style=''><div id='dI' style='line-height:1.4;padding:3px;border:1px #fff solid;float:left;width:790px;margin-bottom:15px;'><h3><a id='kNLink' href='";var _liIndentH_SO="<li class='ri' style='clear:both;margin-left:40px;display:none;'>"+llji+"<div id='dO' style=''><div id='dI' style='line-height:1.4;padding:3px;border:1px #fff solid;float:left;width:790px;margin-bottom:15px;'><h3><a id='kNLink' href='";var l1li="<div style='#position: absolute; #top: 50%;display: table-cell; vertical-align: middle;'><div style=' #position: relative; #top: -50%;width: 10px; height:10px; background: url(/img/arrow.png) no-repeat 0px -9px; background-position:2px 0px;'></div></div></div></a></div></li>";function Ii1l(l1j,iI11){var b=[];l1j.title=l1j.title.replaceAll("'","&#146;");if(IIij=="wsd"){var item=(iI11==0?Il1I._SO?_liNoIndentH_SO:l1lI:Il1I._SO?_liIndentH_SO:l1lj)+l1j.url;b.push(item);b.push("'>"+(l1j.I1i1[0]=="TAM"?l1j.title:hiLW(l1j.title))+"</a>");b.push("</h3><span style='visibility:hidden' id='sRatC'><span lll1='"+escapeHTMLEncode(l1j.domain)+"' id='sRat'/></span><br/><div style='line-height:1.4'>"+(l1j.I1i1[0]=="TAM"?l1j.body:hiLW(l1j.body)));var c=(l1j.url.length>75?l1j.url.substr(0,75)+"...":l1j.url).replace("http://","").replace("https://","");b.push("<div><cite>"+boldDomain(c.endsWith("/")?c.substr(0,c.length-1):c)+"</cite>&nbsp;&nbsp;<span class='aS'>");if(Il1I._disProv){for(var k=0;k<l1j.I1i1.length;k++){b.push(Ij1I(l1j.I1i1[k])+(k<l1j.I1i1.length-1?", ":""));}}if(l1j.url.indexOf("https")==-1){b.push(" <a style='margin-left:5px' id='aP' title='Open in modal window.' title1='"+escapeHTMLEncode(hiLW(l1j.title))+"' href='#' href1='"+l1j.url+"'>Peek</a>");}if(l1j.cachedUrl&&l1j.cachedUrl!=""){b.push(" <a style='margin-left:5px' id='aC' title1='Cached - "+escapeHTMLEncode(hiLW(l1j.title))+"' href='#' href1='"+l1j.cachedUrl+"'>Cached</a>");}if(l1j.domain&&l1j.domain!=""){b.push(" <a style='margin-left:5px' id='aM' onclick='I1j1("+"\"site:"+escapeHTMLEncode(l1j.domain).replace("http://","").replace("https://","")+" "+"\");return false;' title='More from domain "+escapeHTMLEncode(l1j.domain)+"' href='#'>More</a>");}b.push(" <a style='margin-left:5px' id='aNW' href='"+l1j.url+"' target='_new'>New Window</a></span></div></div></div>");b.push("<a ttitle='"+escapeUni(hiLW(l1j.title))+"' turl='"+l1j.url+"' style='float:left;clear:none;margin-left:10px;text-decoration:none;"+(Il1l?"left:-1000px;position:absolute":"display:none"));b.push("' href= '#' _in='"+iI11*40+"' id='aCap'><div style='display: table;#position: relative;float:left;clear:none;width:12px;background-color: #f2f2f2; min-height: 53px;vertical-align: middle;'>");b.push(l1li);}else if(IIij=="isd"){var ty=l1j.url.substr(l1j.url.lastIndexOf(".")+1);b.push("<span id='sImgT' style='padding:"+(Il1l?"10px":"10px")+";text-align:center;display:inline-block;postion:relative;visibility:hidden'><span style='border:#ccc 1px solid;padding:2px;display:inline-block;' ><a title='");b.push(l1j.title);b.push("' href='");b.push(l1j.iI1l);b.push("'><img style='visibility:hidden' title='");b.push(l1j.title);b.push("' alt='");b.push(l1j.title);b.push("' src='");b.push(l1j.turl);b.push("'></a>");b.push("<span id='sD' ljII='");b.push(l1j.url);b.push("' _turl='");b.push(l1j.turl);b.push("' _pro='");b.push(l1j.I1i1.toString());b.push("' _dim='");b.push(l1j.size.replace(/k/g," kb").replace(/kB/g,"kb").replace(/kbB/g,"kb"));b.push(" / ");b.push(l1j.iIli);b.push(" / ");b.push(ty.substr(0,4));b.push("' ljII='");b.push(l1j.url);b.push("' _rurl='");b.push(l1j.iI1l);b.push("' _title='");b.push(encodeURI(l1j.title));b.push("' style='display:none'/>");b.push("</span></span>");}else if(IIij=="n"){var item="<li class='ri' style='clear:both;margin-left:20px;'>";if(l1j.iIlj!="ts"&&l1j.iIlj!=lIi&&Illi.ljiI!="s"){var m=i11I(l1j.iIlj);var h="<div style='height:59px;font-family:Georgia,Arial,Helvetica,sans-serif;font-size:17px;'><div style='width:120px;color:black;margin-bottom:2px;text-align:center;'><b>"+m.d+"</b></div>"+"<div id='dtab"+m.id+"' style='width:120px;height:4px;background:url(/img/newstab.png) no-repeat center "+m.Ili1+";'></div><div style='border-bottom:#"+m.c+"  1px solid'/></div>";b.push(h);lIi=l1j.iIlj;}b.push(item);if(l1j.turl&&typeof l1j.turl!="undefined"&&l1j.turl.trim()!="undefined"&&l1j.turl!=""){b.push("<div id='dO' style='float:left;'><span style='border:#ccc 1px solid;padding:2px;display:inline-block;float:left;margin-right:20px;margin-top:10px;'><img style='border:0px;width:100px;' src='"+l1j.turl+"'/></span>");}else{b.push("<div id='dO' style='float:left;'><span style='height:100px;display:inline-block;margin-right:125px;margin-top:10px;float:left;'></span>");}b.push("<div style='float:left;width:700px;margin-bottom:15px;'><h3><a href='"+l1j.url);b.push("' style='font-family:Georgia,Arial,Helvetica,sans-serif;font-size:22px;line-height:25px;' >");b.push(l1j.title);b.push("</a></h3><br/><div><div style='height:5px;'></div><div style='font-family:Georgia,Arial,Helvetica,sans-serif;font-size:15px;line-height:22px;'>");b.push(l1j.body);if(Illi.ljiI!="s"){b.push("</div><div><cite>"+l1j.source+"</cite> - "+l1j.time+"&nbsp;&nbsp;<span class='aS'>");}else{b.push("</div><div><cite><a href='"+l1j.IjjI+"' target='_new'>"+l1j.source+"</a> - "+l1j.domain.replace("http://","").replace("https://","").replace("www.","")+" </cite> - "+l1j.time+"&nbsp;&nbsp;<span class='aS'>");b.push("<a href='"+l1j.curl+"' target='_new'>"+l1j.comments+" Comments </a>");}if(l1j.url.indexOf("https")==-1){b.push(" - <a id='aP' title='Open in modal window.' title1='"+escapeHTMLEncode(l1j.title)+"' href='#' href1='"+l1j.url+"'><b>Peek</b></a>");}b.push(" - <a id='aNW' href='"+l1j.url+"' target='_new'>New Window</a></span></div></div>");if(l1j.os&&l1j.os!=null&&l1j.os.length>0){b.push("<div style='height:5px;'></div>");for(var li1=0;li1<l1j.os.length;li1++){b.push("<div style='line-height:20px;font-size:12px;'><a href='"+l1j.os[li1].url);b.push("' style='font-family:Georgia,Arial,Helvetica,sans-serif;color:#0033CC;text-decoration:none' >");b.push(l1j.os[li1].title);b.push("</a> - <cite>"+l1j.os[li1].source+"</cite><span class='aS'>");if(l1j.os[li1].url.indexOf("https")==-1){b.push(" - <a id='aP' title='Open in modal window.' title1='"+escapeHTMLEncode(l1j.os[li1].title)+"' href='#' href1='"+l1j.os[li1].url+"'><b>Peek</b></a>");}b.push(" - <a id='aNW' href='"+l1j.os[li1].url+"' target='_new'>New Window</a>");if(li1==l1j.os.length-1){b.push(" - <a id='aMN' onclick=\"return tllitti('"+l1j.I1i1.toString()+"',this);\" href1='"+l1j.more+"' href='#'>Find More</a>");}b.push("</span></div>");}}b.push("</div>");if(Illi.ljiI=="s"&&parseInt(l1j.diggs)!="NaN"){if(l1j.source=="Digg"){b.push("<UL class=\"news-digg\"><LI class=\"digg-count\"><A href=\""+l1j.IjjI+"\" target=\"_new\"><STRONG class=\"diggs-strong\">"+parseInt(l1j.diggs)+"</STRONG> diggs </A></LI>"+"<LI id=diglink-19727344 class=\"digg-it thumbs-up\"><A href=\""+l1j.IjjI+"\" target=\"_new\">digg</A> </LI></UL>");}else{var but="<div style=\"width: 51px; height: 66px\" class=\"button thing id-t3_giny\">"+"<div class=\"blog blog2 entry unvoted\"><div class=\"arrow up\"></div>"+"<div class=\"score dislikes\"></div>"+"<div style=\"filter: ; zoom: 1\" class=\"score unvoted\">"+parseInt(l1j.diggs)+"</div>"+"<div class=\"score likes\"></div>"+"<div class=\"arrow down\"></div>"+"<div class=\"bottomreddit bling\"><a href=\""+l1j.IjjI+"\" target=\"_new\">reddit</a> </div></div></div>";b.push(but);}}b.push("<a ttitle='"+escapeUni(l1j.title)+"' turl='"+l1j.url+"' style='float:left;clear:none;margin-left:10px;text-decoration:none;"+(Il1l?"left:-1000px;position:absolute":"display:none"));b.push("' href= '#' _in='"+iI11*40+"' id='aCap'><div style='display: table;#position: relative;float:left;clear:none;width:12px;background-color: #f2f2f2; min-height: 53px;vertical-align: middle;'>");b.push("<div style='#position: absolute; #top: 50%;display: table-cell; vertical-align: middle;'><div style=' #position: relative; #top: -50%;width: 10px; height:10px; background: url(/img/arrow.png) no-repeat 0px -9px; background-position:2px 0px;'></div></div></div></a></div>");b.push("<div style='clear:both;height:10px;'></div></li>");}return b.join("");}function escapeHTMLEncode(IliI){var div=document.createElement("div");var text=document.createTextNode(IliI);div.appendChild(text);return div.innerHTML;}function jIj(code,cond){if(eval(cond)){eval(code);}else{window.setTimeout("jIj('"+code+"','"+cond+"');",150);}}function liiI(){var q;if(window.location.href.indexOf("#q=")>0){var start=window.location.href.indexOf("#q=")+3;var end=window.location.href.indexOf("&",start);if(end==-1){end=window.location.href.length;}q=window.location.href.substring(start,end);if(q.indexOf("%25")>-1){q=unescape(q);}try{q=unescape(decodeURI(q));}catch(e){}q=q.replace(/\+/g," ");}else{q=I1jI("q");}return q;}function I1jI(p){var lIj="";var lii=window.location.href;if(lii.indexOf("?")>-1){var liI=lii.substr(lii.indexOf("?"));for(var b=0;b<li1l.length;b+=2){liI=liI.replace(RegExp("/"+li1l[b+1]+"/","g"),li1l[b]);}liI=liI.replaceAll("&amp;","ampamp;").replaceAll("&#","ampamp#;");var lil=liI.split("&");for(var I1j=0;I1j<lil.length;I1j++){if(lil[I1j].indexOf(p+"=")>-1){var ji1=lil[I1j].split("=");lIj=ji1[1];break;}}}q=lIj.replace(/\+/g," ").replaceAll("ampamp;","&").replaceAll("ampamp#;","&#");if(q.indexOf("%25")>-1){q=unescape(q);}try{return unescape(decodeURI(q));}catch(e){return q;}}$().ready(function(){Il1l=navigator.userAgent.indexOf("MSIE 6.0")>0&&navigator.userAgent.indexOf("MSIE 7.0")==-1&&navigator.userAgent.indexOf("MSIE 8.0")==-1&&navigator.userAgent.indexOf("MSIE 9.0")==-1&&navigator.userAgent.indexOf("MSIE 10.0")==-1;lij1=$(window);IIil();_rDM=new rDM;if($(il1l).val()==""){window.setTimeout("_rDM.Iilj();",20);}else{_rDM.Iilj();}if(Iljj==null||!Iljj.Ilj1){_sE=new sE;_sE.III1();Iili();}liii=window.location.href;window.setInterval(function(){if(liii!=window.location.href){liii=window.location.href;q=liiI();if(q.trim()!=""){if(ljll){ljll.html("");}$(_tB).val(q);_iSM.j1($(_tB),q);}}},500);$("#dPS").hide();});function tllitti(se,a){IIi1=$(a).attr("href1");Illi.ljiI="sq"+(se=="Bing"?"b":"g");liitti();_sE.IIIl(true);return false;}function liitti(){var ml=Illi.ljiI=="s"?IlIj:Il1j;if(Illi.ljiI!="s"){if(I[IIlj.i1ii]!="us"&&I[IIlj.i1ii]!=""){for(var i=0;i<ml.length;i++){if(ml[i].f=="us"){if(I[IIlj.i1ii]!="o"){ml[i].d=ljji.length<=5?ljji:I[IIlj.i1ii].toUpperCase();}else{ml.splice(i,1);}break;}}for(var i=0;i<ml.length;i++){if(ml[i].f=="lc"){ml.splice(i,1);Ilii--;break;}}}if(ml.length>Ilii){ml.splice(Il1j.length-1,1);}}if(IIi1!=""){if(Illi.ljiI!="sqb"&&Illi.ljiI!="sqg"){ml.push({id:"11",d:escapeUni(IIi1).replace(/\+/g," ").substr(0,8),w:"70px",Ili1:"-8px",c:"FFC300",f:"sq"});}else{ml.push({id:"11",d:"More",w:"70px",Ili1:"-8px",c:"FFC300",f:Illi.ljiI});}Illi.Illl=ml[ml.length-1];}Illi.IllI=new tlili(ml,"spnNMenu","divSC",l1jl);if(!Illi.Illl||Illi.Illl==null){Illi.Illl=ml[0];}Illi.IllI.jiI();}function iliI(d){for(var i=0;i<Il1j.length;i++){if(d.toLowerCase().indexOf(Il1j[i].d.toLowerCase())>-1){return Il1j[i].f;}}for(var i=0;i<IlIj.length;i++){if(d.toLowerCase().indexOf(IlIj[i].d.toLowerCase())>-1){return IlIj[i].f;}}return"ts";}function l1jl(lIil,idx){Illi.Illl=lIil;if(lIil.f!="sq"){$(_tB).val("");}if(lIil.f=="lc"){if(I[IIlj.i1j1].indexOf("DISP=")==-1){IIj1="<div id='IIj1' style='border: #ccc 1px solid;margin:10px;width:500px; padding:10px;margin-left:30px;'>To view local results please <a href='#' id='_aDisS'>set your location</a></div>";}else{IIj1="<div id='IIj1' style='border: #ccc 1px solid;margin:10px;width:500px; padding:10px;margin-left:30px;'>Results For: <a href='#' id='_aDisS'>"+$("#aSet").html()+"</a></div>";}_sE.IIIl(true,IIj1);}else if(lIil.f=="sqb"||lIil.f=="sqg"){Illi.ljiI=lIil.f;_sE.IIIl(true);}else{if(Illi.ljiI=="sqb"||Illi.ljiI=="sqg"){Illi.ljiI="w";}I1j1("");}IIIi=true;}function i11I(f){for(var i=0;i<Il1j.length;i++){if(Il1j[i].f==f){return Il1j[i];}}for(var i=0;i<IlIj.length;i++){if(IlIj[i].f==f){return IlIj[i];}}if(f=="sqb"||f=="sqg"){Il1j.push({id:"11",d:"More",w:"70px",Ili1:"-8px",c:"FFC300",f:f});Ilii++;return Il1j[Il1j.length-1];}}function itiil(m,i,lIII){var selected=false;var lIIi=m;var lIiI;var idx=i;this.jiI=function(){var h="<li id='nmt"+m.id+"' nid='"+m.id+"' style='cursor:pointer;cursor:hand;float:left;'><div style='color:#ccc;margin-bottom:2px;text-align:center;width:"+m.w+"'>"+m.d+"</div>"+"<div id='dtab"+m.id+"' style='visibility:hidden;height:4px;background:url(/img/newstab.png) no-repeat center "+m.Ili1+";'></div></li>";$("#ulMC").append(h);lIiI=$("#nmt"+m.id);lIiI.bind("click",function(){lIII.call(this,lIIi,i);});};this.lIjl=function(){$(lIiI.find("div")[0]).css("color","black");$("#dtab"+m.id).css("visibility","visible");selected=true;};this.lIii=function(){$(lIiI.find("div")[0]).css("color","#ccc");$("#dtab"+m.id).css("visibility","hidden");selected=true;};this.color=function(){return m.c;};}function tlili(l,c,b,lIII){var ml=l;var mi=[];var lIj1;var lIij;this.jiI=function(){if(Illi.Illl){$("#"+c).html("<ul id='ulMC' style='margin-left:-35px;padding-top:10px;list-style-type:none;font-family:verdana, sans-serif;font-size:12px'/>");}lIij=$("#"+b);for(var i=0;i<l.length;i++){var lII1=new itiil(l[i],i,this.lIi1);lII1.jiI();mi.push(lII1);if(Illi.Illl&&Illi.Illl!=null&&l[i].f==Illi.Illl.f){this.lIjl(i);}}$("#dSO").css("padding-bottom","0px");$("#dSO").css("margin-bottom","0px").css("height","10px");$("#dSO").html("<ul id='ulMNS' style='padding-bottom:-30px;float:left;clear:both;margin-left:-35px;margin-top:10px;padding-top:10px;list-style-type:none;font-family:verdana, sans-serif;font-size:12px'><li id='liMNW' style='cursor:pointer;cursor:hand;float:left;color:black'>Web</li><li id='liMNS' style='cursor:pointer;cursor:hand;float:left;color:#ccc;'>Social</li><li id='liSH' style='cursor:pointer;cursor:hand;float:left;'></li><li id='liST' style='cursor:pointer;cursor:hand;float:left;'></li></ul>");if(Illi.ljiI=="s"){$("#liMNS").css("color","black");$("#liMNW").css("color","#ccc");if(Illi.ljjI=="h"){$("#liSH").html(" (<span style='color:black'>Hot</span>");$("#liST").html(" <span style='color:#ccc'>Top</span>)");}else{$("#liSH").html(" (<span style='color:#ccc'>Hot</span>");$("#liST").html(" <span style='color:black'>Top</span>)");}}$("#ulMNS").find("li").each(function(){$(this).bind("click",function(){var lIIl=IlIj;var lIlI=false;if(this.id=="liMNW"){$("#liMNW").css("color","black");$("#liMNS").css("color","#ccc");Illi.ljiI="w";lIIl=Il1j;lIlI=true;}else if(this.id=="liMNS"){$("#liMNS").css("color","black");$("#liMNW").css("color","#ccc");Illi.ljiI="s";lIlI=true;}else if(this.id=="liSH"){Illi.ljjI="h";}else if(this.id=="liST"){Illi.ljjI="t";}if(Illi.ljjI=="h"){$("#liSH").html(" (<span style='color:black'>Hot</span>");$("#liST").html(" <span style='color:#ccc'>Top</span>)");}else{$("#liSH").html(" (<span style='color:#ccc'>Hot</span>");$("#liST").html(" <span style='color:black'>Top</span>)");}if(lIlI){Illi.IllI=new tlili(lIIl,"spnNMenu","divSC",l1jl);Illi.Illl=lIIl[0];Illi.IllI.jiI();}_sE.IIIl(true);});});};this.lIjl=function(i){if(lIj1){lIj1.lIii();}mi[i].lIjl();lIj1=mi[i];lIij.css("border-top","#"+lIj1.color()+" 1px solid");};this.lIi1=function(lIil,idx){Illi.IllI.lIjl(idx);lIII.call(this,lIil,idx);};}function ltiij(){if(IIij=="n"){var lIl1=Illi.Illl?i11I(Illi.Illl.f):null;if(lIl1&&lIl1.d&&lIl1.d!=""){document.title=lIl1.d+" - News - "+Il1I.ljII;}else{document.title="News - "+Il1I.ljII;}}else{document.title=IIi1+" - "+Il1I.ljII;}}jQuery.fn.center=function(){this.css("position","absolute");this.css("top",($(window).height()-this.outerHeight())/2+$(window).scrollTop()+"px");this.css("left",($(window).width()-this.outerWidth())/2+$(window).scrollLeft()+"px");return this;};
