if(!a10){var a10={};
}var param="";
a10.ajax={};
a10.anim={};
a10.browser={};
a10.event={};
a10.util={};
a10.array={};
a10.simulate={};
a10.element={};
a10.form={};
a10.logToNativeConsole=false;
a10.logToDebugPane=false;
a10.debugPaneId="_ask_debug";
function $(A){return(typeof A=="string")?document.getElementById(A):A;
}function $F(B){var A=document.getElementsByName(B);
if(A&&A.length>0){return A[0].value;
}return"";
}a10.initDebugPane=function(){if((typeof (window)!="undefined"&&window.console&&window.console.log)||(typeof (opera)!="undefined"&&opera.postError)){a10.printToNativeConsole=true;
}var A="document.getElementById('"+a10.debugPaneId+"').style.display='none'";
if(a10.browser.isIE6()){document.write('<div id="'+a10.debugPaneId+'" style="position:absolute;left:0px;bottom:0px;width:100%;z-index:10;height:130px;color:green;overflow:auto;background-color:#FFF;border-top:solid 5px #000"><input type="button" name="close" value="Close" style="right:0px;top:0px;position:absolute;width:100px" onclick="'+A+'"></div>');
}else{document.write('<div id="'+a10.debugPaneId+'" style="position:fixed;bottom:0px;left:0px;width:100%;height:130px;color:green;overflow:auto;background-color:#FFF;border-top:solid 5px #000"><input type="button" name="close" value="Close" style="right:0px;top:0px;position:absolute;width:100px" onclick="'+A+'"></div>');
}a10.logToDebugPane=true;
};
a10.debug=function(B){if(a10.logToDebugPane){var A=document.createElement("span");
A.innerHTML="DEBUG: "+B;
$(a10.debugPaneId).appendChild(A);
$(a10.debugPaneId).appendChild(document.createElement("br"));
}if(a10.printToNativeConsole){B="DEBUG: "+B;
if(typeof (window)!="undefined"&&window.console&&window.console.log){window.console.log(B.replace(/%/g,"\uFF05"));
}else{if(typeof (opera)!="undefined"&&opera.postError){opera.postError(B);
}}}};
a10.anim.fadeIn=function(D,C,B){var A=$(D);
if(A){a10.anim.fadeLoop(A,0,1,C,B);
}};
a10.anim.fadeOut=function(D,C,B){var A=$(D);
if(A){a10.anim.fadeLoop(A,1,0,C,B);
}};
a10.anim.fadeOutToOpacity=function(E,D,A,C){var B=$(E);
if(B){a10.anim.fadeLoop(B,1,A,D,C);
}};
a10.anim.fadeLoop=function(C,G,B,F,E){var D=(F/4)*1000;
var A=((B-G)/4);
a10.element.setOpacity(C,G);
if(C.style.display=="none"&&A>0){C.style.display="";
}a10.anim.fadeLoop.step(C,A,B,D,E);
};
a10.anim.fadeLoop.step=function(C,A,B,E,F){var D=a10.element.getOpacity(C);
if((A>0&&D>=B)||(A<0&&D<=B)){a10.element.setOpacity(C,B);
if(B==0){C.style.display="none";
}if(F){F();
}}else{a10.element.setOpacity(C,(D+A));
setTimeout(function(){a10.anim.fadeLoop.step(C,A,B,E,F);
},E);
}};
a10.anim.slideX=function(E,D,B,C){var A=$(E);
if(A){a10.anim.slideLoop(A,parseInt(A.style.left),B,D,C);
}};
a10.anim.slideLoop=function(C,G,B,F,E){var D=(F/10)*1000;
var A=((B-G)/10);
a10.anim.slideLoop.step(C,A,B,D,E);
};
a10.anim.slideLoop.step=function(C,A,B,E,F){var D=parseInt(C.style.left);
if((A>0&&D>=B)||(A<0&&D<=B)){C.style.left=B+"px";
if(F){F();
}}else{if(A>0){C.style.left=Math.ceil(D+A)+"px";
}else{C.style.left=Math.floor(D+A)+"px";
}setTimeout(function(){a10.anim.slideLoop.step(C,A,B,E,F);
},E);
}};
a10.anim.slideY=function(E,D,B,C){var A=$(E);
if(A){a10.anim.slideLoopY(A,parseInt(A.style.top),B,D,C);
}};
a10.anim.slideLoopY=function(C,G,B,F,E){var D=(F/10)*1000;
var A=((B-G)/10);
a10.anim.slideLoopY.step(C,A,B,D,E);
};
a10.anim.slideLoopY.step=function(C,A,B,E,F){var D=parseInt(C.style.top);
if((A>0&&D>=B)||(A<0&&D<=B)){C.style.top=B+"px";
if(F){F();
}}else{if(!isNaN(D)&&!isNaN(A)){C.style.top=(D+A)+"px";
}setTimeout(function(){a10.anim.slideLoopY.step(C,A,B,E,F);
},E);
}};
a10.anim.shake=function(G,B,F,E){var A=$(G);
if(A){var C=parseInt(A.style.left);
var D=(F/25)*1000;
a10.anim.shake.step(A,B,isNaN(C)?0:C,D,E);
}};
a10.anim.shake.step=function(B,A,F,D,E){var C=parseInt(B.style.left);
C=isNaN(C)?0:C;
if(A==0){B.style.left=F+"px";
if(E){E();
}}else{if(C==F){B.style.left=(C+A)+"px";
}else{B.style.left=(C+A*2)+"px";
}if(A>0){A=A*-1;
}else{A=(A*-1)-5;
}setTimeout(function(){a10.anim.shake.step(B,A,F,D,E);
},D);
}};
a10.ajax.getRequestObj=function(){if(window.XMLHttpRequest){return new XMLHttpRequest();
}else{if(window.ActiveXObject){try{return new ActiveXObject("Msxml2.XMLHTTP");
}catch(B){try{return new ActiveXObject("Microsoft.XMLHTTP");
}catch(A){return null;
}}}else{return null;
}}};
a10.ajax.get=function(C,B,A){a10.debug("[a10.ajax.get()]:"+C);
var D=a10.ajax.getRequestObj();
if(D){D.onreadystatechange=function(){if(D.readyState==4){if(D.status==200&&typeof (B)=="function"){B(D);
}else{if(typeof (A)=="function"){A(D);
}}try{delete D["onreadystatechange"];
}catch(E){}}};
if(param!=""){if(C.indexOf("?")!=-1){C=C+"&"+param;
}else{C=C+"?"+param;
}}param="";
D.open("GET",C,true,"","");
D.send(null);
return D;
}else{if(A){A("Error creating XHR");
}else{a10.debug("Error creating XHR");
}return null;
}};
a10.ajax.post=function(C,E,B,A){a10.debug("[a10.ajax.post()]:"+C);
var D=a10.ajax.getRequestObj();
if(D){D.onreadystatechange=function(){if(D.readyState==4){if(D.status==200&&typeof (B)=="function"){B(D);
}else{if(typeof (A)=="function"){A(D);
}}try{delete D["onreadystatechange"];
}catch(F){}}};
D.open("POST",C,true,"","");
D.setRequestHeader("Content-type","application/x-www-form-urlencoded");
D.setRequestHeader("Content-length",E.length);
D.send(E);
return D;
}else{if(A){A("Error creating XHR");
}else{a10.debug("Error creating XHR");
}return null;
}};
a10.ajax.abort=function(A){if(A){A.abort();
}};
a10.browser.buildParamString=function(E){var D="";
if(!(typeof (E)=="undefined"||E===null)){var C=a10.util.sortProperties(E);
var B=true;
for(prop in C){var A=encodeURIComponent(C[prop]);
A=A.replace(/'/g,"%27");
if(A!=null&&A!=""){if(!B){D+="&";
}else{B=false;
}D+=prop+"="+A;
}}}return D;
};
a10.browser.isIE=function(){return navigator.userAgent.toLowerCase().indexOf("msie")!=-1;
};
a10.browser.isIE6=function(){return navigator.userAgent.toLowerCase().indexOf("msie 6.")!=-1;
};
a10.browser.isIE7=function(){return navigator.userAgent.toLowerCase().indexOf("msie 7.")!=-1;
};
a10.browser.isIE8=function(){return navigator.userAgent.toLowerCase().indexOf("msie 8.")!=-1;
};
a10.browser.isOpera=function(){return navigator.userAgent.toLowerCase().indexOf("opera")!=-1;
};
a10.browser.version=function(){if(!a10.browser._version){if(a10.browser.isIE()){a10.browser._version=a10.browser.parseVersionStr("msie");
}if(a10.browser.isFirefox()){a10.browser._version=a10.browser.parseVersionStr("firefox");
}if(a10.browser.isNetscape()){a10.browser._version=a10.browser.parseVersionStr("netscape");
}if(a10.browser.isOpera()){a10.browser._version=a10.browser.parseVersionStr("opera");
}if(a10.browser.isSafari()){var A=a10.browser.parseVersionStr("safari");
if(A>521){A=3;
}else{if(A>412){A=2;
}else{A=1;
}}a10.browser._version=A;
}}return a10.browser._version;
};
a10.browser.isFirefox=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")!=-1;
};
a10.browser.isFirefox35=function(){return navigator.userAgent.toLowerCase().indexOf("firefox/3.5")!=-1;
};
a10.browser.isNetscape=function(){return navigator.userAgent.toLowerCase().indexOf("netscape")!=-1;
};
a10.browser.isSafari=function(){return navigator.userAgent.toLowerCase().indexOf("safari")!=-1;
};
a10.browser.parseVersionStr=function(G,A){var D="";
if(G||A){var I=navigator.userAgent.toLowerCase();
var C=(!A)?(I.indexOf(G)+G.length+1):A;
if(C>=0){var H=I.substring(C);
for(var E=0;
E<H.length;
E++){var F=H.substring(E,E+1);
if(!isNaN(F)&&F!=" "){D+=F;
}else{if(F=="."){D+=F;
}else{break;
}}}}}var B=D.indexOf(".");
if(B!=-1){var J=D.indexOf(".",B+1);
if(J!=-1){D=D.substring(0,J);
}}return D;
};
a10.browser.innerDimension=function(){var A,B;
if(self.innerHeight){A=self.innerWidth;
B=self.innerHeight;
}else{if(document.documentElement&&document.documentElement.clientHeight){A=document.documentElement.clientWidth;
B=document.documentElement.clientHeight;
}else{if(document.body){A=document.body.clientWidth;
B=document.body.clientHeight;
}}}return[A,B];
};
a10.util.sortProperties=function(F){var G=[];
var E;
for(var H in F){var B;
try{B=F[H];
}catch(E){continue;
}G.push([H,B]);
}var A={};
var D=[];
G.sort();
for(var C=0;
C<G.length;
C++){D=G[C];
A[D[0]]=D[1];
}return A;
};
a10.util.findPos=function(A){var B=curtop=0;
if(A&&A.offsetParent){B=A.offsetLeft;
curtop=A.offsetTop;
while(A=A.offsetParent){B+=A.offsetLeft;
curtop+=A.offsetTop;
}}return[B,curtop];
};
a10.util.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;
};
a10.util.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;
};
a10.util.trim=function(A){return A.replace(/^\s+/g,"").replace(/\s+$/g,"");
};
a10.util.htmlEncode=function(A){return A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
};
a10.util.isEmpty=function(A){if(A){return A.match(/^\s*$/)!=null;
}else{return true;
}};
a10.util.ie6PNGSpriteHack=function(H){if(a10.browser.isIE6()){var G=H.style.backgroundImage.substr(4,H.style.backgroundImage.length-5);
var B=H.style.backgroundPosition.split(" ");
var F=B.length>=1?parseInt(B[0]):0;
var C=B.length>=2?parseInt(B[1]):0;
F=isNaN(F)?0:F;
C=isNaN(C)?0:C;
var E=parseInt(H.style.width);
var A=parseInt(H.style.height);
E=isNaN(E)?0:E;
A=isNaN(A)?0:A;
H.style.backgroundImage="none";
H.style.overflow="hidden";
var D=document.createElement("div");
D.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+G+"', sizingMethod='crop')";
D.style.position="relative";
D.style.left=F+"px";
D.style.top=C+"px";
D.style.width=-F+E+"px";
D.style.height=-C+A+"px";
H.appendChild(D);
}};
a10.util.truncate=function(B,C){if(B==null){return null;
}C=C||30;
var A="...";
return B.length>C?B.slice(0,C-A.length)+A:B;
};
if(!!document.evaluate){a10.util._getElementsByXPath=function(F,A){var C=[];
var E=document.evaluate(F,$(A)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);
for(var B=0,D=E.snapshotLength;
B<D;
B++){C.push(E.snapshotItem(B));
}return C;
};
a10.util.getElementsByClassName=function(B,A){var C=".//*[contains(concat(' ', @class, ' '), ' "+B+" ')]";
return a10.util._getElementsByXPath(C,A);
};
}else{a10.util.getElementsByClassName=function(G,I){var D=($(I)||document.body).getElementsByTagName("*");
var A=[],B,F=new RegExp("(^|\\s)"+G+"(\\s|$)");
for(var E=0,C=D.length;
E<C;
E++){B=D[E];
var H=B.className;
if(H.length==0){continue;
}if(H==G||H.match(F)){A.push(B);
}}return A;
};
}a10.util.extend=function(A,C){for(var B in C){A[B]=C[B];
}return A;
};
a10.util.subclass=function(C,A){function B(){}B.prototype=A.prototype;
C.prototype=new B();
C.prototype.constructor=C;
C.baseConstructor=A;
C.superClass=A.prototype;
};
a10.util.getComputedStyle=function(A){A=$(A);
return A.currentStyle||document.defaultView.getComputedStyle(A,null)||window.getComputedStyle(A,null);
};
a10.util.generatePagingStrip=function(G,F,T,K,V,N,U){var P=1;
var M=10;
var I="";
var Q=1;
var C="";
var S="";
var L=1;
var O=10;
var R=0;
var H=Math.ceil(K/T);
var W=(T>F)?0:(F%T);
if(_providerPicSearch=="true"){P=(W==0)?Math.round((F+T)/T):(Math.round(F/T)+1);
}else{P=(W==0)?Math.round((F+T)/T):(Math.ceil(F/T)+1);
}if(W!=0){numpages=Math.ceil((K-W)/T)+1;
}if(H==1&&F!=0){H+=1;
P=H;
}else{if((F+T)>=K){if(P<H){H=P;
}}}var D=F+((H-P)*T);
if(D>=K){D=K-1;
}if(((F%T)!=0)&&((D+T)<K)){H+=1;
}if(H>10){L=P-5;
O=P+4;
if(L<1){R=Math.abs(L)+1;
L=L+R;
O=O+R;
}if(O>H){R=O-H;
L=L-R;
O=O-R;
}}else{if(H<O){O=H;
}}var A;
if(typeof (_psDefStyles)=="undefined"){A=new Object();
A.curStyle="margin:0px 15px 0px "+(P>1?15:0)+"px";
A.curCls="plc b plsel";
A.curInCls="pl";
A.numCls="plc";
A.numInCls="pl b";
A.nextStyle="";
}else{A=_psDefStyles;
}var B=$("ps");
if(B){if(O==1){I="";
}else{if(P>1){C="&pstart="+(F-T);
S="&page="+(P-1);
I+='<div style="float:left;'+A.nextStyle+'"><a class="L4" style="text-decoration:none" href="'+G+C+S+'">'+V+"</a></div>";
}else{if(!U){I+='&#160;&#160;<span class="disabled">'+V+"</span>";
}}I+='<div style="float:left;display:inline;padding:0;'+A.curStyle+';">';
for(Q=L;
Q<=O;
Q++){if(Q==P){I+='<div id="cur" class="'+A.curCls+'"><div class="'+A.curInCls+'">&#160;&#160;'+Q+"&#160;&#160;</div></div>";
}else{var J=Q-P;
var E=(F+(J*T));
if(E<0){E=0;
}if(E>K){E=K-1;
}C="&pstart="+E;
S="&page="+(P+J);
I+='<div class="'+A.numCls+'"><a class="'+A.numInCls+'" style="text-decoration:none" href="'+G+C+S+'">&#160;&#160;'+Q+"&#160;&#160;</a></div>";
}}I+="</div>";
if(P!=H){C="&pstart="+(F+T);
S="&page="+(P+1);
I+='<div style="float:left;'+A.nextStyle+'"><a class="L4" style="text-decoration:none" href="'+G+C+S+'">'+N+"</a></div>";
}else{if(!U){I+='<span class="disabled">'+N+"</span>";
}}}B.innerHTML=I;
}};
a10.util.uniqueID=(function(){var A=0;
return function(){return A++;
};
})();
a10.util.insertStyleSheet=function(B,D){if(a10.browser.isIE()){try{if(document.styleSheets.length>0){document.styleSheets[document.styleSheets.length-1].addImport(B);
}else{document.createStyleSheet(B);
}}catch(E){a10.debug("Insert style sheets error: "+B+". Error message: "+E.message);
}}else{var C=document.getElementsByTagName("head")[0];
var A=document.createElement("link");
A.type="text/css";
A.rel="stylesheet";
A.href=B;
A.media="screen";
A.className=D;
C.appendChild(A);
}};
a10.util.insertScript=function(B,D){var C=document.getElementsByTagName("head")[0];
var A=document.createElement("script");
A.type="text/javascript";
A.src=B;
A.className=D;
C.appendChild(A);
};
a10.util.removeElementsWithClass=function(C){var B=document.getElementsByTagName("head")[0];
var D=a10.util.getElementsByClassName(C,B);
D=D.concat(a10.util.getElementsByClassName(C,document.body));
for(var A=0;
A<D.length;
A++){var E=D[A];
E.parentNode.removeChild(E);
}};
a10.util.getMyStuffTitle=function(D,E,B,A){var C=D;
var F=B+"'s Stuff";
if(B!=""){if(A=="en_US"||A=="en_GB"||A=="nl_NL"){if(B.toLowerCase().charAt(B.length)=="s"||B.toLowerCase().charAt(B.length)=="z"){C=E;
}}else{if(A=="fr_FR"){if(B.toLowerCase().charAt(0)=="a"||B.toLowerCase().charAt(0)=="e"||B.toLowerCase().charAt(0)=="i"||B.toLowerCase().charAt(0)=="o"||B.toLowerCase().charAt(0)=="u"||B.toLowerCase().charAt(0)=="y"||B.toLowerCase().charAt(0)=="h"){C=E;
}}}if(C.indexOf("{0}")!=-1){F=C.replace("{0}",B);
}}return F;
};
a10.array.removeElementAtIndex=function(A,B){if(A<0||A>=B.length){return null;
}return B.splice(A,1)[0];
};
a10.array.indexOf=function(A,C){for(var B=0;
B<C.length;
B++){if(C[B]==A){return B;
}}return -1;
};
a10.simulate.click=function(A){this._mouseEvent(A,"click");
};
a10.simulate.mousedown=function(A){this._mouseEvent(A,"mousedown");
};
a10.simulate._mouseEvent=function(C,B){C=$(C);
if(document.createEvent){var A=document.createEvent("MouseEvents");
A.initEvent(B,true,true);
C.dispatchEvent(A);
}else{if(document.createEventObject){var A=document.createEventObject();
C.fireEvent("on"+B,A);
}}};
a10.event.addListener=function(D,B,A){D=$(D);
if(D){if(D.addEventListener){D.addEventListener(B,A,false);
}else{if(D.attachEvent){if(!A["_addListenerID"]){A["_addListenerID"]=a10.util.uniqueID();
}var C=B+A["_addListenerID"];
if(D[C]){return ;
}D["fn"+C]=A;
D[C]=function(){D["fn"+C](window.event);
};
D.attachEvent("on"+B,D[C]);
}}}};
a10.event.removeListener=function(D,B,A){D=$(D);
if(D&&D.removeEventListener){D.removeEventListener(B,A,false);
}else{if(D&&D.detachEvent){var C=B+A["_addListenerID"];
if(D[C]){D.detachEvent("on"+B,D[C]);
D[C]=null;
D["fn"+C]=null;
}}}};
a10.event.element=function(A){return A.target||A.srcElement;
};
a10.event.cancelDefaultAction=function(A){if(A.preventDefault){A.preventDefault();
}else{A.returnValue=false;
}};
a10.element.visible=function(B){var A=$(B);
if(A){return A.style.display!="none";
}return false;
};
a10.element.toggle=function(A){A=$(A);
a10.element[a10.element.visible(A)?"hide":"show"](A);
return A;
};
a10.element.hide=function(B){var A=$(B);
if(A&&A.style){A.style.display="none";
}return B;
};
a10.element.show=function(B){var A=$(B);
if(A){A.style.display="";
}return B;
};
a10.element.containsPoint=function(C,A,F,D,B){if(C){var E=a10.util.findPos(C);
if(D){E[1]-=a10.util.scrollTop();
}if(B){E[0]-=a10.util.scrollLeft();
}if(!D&&!B&&a10.browser.isIE6()){E[0]-=document.body.scrollLeft;
E[1]-=document.body.scrollTop;
}if(!D&&!B&&C.id=="searchLink"&&!a10.browser.isIE6()){E[1]-=a10.util.scrollTop();
E[0]-=a10.util.scrollLeft();
}return A>=E[0]&&A<(E[0]+C.offsetWidth)&&F>=E[1]&&F<(E[1]+C.offsetHeight);
}};
a10.element.setOpacity=function(A,D){A=$(A);
if(!A){return ;
}if(a10.browser.isIE()){var C=A.style.filter;
var B=A.style;
if(D==1||D===""){B.filter=C.replace(/alpha\([^\)]*\)/gi,"");
return ;
}else{if(D<0.00001){D=0;
}}B.filter=C.replace(/alpha\([^\)]*\)/gi,"")+"alpha(opacity="+(D*100)+")";
}else{A.style.opacity=(D==1||D==="")?"":(D<0.00001)?0:D;
}};
a10.element.getOpacity=function(A){A=$(A);
if(A){if(a10.browser.isIE()){var B=(A.style.filter||"").match(/alpha\(opacity=(.*)\)/);
if(B&&B[1]){return parseFloat(B[1])/100;
}else{return 1;
}}else{var B=A.style.opacity;
return B?parseFloat(B):1;
}}return null;
};
a10.element.getHeight=function(A){return this.getDimensions(A).height;
};
a10.element.getWidth=function(A){return this.getDimensions(A).width;
};
a10.element.getDimensions=function(C){C=$(C);
if(!C){return{width:null,height:null};
}var B=C.style;
var F=B.visibility;
var D=B.position;
var A=B.display;
B.visibility="hidden";
B.position="absolute";
B.display="block";
var G=C.offsetWidth;
var E=C.clientHeight;
B.display=A;
B.position=D;
B.visibility=F;
return{width:G,height:E};
};
a10.IFrameCover=function(A,B){this.element=$(A);
this.iframe=null;
if(B){this.leftOffset=B.left||0;
this.topOffset=B.top||0;
this.widthOffset=B.width||0;
this.heightOffset=B.height||0;
}else{this.leftOffset=this.topOffset=this.widthOffset=this.heightOffset=0;
}};
a10.IFrameCover.prototype={show:function(){this.iframe=document.createElement("iframe");
this.iframe.src="about:blank";
this.iframe.scrolling="no";
this.iframe.frameBorder=0;
this.iframe.style.position="absolute";
this.iframe.style.zIndex=0;
this.iframe.id=this.element.id+"_IFrameCover";
document.body.appendChild(this.iframe);
this.reposition();
},hide:function(){if(this.iframe==null){return ;
}document.body.removeChild(this.iframe);
this.iframe=null;
},reposition:function(){if(this.iframe==null){return ;
}var B=a10.util.findPos(this.element);
var A=a10.element.getDimensions(this.element);
this.iframe.style.left=B[0]+this.leftOffset+"px";
this.iframe.style.top=B[1]+this.topOffset+"px";
this.iframe.style.width=A.width+this.widthOffset+"px";
this.iframe.style.height=A.height+this.heightOffset+"px";
}};
a10.form.serialize=function(A){return this.serializeElements(this.getElements(A));
};
a10.form.getElements=function(C){var D=[];
var B=$(C).getElementsByTagName("*");
for(var A=0;
A<B.length;
A++){if(this.serializers[B[A].tagName.toLowerCase()]){D.push(B[A]);
}}return D;
};
a10.form.serializeElements=function(F){var A="";
for(var C=0;
C<F.length;
C++){var G=F[C];
if(!G.disabled&&G.name){var B=G.name;
var E=this.getValue(G);
if(E!=undefined){var D=B+"="+encodeURIComponent(E);
if(A==""){A=D;
}else{A+="&"+D;
}}}}return A;
};
a10.form.getValue=function(A){A=$(A);
var B=A.tagName.toLowerCase();
return this.serializers[B](A);
};
a10.form.serializers={input:function(A){switch(A.type.toLowerCase()){case"checkbox":case"radio":return this.inputSelector(A);
default:return this.textarea(A);
}},inputSelector:function(A){return A.checked?A.value:null;
},textarea:function(A){return A.value;
},select:function(A){return this[A.type=="select-one"?"selectOne":"selectMany"](A);
},selectOne:function(B){var A=B.selectedIndex;
return A>=0?this.optionValue(B.options[A]):null;
},selectMany:function(D){var A,E=D.length;
if(!E){return null;
}for(var C=0,A=[];
C<E;
C++){var B=D.options[C];
if(B.selected){A.push(this.optionValue(B));
}}return A;
},optionValue:function(A){return A.value;
}};
a10.flash={FlashDetect:new function(){var A=this;
A.installed=false;
var B=[{"name":"ShockwaveFlash.ShockwaveFlash.7"},{"name":"ShockwaveFlash.ShockwaveFlash.6"},{"name":"ShockwaveFlash.ShockwaveFlash"}];
var C=function(D){var F=-1;
try{F=new ActiveXObject(D);
}catch(E){}return F;
};
A.FlashDetect=function(){if(navigator.plugins&&navigator.plugins.length>0){var F="application/x-shockwave-flash";
var E=navigator.mimeTypes;
if(E&&E[F]&&E[F].enabledPlugin&&E[F].enabledPlugin.description){A.installed=true;
}}else{if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){for(var D=0;
D<B.length&&!A.installed;
D++){var G=C(B[D].name);
if(typeof G=="object"){A.installed=true;
}}}}}();
}};
a10.flash.FlashDetect.release="1.0.3";
a10.flash.isEnabled=function(){return this.FlashDetect.installed;
};

