function getObjectDimensions(a){if(typeof a=="string"){a=document.getElementById(a)}if(typeof a=="undefined"){return null}if(a==null){return null}widthVal=a.offsetWidth;heightVal=a.offsetHeight;leftVal=0;topVal=0;do{leftVal+=a.offsetLeft;topVal+=a.offsetTop;a=a.offsetParent}while(a!=null);return[topVal,leftVal,heightVal,widthVal]}function moveObjectTo(c,e,d,a,f,b){if(typeof c=="string"){c=document.getElementById(c)}if(typeof c=="undefined"){return false}if(c==null){return false}toObjDimensions=getObjectDimensions(e);if(toObjDimensions==null){return false}leftVal=toObjDimensions[1];topVal=toObjDimensions[0];if(!d){leftVal+=toObjDimensions[3]}if(!a){topVal+=toObjDimensions[2]}leftVal+=f;topVal+=b;c.style.left=leftVal+"px";c.style.top=topVal+"px";return true}function containsClassName(b,a){if(typeof b=="string"){b=document.getElementById(b)}if(typeof b=="undefined"){return false}if(b==null){return false}if((typeof b.className=="undefined")||(b.className==null)||(b.className=="")){return false}else{regMatch=new RegExp("\\b"+a+"\\b","gi");if(b.className.search(regMatch)==-1){return false}else{return true}}}function addClass(b,a){if(typeof b=="string"){b=document.getElementById(b)}if(typeof b=="undefined"){return false}if(b==null){return false}if((typeof b.className=="undefined")||(b.className==null)||(b.className=="")){b.className=a}else{if(containsClassName(b,a)==false){b.className+=" "+a}}return true}function removeClass(b,a){if(typeof b=="string"){b=document.getElementById(b)}if(typeof b=="undefined"){return null}if(b==null){return null}regMatchNoSpace=new RegExp("\\b"+a+"\\b","gi");regMatchPreSpace=new RegExp("\\s"+a+"\\b","gi");regMatchPostSpace=new RegExp("\\b"+a+"\\s","gi");if((typeof b.className=="undefined")||(b.className==null)||(b.className=="")){return}else{b.className=b.className.replace(regMatchPreSpace,"");b.className=b.className.replace(regMatchPostSpace,"");b.className=b.className.replace(regMatchNoSpace,"")}}function copyContents(a,b){if(typeof a=="string"){a=document.getElementById(a)}if(typeof a=="undefined"){return false}if(a==null){return false}if(typeof b=="string"){b=document.getElementById(b)}if(typeof b=="undefined"){return false}if(b==null){return false}b.innerHTML=a.innerHTML;return true}function getElementsByTagAndClassNames(a,b,d){if(typeof d=="undefined"){d=document}if(typeof d=="string"){d=document.getElementById(d)}if(d==null){d=document}results=new Array();allTags=d.getElementsByTagName(a);if(allTags==null){return results}for(var c=0;c<allTags.length;c++){if(containsClassName(allTags[c],b)){results[results.length]=allTags[c]}}return results}function getElementsByTagAndIDPrefix(a,c){results=new Array();allTags=document.getElementsByTagName(a);if(allTags==null){return results}for(var b=0;b<allTags.length;b++){if(typeof allTags[b].id!="undefined"){if(allTags[b].id!=null){if(allTags[b].id.toString().indexOf(c)==0){results[results.length]=allTags[b]}}}}return results}function getElementsByTagAndName(b,a){results=new Array();allTags=document.getElementsByTagName(b);if(allTags==null){return results}for(var c=0;c<allTags.length;c++){if(typeof allTags[c].name!="undefined"){if(allTags[c].name!=null){if(allTags[c].name==a){results[results.length]=allTags[c]}}}}return results}function getImmediateChildrenByTagName(c,a){results=new Array();allTags=document.getElementsByTagName(a);if(allTags==null){return results}for(var b=0;b<allTags.length;b++){if(allTags[b].parentNode==c){results[results.length]=allTags[b]}}return results}function getFirstParentNodeOfTagName(b,a){if(typeof b=="string"){b=document.getElementById(b)}if(typeof b=="undefined"){return null}if(b==null){return null}do{if(b.nodeName.toString().toLowerCase()==a.toString().toLowerCase()){return b}b=b.parentNode}while(b!=null);return null}function getFirstParentNodeOfClassName(b,a){if(typeof b=="string"){b=document.getElementById(b)}if(typeof b=="undefined"){return null}if(b==null){return null}do{if(containsClassName(b,a)){return b}b=b.parentNode}while(b!=null);return null}function showObj(a){if(typeof a=="string"){a=document.getElementById(a)}if(typeof a=="undefined"){return false}if(a==null){return false}a.style.display="block"}function hideObj(a){if(typeof a=="string"){a=document.getElementById(a)}if(typeof a=="undefined"){return false}if(a==null){return false}a.style.display="none"}function moveToAndShow(c,e,d,a,f,b){moveObjectTo(c,e,d,a,f,b);showObj(c)}function assignOnClick(c,a){if(typeof c=="string"){c=document.getElementById(c)}if(typeof c=="undefined"){return false}if(c==null){return false}if(typeof c.length=="number"){for(var b=0;b<c.length;b++){c[b].onclick=a}}else{c.onclick=a}return true}function getColumnNumber(b){if((b.nodeName.toString().toLowerCase()!="td")&&(b.nodeName.toString().toLowerCase()!="th")){return -1}tr=b.parentNode;tdthcount=0;for(var a=0;a<tr.childNodes.length;a++){if((tr.childNodes[a].nodeName.toString().toLowerCase()=="td")||(tr.childNodes[a].nodeName.toString().toLowerCase()=="th")){if(tr.childNodes[a]==b){return tdthcount}tdthcount+=tr.childNodes[a].rowSpan}}return -1}function hideTDorTH(a,b){tdthcount=0;for(htdothcount=0;htdothcount<a.childNodes.length;htdothcount++){if((a.childNodes[htdothcount].nodeName.toString().toLowerCase()=="td")||(a.childNodes[htdothcount].nodeName.toString().toLowerCase()=="th")){if(tdthcount==b){hideObj(a.childNodes[htdothcount])}tdthcount+=a.childNodes[htdothcount].rowSpan}}}function hideColumnsWithinTRContainer(b,a){trs=getImmediateChildrenByTagName(b,"tr");for(hcwtrccount=0;hcwtrccount<trs.length;hcwtrccount++){hideTDorTH(trs[hcwtrccount],a)}}function hideColumn(e,f,c,a,b,g){if(typeof e=="string"){e=document.getElementById(e)}if(typeof e=="undefined"){return false}if(e==null){return false}if(c){thead=getImmediateChildrenByTagName(e,"thead");for(var d=0;d<thead.length;d++){hideColumnsWithinTRContainer(thead[d],f)}}if(a){tbody=getImmediateChildrenByTagName(e,"tbody");for(var d=0;d<tbody.length;d++){hideColumnsWithinTRContainer(tbody[d],f)}}if(b){tfoot=getImmediateChildrenByTagName(e,"tfoot");for(var d=0;d<tfoot.length;d++){hideColumnsWithinTRContainer(tfoot[d],f)}}if(g){hideColumnsWithinTRContainer(e,f)}}function user_nav_conditional(){this.navs=new Array();allDivs=document.getElementsByTagName("div");for(divCount=0;divCount<allDivs.length;divCount++){if(typeof allDivs[divCount].className!="undefined"){if(allDivs[divCount].className!=null){if(allDivs[divCount].className.indexOf("user_nav_conditional")!=-1){this.navs[this.navs.length]=allDivs[divCount]}}}}allAs=document.getElementsByTagName("a");for(aCount=0;aCount<allAs.length;aCount++){if(typeof allAs[aCount].id!="undefined"){if(allAs[aCount].id!=null){if(allAs[aCount].id.indexOf("unclink")==0){allAs[aCount].unc=this;allAs[aCount].onclick=function(){this.unc.show(this);return false}}}}}}user_nav_conditional.prototype.clear=function(){for(divCount=0;divCount<this.navs.length;divCount++){if(this.navs[divCount].style.display!="none"){this.navs[divCount].style.display="none"}}};user_nav_conditional.prototype.show=function(a){this.clear();divId=a.id.toString().replace(/unclink/,"userNavConditional");document.getElementById(divId).style.display="block"};function displayCartAndFavs(a){if(a){copyContents("cart_content","cart_and_favs_win_content")}else{copyContents("favs_content","cart_and_favs_win_content")}moveToAndShow("cart_and_favs_win","userModule",true,false,0,0)}function initCartAndFavs(){if(document.getElementById("cart_btn")){document.getElementById("cart_btn").onclick=function(){displayCartAndFavs(true);codeDisplay("show","cart_edit");codeDisplay("hide","fav_edit");getMiniCart();return false}}if(document.getElementById("fav_btn")){document.getElementById("fav_btn").onclick=function(){displayCartAndFavs(false);codeDisplay("show","fav_edit");codeDisplay("hide","cart_edit");getMiniQuickList();return false}}if(document.getElementById("cart_and_favs_close")){document.getElementById("cart_and_favs_close").onclick=function(){hideObj("cart_and_favs_win");return false}}}var req;function get_cookie(b){var a=document.cookie.match(b+"=(.*?)(;|$)");if(a){return(unescape(a[1]))}else{return null}}function setcartandfavwincontent(b){var a=document.getElementById("cart_and_favs_win_content");a.innerHTML=b}function getXMLHTTPRequest(){var d=false;try{d=new XMLHttpRequest();if(d.overrideMimeType){d.overrideMimeType("text/plain")}}catch(c){try{d=new ActiveXObject("Microsoft.XMLHTTP")}catch(b){try{d=new ActiveXObject("Msxml2.XMLHTTP")}catch(a){d=false}}}return d}function getMiniCart(){rand=parseInt(Math.random()*999999999999999);var a="/ec/minicart.do?id="+encodeURIComponent(rand);req=getXMLHTTPRequest();req.open("GET",a,true);req.onreadystatechange=populateMiniCart;req.send(null)}function populateMiniCart(){if(req.readyState==4){if(req.status==200){var a=req.responseText;if(a!=null){setcartandfavwincontent(a)}}else{setcartandfavwincontent("Cart Temporarily Not Available")}}}function getMiniQuickList(){rand=parseInt(Math.random()*999999999999999);var a="/accounts/miniquicklist.do?id="+encodeURIComponent(rand);req=getXMLHTTPRequest();req.open("GET",a,true);req.onreadystatechange=populateMiniQuicklist;req.send(null)}function populateMiniQuicklist(){if(req.readyState==4){if(req.status==200){var a=req.responseText;if(a!=null){setcartandfavwincontent(a)}}else{setcartandfavwincontent("Favorites Temporarily Not Available")}}}var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var a;var b;var c;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=b.GetVariable("$version")}catch(c){}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a="WIN 6,0,21,0";b.AllowScriptAccess="always";a=b.GetVariable("$version")}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a=b.GetVariable("$version")}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a="WIN 3,0,18,0"}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");a="WIN 2,0,0,11"}catch(c){a=-1}}return a}function GetSwfVer(){var g=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var f=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var a=navigator.plugins["Shockwave Flash"+f].description;var e=a.split(" ");var c=e[2].split(".");var i=c[0];var b=c[1];var d=e[3];if(d==""){d=e[4]}if(d[0]=="d"){d=d.substring(1)}else{if(d[0]=="r"){d=d.substring(1);if(d.indexOf("d")>0){d=d.substring(0,d.indexOf("d"))}}}var g=i+"."+b+"."+d}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){g=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){g=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){g=2}else{if(isIE&&isWin&&!isOpera){g=ControlVersion()}}}}}return g}function DetectFlashVer(f,d,c){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var e=versionArray[0];var a=versionArray[1];var b=versionArray[2];if(e>parseFloat(f)){return true}else{if(e==parseFloat(f)){if(a>parseFloat(d)){return true}else{if(a==parseFloat(d)){if(b>=parseFloat(c)){return true}}}}}return false}}}function AC_AddExtension(b,a){if(b.indexOf("?")!=-1){return b.replace(/\?/,a+"?")}else{return b+a}}function AC_Generateobj(e,d,a){var c="";if(isIE&&isWin&&!isOpera){c+="<object ";for(var b in e){c+=b+'="'+e[b]+'" '}c+=">";for(var b in d){c+='<param name="'+b+'" value="'+d[b]+'" /> '}c+="</object>"}else{c+="<embed ";for(var b in a){c+=b+'="'+a[b]+'" '}c+="> </embed>"}document.write(c)}function AC_FL_RunContent(){var a=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_SW_RunContent(){var a=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_GetArgs(b,e,g,d,j){var a=new Object();a.embedAttrs=new Object();a.params=new Object();a.objAttrs=new Object();for(var c=0;c<b.length;c=c+2){var f=b[c].toLowerCase();switch(f){case"classid":break;case"pluginspage":a.embedAttrs[b[c]]=b[c+1];break;case"src":case"movie":b[c+1]=AC_AddExtension(b[c+1],e);a.embedAttrs.src=b[c+1];a.params[g]=b[c+1];alert('ret.embedAttrs["src"] : '+a.embedAttrs.src);alert("ret.params[srcParamName] : "+a.params[g]);break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblclick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":a.objAttrs[b[c]]=b[c+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":a.embedAttrs[b[c]]=a.objAttrs[b[c]]=b[c+1];break;default:a.embedAttrs[b[c]]=a.params[b[c]]=b[c+1]}}a.objAttrs.classid=d;if(j){a.embedAttrs.type=j}return a}if(typeof com=="undefined"){var com=new Object()}if(typeof com.deconcept=="undefined"){com.deconcept=new Object()}if(typeof com.deconcept.util=="undefined"){com.deconcept.util=new Object()}if(typeof com.deconcept.FlashObjectUtil=="undefined"){com.deconcept.FlashObjectUtil=new Object()}com.deconcept.FlashObject=function(f,d,o,i,k,m,l,p,a,e){this.DETECT_KEY=e?e:"detectflash";this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(f){this.setAttribute("swf",f)}if(d){this.setAttribute("id",d)}if(o){this.setAttribute("width",o)}if(i){this.setAttribute("height",i)}if(k){this.setAttribute("version",new com.deconcept.PlayerVersion(k.toString().split(".")))}if(m){this.addParam("bgcolor",m)}var b=p?p:"high";this.addParam("quality",b);this.setAttribute("redirectUrl","");if(a){this.setAttribute("redirectUrl",a)}if(l){var g=new com.deconcept.PlayerVersion([6,0,65]);var j=com.deconcept.FlashObjectUtil.getPlayerVersion();if(j.versionIsValid(g)&&!j.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true)}}else{this.setAttribute("doExpressInstall",false)}};com.deconcept.FlashObject.prototype.setAttribute=function(a,b){this.attributes[a]=b};com.deconcept.FlashObject.prototype.getAttribute=function(a){return this.attributes[a]};com.deconcept.FlashObject.prototype.getAttributes=function(){return this.attributes};com.deconcept.FlashObject.prototype.addParam=function(a,b){this.params[a]=b};com.deconcept.FlashObject.prototype.getParams=function(){return this.params};com.deconcept.FlashObject.prototype.getParam=function(a){return this.params[a]};com.deconcept.FlashObject.prototype.addVariable=function(a,b){this.variables[a]=b};com.deconcept.FlashObject.prototype.getVariable=function(a){return this.variables[a]};com.deconcept.FlashObject.prototype.getVariables=function(){return this.variables};com.deconcept.FlashObject.prototype.getParamTags=function(){var b="";var a;var c=this.getParams();for(a in c){b+='<param name="'+a+'" value="'+c[a]+'" />'}return b};com.deconcept.FlashObject.prototype.getVariablePairs=function(){var a=new Array();var b;var c=this.getVariables();for(b in c){a.push(b+"="+c[b])}return a};com.deconcept.FlashObject.prototype.getHTML=function(){var a="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}a+='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'"';var e=this.getParams();for(var c in e){a+=" "+c+'="'+e[c]+'"'}d=this.getVariablePairs().join("&");if(d.length>0){a+=' flashvars="'+d+'"'}a+="></embed>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}a+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" id="'+this.getAttribute("id")+'">';a+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var b=this.getParamTags();if(b.length>0){a+=b}var d=this.getVariablePairs().join("&");if(d.length>0){a+='<param name="flashvars" value="'+d+'" />'}a+="</object>"}return a};com.deconcept.FlashObject.prototype.write=function(a){if(this.skipDetect||this.getAttribute("doExpressInstall")||com.deconcept.FlashObjectUtil.getPlayerVersion().versionIsValid(this.getAttribute("version"))){if(document.getElementById){if(this.getAttribute("doExpressInstall")){this.addVariable("MMredirectURL",escape(window.location));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}document.getElementById(a).innerHTML=this.getHTML()}}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}};com.deconcept.FlashObjectUtil.getPlayerVersion=function(){var b=new com.deconcept.PlayerVersion(0,0,0);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){b=new com.deconcept.PlayerVersion(a.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(window.ActiveXObject){try{var c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");b=new com.deconcept.PlayerVersion(c.GetVariable("$version").split(" ")[1].split(","))}catch(d){}}}return b};com.deconcept.PlayerVersion=function(a){this.major=parseInt(a[0])||0;this.minor=parseInt(a[1])||0;this.rev=parseInt(a[2])||0};com.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};com.deconcept.util.getRequestParameter=function(d){var b=document.location.search||document.location.href.hash;if(b){var c=b.indexOf(d+"=");var a=(b.indexOf("&",c)>-1)?b.indexOf("&",c):b.length;if(b.length>1&&c>-1){return b.substring(b.indexOf("=",c)+1,a)}}return""};if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}}var getQueryParamValue=com.deconcept.util.getRequestParameter;var FlashObject=com.deconcept.FlashObject;function submitForm(d,c){if(d.actionName&&c){d.actionName.value=c}if(d.formPreviousPage){var b=window.location.href;var a=base64Encode(b);d.formPreviousPage.value=a}d.submit()}function selectUltimateDestination(d){var c=d.ultimateDestination.value;var b=getPreviousPage();var a="/ultimatedestination.do?ultdest="+c+"&page="+b;window.location.replace(a)}function selectUltimateDestinationAjax(f,c,a){var e=f.ultimateDestination.value;var d=getPreviousPage();var b="/ultimatedestination.do?ultdest="+e+"&page="+d;new Ajax.Request(b,{method:"get",onComplete:c,onFailure:a})}function getProductPricing(a,e){if(!a){a=".sku"}var d=$$(a);var b="";if(d){for(var c=0;c<d.length;c++){b+=d[c].innerHTML;if(c<d.length-1){b+=";"}}if(!e){e=".price"}new Ajax.Request(adjustRelativePath()+"/pages/home/searchresults/display_product_price.jsp",{onSuccess:displayProductPricing,onFailure:displayProductPricingError,parameters:{skus:b,priceCss:e}})}}function displayProductPricing(e){var d=e.responseText.split("|");var b=$$(d[0]);var c=d[1].split(";");for(var a=0;a<b.length;a++){b[a].innerHTML=c[a]}}function displayProductPricingError(d){var c=d.responseText.split("|");var b=$$(c[0]);for(var a=0;a<b.length;a++){var e="will_quote_"+Math.random();b[a].innerHTML='<div id="'+e+'"></div>';getTranslation(e,"will_quote")}}function getTranslation(a,c,f,b,i,d,g){if(a&&$(a)){var e="";if(f){e+="&dbName="+f}if(b){e+="&args="+b}if(i){e+="&sepToken="+i}if(d){e+="&isMultiValue="+d}if(g){e+="&alt="+g}new Ajax.Updater(a,adjustRelativePath()+"/pages/home/translate.jsp?key="+c+e,{})}}function readCookie(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null}function isArray(a){return a&&typeof a==="object"&&typeof a.length==="number"&&typeof a.splice==="function"&&!(a.propertyIsEnumerable("length"))}function getTextContent(a){var b=a.textContent;if(!b){b=a.innerText}return b}function setTextContent(a,c){var b=a.textContent;if(!b){a.innerText=c}else{a.textContent=c}}function codeDisplay(a,b){if(a=="show"){document.getElementById(b).style.display="block"}else{if(a=="hide"){document.getElementById(b).style.display="none"}}}function classSwitch(b,c,a){removeClass(b,c);addClass(b,a)}function ConvertAllFields(a){if(a.SameAddress.checked){a.SameAddress.value="1";a.shipToContactName.value=a.billToContactName.value;a.shipToContactPhone.value=a.billToContactPhone.value;a.shipToContactEmail.value=a.billToContactEmail.value;a.buildingShipping.value=a.buildingBilling.value;a.departmentShipping.value=a.departmentBilling.value;a.address1Shipping.value=a.address1Billing.value;a.address2Shipping.value=a.address2Billing.value;a.cityShipping.value=a.cityBilling.value;a.stateShipping.value=a.stateBilling.value;a.zipShipping.value=a.zipBilling.value;a.countryShipping.selectedIndex=a.countryBilling.selectedIndex}else{a.shipToContactName.value="";a.shipToContactPhone.value="";a.shipToContactEmail.value="";a.buildingShipping.value="";a.departmentShipping.value="";a.address1Shipping.value="";a.address2Shipping.value="";a.cityShipping.value="";a.stateShipping.value="";a.zipShipping.value="";a.countryShipping.value="";a.countryShipping.selectedIndex=""}}function LTrim(b){var a=/\s*((\S+\s*)*)/;return b.replace(a,"$1")}function RTrim(b){var a=/((\s*\S+)*)\s*/;return b.replace(a,"$1")}function trim(a){return LTrim(RTrim(a))}function toggleLayer(c){var a,b;if(document.getElementById){a=document.getElementById(c)}else{if(document.all){a=document.all[c]}else{if(document.layers){a=document.layers[c]}}}b=a.style;if(b.display==""&&a.offsetWidth!=undefined&&a.offsetHeight!=undefined){b.display=(a.offsetWidth!=0&&a.offsetHeight!=0)?"block":"none"}b.display=(b.display==""||b.display=="block")?"none":"block"}function toggleDisplay(b,c,d){var a=$(b);a.toggleClassName("open");a.toggleClassName("closed");if(d){var e=a.innerHTML;if(a.alternate){d=a.alternate}a.alternate=e;a.update(d)}$(c).toggle()}function showThankYou(g,f){if($("siteModal")){if("none"==$("siteModal").getStyle("display")){var k="";if(f||f==""){k=f==""?"none":f}var b=base64Encode(g);viewSiteModal("/pages/home/dialog.jsp?txt="+b+"&img="+k)}else{if($("window_content")){var d=$("window_content").childElements();for(var e=0;e<d.length;e++){d[e].hide()}var a=new Element("div",{style:"height:400px"});$("window_content").insert(a);var k="";if(f!==""&&!f){k="/reply.nsf/e57a0726ebc212cd8525736f0054cce2/bf1a8e1a7ca389d88525766b0058923d/en_RTBody/0.8B6?OpenElement&FieldElemFormat=gif"}else{if(f!==""){k=f}}var j=g;if(k!==""){var c=new Element("img",{src:k,style:"margin:35px 0 35px 45px"});a.insert(c)}a.insert(j)}}}}function billingchk(){if(document.getElementById("billing_fields")!=null){toggleBillingFields()}}function parseSimpleDate(a){if(typeof a==="string"&&a.length>0){var b=new Date();var c=a.split("/");b.setMonth(c[0]-1);b.setDate(c[1]);b.setYear(c[2]);return b}}function dateInRange(c,d,b){var a=false;if(!d&&!b){a=true}else{if(!d){a=c<b}else{if(!b){a=c>d}else{a=c>d&&c<b}}}return a}function callUrl(b,a){var c=getXMLHTTPRequest();c.onreadystatechange=a;c.open("GET",b,true);c.send(null)}function callUrlWithRequest(a,c,b){a.onreadystatechange=b;a.open("GET",c,true);a.send(null)}function callUrlWithRequestPost(b,c,a,e){if($(a)!=""){var d=new Ajax.Updater(a,b,{method:"post",postBody:c,parameters:c,onComplete:e})}}function getBaseURL(a){var c=a;if(!c){c=window.location.href}var b=c.toString().indexOf("#");if(b>0){c=c.toString().substring(0,b)}return c}function parseUrl(d){if(!d){d=window.location.href}var c=/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/;var a=c.exec(d);var b=new Object();b.url=a[0];b.scheme=a[1];b.slash=a[2];b.host=a[3];b.port=a[4];b.path=a[5];b.query=a[6];b.hash=a[7];return b}function getUrlParams(a){var b=parseUrl(a).query;if(b){return b.split("&")}}function getUrlParamValues(b,f){var a=new Array();var e=getUrlParams(b);if(e){for(var c=0;c<e.length;c++){var d=e[c].split("=");if(d[0]==f){a[a.length]=d[1]}}}return a}function getCachedState(a){var b=parseUrl(a).hash;return b?b:""}function getCachedStateArgs(b){var a=new Array();var c=getCachedState(b);if(""!=c){a=c.split(":")}return a}function getCachedStateValue(c,a){if(c){var d=new RegExp("^"+c+"=");args=getCachedStateArgs(a);for(var b=0;b<args.length;b++){if(args[b].match(d)){return args[b].replace(d,"")}}}}function setCachedStateValue(b,f,a){var e=getBaseURL(a);var d=getCachedState(a);if(b){var c=new RegExp(b+"=[^:]*","g");if(d.match(c)){d=d.replace(c,b+"="+f)}else{if(d.length>0){d=d+":"}d=d+b+"="+f}}return e+"#"+d}function clearCachedStateValue(c,a){var e="";if(c){var d=new RegExp("^"+c+"=[^:]*");args=getCachedStateArgs(a);for(var b=0;b<args.length;b++){if(!args[b].match(d)){if(b>0){e=e+":"}e=e+args[b]}}}return getBaseURL(a)+"#"+e}function getTabIndex(b){var a=0;var c=getCachedStateArgs(b);if(c&&c.length>0){a=1*c[0]}return a}function setParams(j,a,b){var g=getBaseURL(b);var f=getCachedState(b);if(typeof j==="string"){j=[j];a=[a]}if(isArray(j)){for(var c=0;c<j.length;c++){var d=new RegExp("[&?]"+j[c]+"=[^&]*");var e=g.match(d);if(e!=null&&e.length>0){if(e[0].charAt(0)==="?"){g=g.replace(d,"?"+j[c]+"="+a[c])}else{g=g.replace(d,"&"+j[c]+"="+a[c])}}else{if(g.indexOf("?")>-1){g=g+"&"+j[c]+"="+a[c]}else{g=g+"?"+j[c]+"="+a[c]}}}}if(f&&f.length>0){g=g+"#"+f}return g}function adjustRelativePath(){var a="";var d=parseUrl().path;var c=d.split("/").length-1;for(var b=0;b<c;b++){if(b>0){a=a+"/"}a=a+".."}return a}function showLoadingMessage(a){document.getElementById(a).innerHTML="Loading...";getTranslation(a,"loading")}function showErrorMessage(a){document.getElementById(a).innerHTML="An error occurred while obtaining this data."}function addToCart(e,d,b,a,c){indicatorShow();new Ajax.Request("/ec/order.do",{method:"post",parameters:{item:e,qty:d,fromWhere:a,usingAjax:"true"},onComplete:function(g){$("modal_loading").hide();var f="A server error occured.  Please try again later.";if(g.status==200){result=g.responseJSON;if(result.status=="ok"){viewSiteModalMini("/pages/catalogue/added_to_cart.jsp",null,null,c)}else{if(result.status&&result.status.split("|").length>1){f=result.status.split("|")[1]}viewSiteModalMini("/pages/home/error_modal.jsp?errormsg="+f,null,null,c)}}else{viewSiteModal("/pages/home/error_modal.jsp?errormsg="+f,null,null,c)}}})}function indicatorShow(){var b=$("modal_loading");var d=b.getDimensions();var c=document.body.clientHeight;Position.prepare();var a=(Position.deltaY+((c>d.height)?Math.floor((c-d.height)/2):0));b.setStyle({top:(d.height<=c)?((a!=null&&a>0)?a:0)+"px":0});h=self.innerHeight;w=self.innerWidth;if(h==undefined){h=document.documentElement.clientHeight;w=document.documentElement.clientWidth;if(h<1){h=document.body.clientHeight}if(w<1){w=document.body.clientWidth}}a=Math.floor(h/2)-Math.floor(b.offsetHeight/2);offset_left=Math.floor(w/2)-Math.floor(b.offsetWidth/2);scroll_top=document.body.scrollTop;scroll_left=document.body.scrollLeft;if(scroll_top==0){if(window.pageYOffset){scroll_top=window.pageYOffset}else{scroll_top=(document.body.parentElement)?document.body.parentElement.scrollTop:0}}if(scroll_left==0){if(window.pageYOffset){scroll_left=window.pageXOffset}else{scroll_left=(document.body.parentElement)?document.body.parentElement.scrollLeft:0}}a+=scroll_top;offset_left+=scroll_left;b.setStyle({top:a+"px",left:offset_left+"px"});if(self.innerHeight==undefined){b.setStyle({zIndex:9999,position:"absolute",backgroundImage:'url("/assets/images/filtersizing/bg_loading.gif")',backgroundRepeat:"no-repeat",width:"100px",height:"100px",paddingTop:"18px",overflow:"hidden"})}else{b.setStyle({paddingLeft:"0px"})}b.show();n=0}function openpopWindow(c,a,b){w=window.open(c,a,b);w.focus()}var key64Vec="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function base64Encode(f){var b="";var d,c,a;var l,k,j,g;var e=0;do{d=f.charCodeAt(e++);c=f.charCodeAt(e++);a=f.charCodeAt(e++);l=(d>>2)&63;k=((d&3)<<4)|((c>>4)&15);j=((c<<2)&63)|((a>>6)&3);g=a&63;if(isNaN(c)){j=g=64}else{if(isNaN(a)){g=64}}b=b+key64Vec.charAt(l)+key64Vec.charAt(k)+key64Vec.charAt(j)+key64Vec.charAt(g)}while(e<f.length);return b}function base64Decode(c){var a="";var l,j,f;var k,g,e,d;var b=0;c=c.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{k=key64Vec.indexOf(c.charAt(b++));g=key64Vec.indexOf(c.charAt(b++));e=key64Vec.indexOf(c.charAt(b++));d=key64Vec.indexOf(c.charAt(b++));l=(k<<2)|(g>>4);j=((g&15)<<4)|(e>>2);f=((e&3)<<6)|d;a=a+String.fromCharCode(l);if(e!=64){a=a+String.fromCharCode(j)}if(d!=64){a=a+String.fromCharCode(f)}}while(b<c.length);return a}function loadEncodedUrl(a){window.location.replace(base64Decode(a))}var mainSearch=function(){var b=document.search;var a=trim(b.q.value);if(a==""){alert("Please enter a search keyword.");b.q.focus()}else{b.submit()}};var searchByCat=function(){var e=document.search;var a=trim(e.q.value);var d=e.tabValue;var c=d.selectedIndex;var b=d[c].value;if(b){e.action="/search.do"}e.submit()};var addItem=function(a,e,b){var d=a;var c=getSKU(a,e);document.getElementById(e).value=c;submitForm(a,"cart_detail_addpart_text")};var getSKU=function(c,f){var e=c;var b=document.getElementById(f).value;var a=b.indexOf(":");var d=b.substring(0,a);return d};function getIndex(a){var b=-1,c=0,d=false;while(c<a.form.length&&b==-1){if(a.form[c]==a){b=c}else{c++}}return b}var displaySKU=function(c,g,f){var e=c;var b=document.getElementById(g).value;var a=b.indexOf(":");var d=b.substring(0,a);document.getElementById(g).value=d;if(f==true){c.productName.value=b.substring(a+1,b.length)}};var setCallBackParametersForSearch=function(g,b){var f=readCookie("lang");var c=f+"linktext";var d=g.value;var e=b+"&userInput="+g.value+"&view=qtcdatasppublished&searchKey="+c+"&getDescription=false&language="+f;var a='QUERY-and(meta.collection:"TypeAhead",navdoctype:"TD",moduleid:"product_names",enlinktext:starts-with("'+d+'*"))';a=a+'QUERY-and(meta.collection:"TypeAhead",moduleid:"product_types",'+c+':starts-with("'+d+'*"),navdoctype:TD)';a=a+'QUERY-and(meta.collection:"TypeAhead",moduleid:"product_applications",'+c+':starts-with("'+d+'*"),navdoctype:TD)';if(f!="null"&&(f=="en"||f=="EN")){a=a+"QUERY-and("+c+':starts-with("'+d+'*"),navdoctype:LC)'}a=a+'QUERY-and(meta.collection:"TypeAhead",moduleid:"proteins",enlinktext:starts-with("'+d+'*"),navdoctype:TD)';e=e+"&queries="+a;return e};var setCallBackParametersForCatalogNumber=function(e,b){var d=readCookie("lang");var c=b+"&userInput="+e.value+"&view=searchdatasppublished&searchKey=sku&getDescription=true&language="+d;var a='QUERY-and(meta.collection:"catalogue",navdoctype:"PC",language:"'+d+'",sku:starts-with("'+e.value+'*"))';c=c+"&queries="+a;return c};function getPreviousPage(){var a;var d=document.previouspage;if(d){a=d.previousPage.value}else{var c=window.location.href;var b=c.replace(/https?:\/\/[\w\-]+\.millipore\.com/,"");a=base64Encode(b)}return a}function setPreviousPage(){var a=document.previouspage;if(a){a.previousPage.value=previousPage}}function recalculatePreviousPage(){var c=document.previouspage;if(c){var b=window.location.href;var a=b.replace(/https?:\/\/[\w\-]+\.millipore\.com/,"");c.previousPage.value=base64Encode(a)}}function doOnEnter(a,c,b){if(!c){c=searchByCat}if(window.event){if(a.keyCode==13){c(b)}}else{if(a.which){if(a.which==13){c(b)}}}}function doSubmit(b,a){if(window.event){if(b.keyCode==13){document.getElementById(a).click()}}else{if(b.which){if(b.which==13){document.getElementById(a).click()}}}}function addWildcard(a){var b=a.value;if(b.length>0&&b.charAt(b.length-1)!="*"&&b.charAt(b.length-1)!='"'){a.value=b+"*"}}function disableRightClick(c){var b=function(){if(event.button==2){return false}};var a=function(d){if(document.layers||document.getElementById&&!document.all){if(d.which==2||d.which==3){return false}}};if(document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=a}else{if(document.all&&!document.getElementById){document.onmousedown=this.rightClickIE}}document.oncontextmenu=new Function("return false")}printModal=function(f){var a=f;var e=document.printMe;var b=e.printText;var c="width=550,height=500,scrollbars=yes,resizable=yes,menubar=no,location=yes,status=no,toolbar=no";var d=$(a).innerHTML;b.value=d;e.submit()};function initAutocomplete(){if(g_bInitAutocomplete==true){return}new Ajax.Autocompleter("q","autocomplete","/pages/fast/typeahead.jsp",{tokens:",",minChars:2,afterUpdateElement:function(){searchByCat()}});g_bInitAutocomplete=true}function findPosX(a){var b=0;if(a.offsetParent){while(1){b+=a.offsetLeft;if(!a.offsetParent){break}a=a.offsetParent}}else{if(a.x){b+=a.x}}return b}function findPosY(b){var a=0;if(b.offsetParent){while(1){a+=b.offsetTop;if(!b.offsetParent){break}b=b.offsetParent}}else{if(b.y){a+=b.y}}return a}function getAbsoluteTop(b){var a=0;while(b!=null){a+=b.offsetTop;b=b.offsetParent}return a}function getAbsoluteLeft(b){var a=0;while(b!=null){a+=b.offsetLeft;b=b.offsetParent}return a}function getCid(){if(document._WebContentRaw){var a=getUrlParamValues(null,"cid");if(a&&a.length>0){document._WebContentRaw.cid.value="cid: "+a[0]}}}Event.observe(window,"load",function(){getCid()});Prototype.Browser.IE6=Prototype.Browser.IE&&parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))==6;Prototype.Browser.IE7=Prototype.Browser.IE&&parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5))==7;Prototype.Browser.IE8=Prototype.Browser.IE&&!Prototype.Browser.IE6&&!Prototype.Browser.IE7;var g_bInitAutocomplete=false;var g_bInitAutocompleteForTechService=false;function initAutocomplete(){if(g_bInitAutocomplete==true){return}new Ajax.Autocompleter("q","autocomplete","/pages/shared/typeahead.jsp",{tokens:",",minChars:2,callback:setCallBackParametersForSearch,afterUpdateElement:function(){searchByCat()}});g_bInitAutocomplete=true}var g_InitAutoCompleteArray=new Array();function enableAutocompleteForCatalogNumber(a,c,b){if(isAutoCompleterAlreadyInitialised(c)==true){return}new Ajax.Autocompleter(c,"autocomplete","/pages/shared/typeahead.jsp",{minChars:2,callback:setCallBackParametersForCatalogNumber,afterUpdateElement:function(){displaySKU(a,c,b)}});g_InitAutoCompleteArray.push(c)}function isAutoCompleterAlreadyInitialised(b){var a;for(a in g_InitAutoCompleteArray){if(g_InitAutoCompleteArray[a]==b){return true}}return false}var g_InitAutoCompleteForCheckOutPage=new Array();function enableAutocompleteForCheckOut(a,c,b){if(g_InitAutoCompleteForCheckOutPage==true){return}new Ajax.Autocompleter(c,"autocomplete","/pages/shared/typeahead.jsp",{minChars:2,callback:setCallBackParametersForCatalogNumber,afterUpdateElement:function(){addItem(a,c,b)}});g_InitAutoCompleteForCheckOutPage=true}var g_sCurrentTickerVarName=null;var g_bNewsTickerCSSWritten=false;var g_bNewTickerProcessingScroll=false;function NewsTicker(d,c,b,a){this.sThisVarName=d;this.nCurr=1;this.nMax=5;this.sID="";this.nAutoScrollInterval=-1;this.nTimeoutID=null;this.showNewsItem=function(p){try{this.stopTimer();if(p<1){p=1}if(p>this.nMax){p=this.nMax}if((this.nCurr==p)||(g_bNewTickerProcessingScroll==true)){restartNewsTickerAutoScrollTimer(this.sThisVarName);return}g_bNewTickerProcessingScroll=true;var f=document.getElementById("divInnerContainer_"+this.sID);var k=document.getElementById("divNewsItem_"+this.sID+"_"+p);var q=document.getElementById("divNewsItem_"+this.sID+"_"+this.nCurr);var l=k.offsetLeft;var i=q.offsetLeft;var g=f.offsetLeft;var j=i-l;var m=Math.abs(this.nCurr-p);g_sCurrentTickerVarName=this.sThisVarName;new Effect.Move(f,{x:j,y:0,mode:"relative",transition:Effect.Transitions.linear,duration:m,afterFinish:function(){g_bNewTickerProcessingScroll=false;restartNewsTickerAutoScrollTimer(this.sThisVarName)}});this.nCurr=p}catch(o){}};this.showPrevNewsItem=function(){var e=this.nCurr-1;if(e<1){e=1}this.showNewsItem(e)};this.showNextNewsItem=function(){var e=this.nCurr+1;if(e>this.nMax){e=this.nMax}this.showNewsItem(e)};this.insertCSS=function(f,e){if(g_bNewsTickerCSSWritten==true){return}try{var j=document.getElementsByTagName("head")[0];var i=document.createElement("style");var k="";k+=".divNewTickerOuterContainer { overflow:hidden; position:relative; width:200px; height:200px; padding: 0px 0px 0px 0px; }\n";k+=".divNewTickerOuterContainer .divNewTickerInnerContainer { position:absolute; top:0px; left:0px; width:1005px; height:200px; overflow:hidden; padding: 0px 0px 0px 0px; }\n";k+=".divNewTickerOuterContainer .divNewTickerInnerContainer .divNewTickerNewsItem { float:left; width:200px; height:200px; }\n";k+=".tblNewsTickerControls a:visited { text-decoration:none !important; color:black !important; }\n";k+=".tblNewsTickerControls a { text-decoration:none !important; color:black !important; }\n";k+=".tblNewsTickerControls img { background-color:transparent; border:none; }\n";i.setAttribute("type","text/css");j.appendChild(i);if(!window.ActiveXObject){i.innerHTML=k}else{i.styleSheet.cssText=k}g_bNewsTickerCSSWritten=true}catch(g){}};this.initNewsTicker=function(k,e){var f=$(k);if((f==undefined)||(f==null)){setTimeout("processNewsTickerInit( '"+this.sThisVarName+"', '"+k+"', '"+e+"' );",1000);return}var l=f.select("li");var m=f.offsetWidth;var o=f.offsetHeight;this.sID=k;if((e==undefined)||(e==null)){e=""}e=e.toLowerCase();if(e!="blue"){var g="type2";e="green"}else{g="type1";e="blue"}if(m<1){m=new Number(f.style.width.split("px")[0])}if(o<1){o=new Number(f.style.height.split("px")[0])}this.insertCSS(m,o);var i="";i+='<div style="width: 100%;margin-left: 0px; margin-right: 0px; overflow:hidden;" class="flexicallout '+g+'">';i+='<div class="callout_header titled"><div class="nw"></div><div class="ne"></div></div>';i+='<div class="callout_content" style="margin-left:4px; padding-left:10px; padding-right:5px; padding-bottom:0px;">';m-=25;o-=30;i+='<div id="divOuterContainer_'+k+'" class="divNewTickerOuterContainer" style="width:'+m+"px;height:"+o+'px;" >\n';i+='<div id="divInnerContainer_'+k+'" class="divNewTickerInnerContainer" style="width:'+((l.length*m)+5)+"px;height:"+o+'px;" >\n';this.nTotalNewsItems=l.length;for(n=0;n<this.nTotalNewsItems;n++){var j=l[n].getAttribute("style");i+="<div id='divNewsItem_"+k+"_"+(n+1)+"' class='divNewTickerNewsItem' style='";if((j!=undefined)&&(j!=null)){if(window.ActiveXObject){j=j.cssText}i+=j+";"}i+="width:"+m+"px;height:"+o+"px;' >\n";i+=l[n].innerHTML;i+="\n</div>\n"}i+="</div>\n</div>\n";i+="<table class='tblNewsTickerControls' border='0' cellspacing='0' cellpadding='0' width='95%' ><tr>";i+="<td width='20px' ><a href='#' onClick='"+this.sThisVarName+".showNewsItem(1); return(false);' ><img src='/assets/images/global/"+e+"First.gif' /></a></td>";i+="<td width='20px' ><a href='#' onClick='"+this.sThisVarName+".showPrevNewsItem(); return(false);' ><img src='/assets/images/global/"+e+"Previous.gif' /></a></td>";for(n=1;n<=this.nTotalNewsItems;n++){i+="<td align='middle' style='text-align: center;' ><a href='#' onClick='"+this.sThisVarName+".showNewsItem("+n+"); return(false);' >"+n+"</a></td>";this.nMax=n}i+="<td width='20px' ><a href='#' onClick='"+this.sThisVarName+".showNextNewsItem(); return(false);' ><img src='/assets/images/global/"+e+"Next.gif' /></a></td>";i+="<td width='20px' ><a href='#' onClick='"+this.sThisVarName+".showNewsItem("+this.nTotalNewsItems+"); return(false);' ><img src='/assets/images/global/"+e+"End.gif' /></a></td>";i+="</tr></table>\n";i+="\n</div>\n";i+='<div class="callout_footer"><div class="sw"></div><div class="se"></div></div>';i+='<div class="callout_footer_fade"></div></div>';$(k).innerHTML=i;$(k).style.display="block";this.restartTimer()};this.stopTimer=function(){try{if(this.nTimeoutID!=null){clearTimeout(this.nTimeoutID);this.nTimeoutID=null}}catch(f){}};this.restartTimer=function(){this.stopTimer();if(this.nAutoScrollInterval>0){this.nTimeoutID=setTimeout("processNewsTickerAutoScrollTimer( '"+this.sThisVarName+"' );",(this.nAutoScrollInterval*1000))}};this.processAutoScroll=function(){this.stopTimer();if(this.nAutoScrollInterval<=0){return}if(this.nCurr>=this.nMax){this.showNewsItem(1)}else{this.showNewsItem(this.nCurr+1)}};if((b!=undefined)&&(b!=null)){this.nAutoScrollInterval=b}if((c!=undefined)&&(c!=null)){this.initNewsTicker(c,a)}}function processNewsTickerInit(sJSVarName,sID,sBlueGreen){if((sJSVarName==undefined)||(sJSVarName==null)){return}eval(sJSVarName+".initNewsTicker( '"+sID+"', '"+sBlueGreen+"' );")}function processNewsTickerAutoScrollTimer(sJSVarName){if((sJSVarName==undefined)||(sJSVarName==null)){sJSVarName=g_sCurrentTickerVarName}eval(sJSVarName+".processAutoScroll();")}function restartNewsTickerAutoScrollTimer(sJSVarName){if((sJSVarName==undefined)||(sJSVarName==null)){sJSVarName=g_sCurrentTickerVarName}eval(sJSVarName+".restartTimer();")};
