var ie=document.all?true:false;var moduleTimer=0;var timeBeforeSwitch=10;function initTimer(b){moduleTimer=0;if(document.getElementById("forward1")){incrementTimer(b)}}function incrementTimer(b){if(moduleTimer<timeBeforeSwitch){setTimeout("incrementTimer("+b+")","1000");moduleTimer++}else{initTimer(b);rotateForw(document.getElementById("forward1"),"1")}}function externalLinks(){if(!document.getElementsByTagName){return}var f=document.getElementsByTagName("a");for(var d=0;d<f.length;d++){var e=f[d];if(e.getAttribute("href")&&e.getAttribute("rel")=="external"){e.target="_blank"}}}var globalObj=null;var flashExpanded=false;var newHeight=null;function expandCollapse(g,e,f){var h=document.getElementById(g);if(ie){finishTransition(g,e)}else{new Effect.Morph(h,{style:"height:"+e+"px",duration:0.15,delay:0.6,transition:Effect.Transitions.sinoidal})}flashExpanded=f}function getFlashHeight(){return flashHeight}function finishTransition(f,e){var d=document.getElementById(f);if(d.id!="motoMediaPlayer"){d.style.height=e+"px"}}function OpenSite(b){if(b){document.getElementById("siteContainer").src=b;document.getElementById("siteContainerWrapper").style.display="";document.getElementById("siteContainer").style.display=""}else{document.getElementById("siteContainer").src="";document.getElementById("siteContainerWrapper").style.display="none";document.getElementById("siteContainer").style.display="none"}}function external(b){window.location.href=b}document.observe("dom:loaded",function(){$$("div.carousel").each(function(b){b.select("ul li").each(function(a,d){if(d!==0){a.setStyle({visibility:"hidden"})}})})});var animatingCarousel=false;function rotateForw(j,n){moduleTimer=0;if(!animatingCarousel){animatingCarousel=true;var k=document.getElementById("forward_"+n);var l=document.getElementById("carousel_"+n);$$$(l).setStyle({width:(l.childElements().length*184)+"px"});var h=l.style.left;var m=parseInt(h);var i=l.getWidth();if(m>(184-i)){new Effect.Move(l,{duration:0.3,x:-184,y:0,mode:"relative",transition:Effect.Transitions.linear,beforeStart:function(){$$$(l).childElements().each(function(a){a.setStyle({visibility:"visible"})})},afterFinish:function(){var b=l.style.left;var a=parseInt(b);$$$(l).childElements().each(function(c,d){if(d!==(-(a/184))){c.setStyle({visibility:"hidden"})}});animatingCarousel=false}})}else{new Effect.Move(l,{duration:0.6,x:(i-184),y:0,mode:"relative",transition:Effect.Transitions.linear,beforeStart:function(){$$$(l).childElements().each(function(a){a.setStyle({visibility:"visible"})})},afterFinish:function(){var b=l.style.left;var a=parseInt(b);$$$(l).childElements().each(function(c,d){if(d!==(-(a/184))){c.setStyle({visibility:"hidden"})}});animatingCarousel=false}})}}}function rotateBack(i,g){if(!animatingCarousel){animatingCarousel=true;var j=document.getElementById("back_"+g);var k=document.getElementById("carousel_"+g);var h=k.style.left;var l=parseInt(h);if(l<0){new Effect.Move(k,{duration:0.3,x:184,y:0,mode:"relative",transition:Effect.Transitions.linear,beforeStart:function(){$$$(k).childElements().each(function(a){a.setStyle({visibility:"visible"})})},afterFinish:function(){var b=k.style.left;var a=parseInt(b);$$$(k).childElements().each(function(c,d){if(d!==(-(a/184))){c.setStyle({visibility:"hidden"})}});animatingCarousel=false}})}else{new Effect.Move(k,{x:0,y:0,mode:"relative",transition:Effect.Transitions.linear,beforeStart:function(){$$$(k).childElements().each(function(a){a.setStyle({visibility:"visible"})})},afterFinish:function(){var b=k.style.left;var a=parseInt(b);$$$(k).childElements().each(function(c,d){if(d!==(-(a/184))){c.setStyle({visibility:"hidden"})}});animatingCarousel=false}})}}}var animatingProdSol=false;function toggleProdSol(){if(!animatingProdSol){animatingProdSol=true;var b=document.getElementById("list");if(b.style.display=="none"){$$$("head").addClassName("open");Effect.BlindDown(b,{duration:0.5,afterFinish:function(){animatingProdSol=false}})}else{$$$("head").removeClassName("open");Effect.BlindUp(b,{duration:0.5,afterFinish:function(){animatingProdSol=false}})}}}var categoryViewer=Class.create({initialize:function(){this.buttons=$$(".browser .buttons a");this.buttons.each(function(f,e){var b=".products>dl";if(e!=0){b="."+f.rel}b+=">dd>ul>li";Element.insert(f,"&nbsp;("+$$(b).length+")")});this.categories=$$(".browser .products dl");this.categoryViewer()},categoryViewer:function(){for(var b=0;b<this.buttons.length;b++){Event.observe(this.buttons[b],"click",this.toggleCategory.bind(this))}},toggleCategory:function(h){var i=Event.element(h).inspect()=="<strong>"||Event.element(h).inspect()=="<span>"?Event.element(h).ancestors()[0]:Event.element(h);if(i.getAttribute("rel")=="all"){for(var j=0;j<this.categories.length;j++){j==0?this.categories[j].addClassName("first"):this.categories[j].removeClassName("first");this.openCategory(this.categories[j])}for(var b=0;b<this.buttons.length;b++){if(this.buttons[b]!=i){this.deactivateButton(this.buttons[b])}else{this.activateButton(i)}}}else{for(var j=0;j<this.categories.length;j++){for(var k=0;k<this.categories[j].classNames().toArray().length;k++){if(this.categories[j].classNames().toArray()[k]==i.getAttribute("rel")){this.categories[j].addClassName("first");this.openCategory(this.categories[j]);this.activateButton(i);for(var l=0;l<this.categories.length;l++){if(j!=l){this.closeCategory(this.categories[l]);for(var b=0;b<this.buttons.length;b++){if(this.buttons[b]!=i){this.deactivateButton(this.buttons[b])}}}}this.activateButton(this.categories[j])}}}}},openCategory:function(b){Element.show(b)},closeCategory:function(b){Element.hide(b)},activateButton:function(b){b.ancestors()[0].addClassName("active")},deactivateButton:function(b){b.ancestors()[0].removeClassName("active")}});var productViewer=Class.create({initialize:function(){this.productsList=$$(".browser .products dd ul.products");this.productsList.each(function(f,d){var e;f.select("li").each(function(a,b){if(((b%5)===0)){f.insert({before:e});e=new Element("ul",{"class":"products"});if(b===0){e.addClassName("first")}}e.insert(a)});f.replace(e)});this.products=$$(".browser .products dd ul li");this.toolTiper=$$(".browser .products .productViewer");this.closeButton=document.getElementById("productViewerCloseBtn");this.previousSelection=false;this.myAnimation=false;this.relUrl="../../";this.timer=0;this.timeout=10;this.productData={products:[]};this.initiated=true;this.pulldownImages=[];this.productViewer()},productViewer:function(){this.listenToMe()},listenToMe:function(){for(var b=0;b<this.products.length;b++){Event.observe(this.products[b],"click",this.startViewer.bind(this))}Event.observe(this.closeButton,"click",this.closeViewer.bind(this))},redraw:function(d){var c=document.createTextNode(" ");d.appendChild(c);(function(){c.parentNode.removeChild(c)}).defer();return d},startScroller:function(c){var d=Event.element(c).inspect()=="<img>"||Event.element(c).inspect()=="<span>"?Event.element(c).ancestors()[1]:Event.element(c).ancestors()[0];if(!this.initiated){Effect.ScrollTo(d.ancestors()[0],{offset:-190});this.initiated=true}},startViewer:function(h){var e;if(Event.element(h).inspect()=="<img>"||Event.element(h).inspect()=="<span>"){e=Event.element(h).ancestors()[1]}else{if(Event.element(h).inspect()=="<li>"){e=Event.element(h)}else{e=Event.element(h).ancestors()[0]}}this.redraw(Event.element(h).ancestors()[2]);var g=(parseInt(flashHeight)+parseInt(growLength));flashExpanded?$$$("hacksaw").setStyle({display:"",height:g}):$$$("hacksaw").setStyle({display:"",height:(flashHeight)});$$$("swfMain").setStyle({visibility:"hidden"});if(this.myAnimation==false){if(this.previousSelection==e){e.removeClassName("active");this.closeViewer();this.previousSelection=false;$$$("hacksaw").setStyle({display:"none"});$$$("swfMain").setStyle({visibility:"visible"})}else{if(document.getElementById("productViewer").style.display=="none"){this.initiated?Effect.ScrollTo(e.ancestors()[0]):"";this.showViewer(e)}else{var f=this;this.myAnimation=Effect.BlindUp(document.getElementById("productViewer"),{duration:0.35,afterFinish:function(){this.myAnimation=false;f.initiated?Effect.ScrollTo(e.ancestors()[0]):"";f.showViewer(e)}})}this.previousSelection=e}}else{}Event.stop(h)},showViewer:function(f){this.clearProductData();$$$("loading").down("p").hide();$$$("loading").down("img").show();this.timer=0;$$$("loading").setStyle({display:"block",visibility:"visible"});this.unactivateProducts();f.addClassName("active");f.ancestors()[0].insert({after:document.getElementById("productViewer")});var d=(parseInt(f.previousSiblings().length)*155)+((157/2)-8);document.getElementById("productViewerArrow").style.backgroundPosition=d+"px top";var e=this;this.myAnimation=Effect.BlindDown(document.getElementById("productViewer"),{duration:0.6,afterFinish:function(){e.myAnimation=false;$$$("hacksaw").setStyle({display:"none"});$$$("swfMain").setStyle({visibility:"visible"})},transition:Effect.Transitions.sinoidal});e.loadProductsData($$$(f).firstDescendant().readAttribute("href"));e.showData(f)},showData:function(c){var d=this;if(this.insertProductData(c)){$$$("loading").setStyle({display:"none",visibility:"hidden"});$$$("loading").down("p").hide();$$$("loading").down("img").show();d.timer=0}else{d.timer=d.timer+1;if(d.timer<d.timeout){setTimeout(function(){d.showData(c)},1000)}else{$$$("loading").down("img").hide();$$$("loading").down("p").show();d.timer=0}}},closeViewer:function(c){var d=this;this.myAnimation=Effect.BlindUp(document.getElementById("productViewer"),{duration:0.35,afterFinish:function(){d.unactivateProducts();d.myAnimation=false;d.previousSelection=false;$$$("loading").down("p").hide();$$$("loading").down("img").show();d.timer=0}})},unactivateProducts:function(){for(var a=0;a<this.products.length;a++){if(this.products[a].hasClassName("active")){this.products[a].removeClassName("active")}}},loadProductsData:function(c){var d=this;new Ajax.Request(c,{method:"get",onCreate:function(){},onLoaded:function(){},onFailure:function(){setTimeout(function(){$$$("loading").down("img").hide();$$$("loading").down("p").show()},d.timeout*1000)},onSuccess:function(a){d.parseProductData(a.responseText)}})},parseProductData:function(j){try{xmlDoc=new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async="false";xmlDoc.loadXML(j)}catch(i){try{parser=new DOMParser();xmlDoc=parser.parseFromString(j,"text/xml")}catch(i){alert(i.message);return}}var e=xmlDoc.getElementsByTagName("productcat")[0];this.productData.products[0]={category:e.getElementsByTagName("category")[0].childNodes[0]?e.getElementsByTagName("category")[0].childNodes[0].nodeValue:"",name:e.getElementsByTagName("name")[0].childNodes[0]?e.getElementsByTagName("name")[0].childNodes[0].nodeValue:"",description:e.getElementsByTagName("description")[0].childNodes[0]?e.getElementsByTagName("description")[0].childNodes[0].nodeValue:"",imageDetail:{path:e.getElementsByTagName("imageDetail")[0].getElementsByTagName("path")&&e.getElementsByTagName("imageDetail")[0].getElementsByTagName("path").length>0&&e.getElementsByTagName("imageDetail")[0].getElementsByTagName("path")[0].childNodes[0].nodeValue!=""?e.getElementsByTagName("imageDetail")[0].getElementsByTagName("path")[0].childNodes[0].nodeValue:"blank.gif",altText:e.getElementsByTagName("imageDetail")[0].getElementsByTagName("altText")&&e.getElementsByTagName("imageDetail")[0].getElementsByTagName("altText").length>0&&e.getElementsByTagName("imageDetail")[0].getElementsByTagName("altText")[0].childNodes[0].nodeValue!=""?e.getElementsByTagName("imageDetail")[0].getElementsByTagName("altText")[0].childNodes[0].nodeValue:"Motorola Product"},link:{label:e.getElementsByTagName("link")[0].getElementsByTagName("label")[0].childNodes[0]?e.getElementsByTagName("link")[0].getElementsByTagName("label")[0].childNodes[0].nodeValue:"",webtrendsLabel:e.getElementsByTagName("link")[0].getElementsByTagName("label")[0].childNodes[0]?e.getElementsByTagName("link")[0].getElementsByTagName("label")[0].getAttributeNode("webtrends").nodeValue:"",url:e.getElementsByTagName("link")[0].getElementsByTagName("url")[0].childNodes[0]?e.getElementsByTagName("link")[0].getElementsByTagName("url")[0].childNodes[0].nodeValue:""},related:[],contact:[],phone:e.getElementsByTagName("phone")[0].childNodes[0]?e.getElementsByTagName("phone")[0].childNodes[0].nodeValue:false,actionTitle:e.getElementsByTagName("actionTitle")[0]?e.getElementsByTagName("actionTitle")[0].childNodes[0].nodeValue:"HOW TO BUY"};for(var g=0;g<e.getElementsByTagName("contact")[0].getElementsByTagName("link").length;g++){this.productData.products[0].contact[g]={label:e.getElementsByTagName("contact")[0].getElementsByTagName("link")[g].getElementsByTagName("label")[0].childNodes[0]?e.getElementsByTagName("contact")[0].getElementsByTagName("link")[g].getElementsByTagName("label")[0].childNodes[0].nodeValue:"",webtrendsLabel:e.getElementsByTagName("contact")[0].getElementsByTagName("link")[g].getElementsByTagName("label")[0].childNodes[0]?e.getElementsByTagName("contact")[0].getElementsByTagName("link")[g].getElementsByTagName("label")[0].getAttributeNode("webtrends").nodeValue:"",url:e.getElementsByTagName("contact")[0].getElementsByTagName("link")[g].getElementsByTagName("url")[0].childNodes[0]?e.getElementsByTagName("contact")[0].getElementsByTagName("link")[g].getElementsByTagName("url")[0].childNodes[0].nodeValue:""}}for(var h=0;h<e.getElementsByTagName("related")[0].getElementsByTagName("link").length;h++){this.productData.products[0].related[h]={label:e.getElementsByTagName("related")[0].getElementsByTagName("link")[h].getElementsByTagName("label")[0].childNodes[0].nodeValue,webtrendsLabel:e.getElementsByTagName("related")[0].getElementsByTagName("link")[h].getElementsByTagName("label")[0].getAttributeNode("webtrends").nodeValue,url:e.getElementsByTagName("related")[0].getElementsByTagName("link")[h].getElementsByTagName("url")[0].childNodes[0].nodeValue}}},clearProductData:function(){document.getElementById("pimg").innerHTML="";document.getElementById("pdesc").innerHTML="";document.getElementById("paction").innerHTML="";document.getElementById("actionTitle").innerHTML="";document.getElementById("pcontact").innerHTML="";document.getElementById("prelated").innerHTML=""},insertProductData:function(h){if(this.productData.products[0]){document.getElementById("pimg").innerHTML='<img src="'+this.productData.products[0].imageDetail.path+'" alt="'+this.productData.products[0].imageDetail.altText+'" title="'+this.productData.products[0].imageDetail.altText+'"/>';document.getElementById("pdesc").innerHTML=this.productData.products[0].description;document.getElementById("paction").innerHTML='<a href="'+this.productData.products[0].link.url+"\" onClick=\"return dcsMultiTrack('WT.ti', 'Explore "+this.productData.products[0].category+" Navigation: "+this.productData.products[0].name+"','WT.cg_n', 'Explore Navigation: "+this.productData.products[0].category+"', 'WT.cg_s', '"+this.productData.products[0].name+"', 'DCSext.action', 'Explore Navigation: Business Product and Service;"+this.productData.products[0].category+";"+this.productData.products[0].name+";"+this.productData.products[0].link.webtrendsLabel+"', 'WT.si_n','Explore Business Product and Services Selection','WT.si_x','3','WT.si_cs','1','DCSext.b2bexplorenav', '"+this.productData.products[0].link.webtrendsLabel+"');\">"+this.productData.products[0].link.label+' <img src="'+this.relUrl+'images/icons/carrot-blueoncharcole.gif" alt="more" /></a>';document.getElementById("actionTitle").innerHTML=this.productData.products[0].actionTitle;var i=this.productData.products[0].phone?"<p>"+this.productData.products[0].phone+"</p>":"";for(var j=0;j<this.productData.products[0].contact.length;j++){if(this.productData.products[0].contact[j].label!=""){i=i+'<a href="'+this.productData.products[0].contact[j].url+"\" onClick=\"return dcsMultiTrack('WT.ti', 'Explore "+this.productData.products[0].category+" Navigation: "+this.productData.products[0].name+"','WT.cg_n', 'Explore Navigation: "+this.productData.products[0].category+"', 'WT.cg_s', '"+this.productData.products[0].name+"', 'DCSext.action', 'Explore Navigation: Business Product and Service;"+this.productData.products[0].category+";"+this.productData.products[0].name+";"+this.productData.products[0].contact[j].webtrendsLabel+"', 'WT.si_n','Explore Business Product and Services Selection','WT.si_x','3','WT.si_cs','1','DCSext.b2bexplorenav', '"+this.productData.products[0].contact[j].webtrendsLabel+"');\">"+this.productData.products[0].contact[j].label+' <img src="'+this.relUrl+'images/icons/carrot-blueoncharcole.gif" alt="more" /></a>\n'}}document.getElementById("pcontact").innerHTML=i;var l="";var k="";var m="";var n="";for(var j=0;j<this.productData.products[0].related.length;j++){switch(j%3){case 0:k=k+'<a href="'+this.productData.products[0].related[j].url+"\" onClick=\"return dcsMultiTrack('WT.ti', 'Explore "+this.productData.products[0].category+" Navigation: "+this.productData.products[0].name+"','WT.cg_n', 'Explore Navigation: "+this.productData.products[0].category+"', 'WT.cg_s', '"+this.productData.products[0].name+"', 'DCSext.action', 'Explore Navigation: Business Product and Service;"+this.productData.products[0].category+";"+this.productData.products[0].name+";"+this.productData.products[0].related[j].webtrendsLabel+"', 'WT.si_n','Explore Business Product and Services','WT.si_x','3', 'DCSext.b2bexplorenav', '"+this.productData.products[0].related[j].webtrendsLabel+"');\">"+this.productData.products[0].related[j].label+"</a>\n";break;case 1:m=m+'<a href="'+this.productData.products[0].related[j].url+"\" onClick=\"return dcsMultiTrack('WT.ti', 'Explore "+this.productData.products[0].category+" Navigation: "+this.productData.products[0].name+"','WT.cg_n', 'Explore Navigation: "+this.productData.products[0].category+"', 'WT.cg_s', '"+this.productData.products[0].name+"', 'DCSext.action', 'Explore Navigation: Business Product and Service;"+this.productData.products[0].category+";"+this.productData.products[0].name+";"+this.productData.products[0].related[j].webtrendsLabel+"', 'WT.si_n','Explore Business Product and Services','WT.si_x','3', 'DCSext.b2bexplorenav', '"+this.productData.products[0].related[j].webtrendsLabel+"');\">"+this.productData.products[0].related[j].label+"</a>\n";break;case 2:n=n+'<a href="'+this.productData.products[0].related[j].url+"\" onClick=\"return dcsMultiTrack('WT.ti', 'Explore "+this.productData.products[0].category+" Navigation: "+this.productData.products[0].name+"','WT.cg_n', 'Explore Navigation: "+this.productData.products[0].category+"', 'WT.cg_s', '"+this.productData.products[0].name+"', 'DCSext.action', 'Explore Navigation: Business Product and Service;"+this.productData.products[0].category+";"+this.productData.products[0].name+";"+this.productData.products[0].related[j].webtrendsLabel+"', 'WT.si_n','Explore Business Product and Services','WT.si_x','3', 'DCSext.b2bexplorenav', '"+this.productData.products[0].related[j].webtrendsLabel+"');\">"+this.productData.products[0].related[j].label+"</a>\n";break;default:}}k="<li>"+k+"</li>";m="<li>"+m+"</li>";n="<li>"+n+"</li>";l=k+m+n;document.getElementById("prelated").innerHTML=l;if(l==""){document.getElementById("prelatedtitle").innerHTML=""}if(this.productData.products[0].related.length==0){document.getElementById("prelatedtitle").style.display="none"}else{document.getElementById("prelatedtitle").style.display="block"}this.productData={products:[]};return true}else{return false}}});function preloadImages(c){if(document.images){for(var d=0;d<(c.length-1);d++){preload_image_object=new Image();preload_image_object.src=c[d]}return true}}function viewPortHeight(){return self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}function viewPortWidth(){return self.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}function scrollOffsetHeight(){return self.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop}function scrollOffsetWidth(){return self.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft}function documentHeight(){var b=0;if(document.documentElement){b=document.documentElement.scrollHeight}else{if(document.body){b=document.documentElement.scrollHeight}}return b}function showbox(h){$$(".lightbox").each(function(a){$$$(a).hide()});var j=documentHeight();var g=viewPortWidth();$$$("overlay").setStyle({height:j+"px"});var i=(Math.round(viewPortWidth()/2)+scrollOffsetWidth()-Math.round($$$(h).getWidth()/2));var f=(Math.round(viewPortHeight()/2)+scrollOffsetHeight()-Math.round($$$(h).getHeight()/2));$$$("overlay").setStyle({left:0});$$$("overlay").setStyle({top:0});$$$(h).select("a.close").each(function(a){$$$(a).observe("click",function(){hidebox(h)},false)});$$$("overlay").observe("click",function(){hidebox(h)},false);$$$(h).show();$$$(h).setStyle({left:i+"px"});$$$(h).setStyle({top:f+"px"});$$$("overlay").show()}function hidebox(b){$$$(b).hide();$$$("overlay").hide()}String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.ltrim=function(){return this.replace(/^\s+/,"")};String.prototype.rtrim=function(){return this.replace(/\s+$/,"")};var TipViaXHR=Class.create();TipViaXHR.prototype={initialize:function(b){b=Object.extend({asynchronous:true,requestUrl:"",searchUrlBase:"./",buttonRef:false},b||{});this.options=b;this.response=false;this.bubbledBefore=false;this.outEl=false;this.anchorCounter=0;this.btn=$$(this.options.buttonRef)[0];if(this.btn){this.bubble=$$$(this.btn).ancestors()[0].select(".searchTip")[0]}else{this.bubble=false}this.buttonEnable()},buttonEnable:function(){if(this.btn.parentNode){$$$(this.btn).observe("mouseover",this.buttonHover.bind(this))}},buttonDisable:function(){var c=$$(this.options.buttonRef)[0];var d=this;if(this.btn){$$$(this.btn).stopObserving("mouseover",d.buttonHover)}},buttonHover:function(f){this.anchorCounter++;var d=false;var e=f.element();if((e.tagName.toLowerCase()==="span")&&($$$(e).hasClassName("txt")||$$$(e).hasClassName("icon"))){d=true}if(this.bubble&&!this.bubbleActive&&d){this.buttonDisable();this.bubbleActive=true;$$$(this.btn).addClassName("active");if(this.response){this.defineBubbleOut();$$$(this.bubble).show()}else{this.buttonDisable();this.doRequest()}}else{Event.stop(f)}},defineBubbleOut:function(){this.createBubbleOutHTML();if(this.bubble){this.bubbleOutEvent()}},createBubbleOutHTML:function(){var f={x:300,y:300};var h={x:-20,y:50};var j='<div id="bubbleOutWrap"><div id="bubbleOutDetect"></div></div>';if(this.btn&&this.bubble){$$$(this.bubble).setStyle({visibility:"hidden",display:"block"});var i=$$$(this.bubble).getDimensions();var g=$$$(this.bubble).positionedOffset();$$$(this.bubble).setStyle({visibility:"visible"});$$$(this.bubble).insert({after:j});this.outEl=$$$("bubbleOutDetect");this.outWrap=$$$("bubbleOutWrap");$$$(this.outWrap).setStyle({width:i.width+f.x+"px",height:i.height+f.y+"px",position:"absolute",zIndex:"200",top:g[0]-f.y/2+h.y+"px",left:g[1]-f.x/2+h.x+"px"});$$$(this.outEl).setStyle({width:"57%",height:"52%",position:"relative",top:"19%",margin:"0 auto",zIndex:"201"})}},bubbleOutEvent:function(){if(this.outEl){var b=this;$$$(this.outWrap).observe("mouseover",function(){b.hideBubble()});$$$(this.outEl).observe("mouseover",function(d){Event.stop(d);if(this.outEl.bubbledBefore){var a=setTimeout(function(){},1)}this.outEl.bubbledBefore=true}.bind(this))}},hideBubble:function(){this.buttonOut();$$$(this.outWrap).remove();this.buttonEnable();this.bubbleActive=false},buttonOut:function(){if(this.bubble){$$$(this.bubble).hide();$$$(this.btn).removeClassName("active")}},doRequest:function(){this.toggleProgress();this.currentRequest=new Ajax.Request(this.options.requestUrl,{method:"get",asynchronous:this.options.asynchronous,onSuccess:function(b){this.requestComplete(b)}.bind(this),onFailure:function(){this.requestError()}.bind(this)})},requestComplete:function(b){this.toggleProgress();this.response=fleegix.xml.parse(b.responseXML);this.processResponse()},processResponse:function(){var k=false;if(this.btn){var k=$$$(this.btn).ancestors()[0].select(".searchTip ul")[0]}var l=[];for(var m=0,h=this.response.data.link.length;m<h;m++){var j=this.response.data.link[m];var i=this.options.searchUrlBase+"?q="+encodeURIComponent(j.title);l.push('<li><a href="'+i+'">'+j.title+'</a><img alt="" src="../../images/SiteSearch/arrow.tipsearch.png" /></li>')}var n=l.join("\n");if(k){$$$(k).innerHTML="";$$$(k).innerHTML=n}if(this.bubble){$$$(this.bubble).show()}this.defineBubbleOut()},requestError:function(){this.buttonEnable();this.toggleProgress()},toggleProgress:function(){if(this.btn){$$$(this.btn).toggleClassName("progress")}}};var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);
/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/
return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return}}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return}var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();eval(function(e,a,c,l,j,k){j=function(b){return(b<a?"":j(parseInt(b/a)))+((b=b%a)>35?String.fromCharCode(b+29):b.toString(36))};if(!"".replace(/^/,String)){while(c--){k[j(c)]=l[c]||j(c)}l=[function(b){return k[b]}];j=function(){return"\\w+"};c=1}while(c--){if(l[c]){e=e.replace(new RegExp("\\b"+j(c)+"\\b","g"),l[c])}}return e}('3 A=Z.11();A.12={13:8(a,b){3 c=14.15({B:16,m:"17",n:"18",o:"#19",C:5,D:5,E:0,F:0,i:1a},1b[2]||{});1.9=$$$(a);1.4=c;l($$$(b)){1.6=$$$(b)}p{1.6=$$$(j.1c("1d"));j.q.G(1.6);1.6.1e("1f");1.6.G(j.1g(b))}1.6.H();1.r=1.I.s(1);1.t=1.J.s(1);1.u=1.v.s(1);1.K()},1h:8(){7.w(1.9,"L",1.r);7.w(1.9,"M",1.t);7.w(1.9,"N",1.u)},K:8(){7.z(1.9,"L",1.r);7.z(1.9,"M",1.t);7.z(1.9,"N",1.u)},v:8(a){7.O(a);3 b=7.1i(a);3 c=7.1j(a);3 d=k.1k(1.6);3 e=d.1l;3 f=d.1m;b=b+1.4.C;c=c+1.4.D;3 g=b-1n;3 h=c+10;1.P(g,h)},I:8(a){7.O(a);1.v(a);Q k.1o(1.6)},P:8(x,y){k.R(1.6,{1p:\'1q\',1r:y+1.4.F+"S",1s:x+1.4.E+"S",i:1.4.i});l(1.4.B){k.R(1.6,{m:1.4.m,n:1.4.n,o:1.4.o,i:1.4.i})}},J:8(a){Q k.H(1.6)},1t:8(){3 a;l(T.U.V(\'W\')>0){a=j.q.1u}p{a=X.1v}Y a},1w:8(){3 a;l(T.U.V(\'W\')>0){a=j.q.1x}p{a=X.1y}Y a}}',62,97,"|this||var|options||tool_tip|Event|function|element|||||||||zindex|document|Element|if|margin|padding|backgroundColor|else|body|eventMouseOver|bindAsEventListener|eventMouseOut|eventMouseMove|moveTooltip|stopObserving|||observe|Tooltip|default_css|min_distance_x|min_distance_y|delta_x|delta_y|appendChild|hide|showTooltip|hideTooltip|registerEvents|mouseover|mouseout|mousemove|stop|setStyles|new|setStyle|px|navigator|appVersion|indexOf|MSIE|window|return|Class||create|prototype|initialize|Object|extend|false|0px|5px|d6d6fc|1000|arguments|createElement|div|addClassName|tooltip|createTextNode|destroy|pointerX|pointerY|getDimensions|width|height|160|show|position|absolute|top|left|getWindowHeight|clientHeight|innerHeight|getWindowWidth|clientWidth|innerWidth".split("|"),0,{}));