function _RP(B){if(WZInfo.pickRedirectPrefix!=""){return WZInfo.pickRedirectPrefix+pob(B);
}else{var A=WZInfo.pickRedirectDefault.replace("c=a&","c=anc&");
A=A.replace("q=&","q=default&");
return A+pob(B);
}}function _SP(B){if(typeof disableWz!="undefined"&&disableWz){return true;
}if(WZInfo.pickPrefix!=""){return WZInfo.pickPrefix+pob(B);
}else{var A=WZInfo.pickPrefix.replace("c=a&","c=anc&");
A=A.replace("q=&","q=default&");
return A+pob(B);
}}function ptxt(A){var B="";
if(A.innerHTML){B=A.innerHTML;
B=B.replace(/<\/?[^>]+>/ig,"");
B=B.replace(/&amp;/g,"&");
}return B;
}function pk(A,D,C){if(typeof disableWz!="undefined"&&disableWz){return true;
}if(A&&A.href){if(A.wzup){return true;
}if(!D.u){D.u=A.href;
}if(document.all&&navigator.userAgent.indexOf("MSIE")!=-1){D.u=enc(D.u);
}var B=(C)?obj(C):A;
if(!D.pt){switch(D.en.toLowerCase()){case"js":case"is":D.pt=D.en.toUpperCase()+" thumbnail";
break;
default:D.pt=ptxt(B);
}}A.href=_RP(D);
A.wzup=1;
}return true;
}function nopk(A,C,B){return true;
}function spk(A,E,D,C){if(A&&A.href&&E){if(!E.u){if(C){E.u=C;
}else{E.u=A.href;
}}if(!E.pt){var B=(D)?obj(D):A;
E.pt=ptxt(B);
}}return(new Image()).src=_SP(E);
}function noct(A,B){return true;
}function ct(A,C){if(typeof disableWz!="undefined"&&disableWz){return true;
}if(A&&A.href&&C){if(!A.oUrl){A.oUrl=A.href;
}var B=A.innerHTML;
A.href=WZInfo.ctRedirectPrefix(C,A.oUrl);
if(navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&A.innerHTML!=B){A.innerHTML=B;
}}return true;
}function nosct(E,A,B){if(E){var C="";
if(A){C=((A.href)?A.href:A);
}var D=C;
return D;
}}function sct(F,A,B){if(typeof disableWz!="undefined"&&disableWz){return true;
}if(F){var D="";
if(A){D=((A.href)?A.href:A);
}var E=WZInfo.ctPrefix(F,D);
E=E+"&rnd="+Math.random().toString();
var C=new Image();
if(B){setTimeout(function(){C.src=E;
},100);
}else{C.src=E;
}return E;
}}function wzr(C,A){if(C&&A){var B=WZInfo.ctRedirectPrefix(C,A);
if(B){return B;
}}}function enc(A){return(typeof encodeURIComponent!="undefined")?encodeURIComponent(A):escape(A);
}function obj(C,B){if(!B){B=document;
}var A=B.getElementById(C);
return A;
}function pob(A){A=A||{};
return WZInfo.pickObjConversion(A);
}function h(A){return(A!=null&&A!="undefined")?A:"";
}function cspk(A,E,F,C){var B="co";
if(E=="ahdict"){B="dicp";
}if(E=="roget"){B="dicp";
}if(E=="wiki"){B="wk";
}if(E=="col"){B="cb";
}if(E=="hmwh"){B="h0";
}if(E=="hmff"){B="h1";
}if(E=="wordnet"){B="dicp";
}if(E=="wordnetuk"){B="dicp";
}var D={};
D.en=B;
D.b="sa";
D.tp="d";
D.ec="1";
D.io=F;
if(C){spk(A,D);
}else{pk(A,D);
}return true;
}function fp(O,C,F,I,D,E){if(typeof disableWz!="undefined"&&disableWz){return true;
}if(O.href){var M=O.href.match(WZInfo.framedPickDomainRE);
if(M){var P,N,B,G,H,J,A;
G=M[1];
B=M[2];
H=WZInfo.framedPickSearchDomain;
J=WZInfo.framedPickAdvLang;
A=WZInfo.framedPickAdvCtry;
N=WZInfo.framedPickUrlPrefix;
if(H){N+="&dm="+H+"&advl="+J+"&advc="+A;
}G+="u="+B+"&bu="+enc(N)+WZInfo.framedPickUrlPrefix2;
if(H){G+="&dm="+H;
}if(D){G+="&ou="+enc(E);
}if(F=="true"){var K=_mb(I);
var L;
if(D){P=WZInfo.framedPickTitle+E;
L=WZInfo.framedPickAbstract+D;
}else{L=_ma(I);
}G+="&ma="+enc(L)+"&mt="+enc(P)+"&mb="+K;
}C.url=(E)?E:O.href;
C.u=G;
}pk(O,C);
}return true;
}function InitClickLog(){var D=function(){return sct(this.getAttribute("ask_clicklogid"),this);
};
var A=document.getElementsByTagName("A");
for(var B=A.length-1;
B>=0;
B--){var C=A[B].getAttribute("ask_clicklogid");
if(C){ask.util.Events.addListener(A[B],"mousedown",D);
}}A=document.getElementsByName("ask_clicklog");
for(var B=A.length-1;
B>=0;
B--){var C=A[B].getAttribute("ask_clicklogid");
if(C){ask.util.Events.addListener(A[B],"mousedown",D);
}}}
JSONscriptRequest.scriptCounter=1;
JSONscriptRequest.idPrefix="JscriptId";
function JSONscriptRequest(A){this.fullUrl=A;
this.noCacheIE="&noCacheIE="+(new Date()).getTime();
this.headLoc=document.getElementsByTagName("head").item(0);
this.scriptId=JSONscriptRequest.idPrefix+JSONscriptRequest.scriptCounter++;
}JSONscriptRequest.prototype.makeRequest=function(){this.scriptObj=document.createElement("script");
this.scriptObj.setAttribute("type","text/javascript");
this.scriptObj.setAttribute("charset","utf-8");
this.scriptObj.setAttribute("id",this.scriptId);
if(this.fullUrl.indexOf("?")==-1){this.scriptObj.setAttribute("src",this.fullUrl+"?"+this.noCacheIE);
}else{this.scriptObj.setAttribute("src",this.fullUrl+this.noCacheIE);
}a10.debug("Making Json request: "+this.fullUrl);
this.headLoc.appendChild(this.scriptObj);
};
JSONscriptRequest.prototype.removeScriptTag=function(){this.headLoc.removeChild(this.scriptObj);
};
JSONscriptRequest.removeAllScriptTags=function(){var C=document.getElementsByTagName("head").item(0);
var B;
if(C){var A=C.childNodes;
for(B=0;
B<A.length;
B++){if(A[B].nodeType==1&&A[B].tagName=="SCRIPT"&&A[B].id.indexOf(JSONscriptRequest.idPrefix)==0){C.removeChild(A[B]);
}}}};

var Cookie={};
Cookie.isEnabled=function(){return window.navigator.cookieEnabled;
};
Cookie.getCookie=function(D,C){var E=document.cookie;
var F=E.indexOf(D+"=");
var A=F+D.length+1;
if((!F)&&(D!=E.substring(0,D.length))){return null;
}if(F==-1){return null;
}var B=E.indexOf(";",A);
if(B==-1){B=E.length;
}return C?E.substring(A,B):unescape(E.substring(A,B));
};
Cookie.deleteCookie=function(A,C,B){if(Cookie.getCookie(A)){document.cookie=A+"="+((C)?"; path="+C:"")+((B)?"; domain="+B:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";
}};
Cookie.setCookie=function(B,D,A,F,C,E){document.cookie=B+"="+escape(D)+((A)?"; expires="+A.toGMTString():"")+((F)?"; path="+F:"")+((C)?"; domain="+C:"")+((E)?"; secure":"");
};

if(!a10){var a10={};
}a10.ss={};
a10.ss2={};
a10.ss.lastSuccessfulQuery=null;
a10.ss.currentQuery=null;
a10.ss.currentResults=new Array();
a10.ss.pauseTimeoutID=null;
a10.ss.selectedIndex=-1;
a10.ss.pageHasMadeRequest=false;
a10.ss.formSubmitted=false;
a10.ss.hidden=true;
a10.ss.PAUSE_PERIOD=201;
a10.ss.FADE_SPEED=0.07;
a10.ss.MIN_LENGH_VALID_QUERY=5;
a10.ss.skipNextArrowKeyEvent=false;
a10.ss.inputId="";
a10.ss.uiId="";
a10.ss.uiBodyId="";
a10.ss.uiSuggestlistId="";
a10.ss.uiDisabledivId="";
a10.ss.offsetLeft=10;
a10.ss.ssQsrcDefault="2352";
a10.ss.ssQsrcHP="178";
a10.ss.ssQsrcQuestion="3061";
a10.ss.uiSuggestlistIdQuestion="suggestlistq";
a10.ss.qsrc=a10.ss.ssQsrcDefault;
a10.ss.prevQsrc="";
a10.ss.popupIE6Cover="";
a10.ss.popupIE6CoverTarget="";
a10.ss.symUKDomain="";
a10.ss.symShadow="";
a10.ss.enableBlinkx="";
a10.ss.disabled=(typeof (__disabledSS)!="undefined"&&__disabledSS?1:0);
a10.ss.init=function(D,A,B,C){if(a10.ss.disabled){return ;
}a10.ss.inputId=D;
a10.ss.uiId=A;
a10.ss.uiBodyId=B;
a10.ss.uiSuggestlistId=_suggestlistId;
a10.ss.uiDisabledivId=_sgDisabledivId;
if("event" in a10){a10.event.addListener(document.getElementById(D),"keyup",a10.ss.searchSuggestion);
a10.event.addListener(document.documentElement,"click",a10.ss.closePopup);
}if(C){a10.ss.PAUSE_PERIOD=C;
}};
a10.ss.closePopup=function(){var A=$(a10.ss.uiId);
if(A){A.style.display="none";
}if(a10.browser.isIE6()&&a10.ss.popupIE6Cover){a10.ss.popupIE6Cover.hide();
}};
a10.ss.searchSuggestion=function(B){if(a10.ss.disabled){return ;
}var A=Cookie.getCookie("gset");
if(a10.ss.hp=="true"){a10.ss.qsrc=a10.ss.ssQsrcHP;
}if((!A)||(A.indexOf("ss=0")==-1)){if(!B){B=window.event;
}switch(B.keyCode){case 38:if((navigator.userAgent.indexOf("AppleWebKit")!=-1)&&(navigator.appVersion.indexOf("Version/")==-1)&&(navigator.userAgent.indexOf("Chrome")==-1)){if(a10.ss.skipNextArrowKeyEvent){a10.ss.skipNextArrowKeyEvent=false;
return ;
}else{a10.ss.skipNextArrowKeyEvent=true;
}}a10.ss.handleKey(38);
return ;
case 40:if((navigator.userAgent.indexOf("AppleWebKit")!=-1)&&(navigator.appVersion.indexOf("Version/")==-1)&&(navigator.userAgent.indexOf("Chrome")==-1)){if(a10.ss.skipNextArrowKeyEvent){a10.ss.skipNextArrowKeyEvent=false;
return ;
}else{a10.ss.skipNextArrowKeyEvent=true;
}}a10.ss.handleKey(40);
return ;
case 13:a10.ss.formSubmitted=true;
a10.ss.closePopup();
return ;
case 9:case 18:return ;
default:if($(a10.ss.inputId).value==""){a10.ss.handleClearOut();
}}if(a10.ss.currentQuery==$(a10.ss.inputId).value){return ;
}a10.ss.currentQuery=$(a10.ss.inputId).value;
if(a10.ss.pauseTimeoutID){clearTimeout(a10.ss.pauseTimeoutID);
a10.ss.pauseTimeoutID=null;
}a10.ss.pauseTimeoutID=setTimeout(function(){a10.ss.pauseTimeoutID=null;
a10.ss.searchSuggestHandler();
},a10.ss.PAUSE_PERIOD);
}};
a10.ss.updateQsrc=function(A){if(_uiSS2){a10.ss2.updateQsrc(A);
}else{if(a10.ss.selectedIndex!=-1){var B=document.getElementById("qsrc");
if(B){B.value=a10.ss.qsrc;
}}}};
a10.ss.handleClearOut=function(){if(_uiSS2){a10.ss2.handleClearOut();
}};
a10.ss.select=function(C){var A=a10.ss.currentResults.length;
function D(E){if(E>=0&&E<A){el=a10.ss.currentResults[E];
el.className="";
}}D(a10.ss.selectedIndex);
var B=a10.ss.lastSuccessfulQuery;
if(C>=0&&C<A){el=a10.ss.currentResults[C];
links=el.getElementsByTagName("a");
if(links.length==0){return 0;
}el.className="selected";
}else{a10.ss.setValue($(a10.ss.inputId),B);
}if(a10.browser.isIE()){$(a10.ss.uiId).style.display="none";
$(a10.ss.uiId).style.display="";
}a10.ss.selectedIndex=C;
return 1;
};
a10.ss.handleKey=function(F){var B=38;
var C=40;
var A=a10.ss.currentResults.length;
function D(G){if(G<-1){return A-1;
}else{if(G>=A){return -1;
}else{return G;
}}}if($(a10.ss.uiId).style.display!="none"&&A>0){var E=a10.ss.selectedIndex;
if(F==B){delta=-1;
}else{if(F==C){delta=+1;
}}E+=delta;
E=D(E);
if(!a10.ss.select(E)){E+=delta;
E=D(E);
a10.ss.select(E);
}a10.ss.copyToInput(E);
a10.ss.updateQsrc(F);
}};
a10.ss.copyToInput=function(A){if(A<0){return ;
}el=a10.ss.currentResults[A];
link=el.getElementsByTagName("a")[0];
query=link.innerText||link.textContent;
a10.ss.setValue($(a10.ss.inputId),query);
a10.ss.currentQuery=query;
};
a10.ss.searchSuggestHandler=function(){if(a10.ss.disabled){return ;
}function D(I,H){for(var G=0;
G<H.length;
G++){if(H[G].innerHTML.toLowerCase().indexOf(I.toLowerCase())!=0){return false;
}}return true;
}var C=$(a10.ss.inputId).value;
var B;
if(a10.ss.currentResults.length>0&&((C==a10.ss.lastSuccessfulQuery)||(C.length>a10.ss.lastSuccessfulQuery.length&&D(C,a10.ss.currentResults)))){return ;
}var A=a10.ss.lastSuccessfulQuery?a10.ss.lastSuccessfulQuery.toLowerCase():null;
if(a10.ss.currentResults.length==0&&C.toLowerCase().indexOf(A)==0&&A.length>a10.ss.MIN_LENGH_VALID_QUERY){return ;
}var F=1;
try{if(_iacapn){F=0;
}}catch(E){F=1;
}if(C.length>F){a10.ss.pageHasMadeRequest=true;
a10.ss.execute(C,_country,_language);
}else{a10.ss.lastSuccessfulQuery=null;
a10.ss.currentResults=new Array();
if($(a10.ss.uiId)!=null&&$(a10.ss.uiId).style.display!="none"){a10.ss.transitionSuggestion(true);
}}};
a10.ss.execute=function(C,D,E){if(a10.ss.disabled){return ;
}if(_backendSS2){a10.ss2.execute(C,D,E);
}else{var B="http://"+_ssDomain+"/query?fn=suggestCallBack&q="+encodeURIComponent(C).toLowerCase()+"&cn="+D+"&ln="+E+"&ss=reply";
var A=new JSONscriptRequest(B);
A.makeRequest();
}};
function suggestCallBack(D){if(a10.ss.disabled){return ;
}if(a10.ss.formSubmitted){return ;
}if(!a10.ss.pageHasMadeRequest){return ;
}var G=a10.ss.getQuery(D);
if(G!=$(a10.ss.inputId).value.toLowerCase()){return ;
}a10.ss.selectedIndex=-1;
a10.ss.lastSuccessfulQuery=G;
var K=a10.ss.getSuggestions(D);
var E=new Array();
var A=new Array();
if(D.length==3){E=D[1]["web"]||D[2]["web"];
A=D[2]["question"]||D[1]["question"];
}if(K.length>0||E.length>0||A.length>0){var F="";
_origin=$F("o");
if(_origin==""){_origin=0;
}_partnerID=$F("l");
if(_partnerID==""){_partnerID="dir";
}_siteID=$F("siteid");
if(_siteID==""){_siteID="";
}else{_siteID="&siteid="+$F("siteid");
}_vps=$F("vps");
if(!_vps||_vps==""){_vps="";
}else{_vps="&vps="+$F("vps");
}if(typeof (_currentChannel)!="undefined"){if(_currentChannel=="shopping"){_vps="&shoppingPgType=search";
}if(_currentChannel=="deals"&&_path!="web"){_vps="&dealsPgType=search";
}if(_currentChannel=="deals2"&&_path!="web"){_vps="&dealsPgType=search";
}}if(typeof _currentChannel!="undefined"){if(_currentChannel=="img"){var B=$F("imgs");
var H=$F("imgt");
var M=$F("imgc");
if(B!=null&&a10.util.trim(B)!=""){_vps=_vps+"&imgs="+B;
}if(H!=null&&a10.util.trim(H)!=""){_vps=_vps+"&imgt="+H;
}if(M!=null&&a10.util.trim(M)!=""){_vps=_vps+"&imgc="+M;
}}if(_currentChannel=="nws"){var N=$F("n2c");
var L=$F("n2fid");
var O=$F("n2o");
if(N!=null&&a10.util.trim(N)!=""){_vps=_vps+"&n2c="+N;
}if(L!=null&&a10.util.trim(L)!=""){_vps=_vps+"&n2fid="+L;
}if(O!=null&&a10.util.trim(O)!=""){_vps=_vps+"&n2o="+O;
}}if(_currentChannel=="vid"){var I=$F("vidl");
var P=$F("vids");
var C=$F("vidt");
if(I!=null&&a10.util.trim(I)!=""){_vps=_vps+"&vidl="+I;
}if(P!=null&&a10.util.trim(P)!=""){_vps=_vps+"&vids="+P;
}if(C!=null&&a10.util.trim(C)!=""){_vps=_vps+"&vidt="+C;
}}}if(typeof _currentChannel!="undefined"){if(_currentChannel=="vid"){if(a10.ss.enableBlinkx=="true"){_path="/videos";
}}}var R="";
var J="";
if(E.length>0||A.length>0){a10.ss.uiSuggestlistId="suggestlist3";
F+=a10.ss2.createSuggestions(E,A,a10.ss.qsrc,_origin,_partnerID,_siteID,a10.ss.getCountry(),_vps);
R="font-size:11px";
J="margin-bottom:5px;margin-top:-3px;";
_disableSSMsg="Turn off suggestions";
}else{F+=a10.ss.createSuggestions(K,a10.ss.qsrc,_origin,_partnerID,_siteID,a10.ss.getCountry(),_vps);
}if(typeof _disableSSApplicable=="undefined"){_disableSSApplicable=true;
}if(_disableSSApplicable){if(GlobalNav.Variables._isEraser||GlobalNav.Variables._isEraserOptOutEligible){F+="<div id='"+a10.ss.uiDisabledivId+"' style='"+J+"'><a id='ssdisable' href='#' onclick='askerasersuppressDialog.show();return false;' class='L3' style='"+R+"' >"+_disableSSMsg+"</a></div>";
}else{var Q=Cookie.getCookie("gset");
if((!Q)||(Q.indexOf("ss=0")==-1)){F+="<div id='"+a10.ss.uiDisabledivId+"' style='"+J+"'><a id='ssdisable' href='#'  onclick='a10.ss.turnOffSS()' class='L3' style='"+R+"' >"+_disableSSMsg+"</a></div>";
}}}$(a10.ss.uiBodyId).innerHTML=F;
a10.ss.currentResults=$(a10.ss.uiSuggestlistId).parentNode.getElementsByTagName("li");
if($(a10.ss.uiId).style.display=="none"){a10.ss.transitionSuggestion(false);
}}else{if(typeof _disableNoSStext!="undefined"&&_disableNoSStext){$(a10.ss.uiId).style.display="none";
}else{a10.ss.clearSuggestions();
}}a10.ss.postRender();
}a10.ss.createSuggestions=function(I,J,M,A,G,B,L){var H='<ul id="'+a10.ss.uiSuggestlistId+'">';
function C(f,Q,j,O,Z,e,b,h){if(_uiSS2){return a10.ss2.createSuggestionList(f,Q,j,O,Z,e,b,h);
}else{var S=_highlightSS;
if(S=="true"){var U=a10.ss.lastSuccessfulQuery;
var d=new RegExp("^"+U);
var g=false;
if(typeof _greyHighLight!="undefined"){g=_greyHighLight;
}if(g=="true"){var c=a10.ss.lastSuccessfulQuery;
f=f.replace(c,"<span class='ssQueryGrey'>"+c+"</span>");
}else{f=f.replace(d,"<span class='suggest'>"+U+"</span>");
}}var V=f.replace(/(<([^>]+)>)/ig,"");
var a=$F("symnfilter");
var T=$F("alwb");
var R=$F("atb");
var Y=$F("prt");
var i=$F("chn");
var P=$F("geo");
var X=$F("ver");
var W=$F("gct");
if(W==null){W="";
}else{if(W!=""){W="&gct="+W;
}}if(!(T=="")){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+V+_vps+"&alwb="+T+"' class='L1'>"+f+"</a></li>";
}else{return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+escape(V)+_vps+"&alwb="+T+"' class='L1'>"+f+"</a></li>";
}}else{if(a=="on"){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+V+_vps+"&symnfilter=on' class='L1'>"+f+"</a></li>";
}else{return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+escape(V)+_vps+"&symnfilter=on' class='L1'>"+f+"</a></li>";
}}else{if(a10.ss.symShadow=="true"){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+V+_vps+"&prt="+Y+"&chn="+i+"&geo="+P+"&ver="+X+"' class='L1'>"+f+"</a></li>";
}else{return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+escape(V)+_vps+"&prt="+Y+"&chn="+i+"&geo="+P+"&ver="+X+"' class='L1'>"+f+"</a></li>";
}}else{if(!(R=="")){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+V+_vps+"&atb="+encodeURIComponent(R)+"' class='L1'>"+f+"</a></li>";
}else{return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+escape(V)+_vps+"&atb="+encodeURIComponent(R)+"' class='L1'>"+f+"</a></li>";
}}else{if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+V+_vps+"' class='L1'>"+f+"</a></li>";
}else{return"<li onmouseover='a10.ss.select("+(b)+");'><a href='"+_path+"?qsrc="+Q+W+"&o="+j+"&l="+O+Z+"&dm="+e+"&q="+escape(V)+_vps+"' class='L1'>"+f+"</a></li>";
}}}}}}}var K=_separateSS;
var F=[];
var N=[];
if(K=="true"){for(var E=0;
E<I.length;
E++){suggestion=I[E];
if(suggestion.substring(0,1)=="<"){F.push(suggestion);
}else{N.push(suggestion);
}}}else{N=I;
}var D=0;
for(var E=0;
E<F.length;
E++){if(_maxItems>0&&D>=_maxItems){break;
}H+=C(F[E],J,M,A,G,B,D++);
}if(F.length&&N.length){if(_maxItems>0&&D<_maxItems){H+='<li class="separator"></li>';
D++;
}}for(var E=0;
E<N.length;
E++){if(_maxItems>0&&D>=_maxItems){break;
}H+=C(N[E],J,M,A,G,B,D++);
}H+="</ul>";
return H;
};
a10.ss.getQuery=function(A){if(_backendSS2){return a10.ss2.getQuery(A);
}return A["Query"];
};
a10.ss.getSuggestions=function(A){if(_backendSS2){return a10.ss2.getSuggestions(A);
}return A["Suggestions"];
};
a10.ss.postRender=function(){if(_uiSS2){a10.ss2.postRender();
}else{var A=220;
if(a10.ss.bubble){a10.ss.bubble.redraw();
}else{a10.ss.bubble=new a10.Bubble($(a10.ss.uiId),$(a10.ss.uiBodyId),A,0,"up",false,null,35);
}var B=$(a10.ss.popupIE6CoverTarget);
if(a10.browser.isIE6()&&B&&!a10.ss.popupIE6Cover){var C=a10.util.findPos($(a10.ss.uiId));
a10.ss.popupIE6Cover=new a10.IFrameCover(B);
a10.ss.popupIE6Cover.ssCoverLeft=C[0]+a10.bubble.TRANSPARENCY_BORDER["left"];
a10.ss.popupIE6Cover.ssCoverWidth=a10.bubble.BORDER_WIDTH+A-a10.bubble.TRANSPARENCY_BORDER["left"]-a10.bubble.TRANSPARENCY_BORDER["right"];
}if(a10.ss.popupIE6Cover&&$(a10.ss.uiId).style.display!="none"){a10.ss.popupIE6Cover.hide();
a10.ss.popupIE6Cover.show();
a10.ss.popupIE6Cover.iframe.style.left=a10.ss.popupIE6Cover.ssCoverLeft+"px";
a10.ss.popupIE6Cover.iframe.style.width=a10.ss.popupIE6Cover.ssCoverWidth+"px";
}}};
a10.ss.getCountry=function(){var B=$("alltop")||$("all");
var A=$("ctrytop")||$("ctry");
var D=$("langtop")||$("lang");
if(!B&&!A&&!D){return"";
}var C="all";
if(B&&B.checked){C="all";
}else{if(A&&A.checked){C="ctry";
}else{if(D&&D.checked){C="lang";
}}}return C;
};
a10.ss.clearSuggestions=function(){a10.ss.currentResults=new Array();
$(a10.ss.uiBodyId).innerHTML='<div class="lh18"><span style="color:gray;padding-left:6px;">'+_noSSFoundMsg+"</span></div>";
};
a10.ss.reset=function(){a10.ss.currentResults=new Array();
if(a10.ss.pauseTimeoutID){clearTimeout(a10.ss.pauseTimeoutID);
a10.ss.pauseTimeoutID=null;
}a10.ss.pageHasMadeRequest=false;
a10.ss.lastSuccessfulQuery=null;
a10.ss.hidden=true;
};
a10.ss.transitionSuggestion=function(A){a10.ss.hidden=A;
if(A){a10.ss.closePopup();
a10.ss.transitionSuggestionDone();
}else{a10.ss.transitionSuggestionDone();
}};
a10.ss.setValue=function(A,B){A.value=B;
if(navigator.userAgent.indexOf("AppleWebKit")&&A.setSelectionRange){A.setSelectionRange(A.value.length,A.value.length);
}};
a10.ss.transitionSuggestionDone=function(){if(!a10.ss.hidden){$(a10.ss.uiId).style.display="";
}};
a10.ss.turnOffSS=function(){var C=Cookie.getCookie("gset");
var A=new Date();
A.setFullYear(A.getFullYear()+2);
var E="ss=0";
if((C)){if(C.indexOf("&ss=1")!=-1){var B=C.split("&ss=1");
E=B.join("");
}else{if(C.indexOf("&ss=0")!=-1){var B=C.split("&ss=0");
E=B.join("");
}}E+="&ss=0";
}Cookie.deleteCookie("gset","/");
document.cookie="gset="+E+"; expires="+A.toGMTString()+"; path=/; domain=.ask.com";
var D=$("q");
if(D){D.focus();
}};
a10.ss2.getSuggestions=function(A){return A[1];
};
a10.ss2.getQuery=function(A){return A[0];
};
a10.ss2.execute=function(K,B,F){if(a10.ss.symUKDomain){_ssDomain=a10.ss.symUKDomain;
}var A="http://"+_ssDomain+"/query?fn=suggestCallBack&q=";
var E=A+encodeURIComponent(K).toLowerCase();
var D=$F("alwb");
if(!(D=="")){var E=A+encodeURIComponent(K).toLowerCase()+"&alwb="+D;
}var C=$F("symnfilter");
if(C=="on"){var E=A+encodeURIComponent(K).toLowerCase()+"&symnfilter=on";
}var N=$F("prt");
var M=$F("chn");
var I=$F("geo");
var L=$F("ver");
if(a10.ss.symShadow=="true"){var E=A+encodeURIComponent(K).toLowerCase()+"&prt="+N+"&chn="+M+"&geo="+I+"&ver="+L;
}var J=$F("atb");
if(!(J=="")){var E=A+encodeURIComponent(K).toLowerCase()+"&atb="+J;
}var H=_modeSS2;
if(H=="prefix"){E+="&sstype=prefix";
}if(typeof _ssMonetize!="undefined"&&_ssMonetize!=""){E=E+"&fi="+_ssMonetize;
}if(typeof _ssProductNames!="undefined"&&_ssProductNames!=""){E=E+"&pn="+_ssProductNames;
}if(typeof _ssMaxNum!="undefined"&&_ssMaxNum!=""){E=E+"&num="+_ssMaxNum;
}if(typeof _greyHighLight!="undefined"&&_greyHighLight=="true"){E=E+"&li=ff";
}var G=new JSONscriptRequest(E);
G.makeRequest();
};
a10.ss2.postRender=function(){if(window["_disableSSIframeCover"]){return ;
}if(a10.browser.isIE6()&&!a10.ss.popupIE6Cover){a10.ss.popupIE6Cover=new a10.IFrameCover($(a10.ss.uiId),{height:2});
}if(a10.ss.popupIE6Cover&&$(a10.ss.uiId).style.display!="none"){a10.ss.popupIE6Cover.hide();
a10.ss.popupIE6Cover.show();
}};
a10.ss2.createSuggestions=function(H,M,G,L,A,F,B,J){var E=0;
function C(U,O,S,V,W){var T='<ul id="'+S+'">';
var R=[];
var X=[];
if(W=="true"){for(var Q=0;
Q<O;
Q++){var P=U[Q];
if(P.substring(0,1)=="<"){R.push(P);
}else{X.push(P);
}}}else{for(var Q=0;
Q<O;
Q++){var P=U[Q];
X.push(P);
}}for(var Q=0;
Q<R.length;
Q++){if(_maxItems>0&&E>=_maxItems){break;
}T+=a10.ss2.createSuggestionList(R[Q],V,L,A,F,B,E++);
}if(R.length&&X.length){if(_maxItems>0&&E<_maxItems){T+='<li class="separator"></li>';
E++;
}}for(var Q=0;
Q<X.length;
Q++){if(_maxItems>0&&E>=_maxItems){break;
}T+=a10.ss2.createSuggestionList(X[Q],V,L,A,F,B,E++);
}T+="</ul>";
return T;
}var I=(typeof _ssQuestionNum!="undefined"&&_ssQuestionNum!="")?_ssQuestionNum:0;
var D=_maxItems;
var N=D-I;
if(M.length<=I){I=M.length;
N=D-I;
if(H.length<N){N=H.length;
}if(N>8){N=8;
}}else{if(H.length<N){N=H.length;
I=D-N;
if(M.length<I){I=M.length;
}}}var K="";
if(typeof _ssQuestionOnTop!="undefined"&&_ssQuestionOnTop=="true"){if(M.length){K+=C(M,I,a10.ss.uiSuggestlistIdQuestion,a10.ss.ssQsrcQuestion,"false");
if(N>0){K+='<div class="separator"></div>';
}}K+=C(H,N,a10.ss.uiSuggestlistId,G,_separateSS);
}else{K+=C(H,N,a10.ss.uiSuggestlistId,G,_separateSS);
if(M.length){if(N>0){K+='<div class="separator"></div>';
}K+=C(M,I,a10.ss.uiSuggestlistIdQuestion,a10.ss.ssQsrcQuestion,"false");
}}return K;
};
a10.ss2.createSuggestionList=function(S,C,W,A,M,R,O,U){var E=_highlightSS;
if(E=="true"){var G=a10.ss.lastSuccessfulQuery;
G=G.replace(/./g,"\\.");
var Q=new RegExp("^"+G);
var T=false;
if(typeof _greyHighLight!="undefined"){T=_greyHighLight;
}if(T=="true"){var P=a10.ss.lastSuccessfulQuery;
S=S.replace(P,"<span class='ssQueryGrey'>"+P+"</span>");
}else{S=S.replace(Q,"<span class='suggest'>"+G+"</span>");
}}var I=S.replace(/(<([^>]+)>)/ig,"");
var X="";
if(typeof apnTBRParams!="undefined"&&apnTBRParams!=""){X=apnTBRParams;
}var N=$F("symnfilter");
var F=$F("alwb");
var D=$F("atb");
var H=$F("dev");
var L=$F("prt");
var V=$F("chn");
var B=$F("geo");
var K=$F("ver");
var J=$F("gct");
if(J==null){J="";
}else{if(J!=""){J="&gct="+J;
}}if(!(F=="")){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+I+_vps+"&alwb="+F+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}else{return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+escape(I)+_vps+"&alwb="+F+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}}else{if(N=="on"){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+I+_vps+"&symnfilter=on' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}else{return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+escape(I)+_vps+"&symnfilter=on' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}}else{if(a10.ss.symShadow=="true"){if(!_escapeQuerySS){if(typeof a10.ss.BottomSrch!="undefined"&&a10.ss.BottomSrch){return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&srch=bot&dm="+R+"&q="+I+_vps+"&prt="+L+"&chn="+V+"&geo="+B+"&ver="+K+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}else{return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+I+_vps+"&prt="+L+"&chn="+V+"&geo="+B+"&ver="+K+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}}else{if(typeof a10.ss.BottomSrch!="undefined"&&a10.ss.BottomSrch){return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&srch=bot&dm="+R+"&q="+escape(I)+_vps+"&prt="+L+"&chn="+V+"&geo="+B+"&ver="+K+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}else{return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+escape(I)+_vps+"&prt="+L+"&chn="+V+"&geo="+B+"&ver="+K+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}}}else{if(!(D=="")){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+I+_vps+"&atb="+encodeURIComponent(D)+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}else{return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+escape(I)+_vps+"&atb="+encodeURIComponent(D)+"'class='L1'><span class='sugline'>"+S+"</span></a></li>";
}}else{if(!(H=="")){if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+I+_vps+"&dev="+H+"'class='L1'><span class='sugline'>"+S+"</span></a></li>";
}else{return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+escape(I)+_vps+"&dev="+H+"'class='L1'><span class='sugline'>"+S+"</span></a></li>";
}}else{if(!_escapeQuerySS){return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+I+_vps+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}else{return"<li onmouseover='a10.ss.select("+(O)+");'><a href='"+_path+"?qsrc="+C+J+"&o="+W+"&l="+A+M+"&dm="+R+"&q="+escape(I)+_vps+X+"' class='L1'><span class='sugline'>"+S+"</span></a></li>";
}}}}}}a10.ss.BottomSrch=false;
};
a10.ss2.updateQsrc=function(A){var B=38;
var D=40;
if(a10.ss.selectedIndex!=-1&&(A==B||A==D)){var C=document.getElementById("qsrc");
if(C){if(C.value!=a10.ss.qsrc){a10.ss.prevQsrc=C.value;
}if(a10.ss.currentResults[a10.ss.selectedIndex].parentNode.id==a10.ss.uiSuggestlistIdQuestion){C.value=a10.ss.ssQsrcQuestion;
}else{C.value=a10.ss.qsrc;
}}}};
a10.ss2.handleClearOut=function(){var A=document.getElementById("qsrc");
if(A&&a10.ss.prevQsrc){A.value=a10.ss.prevQsrc;
}};
if(typeof ssloaded!="undefined"){ssloaded();
}
if(!a10){var a10={};
}a10.bubble={};
a10.bubble.BORDER_WIDTH=25;
a10.bubble.SPRITE_WIDTH=700;
a10.bubble.SPRITE_HEIGHT=800;
if(typeof _sharedSprite!="undefined"){a10.bubble.SPRITE_URL=_sharedSprite;
}a10.bubble.TRANSPARENCY_BORDER={top:4,right:4,bottom:4,left:4};
a10.Bubble=function(B,G,D,J,H,I,K,A,F){this.direction=H;
this.content=G;
this.container=B;
if(A){this.heightOffset=A;
}if(I){this.closeButton=document.createElement("div");
this.closeButton.title="Close";
this.closeButton.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
this.closeButton.style.backgroundPosition="-281px -265px";
this.closeButton.style.position="absolute";
this.closeButton.style.left=(D-4)+"px";
this.closeButton.style.top="18px";
this.closeButton.style.width="11px";
this.closeButton.style.height="11px";
this.closeButton.style.cursor="pointer";
this.closeButton.style.overflow="hidden";
this.closeButton.style.zIndex=5;
this.closeButton.onclick=K;
this.container.appendChild(this.closeButton);
a10.util.ie6PNGSpriteHack(this.closeButton);
}this.bubbleTop=document.createElement("div");
this.bubbleTop.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
this.bubbleTop.style.height=a10.bubble.BORDER_WIDTH+"px";
if(D==0){D=parseInt(G.style.width);
}this.bubbleTop.style.width=D+"px";
this.bubbleTop.style.position="absolute";
this.bubbleTop.style.top="0px";
this.bubbleTop.style.left="0px";
this.bubbleTop.style.backgroundPosition="0px 0px";
this.container.appendChild(this.bubbleTop);
a10.util.ie6PNGSpriteHack(this.bubbleTop);
this.bubbleRight=document.createElement("div");
this.bubbleRight.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
this.bubbleRight.style.backgroundPosition="-"+(a10.bubble.SPRITE_WIDTH-a10.bubble.BORDER_WIDTH)+"px 0px";
if(J==0){if(this.content.style.height){J=parseInt(this.content.style.height)+a10.bubble.BORDER_WIDTH-10+(A?A:0);
}else{J=parseInt(this.content.offsetHeight)+(A?A:0);
}}else{J+=a10.bubble.BORDER_WIDTH-10+(A?A:0);
}this.bubbleRight.style.height=J+"px";
this.bubbleRight.style.width=a10.bubble.BORDER_WIDTH+"px";
this.bubbleRight.style.position="absolute";
this.bubbleRight.style.left=D+"px";
this.bubbleRight.style.top="0px";
this.container.appendChild(this.bubbleRight);
a10.util.ie6PNGSpriteHack(this.bubbleRight);
this.bubbleBottom=document.createElement("div");
this.bubbleBottom.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
this.bubbleBottom.style.backgroundPosition="-"+(a10.bubble.SPRITE_WIDTH-D)+"px -"+(a10.bubble.SPRITE_HEIGHT-a10.bubble.BORDER_WIDTH)+"px";
this.bubbleBottom.style.height=a10.bubble.BORDER_WIDTH+"px";
this.bubbleBottom.style.width=D+"px";
this.bubbleBottom.style.position="absolute";
this.bubbleBottom.style.top=(parseInt(this.bubbleRight.style.height))+"px";
this.bubbleBottom.style.left=a10.bubble.BORDER_WIDTH+"px";
this.container.appendChild(this.bubbleBottom);
a10.util.ie6PNGSpriteHack(this.bubbleBottom);
this.bubbleLeft=document.createElement("div");
this.bubbleLeft.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
this.bubbleLeft.style.backgroundPosition="0px -"+(a10.bubble.SPRITE_HEIGHT-J)+"px";
this.bubbleLeft.style.height=J+"px";
this.bubbleLeft.style.width=a10.bubble.BORDER_WIDTH+"px";
this.bubbleLeft.style.position="absolute";
this.bubbleLeft.style.top=a10.bubble.BORDER_WIDTH+"px";
this.bubbleLeft.style.left="0px";
this.container.appendChild(this.bubbleLeft);
a10.util.ie6PNGSpriteHack(this.bubbleLeft);
this.bubbleConn=document.createElement("div");
this.bubbleConn.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
if(this.direction=="up"){this.bubbleConn.style.backgroundPosition="-266px -265px";
this.bubbleConn.style.top="-5px";
var C=34;
if(F){C+=F;
}this.bubbleConn.style.left=C+"px";
this.bubbleConn.style.height="5px";
this.bubbleConn.style.width="9px";
}else{if(this.direction.indexOf("left")==0){this.bubbleConn.style.backgroundPosition="-260px -266px";
var C=-5;
if(F){C+=F;
}this.bubbleConn.style.left=C+"px";
this.bubbleConn.style.height="9px";
this.bubbleConn.style.width="5px";
if(this.direction.indexOf("-high")>0){this.bubbleConn.style.top=35+"px";
}else{this.bubbleConn.style.top=(J-20)+"px";
}}else{if(this.direction.indexOf("right")==0){this.bubbleConn.style.backgroundPosition="-276px -266px";
var C=-5;
if(F){C+=F;
}this.bubbleConn.style.left=(D+C+30)+"px";
this.bubbleConn.style.height="9px";
this.bubbleConn.style.width="5px";
if(this.direction.indexOf("-high")>0){this.bubbleConn.style.top=30+"px";
}else{this.bubbleConn.style.top=(J-25)+"px";
}}else{if(this.direction=="down"){this.bubbleConn.style.backgroundPosition="-266px -271px";
this.bubbleConn.style.top=(J+25)+"px";
var C=34;
if(F){C+=F;
}this.bubbleConn.style.left=C+"px";
this.bubbleConn.style.height="5px";
this.bubbleConn.style.width="9px";
}else{this.bubbleConn.style.height="0px";
this.bubbleConn.style.width="0px";
}}}}this.bubbleConn.style.position="absolute";
this.container.appendChild(this.bubbleConn);
a10.util.ie6PNGSpriteHack(this.bubbleConn);
var E=function(L){L=L||window.event;
L.cancelBubble=true;
return false;
};
this.bubbleBottom.onclick=this.bubbleLeft.onclick=this.bubbleRight.onclick=this.bubbleTop.onclick=this.bubbleConn.onclick=E;
if(a10.browser.isIE6()){this.cover=new a10.IFrameCover(this.content,{width:parseInt(a10.bubble.BORDER_WIDTH/2)+1});
}};
a10.Bubble.prototype.container;
a10.Bubble.prototype.content;
a10.Bubble.prototype.bubbleLeft;
a10.Bubble.prototype.bubbleTop;
a10.Bubble.prototype.bubbleRight;
a10.Bubble.prototype.bubbleBottom;
a10.Bubble.prototype.bubbleConn;
a10.Bubble.prototype.closeButton;
a10.Bubble.prototype.direction;
a10.Bubble.prototype.heightOffset;
a10.Bubble.prototype.setBorderSprite=function(A){if(this.bubbleBottom.style.backgroundImage!="url("+A+")"){if(!a10.browser.isIE6()){this.bubbleBottom.style.backgroundImage="url("+A+")";
this.bubbleTop.style.backgroundImage="url("+A+")";
this.bubbleLeft.style.backgroundImage="url("+A+")";
this.bubbleRight.style.backgroundImage="url("+A+")";
}else{this.bubbleLeft.childNodes[0].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='crop')";
this.bubbleTop.childNodes[0].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='crop')";
this.bubbleRight.childNodes[0].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='crop')";
this.bubbleBottom.childNodes[0].style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='crop')";
}}};
a10.Bubble.prototype.redraw=function(){var A=this.content.offsetHeight;
if(!A){A=220;
}if(this.heightOffset){A+=this.heightOffset;
}if(a10.browser.isIE6()){this.bubbleRight.style.height=A+"px";
this.bubbleRight.innerHTML="";
this.bubbleTop.innerHTML="";
this.bubbleRight.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
this.bubbleTop.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
a10.util.ie6PNGSpriteHack(this.bubbleRight);
a10.util.ie6PNGSpriteHack(this.bubbleTop);
}if(a10.browser.isIE6()){this.bubbleLeft.style.height=A+"px";
this.bubbleLeft.innerHTML="";
this.bubbleLeft.style.backgroundImage="url("+a10.bubble.SPRITE_URL+")";
a10.util.ie6PNGSpriteHack(this.bubbleLeft);
this.bubbleLeft.getElementsByTagName("div")[0].style.height=a10.bubble.SPRITE_HEIGHT+"px";
this.bubbleLeft.getElementsByTagName("div")[0].style.top="-"+(a10.bubble.SPRITE_HEIGHT-A)+"px";
this.bubbleRight.getElementsByTagName("div")[0].style.height=a10.bubble.SPRITE_HEIGHT+"px";
this.bubbleBottom.style.top=A+"px";
}else{this.bubbleLeft.style.height=A+"px";
this.bubbleLeft.style.backgroundPosition="0px -"+(a10.bubble.SPRITE_HEIGHT-A)+"px";
this.bubbleRight.style.height=A+"px";
this.bubbleBottom.style.top=(parseInt(this.bubbleRight.style.height))+"px";
}};
a10.Bubble.prototype.setSpriteDimension=function(B,E,C,A,D){a10.bubble.SPRITE_WIDTH=B;
a10.bubble.SPRITE_HEIGHT=E;
var C=parseInt(C);
var A=parseInt(A)+a10.bubble.BORDER_WIDTH-10+(D?D:0);
this.bubbleTop.style.backgroundPosition="0px 0px";
if(a10.browser.isIE6()){this.bubbleRight.childNodes[0].style.width=a10.bubble.SPRITE_WIDTH+"px";
this.bubbleRight.childNodes[0].style.left="-"+(a10.bubble.SPRITE_WIDTH-a10.bubble.BORDER_WIDTH)+"px";
this.bubbleRight.childNodes[0].style.backgroundPosition="-"+(a10.bubble.SPRITE_WIDTH-a10.bubble.BORDER_WIDTH)+"px 0px";
this.bubbleBottom.childNodes[0].style.width=a10.bubble.SPRITE_WIDTH+"px";
this.bubbleBottom.childNodes[0].style.height=a10.bubble.SPRITE_HEIGHT+"px";
this.bubbleBottom.childNodes[0].style.top="-"+(a10.bubble.SPRITE_HEIGHT-a10.bubble.BORDER_WIDTH)+"px";
this.bubbleBottom.childNodes[0].style.left="-"+(a10.bubble.SPRITE_WIDTH-parseInt(this.bubbleBottom.style.width))+"px";
this.bubbleBottom.childNodes[0].style.backgroundPosition="-"+(a10.bubble.SPRITE_WIDTH-C)+"px -"+(a10.bubble.SPRITE_HEIGHT-a10.bubble.BORDER_WIDTH)+"px";
this.bubbleLeft.childNodes[0].style.height=a10.bubble.SPRITE_HEIGHT+"px";
this.bubbleLeft.childNodes[0].style.top="-"+(a10.bubble.SPRITE_HEIGHT-parseInt(this.bubbleLeft.style.height))+"px";
}else{this.bubbleRight.style.backgroundPosition="-"+(a10.bubble.SPRITE_WIDTH-a10.bubble.BORDER_WIDTH)+"px 0px";
this.bubbleBottom.style.backgroundPosition="-"+(a10.bubble.SPRITE_WIDTH-C)+"px -"+(a10.bubble.SPRITE_HEIGHT-a10.bubble.BORDER_WIDTH)+"px";
}this.bubbleLeft.style.backgroundPosition="0px -"+(a10.bubble.SPRITE_HEIGHT-A)+"px";
};
a10.Bubble.prototype.setCloseButtonPosition=function(A,B,C){var A=parseInt(A);
this.closeButton.style.left=(A-B)+"px";
this.closeButton.style.top=C+"px";
};

function ss(A){window.status=A;
return true;
}function cs(){window.status="";
}
if(!ask){var ask={};
}ask.currentTime={};
ask.currentTime.clockEnabled=false;
ask.currentTime.HOURS=0;
ask.currentTime.MINS=1;
ask.currentTime.SECN=2;
ask.currentTime.AM_PM=3;
ask.currentTime.DAY=4;
ask.currentTime.MONTH=5;
ask.currentTime.DAY_OF_THE_MONTH=6;
ask.currentTime.YEAR=7;
ask.currentTime.SECOND=1000;
ask.currentTime.INVALID=-1;
ask.currentTime.TRANSITION_TIME="12:00:00";
var _Days=new Array("MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY");
var _Months=new Array("JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER");
ask.currentTime.init=function(){var A=document.getElementById("ctHoursMinutes");
if(A!=null&&!ask.currentTime.clockEnabled){ask.currentTime.clockEnabled=true;
if(ask.currentTime.getStoredOffset()!=ask.currentTime.INVALID){if(a10.browser.isFirefox()){ask.currentTime.updateClock();
}setTimeout("ask.currentTime.updateClock()",ask.currentTime.SECOND);
return ;
}var C=ask.currentTime.getItems();
var K=C.split(":");
var N=a10.util.trim(K[ask.currentTime.AM_PM]);
var H=Number(K[ask.currentTime.YEAR]);
var G=new String(K[ask.currentTime.MONTH]).toUpperCase();
var E=0;
for(E;
E<_Months.length;
E++){if(G==_Months[E]){break;
}}var F=E;
var J=K[ask.currentTime.DAY];
var M=Number(K[ask.currentTime.DAY_OF_THE_MONTH]);
var L=Number(K[ask.currentTime.HOURS]);
if(N=="AM"&&L==12){L=0;
}else{if(N=="PM"&&L!=12){L+=12;
}}var B=Number(K[ask.currentTime.MINS]);
var I=Number(K[ask.currentTime.SECN]);
var D=ask.currentTime.computeOffset(H,F,M,L,B,I);
if(!ask.currentTime.validate(H,F,M,L,B,I,D)){return ;
}ask.currentTime.setStoredOffset(D);
setTimeout("ask.currentTime.updateClock()",ask.currentTime.SECOND);
}else{setTimeout("ask.currentTime.init()",ask.currentTime.SECOND);
}};
ask.currentTime.updateClock=function(){var N=document.getElementById("ctHoursMinutes");
if(N!=null){var K=new Date();
var I=document.getElementById("ctHoursMinutes");
var A=document.getElementById("ctSecs");
var L=document.getElementById("ctAmPm");
var P=document.getElementById("ctDate");
var B=ask.currentTime.getStoredOffset();
var M=K.getTime();
var T=M+B;
var O=new Date();
O.setTime(T);
var C=null;
var H=O.getFullYear();
var S=O.getMonth();
var G=_Months[S];
var J=O.getDate();
var R=_Days[O.getDay()];
var Q=O.getHours();
var E=O.getMinutes();
var F=O.getSeconds();
if(!ask.currentTime.validate(H,S,J,Q,E,F,B)){return ;
}if(Q>=12){C="PM";
}else{C="AM";
}if(Q>=13){Q-=12;
}if(Q==0){Q=12;
}if(F<10){F="0"+F;
}if(E<10){E="0"+E;
}if(Q<10){Q="0"+Q;
}var D=Q+":"+E+":"+F;
if(D==ask.currentTime.TRANSITION_TIME){window.location.reload(true);
}L.innerHTML="<b>"+C+"</b><br/>";
A.innerHTML=":"+F;
I.innerHTML=Q+":"+E;
P=R+","+O.getDate()+" "+G+" "+O.getYear();
setTimeout("ask.currentTime.updateClock()",ask.currentTime.SECOND);
}else{ask.currentTime.clockEnabled=false;
ask.currentTime.setStoredOffset(ask.currentTime.INVALID);
}};
ask.currentTime.validate=function(B,E,D,A,C,G,F){if(!ask.currentTime.validateString(B)||!ask.currentTime.validateString(E)||!ask.currentTime.validateString(D)||!ask.currentTime.validateString(A)||!ask.currentTime.validateString(C)||!ask.currentTime.validateString(G)||!ask.currentTime.validateString(F)){ask.currentTime.clockEnabled=false;
ask.currentTime.setStoredOffset(ask.currentTime.INVALID);
setTimeout("ask.currentTime.init()",ask.currentTime.SECOND);
return false;
}return true;
};
ask.currentTime.validateString=function(B){var A=a10.util.trim(new String(B));
if(isNaN(A)||a10.util.isEmpty(A)){return false;
}return true;
};
ask.currentTime.getStoredOffset=function(){if(document.getElementById("offset")==null){return ask.currentTime.INVALID;
}return Number(document.getElementById("offset").value);
};
ask.currentTime.setStoredOffset=function(A){if(document.getElementById("offset")!=null){document.getElementById("offset").value=A;
}};
ask.currentTime.getItems=function(){var A=document.getElementById("ctHoursMinutes");
var F=document.getElementById("ctSecs");
var G=document.getElementById("ctAmPm");
var D=document.getElementById("ctDate");
var C=A.innerHTML;
C+=F.innerHTML;
C+=":"+G.innerHTML;
var B=D.innerHTML;
if(B.indexOf("\u0020")!=ask.currentTime.INVALID){var H=B.split("\u0020");
C+=":"+H[0];
C+=":"+H[1];
C+=":"+H[2];
C+=":"+H[3];
}else{C+=":"+B;
}C=C.toUpperCase();
var E=C.replace(new RegExp("<BR>","mig")," ");
E=E.replace(new RegExp("<B>","mig")," ");
E=E.replace(new RegExp("</B>","mig")," ");
E=E.replace(new RegExp(",","mig")," ");
E=E.replace(new RegExp("\n","mig")," ");
E=a10.util.trim(E);
return E;
};
ask.currentTime.computeOffset=function(E,C,I,H,A,G){var D=new Date();
var J=new Date();
J.setFullYear(E,C,I);
J.setHours(H,A,G);
var B=D.getTime();
var F=J.getTime();
return F-B;
};

if(typeof deconcept=="undefined"){var deconcept=new Object();
}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();
}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();
}deconcept.SWFObject=function(K,B,L,D,H,I,F,E,C,J){if(!document.getElementById){return ;
}this.DETECT_KEY=J?J:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(K){this.setAttribute("swf",K);
}if(B){this.setAttribute("id",B);
}if(L){this.setAttribute("width",L);
}if(D){this.setAttribute("height",D);
}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")));
}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;
}if(I){this.addParam("bgcolor",I);
}var A=F?F:"high";
this.addParam("quality",A);
this.setAttribute("useExpressInstall",false);
this.setAttribute("doExpressInstall",false);
var G=(E)?E:window.location;
this.setAttribute("xiRedirectUrl",G);
this.setAttribute("redirectUrl","");
if(C){this.setAttribute("redirectUrl",C);
}};
deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;
this.setAttribute("useExpressInstall",true);
},setAttribute:function(A,B){this.attributes[A]=B;
},getAttribute:function(A){return this.attributes[A];
},addParam:function(B,A){this.params[B]=A;
},getParams:function(){return this.params;
},addVariable:function(B,A){this.variables[B]=A;
},getVariable:function(A){return this.variables[A];
},getVariables:function(){return this.variables;
},getVariablePairs:function(){var C=new Array();
var B;
var A=this.getVariables();
for(B in A){C[C.length]=B+"="+A[B];
}return C;
},getSWFHTML:function(){var B="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");
this.setAttribute("swf",this.xiSWFPath);
}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';
B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';
var F=this.getParams();
for(var E in F){B+=[E]+'="'+F[E]+'" ';
}var D=this.getVariablePairs().join("&");
if(D.length>0){B+='flashvars="'+D+'"';
}B+="/>";
}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");
this.setAttribute("swf",this.xiSWFPath);
}B='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';
B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';
var C=this.getParams();
for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />';
}var A=this.getVariablePairs().join("&");
if(A.length>0){B+='<param name="flashvars" value="'+A+'" />';
}B+="</object>";
}return B;
},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);
}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;
C.innerHTML=this.getSWFHTML();
return true;
}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));
}}return false;
}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){var E=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];
if(A&&A.description){E=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));
}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var B=1;
var C=3;
while(B){try{C++;
B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);
E=new deconcept.PlayerVersion([C,0,0]);
}catch(D){B=null;
}}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
}catch(D){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
E=new deconcept.PlayerVersion([6,0,21]);
B.AllowScriptAccess="always";
}catch(D){if(E.major==6){return E;
}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
}catch(D){}}if(B!=null){E=new deconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","));
}}}return E;
};
deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;
this.minor=A[1]!=null?parseInt(A[1]):0;
this.rev=A[2]!=null?parseInt(A[2]):0;
};
deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false;
}if(this.major>A.major){return true;
}if(this.minor<A.minor){return false;
}if(this.minor>A.minor){return true;
}if(this.rev<A.rev){return false;
}return true;
};
deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;
if(C==null){return D;
}if(D){var B=D.substring(1).split("&");
for(var A=0;
A<B.length;
A++){if(B[A].substring(0,B[A].indexOf("="))==C){return B[A].substring((B[A].indexOf("=")+1));
}}}return"";
}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){var B=document.getElementsByTagName("OBJECT");
for(var C=B.length-1;
C>=0;
C--){B[C].style.display="none";
for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=function(){};
}}}};
if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};
__flash_savedUnloadHandler=function(){};
window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);
};
window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);
deconcept.unloadSet=true;
}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A];
};
}var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject;
var SWFObject=deconcept.SWFObject;
if(window["swfobject_loaded"]){swfobject_loaded();
}

