1From: "Saved by Windows Internet Explorer 9" Subject: Agilent | Problems Using RS-232 on Agilent Instruments with Laptop PCs running any Microsoft OS Date: Mon, 3 Dec 2012 09:39:41 -0700 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0020_01CDD13A.1E65AA60" X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17609 This is a multi-part message in MIME format. ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: mhtml:file://C:\Users\toconway\Documents\Benchlink Data Logger\RS-232 & other Connection issues\Agilent Problems Using RS-232 on Agilent Instruments with Laptop PCs running any Microsoft OS.mht =EF=BB=BF Agilent | Problems = Using RS-232 on Agilent Instruments with Laptop PCs running any = Microsoft OS - 德赢Vwin官网
Store=20
Search:
= Talk=20 with an Expert
<= /DIV>

United=20 States Home > ... > 34970A=20 Data Acquisition Control Mainframe and Modules > 34970A=20 Data Acquisition Switch Unit >

Problems Using RS-232 on Agilent Instruments with Laptop PCs running = any=20 Microsoft OS

Symptoms: Timeouts, corrupt data, missing data, = error=20 messages while uploading data

Cause: The RS-232 I/O chip (UART) used on PCs has = only a=20 16-byte buffer. Without real-time flow control, it is possible for = buffer=20 overruns to occur, causing a loss of data. If the missing character = happens to=20 be a line feed, timeouts can result from the software never seeing the=20 end-of-line terminator. Other missing characters can cause returned data = to be=20 wrong.

The Microsoft serial driver does not implement true hardware flow = control. It=20 implements all flow control in the software driver. This makes it = susceptible to=20 PCI-bus lockouts, higher priority interrupts and interrupt disables. The = reason=20 for the software-based flow control is historical, due to the very = unreliable=20 early hardware designs: there were a myriad of clones of the 16550 UART, = most of=20 them defective. The only solution for Microsoft was to develop a = software driver=20 that used as few features as possible, and hardware flow control was = therefore=20 done in the driver. Microsoft is unable to change the driver at this = point to=20 fix this problem.

The problem has been observed only on laptop PCs, perhaps due to = software=20 overhead associated with power management and/or PCMCIA adapters, but=20 theoretically it could occur on desktop PCs too. Faster processors and = slower=20 RS-232 baud rates do not help enough to be a satisfactory workaround. =

Resolution: Do not use RS-232 for mission critical=20 applications. Instead (1) Consider using 34972A with USB and LAN = connectivity=20 built in OR (2) take advantage of the 34970A=C2=B4s = GPIB port.

  1. The 82357A USB / GPIB converter can be connected to a USB port on = the=20 portable PC and to the GPIB port on the 34970A. This option will work = with=20 laptops that have USB, and Windows 2000, 98 SE, or XP. Windows 3.1, 95 = and NT=20 do not support USB.=20
  2. Use an E5810A LAN to GPIB gateway. The gateway can be connected to = the=20 GPIB port on the 34970A then attached to the PC=C2=B4s LAN (or = directly to the PC=C2=B4s=20 LAN port). The LAN gateway is compatible with Windows=C2=AE 98 = (SE)/Me/NT/2000/XP.=20
  3. Install a PCMCIA GPIB card. Several vendors supply PCMCIA GPIB = cards and=20 typically support Windows=C2=AE 98 (SE)/Me/NT/2000/XP.=20
  4. Switch to a desktop PC using a 82350B GPIB card or the 82357A = USB-GPIB=20 converter. The 82350A is compatible with Windows=C2=AE 98 = /Me/NT/2000/XP. The=20 RS-232 problem has not been observed on a desktop PC - they use the = same=20 hardware and theoretically could have the same problem.

Note: Any of these choices will necessitate changes in your control = program.=20 Command strings remain the same, but the communications setups will need = to be=20 changed. The instrument mode can be changed programmatically using the = SCPI=20 command "SYSTem:INTerface {GPIB | RS232}" or via the front panel. In = addition,=20 any code used to initialize RS-232 parameters such as baud rate, parity, = and=20 flow control can be removed from the program. Code used to open the = RS-232 port=20 needs to be changed such that the GPIB interface is opened instead. This = is done=20 from Visual Basic via the commands:

Dim A_34970A As AgtIOServer
Dim iomgr As=20 AgilentIOUtilsLib.AgtIOManager
Set iomgr =3D New AgtIOManager
Set = A_34970A =3D=20 io_mgr.ConnectToInstrument ("GPIB::9").

If the GPIB address must be changed to something other than the = default (9),=20 this can only be done from the front panel. Consult the manual for more=20 information.

Related Links

  • 34972A=20 LXI Data Acquisition Switch Unit
    34972A 3-slot LXI data = acquisition=20 unit with built-in DMM, 8 switch & control plug-in modules and = standard=20 LAN and USB connectivity to the PC.=20
  • 34970A=20 Data Acquisition Switch Unit
    3-slot data acquisition unit with = built-in=20 DMM and 8 different switch & control plug-in modules.=20
  • 82357A=20 USB/GPIB Interface
    The Agilent 82357A provides a direct = connection from=20 the USB port on your notebook or desktop PC to GPIB instruments.=20
  • E5810A=20 LAN/GPIB Gateway
    The E5810A LAN/GPIB gateway provides remote = access and=20 control of GPIB instruments via your standard LAN connection.=20
  • 82350B=20 PCI High-Performance GPIB Interface Card
    The 82350B is a = low-cost,=20 high-performance IEEE-488 Interface for PCI-based PCs. =

Feedback

Privacy=20 Statement | Terms=20 of Use | Webmaster=20 | Contact=20 Agilent | About=20 Agilent | United=20 States Home | =C2=A9 Agilent 2000-2010 =

------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://cp.home.agilent.com/agilent/images3/frame/agilentlogo7.gif R0lGODlh+wA+ANUAAP////D4/e/3/PHx8fDw8N/w+uDw+tDp98/o9+Pi4uLi4cDh9b/g9NTU09PT 0rDZ8q/Z8qDS75/R78bFxMXEw5DK7Y/J7X/C6oDC6re2tba1tHC752+656mnpqinpV+y5WCz5U+r 4lCr4pqZl5mYlkCk4D+j34uKiDCc3YuJiCCU2n17enx6eRCN2ACF1W5sa21samBeXF9dW1FPTVBO TENAPjUyMDQxLzMxLiYkISYjICUiHxcUEQAAAAAAAAAAACH5BAAHAP8ALAAAAAD7AD4AAAb/QIBw SCwaj8ikcslsOp/QqHRKrVqv2Kx2y+16v+CweEwum8/otHrNbrvf8Lh8Tq/b7/i8fs/v+/9gFwWA hIV2BoaJiouMjY5LEgyPk5RYLhWVmZpPBgebn48LmFgCJaCniwUhEqitiiUYSBguLkmwrrh2IgtI BiIRSSC8ucR0DAJOCIPFzHIVLiJGCEYPLi3N2G/VG0Ug1stCBy0o2eVsBogFkgC0LrHqXCnyHk0K 8goA9in4Wx7y///4PZFHAQsFeVQO7qPEgBa3ErQWLKAFQksGHhh1NJmAcQIAjjw8VlHggMgMjChR inyC8QSWExipwAxJaRYtAAEieLJZK8uK/5QllyQ4cSLBx44JZcwo0oHoSR4viBqF0vJlzCkTpFJa 0MIFNyLiXFTMUoNHChI8XEIBuTLKyaVHZralmtYqD3NFDAwrEsBTFgUYNejgAVdIChoyHNCgQU8x jZJshSiAsRhGUMcaZNCAQQAAi8E6aMRFCoDAYcQahhAgsZjxkJYsEAddzOKwjIJCMtPuDGDmEN00 WPAGYNvD4pLGHwuhQDn48OSu6wiYJoSDCQhJBHwIQX36lA4YCdAILwQ8jxuD60aOTGDwjRsYIWO0 URYqgKdXi8gVclJH/dQAxIARfDysIARGOTx1w4EY1adDZxoM2KAQvgEQ4XkT9tZgDkjtR//BgO51 9pMOAtbVhgXTWPCBECi4gF01tCBzxAa0mAKACi5IAkEIyDBAXRICLpgCRhkIESQAHlS1HlIjYIQP fC8cxUORg8H1FhL7OYARPTDwUEM+GHUAwAs8aAQARlGSedeZXgLwE01lfXmhRxXGaSFSdrLQIVJH AsaDmFVd2UYF00TwVYsPAABjTzPSEs2NLvBygAgBAHCAX0kMBgMAHxbIHw+iderSkjSpKcR4S0Um qKBG7NckDwUNeVdkHcwAV1UVYrTUfhixUBquV/X6a13CzqkhnKAy6BJ8OtBzR19DYFBCokgEAIII fkEbhZY8wEDBhV/el6yoUnqkakq6liv/rpWEYbknurOSRgSwa6bLq1nKHstgCvlixG+ndCIFLw8x ANBAejcAuAc8RjB8xUzw4nNSqEoidW5aRJ0g5rnsFqbfu1FlrG4R9DK4q8D4sulSrilX5S+n73o0 YMYniDTACemplUdDXhWBQFdjWVGWDrbOUJ+YE8OsnsXvCuEPPRx/6jER+5nnkULqJtdZyWyeTBNG m/o5gr5sho3R2MImSdN+ghLEKQUKDDD0HjwBIIAE09RtBQFoDtFA32TuoEGXS9NEK0YU8G1f1OKG 2ypSf9dV1oIDBFpmvix77ZGAOCCJUQNkc+45D6CXhQMFMsQ8ZpkEdAqopyPuwVXPLeYY/1bQVFz0 JxGgGYxwxYYjNQCBGRnFuJprfkxTgOgW6Sa6anFtL1K6owRXhdWnC0D19QVM08Ep1TDA6jxwaOId BUyjlxDtxLK+3T9GkdUJ4w/R1AmdJTBCByC5NFRRAPjfVAawAlutYCoCBEBTxASAAYwgKkeY31QA MAJbvaAtHYjBDF7gvN7U7CNEoZDGQAjAj7zAVmMTwvyGMIETziCFQmjACDKwHq0YrIAvrJ8DLTgX OjzjK0OgUQsQMYSfkeMLsfEVSGCIFyMkcXvymsQsHkWEThRhItf4wqtIUKIJNrEIZGrW0OpXiQVU qgkHIOIX3nSeDn6xCAMokZdAR4kQYHLnCKqwQBLs+MY+ZiEA05LFTZAgAmr58ZBesJYhEcnIKzBg FFcogI0aSckqgKOSmPTCJTLJSS5E4IydDKUoR8mG+JHylE3AgBpRycpWuvKVsIylLGdJy1ra8pa4 zKUud8nLXvryl8AMpjCHScxiGtMMQQAAOw== ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/agilent/css3/panel.js /* panel.js v1 R10.1 jrg 2010-02-17 */ var scripts =3D document.getElementsByTagName("SCRIPT"); for(var i=3D0; i < scripts.length; i++) { if(/(.*)agilent\/css3\/panel\.js$/.test(scripts[i].src)) break; } var cdn =3D RegExp.$1; var panelPlusSrc =3D cdn + "agilent/images3/page/panel_plus.gif"; var panelMinusSrc =3D cdn + "agilent/images3/page/panel_minus.gif"; var panelPlusHoverSrc =3D cdn + = "agilent/images3/page/panel_plus_hover.gif"; var panelMinusHoverSrc =3D cdn + = "agilent/images3/page/panel_minus_hover.gif"; var panelExpandText =3D "click to expand"; /* use = language/locale-specific text here */ var panelCollapseText =3D "click to collapse"; /* use = language/locale-specific text here */ function simplePreload() {=20 var args =3D simplePreload.arguments; document.imageArray =3D new Array(args.length); for(var i=3D0; i=3D 3 check for Flash plugin in plugin array var flashVer =3D -1; =09 if (navigator.plugins !=3D null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || = navigator.plugins["Shockwave Flash"]) { var swVer2 =3D navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : = ""; var flashDescription =3D navigator.plugins["Shockwave Flash" + = swVer2].description; var descArray =3D flashDescription.split(" "); var tempArrayMajor =3D descArray[2].split("."); =09 var versionMajor =3D tempArrayMajor[0]; var versionMinor =3D tempArrayMajor[1]; var versionRevision =3D descArray[3]; if (versionRevision =3D=3D "") { versionRevision =3D descArray[4]; } if (versionRevision[0] =3D=3D "d") { versionRevision =3D versionRevision.substring(1); } else if (versionRevision[0] =3D=3D "r") { versionRevision =3D versionRevision.substring(1); if (versionRevision.indexOf("d") > 0) { versionRevision =3D versionRevision.substring(0, = versionRevision.indexOf("d")); } } var flashVer =3D versionMajor + "." + versionMinor + "." + = versionRevision; //alert("flashVer=3D"+flashVer); } } // MSN/WebTV 2.6 supports Flash 4 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") !=3D = -1) flashVer =3D 4; // WebTV 2.5 supports Flash 3 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") !=3D = -1) flashVer =3D 3; // older WebTV supports Flash 2 else if (navigator.userAgent.toLowerCase().indexOf("webtv") !=3D -1) = flashVer =3D 2; else if ( isIE && isWin && !isOpera ) { flashVer =3D ControlVersion(); }=09 return flashVer; } // When called with reqMajorVer, reqMinorVer, reqRevision returns true = if that version or greater is available function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) { versionStr =3D GetSwfVer(); if (versionStr =3D=3D -1 ) { return false; } else if (versionStr !=3D 0) { if(isIE && isWin && !isOpera) { // Given "WIN 2,0,0,11" tempArray =3D versionStr.split(" "); // ["WIN", "2,0,0,11"] tempString =3D tempArray[1]; // "2,0,0,11" versionArray =3D tempString.split(","); // ['2', '0', '0', '11'] } else { versionArray =3D versionStr.split("."); } var versionMajor =3D versionArray[0]; var versionMinor =3D versionArray[1]; var versionRevision =3D versionArray[2]; // is the major.revision >=3D requested major.revision AND the = minor version >=3D requested minor if (versionMajor > parseFloat(reqMajorVer)) { return true; } else if (versionMajor =3D=3D parseFloat(reqMajorVer)) { if (versionMinor > parseFloat(reqMinorVer)) return true; else if (versionMinor =3D=3D parseFloat(reqMinorVer)) { if (versionRevision >=3D parseFloat(reqRevision)) return true; } } return false; } } function AC_AddExtension(src, ext) { if (src.indexOf('?') !=3D -1) return src.replace(/\?/, ext+'?');=20 else return src + ext; } function AC_Generateobj(objAttrs, params, embedAttrs)=20 {=20 var str =3D ''; if (isIE && isWin && !isOpera) { str +=3D ' = '; str +=3D '>'; } else { str +=3D ' '; } str =3D str.replace(/classname=3D/i,"class=3D"); document.write(str); } function AC_FL_RunContent(){ var ret =3D=20 AC_GetArgs ( arguments, ".swf", "movie", = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" , "application/x-shockwave-flash" ); AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs); } function AC_GetArgs(args, ext, srcParamName, classid, mimeType){ var ret =3D new Object(); ret.embedAttrs =3D new Object(); ret.params =3D new Object(); ret.objAttrs =3D new Object(); for (var i=3D0; i < args.length; i=3Di+2){ var currArg =3D args[i].toLowerCase(); =20 switch (currArg){=09 case "classid": break; case "pluginspage": ret.embedAttrs[args[i]] =3D args[i+1]; break; case "src": case "movie":=09 if(AC_GetArgs.addSwfExt) args[i+1] =3D AC_AddExtension(args[i+1], ext); ret.embedAttrs["src"] =3D args[i+1]; ret.params[srcParamName] =3D args[i+1]; 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": ret.objAttrs[args[i]] =3D args[i+1]; break; case "id": case "width": case "height": case "align": case "vspace":=20 case "hspace": case "classname": case "style": case "title": case "accesskey": case "name": case "tabindex": ret.embedAttrs[args[i]] =3D ret.objAttrs[args[i]] =3D args[i+1]; break; default: ret.embedAttrs[args[i]] =3D ret.params[args[i]] =3D args[i+1]; } } ret.objAttrs["classid"] =3D classid; if (mimeType) ret.embedAttrs["type"] =3D mimeType; return ret; } AC_GetArgs.addSwfExt =3D true; ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/agilent/css3/flash.js /* flash.js v2 ICE jrg 2011-02-16 */ // DetectFlashVer(requiredMajorVersion, requiredMinorVersion, = requiredRevision) var hasFlashVersion =3D DetectFlashVer(6, 0, 0); function displayFlash(attributes, altContent, addSwfExt) { if(hasFlashVersion) { if(addSwfExt) { attributes["src"] =3D attributes["src"].replace(/\.swf$/i,""); AC_GetArgs.addSwfExt =3D true; } else=20 AC_GetArgs.addSwfExt =3D false; attributes["menu"] =3D "true"; attributes["wmode"] =3D "transparent"; attributes["allowScriptAccess"] =3D "sameDomain"; attributes["codebase"] =3D = "http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"; attributes["pluginspage"] =3D = "http://www.adobe.com/go/getflashplayer"; var args =3D new Array(); for(var i in attributes) { if(attributes[i] =3D=3D "") continue; args.push(i,attributes[i]); } AC_FL_RunContent.apply(this, args); } else { if(!attributes["classname"]) attributes["classname"] =3D "altcontent"; if(!attributes["width"]) attributes["width"] =3D "auto"; document.write('

'+ altContent = +'

'); } } //CX1 - Release 1 - Added to integrate Scene 7 viewers into A.com Image = gallery page function insertFlash(containerId, attributes, altContent, addSwfExt) { if(hasFlashVersion) { if(addSwfExt) { attributes["src"] =3D attributes["src"].replace(/\.swf$/i,""); AC_GetArgs.addSwfExt =3D true; } else=20 AC_GetArgs.addSwfExt =3D false; attributes["menu"] =3D "true"; attributes["wmode"] =3D "transparent"; attributes["allowScriptAccess"] =3D "sameDomain"; attributes["codebase"] =3D = "http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"; attributes["pluginspage"] =3D = "http://www.adobe.com/go/getflashplayer"; var args =3D new Array(); for(var i in attributes) { if(attributes[i] =3D=3D "") continue; args.push(i,attributes[i]); } document.getElementById(containerId).innerHTML =3D = AC_FL_RunContent2.apply(this, args); } else { if(!attributes["classname"]) attributes["classname"] =3D "altcontent"; if(!attributes["width"]) attributes["width"] =3D "auto"; document.getElementById(containerId).innerHTML =3D '

'+ altContent +'

'; } } function AC_Generateobj2(objAttrs, params, embedAttrs)=20 {=20 var str =3D ''; if (isIE && isWin && !isOpera) { str +=3D ' = '; str +=3D '>'; } else { str +=3D ' '; } return(str); } function AC_FL_RunContent2(){ var ret =3D=20 AC_GetArgs ( arguments, ".swf", "movie", = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" , "application/x-shockwave-flash" ); return(AC_Generateobj2(ret.objAttrs, ret.params, ret.embedAttrs)); } ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/agilent/css3/wforms.js var = base2=3D{name:"base2",version:"1.0",exports:"Base,Package,Abstract,Module= ,Enumerable,Map,Collection,RegGrp,Undefined,Null,This,True,False,assignID= ,detect,global",namespace:""};new function(_no_shrink_){var = Undefined=3DK(),Null=3DK(null),True=3DK(true),False=3DK(false),This=3Dfun= ction(){return this};var global=3DThis();var base2=3Dglobal.base2;var = _FORMAT=3D/%([1-9])/g;var _LTRIM=3D/^\s\s*/;var _RTRIM=3D/\s\s*$/;var = _RESCAPE=3D/([\/()[\]{}|*+-.,^$?\\])/g;var = _BASE=3D/try/.test(detect)?/\bbase\b/:/.*/;var = _HIDDEN=3D["constructor","toString","valueOf"];var = _MSIE_NATIVE_FUNCTION=3Ddetect("(jscript)")?new = RegExp("^"+rescape(isNaN).replace(/isNaN/,"\\w+")+"$"):{test:False};var = _counter=3D1;var = _slice=3DArray.prototype.slice;_Function_forEach();function = assignID(object){if(!object.base2ID){object.base2ID=3D"b2_"+_counter++}re= turn object.base2ID}var = _subclass=3Dfunction(_instance,_static){base2.__prototyping=3Dthis.protot= ype;var _prototype=3Dnew = this;if(_instance){extend(_prototype,_instance)}delete = base2.__prototyping;var _constructor=3D_prototype.constructor;function = _class(){if(!base2.__prototyping){if(this.constructor=3D=3Darguments.call= ee||this.__constructing){this.__constructing=3Dtrue;_constructor.apply(th= is,arguments);delete this.__constructing}else{return = extend(arguments[0],_prototype)}}return = this}_prototype.constructor=3D_class;for(var i in = Base){_class[i]=3Dthis[i]}_class.ancestor=3Dthis;_class.base=3DUndefined;= if(_static){extend(_class,_static)}_class.prototype=3D_prototype;if(_clas= s.init){_class.init()}_class["#implements"]=3D[];_class["#implemented_by"= ]=3D[];return _class};var = Base=3D_subclass.call(Object,{constructor:function(){if(arguments.length>= 0){this.extend(arguments[0])}},base:function(){},extend:delegate(extend)}= ,Base=3D{ancestorOf:function(klass){return = _ancestorOf(this,klass)},extend:_subclass,forEach:function(object,block,c= ontext){_Function_forEach(this,object,block,context)},implement:function(= source){if(typeof = source=3D=3D"function"){if(_ancestorOf(Base,source)){this["#implements"].= push(source);source["#implemented_by"].push(this)}source=3Dsource.prototy= pe}extend(this.prototype,source);return this}});var = Package=3DBase.extend({constructor:function(_private,_public){this.extend= (_public);if(this.init){this.init()}if(this.name&&this.name!=3D"base2"){i= f(!this.parent){this.parent=3Dbase2}this.parent.addName(this.name,this);t= his.namespace=3Dformat("var = %1=3D%2;",this.name,String2.slice(this,1,-1))}if(_private){var = JSNamespace=3Dbase2.JavaScript?base2.JavaScript.namespace:"";_private.imp= orts=3DArray2.reduce(csv(this.imports),function(namespace,name){var = ns=3Dlookup(name)||lookup("JavaScript."+name);assert(ns,format("Object = not found: '%1'.",name),ReferenceError);return = namespace+=3Dns.namespace},"var base2=3D(function(){return = this.base2})();"+base2.namespace+JSNamespace)+lang.namespace;_private.exp= orts=3DArray2.reduce(csv(this.exports),function(namespace,name){var = fullName=3Dthis.name+"."+name;this.namespace+=3D"var = "+name+"=3D"+fullName+";";return = namespace+=3D"if(!"+fullName+")"+fullName+"=3D"+name+";"},"",this)+"this.= _label_"+this.name+"();";var pkg=3Dthis;var = packageName=3DString2.slice(this,1,-1);_private["_label_"+this.name]=3Dfu= nction(){Package.forEach(pkg,function(object,name){if(object&&object.ance= storOf=3D=3DBase.ancestorOf){object.toString=3DK(format("[%1.%2]",package= Name,name));if(object.prototype.toString=3D=3DBase.prototype.toString){ob= ject.prototype.toString=3DK(format("[object = %1.%2]",packageName,name))}}})}}function = lookup(names){names=3Dnames.split(".");var = value=3Dbase2,i=3D0;while(value&&names[i]!=3Dnull){value=3Dvalue[names[i+= +]]}return = value}},exports:"",imports:"",name:"",namespace:"",parent:null,addName:fu= nction(name,value){if(!this[name]){this[name]=3Dvalue;this.exports+=3D","= +name;this.namespace+=3Dformat("var = %1=3D%2.%1;",name,this.name)}},addPackage:function(name){this.addName(nam= e,new Package(null,{name:name,parent:this}))},toString:function(){return = format("[%1]",this.parent?String2.slice(this.parent,1,-1)+"."+this.name:t= his.name)}});var Abstract=3DBase.extend({constructor:function(){throw = new TypeError("Abstract class cannot be instantiated.")}});var = _moduleCount=3D0;var = Module=3DAbstract.extend(null,{namespace:"",extend:function(_interface,_s= tatic){var module=3Dthis.base();var = index=3D_moduleCount++;module.namespace=3D"";module.partial=3Dthis.partia= l;module.toString=3DK("[base2.Module["+index+"]]");Module[index]=3Dmodule= ;module.implement(this);if(_interface){module.implement(_interface)}if(_s= tatic){extend(module,_static);if(module.init){module.init()}}return = module},forEach:function(block,context){_Function_forEach(Module,this.pro= totype,function(method,name){if(typeOf(method)=3D=3D"function"){block.cal= l(context,this[name],name,this)}},this)},implement:function(_interface){v= ar module=3Dthis;var id=3Dmodule.toString().slice(1,-1);if(typeof = _interface=3D=3D"function"){if(!_ancestorOf(_interface,module)){this.base= (_interface)}if(_ancestorOf(Module,_interface)){for(var name in = _interface){if(module[name]=3D=3D=3Dundefined){var = property=3D_interface[name];if(typeof = property=3D=3D"function"&&property.call&&_interface.prototype[name]){prop= erty=3D_staticModuleMethod(_interface,name)}module[name]=3Dproperty}}modu= le.namespace+=3D_interface.namespace.replace(/base2\.Module\[\d+\]/g,id)}= }else{extend(module,_interface);_extendModule(module,_interface)}return = module},partial:function(){var module=3DModule.extend();var = id=3Dmodule.toString().slice(1,-1);module.namespace=3Dthis.namespace.repl= ace(/(\w+)=3Db[^\)]+\)/g,"$1=3D"+id+".$1");this.forEach(function(method,n= ame){module[name]=3Dpartial(bind(method,module))});return = module}});function _extendModule(module,_interface){var = proto=3Dmodule.prototype;var id=3Dmodule.toString().slice(1,-1);for(var = name in _interface){var = property=3D_interface[name],namespace=3D"";if(name.charAt(0)=3D=3D"@"){if= (detect(name.slice(1))){_extendModule(module,property)}}else{if(!proto[na= me]){if(name=3D=3Dname.toUpperCase()){namespace=3D"var = "+name+"=3D"+id+"."+name+";"}else{if(typeof = property=3D=3D"function"&&property.call){namespace=3D"var = "+name+"=3Dbase2.lang.bind('"+name+"',"+id+");";proto[name]=3D_moduleMeth= od(module,name);proto[name]._module=3Dmodule}}if(module.namespace.indexOf= (namespace)=3D=3D-1){module.namespace+=3Dnamespace}}}}}function = _staticModuleMethod(module,name){return function(){return = module[name].apply(module,arguments)}}function = _moduleMethod(module,name){return function(){var = args=3D_slice.call(arguments);args.unshift(this);return = module[name].apply(module,args)}}var = Enumerable=3DModule.extend({every:function(object,test,context){var = result=3Dtrue;try{forEach(object,function(value,key){result=3Dtest.call(c= ontext,value,key,object);if(!result){throw = StopIteration}})}catch(error){if(error!=3DStopIteration){throw = error}}return !!result},filter:function(object,test,context){var = i=3D0;return = this.reduce(object,function(result,value,key){if(test.call(context,value,= key,object)){result[i++]=3Dvalue}return = result},[])},invoke:function(object,method){var = args=3D_slice.call(arguments,2);return this.map(object,(typeof = method=3D=3D"function")?function(item){return = item=3D=3Dnull?undefined:method.apply(item,args)}:function(item){return = item=3D=3Dnull?undefined:item[method].apply(item,args)})},map:function(ob= ject,block,context){var = result=3D[],i=3D0;forEach(object,function(value,key){result[i++]=3Dblock.= call(context,value,key,object)});return = result},pluck:function(object,key){return = this.map(object,function(item){return = item=3D=3Dnull?undefined:item[key]})},reduce:function(object,block,result= ,context){var = initialised=3Darguments.length>2;forEach(object,function(value,key){if(in= itialised){result=3Dblock.call(context,result,value,key,object)}else{resu= lt=3Dvalue;initialised=3Dtrue}});return = result},some:function(object,test,context){return = !this.every(object,not(test),context)}});var _HASH=3D"#";var = Map=3DBase.extend({constructor:function(values){if(values){this.merge(val= ues)}},clear:function(){for(var key in = this){if(key.indexOf(_HASH)=3D=3D0){delete = this[key]}}},copy:function(){base2.__prototyping=3Dtrue;var copy=3Dnew = this.constructor;delete base2.__prototyping;for(var i in = this){if(this[i]!=3D=3Dcopy[i]){copy[i]=3Dthis[i]}}return = copy},forEach:function(block,context){for(var key in = this){if(key.indexOf(_HASH)=3D=3D0){block.call(context,this[key],key.slic= e(1),this)}}},get:function(key){return = this[_HASH+key]},getKeys:function(){return = this.map(II)},getValues:function(){return = this.map(I)},has:function(key){/*@cc_on @*//*@if (@_jscript_version < = 5.5) return $Legacy.has(this, _HASH + key); @else @*/return _HASH+key in this;/*@end = @*/},merge:function(values){var = put=3Dflip(this.put);forEach(arguments,function(values){forEach(values,pu= t,this)},this);return = this},put:function(key,value){this[_HASH+key]=3Dvalue},remove:function(ke= y){delete this[_HASH+key]},size:function(){var size=3D0;for(var key in = this){if(key.indexOf(_HASH)=3D=3D0){size++}}return = size},union:function(values){return = this.merge.apply(this.copy(),arguments)}});Map.implement(Enumerable);Map.= prototype.filter=3Dfunction(test,context){return = this.reduce(function(result,value,key){if(!test.call(context,value,key,th= is)){result.remove(key)}return result},this.copy(),this)};var = _KEYS=3D"~";var = Collection=3DMap.extend({constructor:function(values){this[_KEYS]=3Dnew = Array2;this.base(values)},add:function(key,item){assert(!this.has(key),"D= uplicate key = '"+key+"'.");this.put.apply(this,arguments)},clear:function(){this.base()= ;this[_KEYS].length=3D0},copy:function(){var = copy=3Dthis.base();copy[_KEYS]=3Dthis[_KEYS].copy();return = copy},forEach:function(block,context){var keys=3Dthis[_KEYS];var = length=3Dkeys.length;for(var = i=3D0;i0){var = keys=3Dthis[_KEYS],removed=3Dkeys;sliced[_KEYS]=3DArray2(_slice.apply(key= s,arguments));if(sliced[_KEYS].length){removed=3Dremoved.slice(0,start);i= f(arguments.length>1){removed=3Dremoved.concat(keys.slice(end))}}for(var = i=3D0;i2){var = key=3Dsource;source=3D{};source[key]=3Darguments[2]}var = proto=3Dglobal[(typeof = source=3D=3D"function"?"Function":"Object")].prototype;if(base2.__prototy= ping){var i=3D_HIDDEN.length,key;while((key=3D_HIDDEN[--i])){var = value=3Dsource[key];if(value!=3Dproto[key]){if(_BASE.test(value)){_overri= de(object,key,value)}else{object[key]=3Dvalue}}}}for(key in = source){if(proto[key]=3D=3D=3Dundefined){var = value=3Dsource[key];if(key.charAt(0)=3D=3D"@"){if(detect(key.slice(1))){e= xtend(object,value)}}else{var ancestor=3Dobject[key];if(ancestor&&typeof = value=3D=3D"function"){if(value!=3Dancestor){if(_BASE.test(value)){_overr= ide(object,key,value)}else{value.ancestor=3Dancestor;object[key]=3Dvalue}= }}else{object[key]=3Dvalue}}}}}return object}function = _ancestorOf(ancestor,fn){while(fn){if(!fn.ancestor){return = false}fn=3Dfn.ancestor;if(fn=3D=3Dancestor){return true}}return = false}function _override(object,name,method){var = ancestor=3Dobject[name];var = superObject=3Dbase2.__prototyping;if(superObject&&ancestor!=3DsuperObject= [name]){superObject=3Dnull}function _base(){var = previous=3Dthis.base;this.base=3DsuperObject?superObject[name]:ancestor;v= ar = returnValue=3Dmethod.apply(this,arguments);this.base=3Dprevious;return = returnValue}_base.method=3Dmethod;_base.ancestor=3Dancestor;object[name]=3D= _base;_base.toString=3DK(method+"")}if(typeof = StopIteration=3D=3D"undefined"){StopIteration=3Dnew = Error("StopIteration")}function = forEach(object,block,context,fn){if(object=3D=3Dnull){return = }if(!fn){if(typeof = object=3D=3D"function"&&object.call){fn=3DFunction}else{if(typeof = object.forEach=3D=3D"function"&&object.forEach!=3Darguments.callee){objec= t.forEach(block,context);return }else{if(typeof = object.length=3D=3D"number"){_Array_forEach(object,block,context);return = }}}}_Function_forEach(fn||Object,object,block,context)}forEach.csv=3Dfunc= tion(string,block,context){forEach(csv(string),block,context)};forEach.de= tect=3Dfunction(object,block,context){forEach(object,function(value,key){= if(key.charAt(0)=3D=3D"@"){if(detect(key.slice(1))){forEach(value,argumen= ts.callee)}}else{block.call(context,value,key,object)}})};function = _Array_forEach(array,block,context){if(array=3D=3Dnull){array=3Dglobal}va= r length=3Darray.length||0,i;if(typeof = array=3D=3D"string"){for(i=3D0;i1)?function(fn,object,block,cont= ext){var processed=3D{};for(var key in = object){if(!processed[key]&&fn.prototype[key]=3D=3D=3Dundefined){processe= d[key]=3Dtrue;block.call(context,object[key],key,object)}}}:function(fn,o= bject,block,context){for(var key in = object){if(fn.prototype[key]=3D=3D=3Dundefined){block.call(context,object= [key],key,object)}}};_Function_forEach(fn,object,block,context)}function = instanceOf(object,klass){if(typeof klass!=3D"function"){throw new = TypeError("Invalid 'instanceOf' operand.")}if(object=3D=3Dnull){return = false;/*@cc_on =20 // COM objects don't have a constructor if (typeof object.constructor !=3D "function") { return typeOf(object) =3D=3D typeof klass.prototype.valueOf(); } @*/}if(object.constructor=3D=3Dklass){return = true}if(klass.ancestorOf){return = klass.ancestorOf(object.constructor);/*@if (@_jscript_version < 5.1) // do nothing @else @*/}if(object instanceof klass){return true;/*@end = @*/}if(Base.ancestorOf=3D=3Dklass.ancestorOf){return = false}if(Base.ancestorOf=3D=3Dobject.constructor.ancestorOf){return = klass=3D=3DObject}switch(klass){case Array:return !!(typeof = object=3D=3D"object"&&object.join&&object.splice);case Function:return = typeOf(object)=3D=3D"function";case RegExp:return typeof = object.constructor.$1=3D=3D"string";case Date:return = !!object.getTimezoneOffset;case String:case Number:case Boolean:return = typeOf(object)=3D=3Dtypeof klass.prototype.valueOf();case Object:return = true}return false}function typeOf(object){var type=3Dtypeof = object;switch(type){case"object":return object=3D=3Dnull?"null":typeof = object.constructor=3D=3D"undefined"?_MSIE_NATIVE_FUNCTION.test(object)?"f= unction":type:typeof = object.constructor.prototype.valueOf();case"function":return typeof = object.call=3D=3D"function"?type:"object";default:return type}}var = JavaScript=3D{name:"JavaScript",version:base2.version,exports:"Array2,Dat= e2,Function2,String2",namespace:"",bind:function(host){var = top=3Dglobal;global=3Dhost;forEach.csv(this.exports,function(name2){var = name=3Dname2.slice(0,-1);extend(host[name],this[name2]);this[name2](host[= name].prototype)},this);global=3Dtop;return host}};function = _createObject2(Native,constructor,generics,extensions){var = INative=3DModule.extend();var = id=3DINative.toString().slice(1,-1);forEach.csv(generics,function(name){I= Native[name]=3Dunbind(Native.prototype[name]);INative.namespace+=3Dformat= ("var = %1=3D%2.%1;",name,id)});forEach(_slice.call(arguments,3),INative.implemen= t,INative);var Native2=3Dfunction(){return = INative(this.constructor=3D=3DINative?constructor.apply(null,arguments):a= rguments[0])};Native2.prototype=3DINative.prototype;for(var name in = INative){if(name!=3D"prototype"&&Native[name]){INative[name]=3DNative[nam= e];delete = INative.prototype[name]}Native2[name]=3DINative[name]}Native2.ancestor=3D= Object;delete = Native2.extend;Native2.namespace=3DNative2.namespace.replace(/(var = (\w+)=3D)[^,;]+,([^\)]+)\)/g,"$1$3.$2");return Native2}if((new = Date).getYear()>1900){Date.prototype.getYear=3Dfunction(){return = this.getFullYear()-1900};Date.prototype.setYear=3Dfunction(year){return = this.setFullYear(year+1900)}}var _testDate=3Dnew = Date(Date.UTC(2006,1,20));_testDate.setUTCDate(15);if(_testDate.getUTCHou= rs()!=3D0){forEach.csv("FullYear,Month,Date,Hours,Minutes,Seconds,Millise= conds",function(type){extend(Date.prototype,"setUTC"+type,function(){var = value=3Dbase(this,arguments);if(value>=3D57722401000){value-=3D3600000;th= is.setTime(value)}return = value})})}Function.prototype.prototype=3D{};if("".replace(/^/,K("$$"))=3D= =3D"$"){extend(String.prototype,"replace",function(expression,replacement= ){if(typeof replacement=3D=3D"function"){var = fn=3Dreplacement;replacement=3Dfunction(){return = String(fn.apply(null,arguments)).split("$").join("$$")}}return = this.base(expression,replacement)})}var = Array2=3D_createObject2(Array,Array,"concat,join,pop,push,reverse,shift,s= lice,sort,splice,unshift",Enumerable,{combine:function(keys,values){if(!v= alues){values=3Dkeys}return = Array2.reduce(keys,function(hash,key,index){hash[key]=3Dvalues[index];ret= urn hash},{})},contains:function(array,item){return = Array2.indexOf(array,item)!=3D-1},copy:function(array){var = copy=3D_slice.call(array);if(!copy.swap){Array2(copy)}return = copy},flatten:function(array){var i=3D0;return = Array2.reduce(array,function(result,item){if(Array2.like(item)){Array2.re= duce(item,arguments.callee,result)}else{result[i++]=3Ditem}return = result},[])},forEach:_Array_forEach,indexOf:function(array,item,fromIndex= ){var = length=3Darray.length;if(fromIndex=3D=3Dnull){fromIndex=3D0}else{if(fromI= ndex<0){fromIndex=3DMath.max(0,length+fromIndex)}}for(var = i=3DfromIndex;i=3D0;i--){if(array[i]=3D=3D=3Ditem){return i}}return = -1},map:function(array,block,context){var = result=3D[];Array2.forEach(array,function(item,index){result[index]=3Dblo= ck.call(context,item,index,array)});return = result},remove:function(array,item){var = index=3DArray2.indexOf(array,item);if(index!=3D-1){Array2.removeAt(array,= index)}},removeAt:function(array,index){Array2.splice(array,index,1)},swa= p:function(array,index1,index2){if(index1<0){index1+=3Darray.length}if(in= dex2<0){index2+=3Darray.length}var = temp=3Darray[index1];array[index1]=3Darray[index2];array[index2]=3Dtemp;r= eturn = array}});Array2.reduce=3DEnumerable.reduce;Array2.like=3Dfunction(object)= {return typeOf(object)=3D=3D"object"&&typeof = object.length=3D=3D"number"};Enumerable["#implemented_by"].pop();Enumerab= le["#implemented_by"].push(Array2);var = _DATE_PATTERN=3D/^((-\d+|\d{4,})(-(\d{2})(-(\d{2}))?)?)?T((\d{2})(:(\d{2}= )(:(\d{2})(\.(\d{1,3})(\d)?\d*)?)?)?)?(([+-])(\d{2})(:(\d{2}))?|Z)?$/;var= = _DATE_PARTS=3D{FullYear:2,Month:4,Date:6,Hours:8,Minutes:10,Seconds:12,Mi= lliseconds:14};var = _TIMEZONE_PARTS=3D{Hectomicroseconds:15,UTC:16,Sign:17,Hours:18,Minutes:2= 0};var _TRIM_ZEROES=3D/(((00)?:0+)?:0+)?\.0+$/;var = _TRIM_TIMEZONE=3D/(T[0-9:.]+)$/;var = Date2=3D_createObject2(Date,function(yy,mm,dd,h,m,s,ms){switch(arguments.= length){case 0:return new Date;case 1:return typeof yy=3D=3D"number"?new = Date(yy):Date2.parse(yy);default:return new = Date(yy,mm,arguments.length=3D=3D2?1:dd,h||0,m||0,s||0,ms||0)}},"",{toISO= String:function(date){var string=3D"####-##-##T##:##:##.###";for(var = part in _DATE_PARTS){string=3Dstring.replace(/#+/,function(digits){var = value=3Ddate["getUTC"+part]();if(part=3D=3D"Month"){value++}return("000"+= value).slice(-digits.length)})}return = string.replace(_TRIM_ZEROES,"").replace(_TRIM_TIMEZONE,"$1Z")}});delete = Date2.forEach;Date2.now=3Dfunction(){return(new = Date).valueOf()};Date2.parse=3Dfunction(string,defaultDate){if(arguments.= length>1){assertType(defaultDate,"number","default date should be of = type 'number'.")}var = parts=3Dmatch(string,_DATE_PATTERN);if(parts.length){if(parts[_DATE_PARTS= .Month]){parts[_DATE_PARTS.Month]--}if(parts[_TIMEZONE_PARTS.Hectomicrose= conds]>=3D5){parts[_DATE_PARTS.Milliseconds]++}var date=3Dnew = Date(defaultDate||0);var = prefix=3Dparts[_TIMEZONE_PARTS.UTC]||parts[_TIMEZONE_PARTS.Hours]?"UTC":"= ";for(var part in _DATE_PARTS){var = value=3Dparts[_DATE_PARTS[part]];if(!value){continue}date["set"+prefix+pa= rt](value);if(date["get"+prefix+part]()!=3Dparts[_DATE_PARTS[part]]){retu= rn NaN}}if(parts[_TIMEZONE_PARTS.Hours]){var = hours=3DNumber(parts[_TIMEZONE_PARTS.Sign]+parts[_TIMEZONE_PARTS.Hours]);= var = minutes=3DNumber(parts[_TIMEZONE_PARTS.Sign]+(parts[_TIMEZONE_PARTS.Minut= es]||0));date.setUTCMinutes(date.getUTCMinutes()+(hours*60)+minutes)}retu= rn date.valueOf()}else{return Date.parse(string)}};var = String2=3D_createObject2(String,function(string){return new = String(arguments.length=3D=3D0?"":string)},"charAt,charCodeAt,concat,inde= xOf,lastIndexOf,match,replace,search,slice,split,substr,substring,toLower= Case,toUpperCase",{csv:csv,format:format,rescape:rescape,trim:trim});dele= te String2.forEach;function trim(string){return = String(string).replace(_LTRIM,"").replace(_RTRIM,"")}function = csv(string){return string?(string+"").split(/\s*,\s*/):[]}function = format(string){var args=3Darguments;var pattern=3Dnew = RegExp("%([1-"+(arguments.length-1)+"])","g");return(string+"").replace(p= attern,function(match,index){return args[index]})}function = match(string,expression){return(string+"").match(expression)||[]}function= rescape(string){return(string+"").replace(_RESCAPE,"\\$1")}var = Function2=3D_createObject2(Function,Function,"",{I:I,II:II,K:K,bind:bind,= compose:compose,delegate:delegate,flip:flip,not:not,partial:partial,unbin= d:unbind});function I(i){return i}function II(i,ii){return ii}function = K(k){return function(){return k}}function bind(fn,context){var = lateBound=3Dtypeof fn!=3D"function";if(arguments.length>2){var = args=3D_slice.call(arguments,2);return = function(){return(lateBound?context[fn]:fn).apply(context,args.concat.app= ly(args,arguments))}}else{return = function(){return(lateBound?context[fn]:fn).apply(context,arguments)}}}fu= nction compose(){var fns=3D_slice.call(arguments);return function(){var = i=3Dfns.length,result=3Dfns[--i].apply(this,arguments);while(i--){result=3D= fns[i].call(this,result)}return result}}function = delegate(fn,context){return function(){var = args=3D_slice.call(arguments);args.unshift(this);return = fn.apply(context,args)}}function flip(fn){return function(){return = fn.apply(this,Array2.swap(arguments,0,1))}}function not(fn){return = function(){return !fn.apply(this,arguments)}}function partial(fn){var = args=3D_slice.call(arguments,1);return function(){var = specialised=3Dargs.concat(),i=3D0,j=3D0;while(iotherIndex){return 2}}return = 0}}},{"@Gecko":{bind:function(node){return = extend(this.base(node),"removeEventListener",function(){var = args=3DArray2.slice(arguments);args.unshift(this);EventTarget.removeEvent= Listener.apply(EventTarget,args)})}}});var = _getSourceIndex=3Ddocument.documentElement.sourceIndex?function(node){ret= urn node.sourceIndex}:function(node){var = key=3D0;while(node){key=3DTraversal.getNodeIndex(node)+"."+key;node=3Dnod= e.parentNode}return key};var = Document=3DNode.extend(null,{bind:function(document){extend(document,"cre= ateElement",function(tagName){return = DOM.bind(this.base(tagName))});AbstractView.bind(document.defaultView);if= (document!=3Dwindow.document){new DOMContentLoadedEvent(document)}return = this.base(document)},"@!(document.defaultView)":{bind:function(document){= document.defaultView=3DTraversal.getDefaultView(document);return = this.base(document)}}});var = _ATTRIBUTES=3D{"class":"className","for":"htmlFor"};var = Element=3DNode.extend({"@MSIE.+win":{getAttribute:function(element,name){= if(element.className=3D=3D=3Dundefined){return = this.base(element,name)}var = attribute=3D_getAttributeNode(element,name);if(attribute&&(attribute.spec= ified||name=3D=3D"value")){if(name=3D=3D"href"||name=3D=3D"src"){element.= base=3Delement.getAttribute.ancestor;return = element[element.base?"base":"getAttribute"](name,2)}else{if(name=3D=3D"st= yle"){return element.style.cssText.toLowerCase()}else{return = attribute.nodeValue}}}else{if(name=3D=3D"type"&&element.nodeName=3D=3D"IN= PUT"){var = outerHTML=3Delement.outerHTML;with(outerHTML){outerHTML=3Dslice(0,indexOf= (">")+1)}return = match(outerHTML,/type=3D"?([^\s">]*)"?/i)[1]||null}}return = null},removeAttribute:function(element,name){if(element.className!=3D=3Du= ndefined){name=3D_ATTRIBUTES[name.toLowerCase()]||name}this.base(element,= name)},setAttribute:function(element,name,value){if(element.className=3D=3D= =3Dundefined){this.base(element,name,value)}else{if(name=3D=3D"style"){el= ement.style.cssText=3Dvalue}else{value=3DString(value);var = attribute=3D_getAttributeNode(element,name);if(attribute){attribute.nodeV= alue=3Dvalue}else{this.base(element,_ATTRIBUTES[name.toLowerCase()]||name= ,value)}}}}},"@!(element.hasAttribute)":{hasAttribute:function(element,na= me){if(element.className=3D=3D=3Dundefined){return = this.base(element,name)}return = this.getAttribute(element,name)!=3Dnull}}});if(detect("MSIE.+win")){exten= d(Element.prototype,"cloneNode",function(deep){var = clone=3Dthis.base(deep||false);clone.base2ID=3Dundefined;return = clone})}var = _HTML_ATTRIBUTES=3D"colSpan,rowSpan,vAlign,dateTime,accessKey,tabIndex,en= cType,maxLength,readOnly,longDesc";extend(_ATTRIBUTES,Array2.combine(_HTM= L_ATTRIBUTES.toLowerCase().split(","),_HTML_ATTRIBUTES.split(",")));var = _getAttributeNode=3Ddocument.documentElement.getAttributeNode?function(el= ement,name){return = element.getAttributeNode(name)}:function(element,name){return = element.attributes[name]||element.attributes[_ATTRIBUTES[name.toLowerCase= ()]]};var = TEXT=3Ddetect("(element.textContent=3D=3D=3Dundefined)")?"innerText":"tex= tContent";var = Traversal=3DModule.extend({getDefaultView:function(node){return = this.getDocument(node).defaultView},getNextElementSibling:function(node){= while(node&&(node=3Dnode.nextSibling)&&!this.isElement(node)){continue}re= turn node},getNodeIndex:function(node){var = index=3D0;while(node&&(node=3Dnode.previousSibling)){index++}return = index},getOwnerDocument:function(node){return = node.ownerDocument},getPreviousElementSibling:function(node){while(node&&= (node=3Dnode.previousSibling)&&!this.isElement(node)){continue}return = node},getTextContent:function(node,isHTML){return = node[isHTML?"innerHTML":TEXT]},isEmpty:function(node){node=3Dnode.firstCh= ild;while(node){if(node.nodeType=3D=3D3||this.isElement(node)){return = false}node=3Dnode.nextSibling}return = true},setTextContent:function(node,text,isHTML){return = node[isHTML?"innerHTML":TEXT]=3Dtext},"@!MSIE":{setTextContent:function(n= ode,text,isHTML){with(node){while(lastChild){parentNode.removeChild(lastC= hild)}}return = this.base(node,text,isHTML)}},"@MSIE":{getDefaultView:function(node){retu= rn(node.document||node).parentWindow},"@MSIE5":{getOwnerDocument:function= (node){return = node.ownerDocument||node.document}}}},{contains:function(node,target){nod= e.nodeType;while(target&&(target=3Dtarget.parentNode)&&node!=3Dtarget){co= ntinue}return !!target},getDocument:function(node){return = this.isDocument(node)?node:node.ownerDocument||node.document},isDocument:= function(node){return = !!(node&&node.documentElement)},isElement:function(node){return = !!(node&&node.nodeType=3D=3D1)},"@(element.contains)":{contains:function(= node,target){return = node!=3Dtarget&&(this.isDocument(node)?node=3D=3Dthis.getOwnerDocument(ta= rget):node.contains(target))}},"@MSIE5":{isElement:function(node){return = !!(node&&node.nodeType=3D=3D1&&node.nodeName!=3D"!")}}});var = AbstractView=3DBinding.extend();var = _CAPTURE_TYPE=3D{},_TYPE_MAP=3D{"2":2,"4":1};var = _CAPTURING_PHASE=3D1,_AT_TARGET=3D2,_BUBBLING_PHASE=3D3;var = _MOUSE_BUTTON=3D/^mouse(up|down)|click$/,_MOUSE_CLICK=3D/click$/,_BUBBLES= =3D"abort|error|select|change|resize|scroll|",_CANCELABLE=3D"(dbl)?click|= mouse(down|up|over|move|out|wheel)|key(down|up)|submit|reset";_BUBBLES=3D= new RegExp("^("+_BUBBLES+_CANCELABLE+")$");_CANCELABLE=3Dnew = RegExp("^("+_CANCELABLE+")$");if(_MSIE){var = _W3C_EVENT_TYPE=3D{focusin:"focus",focusout:"blur"};_CAPTURE_TYPE=3D{focu= s:"focusin",blur:"focusout"}}var = _CAN_DELEGATE=3D/^(blur|submit|reset|change|select)$|^(mouse|key|focus)|c= lick$/;var = Event=3DBinding.extend({"@!(document.createEvent)":{initEvent:function(ev= ent,type,bubbles,cancelable){event.type=3DString(type);event.bubbles=3D!!= bubbles;event.cancelable=3D!!cancelable},preventDefault:function(event){i= f(event.cancelable!=3D=3Dfalse){event.returnValue=3Dfalse}},stopPropagati= on:function(event){event.cancelBubble=3Dtrue},"@MSIE":{preventDefault:fun= ction(event){this.base(event);if(event.type=3D=3D"mousedown"){var = type=3D"onbeforedeactivate";var = document=3DTraversal.getDocument(event.target);document.attachEvent(type,= function(event){event.returnValue=3Dfalse;document.detachEvent(type,argum= ents.callee)})}}}}},{CAPTURING_PHASE:_CAPTURING_PHASE,AT_TARGET:_AT_TARGE= T,BUBBLING_PHASE:_BUBBLING_PHASE,"@!(document.createEvent)":{"@MSIE":{bin= d:function(event){var = type=3Devent.type;if(!event.timeStamp){event.bubbles=3D_BUBBLES.test(type= );event.cancelable=3D_CANCELABLE.test(type);event.timeStamp=3Dnew = Date().valueOf()}event.relatedTarget=3Devent[(event.target=3D=3Devent.fro= mElement?"to":"from")+"Element"];return = this.base(event)}}},cloneEvent:function(event){var = clone=3Dcopy(event);clone.stopPropagation=3Dfunction(){event.stopPropagat= ion()};clone.preventDefault=3Dfunction(){event.preventDefault()};return = clone},"@MSIE":{cloneEvent:copy}});var = EventDispatcher=3DBase.extend({constructor:function(state){this.state=3Ds= tate;this.events=3Dstate.events},dispatch:function(nodes,event,phase){eve= nt.eventPhase=3Dphase;var = map=3Dthis.events[event.type][phase];if(map){var = i=3Dnodes.length;while(i--&&!event.cancelBubble){var = currentTarget=3Dnodes[i];var = listeners=3Dmap[currentTarget.base2ID];if(listeners){listeners=3Dcopy(lis= teners);event.currentTarget=3DcurrentTarget;event.eventPhase=3DcurrentTar= get=3D=3Devent.target?_AT_TARGET:phase;for(var listenerID in = listeners){var listener=3Dlisteners[listenerID];if(typeof = listener=3D=3D"function"){listener.call(currentTarget,event)}else{listene= r.handleEvent(event)}}}}}},handleEvent:function(event,fixed){Event.bind(e= vent);var type=3Devent.type;var = w3cType=3D_W3C_EVENT_TYPE[type];if(w3cType){event=3Dcopy(event);type=3Dev= ent.type=3Dw3cType}if(this.events[type]){if(_MOUSE_BUTTON.test(type)){var= = button=3D_MOUSE_CLICK.test(type)?this.state._button:event.button;button=3D= _TYPE_MAP[button]||0;if(event.button!=3Dbutton){event=3Dcopy(event);event= .button=3Dbutton}}var currentTarget=3Devent.target;var = nodes=3D[],i=3D0;while(currentTarget){nodes[i++]=3DcurrentTarget;currentT= arget=3DcurrentTarget.parentNode}this.dispatch(nodes,event,_CAPTURING_PHA= SE);if(!event.cancelBubble){if(!event.bubbles){nodes.length=3D1}nodes.rev= erse();this.dispatch(nodes,event,_BUBBLING_PHASE)}}return = event.returnValue!=3D=3Dfalse},"@MSIE.+win":{handleEvent:function(event){= if(event.type=3D=3D"scroll"){setTimeout(bind(this.base,this,copy(event),t= rue),0);return true}else{return = this.base(event)}},"@MSIE5":{dispatch:function(nodes,event,phase){if(phas= e=3D=3D_CAPTURING_PHASE&&!Array2.item(nodes,-1).documentElement){nodes.pu= sh(nodes[0].document)}this.base(nodes,event,phase)}}}});var = _wrappedListeners=3D{};var = EventTarget=3DInterface.extend({"@!(element.addEventListener)":{addEventL= istener:function(target,type,listener,useCapture){var = documentState=3DDocumentState.getInstance(target);var = targetID=3DassignID(target);var listenerID=3DassignID(listener);var = phase=3DuseCapture?_CAPTURING_PHASE:_BUBBLING_PHASE;var = typeMap=3DdocumentState.registerEvent(type,target);var = phaseMap=3DtypeMap[phase];if(!phaseMap){phaseMap=3DtypeMap[phase]=3D{}}if= (useCapture){type=3D_CAPTURE_TYPE[type]||type}var = listeners=3DphaseMap[targetID];if(!listeners){listeners=3DphaseMap[target= ID]=3D{}}listeners[listenerID]=3Dlistener},dispatchEvent:function(target,= event){event.target=3Dtarget;return = DocumentState.getInstance(target).handleEvent(event)},removeEventListener= :function(target,type,listener,useCapture){var = events=3DDocumentState.getInstance(target).events;var = typeMap=3Devents[type];if(typeMap){var = phaseMap=3DtypeMap[useCapture?_CAPTURING_PHASE:_BUBBLING_PHASE];if(phaseM= ap){var listeners=3DphaseMap[target.base2ID];if(listeners){delete = listeners[listener.base2ID]}}}}},"@(element.addEventListener)":{"@Gecko":= {addEventListener:function(target,type,listener,useCapture){if(type=3D=3D= "mousewheel"){type=3D"DOMMouseScroll";var = originalListener=3Dlistener;listener=3D_wrappedListeners[assignID(listene= r)]=3Dfunction(event){event=3DEvent.cloneEvent(event);event.type=3D"mouse= wheel";event.wheelDelta=3D(-event.detail*40)||0;_handleEvent(target,origi= nalListener,event)}}this.base(target,type,listener,useCapture)}},"@webkit= [1-4]|KHTML[34]":{addEventListener:function(target,type,listener,useCaptu= re){if(_MOUSE_BUTTON.test(type)){var = originalListener=3Dlistener;listener=3D_wrappedListeners[assignID(listene= r)]=3Dfunction(event){var = button=3D_TYPE_MAP[event.button]||0;if(event.button!=3Dbutton){event=3DEv= ent.cloneEvent(event);event.button=3Dbutton}_handleEvent(target,originalL= istener,event)}}else{if(typeof = listener=3D=3D"object"){listener=3D_wrappedListeners[assignID(listener)]=3D= bind("handleEvent",listener)}}this.base(target,type,listener,useCapture)}= },"@Linux|Mac|opera":{addEventListener:function(target,type,listener,useC= apture){if(type=3D=3D"keydown"){var = originalListener=3Dlistener;listener=3D_wrappedListeners[assignID(listene= r)]=3Dfunction(keydownEvent){var = firedCount=3D0,cancelled=3Dfalse;extend(keydownEvent,"preventDefault",fun= ction(){this.base();cancelled=3Dtrue});function = handleEvent(event){if(cancelled){event.preventDefault()}if(event=3D=3Dkey= downEvent||firedCount>1){_handleEvent(target,originalListener,keydownEven= t)}firedCount++}handleEvent(keydownEvent);target.addEventListener("keyup"= ,function(){target.removeEventListener("keypress",handleEvent,true);targe= t.removeEventListener("keyup",arguments.callee,true)},true);target.addEve= ntListener("keypress",handleEvent,true)}}this.base(target,type,listener,u= seCapture)}},removeEventListener:function(target,type,listener,useCapture= ){this.base(target,type,_wrappedListeners[listener.base2ID]||listener,use= Capture)}}});if(detect("Gecko")){EventTarget.removeEventListener._delegat= e=3D"removeEventListener";delete = EventTarget.prototype.removeEventListener}function = _handleEvent(target,listener,event){if(typeof = listener=3D=3D"function"){listener.call(target,event)}else{listener.handl= eEvent(event)}}var = DocumentEvent=3DInterface.extend({"@!(document.createEvent)":{createEvent= :function(document,type){var = event=3Ddocument.createEventObject?document.createEventObject():{};event.= bubbles=3Dfalse;event.cancelable=3Dfalse;event.eventPhase=3D0;event.targe= t=3Ddocument;event.currentTarget=3Dnull;event.relatedTarget=3Dnull;event.= timeStamp=3Dnew Date().valueOf();return = Event(event)}},"@(document.createEvent)":{"@!(document.createEvent('Event= s'))":{createEvent:function(document,type){return = this.base(document,type=3D=3D"Events"?"UIEvents":type)}}}});var = DOMContentLoadedEvent=3DBase.extend({constructor:function(document){var = fired=3Dfalse;this.fire=3Dfunction(){if(!fired){fired=3Dtrue;setTimeout(f= unction(){var = event=3DDocumentEvent.createEvent(document,"Events");Event.initEvent(even= t,"DOMContentLoaded",true,false);EventTarget.dispatchEvent(document,event= )},1)}};EventTarget.addEventListener(document,"DOMContentLoaded",function= (){fired=3Dtrue},false);this.listen(document)},listen:Undefined,"@!Gecko2= 0([^0]|0[3-9])|Webkit52[5-9]|Webkit5[3-9]|Webkit[6-9]|Opera[19]|MSIE.+mac= ":{listen:function(document){EventTarget.addEventListener(Traversal.getDe= faultView(document),"load",this.fire,false)},"@MSIE.+win":{listen:functio= n(document){try{document.body.doScroll("left");if(!this.__constructing){t= his.fire()}}catch(e){setTimeout(bind(this.listen,this,document),10)}}},"@= KHTML":{listen:function(document){if(/loaded|complete/.test(document.read= yState)){if(!this.__constructing){this.fire()}}else{setTimeout(bind(this.= listen,this,document),10)}}}}});Document.implement(DocumentEvent);Documen= t.implement(EventTarget);Element.implement(EventTarget);var = _PIXEL=3D/^\d+(px)?$/i,_METRICS=3D/(width|height|top|bottom|left|right|fo= ntSize)$/,_COLOR=3D/^(color|backgroundColor)$/,_RGB_BLACK=3D"rgb(0, 0, = 0)",_BLACK=3D{black:1,"#000":1,"#000000":1};var = ViewCSS=3DInterface.extend({"@!(document.defaultView.getComputedStyle)":{= "@MSIE":{getComputedStyle:function(view,element,pseudoElement){var = currentStyle=3Delement.currentStyle;var computedStyle=3D{};for(var = propertyName in = currentStyle){if(_METRICS.test(propertyName)||_COLOR.test(propertyName)){= computedStyle[propertyName]=3Dthis.getComputedPropertyValue(view,element,= propertyName)}else{if(propertyName.indexOf("ruby")!=3D0){computedStyle[pr= opertyName]=3DcurrentStyle[propertyName]}}}return = computedStyle}}},getComputedStyle:function(view,element,pseudoElement){re= turn = _CSSStyleDeclaration_ReadOnly.bind(this.base(view,element,pseudoElement))= }},{getComputedPropertyValue:function(view,element,propertyName){return = CSSStyleDeclaration.getPropertyValue(this.getComputedStyle(view,element,n= ull),propertyName)},"@MSIE":{getComputedPropertyValue:function(view,eleme= nt,propertyName){propertyName=3Dthis.toCamelCase(propertyName);var = value=3Delement.currentStyle[propertyName];if(_METRICS.test(propertyName)= ){return = _MSIE_getPixelValue(element,value)+"px"}if(!_MSIE5&&_COLOR.test(propertyN= ame)){var = rgb=3D_MSIE_getColorValue(element,propertyName=3D=3D"color"?"ForeColor":"= BackColor");return(rgb=3D=3D_RGB_BLACK&&!_BLACK[value])?value:rgb}return = value}},toCamelCase:function(string){return = string.replace(/\-([a-z])/g,flip(String2.toUpperCase))}});function = _MSIE_getPixelValue(element,value){if(_PIXEL.test(value)){return = parseInt(value)}var styleLeft=3Delement.style.left;var = runtimeStyleLeft=3Delement.runtimeStyle.left;element.runtimeStyle.left=3D= element.currentStyle.left;element.style.left=3Dvalue||0;value=3Delement.s= tyle.pixelLeft;element.style.left=3DstyleLeft;element.runtimeStyle.left=3D= runtimeStyleLeft;return value}function = _MSIE_getColorValue(element,type){if(element.createTextRange){var = range=3Delement.createTextRange()}else{range=3Delement.document.body.crea= teTextRange();range.moveToElementText(element)}var = color=3Drange.queryCommandValue(type);return format("rgb(%1, %2, = %3)",color&255,(color&65280)>>8,(color&16711680)>>16)}var = _CSSStyleDeclaration_ReadOnly=3DBinding.extend({getPropertyValue:function= (style,propertyName){return = this.base(style,_CSSPropertyNameMap[propertyName]||propertyName)},"@MSIE.= +win":{getPropertyValue:function(style,propertyName){return = propertyName=3D=3D"float"?style.styleFloat:style[ViewCSS.toCamelCase(prop= ertyName)]}}});var = CSSStyleDeclaration=3D_CSSStyleDeclaration_ReadOnly.extend({setProperty:f= unction(style,propertyName,value,priority){return = this.base(style,_CSSPropertyNameMap[propertyName]||propertyName,value,pri= ority)},"@MSIE.+win":{setProperty:function(style,propertyName,value,prior= ity){if(propertyName=3D=3D"opacity"){value*=3D100;style.opacity=3Dvalue;s= tyle.zoom=3D1;style.filter=3D"Alpha(opacity=3D"+value+")"}else{if(priorit= y=3D=3D"important"){style.cssText+=3Dformat(";%1:%2!important;",propertyN= ame,value)}else{style.setAttribute(ViewCSS.toCamelCase(propertyName),valu= e)}}}}},{"@MSIE":{bind:function(style){style.getPropertyValue=3Dthis.prot= otype.getPropertyValue;style.setProperty=3Dthis.prototype.setProperty;ret= urn style}}});var _CSSPropertyNameMap=3Dnew = Base({"@Gecko":{opacity:"-moz-opacity"},"@KHTML":{opacity:"-khtml-opacity= "}});with(CSSStyleDeclaration.prototype){getPropertyValue.toString=3DsetP= roperty.toString=3DK("[base2]")}AbstractView.implement(ViewCSS);var = NodeSelector=3DInterface.extend({"@(element.querySelector)":{querySelecto= r:function(node,selector){try{var = element=3Dthis.base(node,trim(selector));if(element){return = element}}catch(x){}return new = Selector(selector).exec(node,1)},querySelectorAll:function(node,selector)= {try{var nodeList=3Dthis.base(node,trim(selector));if(nodeList){return = new StaticNodeList(nodeList)}}catch(x){}return new = Selector(selector).exec(node)}},"@!(element.querySelector)":{querySelecto= r:function(node,selector){return new = Selector(selector).exec(node,1)},querySelectorAll:function(node,selector)= {return new = Selector(selector).exec(node)}}});extend(NodeSelector.prototype,{querySel= ector:function(selector){return = DOM.bind(this.base(selector))},querySelectorAll:function(selector){return= extend(this.base(selector),"item",function(index){return = DOM.bind(this.base(index))})}});var = DocumentSelector=3DNodeSelector.extend();var = ElementSelector=3DNodeSelector.extend({"@!(element.matchesSelector)":{mat= chesSelector:function(element,selector){return new = Selector(selector).test(element)}}});var = _CSS_ESCAPE=3D/'(\\.|[^'\\])*'|"(\\.|[^"\\])*"/g,_CSS_IMPLIED_ASTERISK=3D= /([\s>+~,]|[^(]\+|^)([#.:\[])/g,_CSS_IMPLIED_SPACE=3D/(^|,)([^\s>+~])/g,_= CSS_WHITESPACE=3D/\s*([\s>+~,]|^|$)\s*/g,_CSS_WILD_CARD=3D/\s\*\s/g,_CSS_= UNESCAPE=3D/\x01(\d+)/g,_QUOTE=3D/'/g;var = CSSParser=3DRegGrp.extend({constructor:function(items){this.base(items);t= his.cache=3D{};this.sorter=3Dnew = RegGrp;this.sorter.add(/:not\([^)]*\)/,RegGrp.IGNORE);this.sorter.add(/([= >](\*|[\w-]+))([^: >+~]*)(:\w+-child(\([^)]+\))?)([^: = >+~]*)/,"$1$3$6$4")},cache:null,ignoreCase:true,escape:function(selector,= simple){var = strings=3Dthis._strings=3D[];selector=3Dthis.optimise(this.format(String(= selector).replace(_CSS_ESCAPE,function(string){return"\x01"+strings.push(= string.slice(1,-1).replace(_QUOTE,"\\'"))})));if(simple){selector=3Dselec= tor.replace(/^ \*?/,"")}return = selector},format:function(selector){return = selector.replace(_CSS_WHITESPACE,"$1").replace(_CSS_IMPLIED_SPACE,"$1 = $2").replace(_CSS_IMPLIED_ASTERISK,"$1*$2")},optimise:function(selector){= return this.sorter.exec(selector.replace(_CSS_WILD_CARD,">* = "))},parse:function(selector,simple){return = this.cache[selector]||(this.cache[selector]=3Dthis.unescape(this.exec(thi= s.escape(selector,simple))))},unescape:function(selector){var = strings=3Dthis._strings;return = selector.replace(_CSS_UNESCAPE,function(match,index){return = strings[index-1]})}});function = _nthChild(match,args,position,last,not,and,mod,equals){last=3D/last/i.tes= t(match)?last+"+1-":"";if(!isNaN(args)){args=3D"0n+"+args}else{if(args=3D= =3D"even"){args=3D"2n"}else{if(args=3D=3D"odd"){args=3D"2n+1"}}}args=3Dar= gs.split("n");var = a=3Dargs[0]?(args[0]=3D=3D"-")?-1:parseInt(args[0]):1;var = b=3DparseInt(args[1])||0;var = negate=3Da<0;if(negate){a=3D-a;if(a=3D=3D1){b++}}var = query=3Dformat(a=3D=3D0?"%3%7"+(last+b):"(%4%3-%2)%6%1%70%5%4%3>=3D%2",a,= b,position,last,and,mod,equals);if(negate){query=3Dnot+"("+query+")"}retu= rn query}var = XPathParser=3DCSSParser.extend({constructor:function(){this.base(XPathPar= ser.build());this.sorter.putAt(1,"$1$4$3$6")},escape:function(selector,si= mple){return = this.base(selector,simple).replace(/,/g,"\x02")},unescape:function(select= or){return = this.base(selector.replace(/\[self::\*\]/g,"").replace(/(^|\x02)\//g,"$1.= /").replace(/\x02/g," | = ")).replace(/'[^'\\]*\\'(\\.|[^'\\])*'/g,function(match){return"concat("+= match.split("\\'").join("',\"'\",'")+")"})},"@opera(7|8|9\\.[1-4])":{unes= cape:function(selector){return = this.base(selector.replace(/last\(\)/g,"count(preceding-sibling::*)+count= (following-sibling::*)+1"))}}},{build:function(){this.values.attributes["= "]=3D"[@$1]";forEach(this.types,function(add,type){forEach(this.values[ty= pe],add,this.rules)},this);this.build=3DK(this.rules);return = this.rules},optimised:{pseudoClasses:{"first-child":"[1]","last-child":"[= last()]","only-child":"[last()=3D1]"}},rules:extend({},{"@!KHTML|opera":{= "(^|\\x02) = (\\*|[\\w-]+)#([\\w-]+)":"$1id('$3')[self::$2]"},"@!KHTML":{"([ = >])(\\*|[\\w-]+):([\\w-]+-child(\\(([^)]+)\\))?)":function(match,token,ta= gName,pseudoClass,$4,args){var replacement=3D(token=3D=3D" = ")?"//*":"/*";if(/^nth/i.test(pseudoClass)){replacement+=3D_xpath_nthChil= d(pseudoClass,args,"position()")}else{replacement+=3DXPathParser.optimise= d.pseudoClasses[pseudoClass]}return = replacement+"[self::"+tagName+"]"}}}),types:{identifiers:function(replace= ment,token){this[rescape(token)+"([\\w-]+)"]=3Dreplacement},combinators:f= unction(replacement,combinator){this[rescape(combinator)+"(\\*|[\\w-]+)"]= =3Dreplacement},attributes:function(replacement,operator){this["\\[\\s*([= \\w-]+)\\s*"+rescape(operator)+"\\s*([^\\]\\s]*)\\s*\\]"]=3Dreplacement},= pseudoClasses:function(replacement,pseudoClass){this[":"+pseudoClass.repl= ace(/\(\)$/,"\\(([^)]+)\\)")]=3Dreplacement}},values:{identifiers:{"#":"[= @id=3D'$1'][1]",".":"[contains(concat(' ',@class,' '),' $1 = ')]"},combinators:{" = ":"/descendant::$1",">":"/child::$1","+":"/following-sibling::*[1][self::= $1]","~":"/following-sibling::$1"},attributes:{"*=3D":"[contains(@$1,'$2'= )]","^=3D":"[starts-with(@$1,'$2')]","$=3D":"[substring(@$1,string-length= (@$1)-string-length('$2')+1)=3D'$2']","~=3D":"[contains(concat(' ',@$1,' = '),' $2 = ')]","|=3D":"[contains(concat('-',@$1,'-'),'-$2-')]","!=3D":"[not(@$1=3D'= $2')]","=3D":"[@$1=3D'$2']"},pseudoClasses:{"link":"[false]","visited":"[= false]","empty":"[not(child::*) and = not(text())]","first-child":"[not(preceding-sibling::*)]","last-child":"[= not(following-sibling::*)]","not()":_xpath_not,"nth-child()":_xpath_nthCh= ild,"nth-last-child()":_xpath_nthChild,"only-child":"[not(preceding-sibli= ng::*) and = not(following-sibling::*)]","root":"[not(parent::*)]"}},"@opera(7|8|9\\.[= 1-4])":{build:function(){this.optimised.pseudoClasses["last-child"]=3Dthi= s.values.pseudoClasses["last-child"];this.optimised.pseudoClasses["only-c= hild"]=3Dthis.values.pseudoClasses["only-child"];return = this.base()}}});var _notParser;function = _xpath_not(match,args){if(!_notParser){_notParser=3Dnew = XPathParser}return"[not("+_notParser.exec(trim(args)).replace(/\[1\]/g,""= ).replace(/^(\*|[\w-]+)/,"[self::$1]").replace(/\]\[/g," and = ").slice(1,-1)+")]"}function = _xpath_nthChild(match,args,position){return"["+_nthChild(match,args,posit= ion||"count(preceding-sibling::*)+1","last()","not"," and "," mod = ","=3D")+"]"}var = Selector=3DBase.extend({constructor:function(selector){this.toString=3DK(= trim(selector))},exec:function(context,count,simple){return = Selector.parse(this,simple)(context,count)},isSimple:function(){if(!_pars= er.exec){_parser=3Dnew CSSParser(_parser)}return = !_COMBINATOR.test(trim(_parser.escape(this)))},test:function(element){if(= this.isSimple()){return = !!Selector.parse(this,true)(element,1)}else{element.setAttribute("b2-test= ",true);var result=3Dnew = Selector(this+"[b2-test]").exec(Traversal.getOwnerDocument(element),1);el= ement.removeAttribute("b2-test");return = result=3D=3Delement}},toXPath:function(simple){return = Selector.toXPath(this,simple)},"@(XPathResult)":{exec:function(context,co= unt,simple){if(_NOT_XPATH.test(this)){return = this.base(context,count,simple)}var = document=3DTraversal.getDocument(context);var = type=3Dcount=3D=3D1?9:7;var = result=3Ddocument.evaluate(this.toXPath(simple),context,null,type,null);r= eturn = count=3D=3D1?result.singleNodeValue:result}},"@MSIE":{exec:function(conte= xt,count,simple){if(typeof = context.selectNodes!=3D"undefined"&&!_NOT_XPATH.test(this)){var = method=3Dsingle?"selectSingleNode":"selectNodes";return = context[method](this.toXPath(simple))}return = this.base(context,count,simple)}},"@(true)":{exec:function(context,count,= simple){try{var = result=3Dthis.base(context||document,count,simple)}catch(error){throw = new SyntaxError(format("'%1' is not a valid CSS selector.",this))}return = count=3D=3D1?result:new = StaticNodeList(result)}}},{toXPath:function(selector,simple){if(!_xpathPa= rser){_xpathParser=3Dnew XPathParser}return = _xpathParser.parse(selector,simple)}});var = _COMBINATOR=3D/[^,]\s|[+>~]/;var = _NOT_XPATH=3D":(checked|disabled|enabled|contains|hover|active|focus)|^(#= [\\w-]+\\s*)?\\w+$";if(detect("KHTML")){if(detect("WebKit5")){_NOT_XPATH+= =3D"|nth\\-|,"}else{_NOT_XPATH=3D"."}}_NOT_XPATH=3Dnew = RegExp(_NOT_XPATH);Selector.operators=3D{"=3D":"%1=3D=3D'%2'","~=3D":/(^|= )%1( = |$)/,"|=3D":/^%1(-|$)/,"^=3D":/^%1/,"$=3D":/%1$/,"*=3D":/%1/};Selector.op= erators[""]=3D"%1!=3Dnull";Selector.pseudoClasses=3D{"checked":"e%1.check= ed","contains":"e%1[TEXT].indexOf('%2')!=3D-1","disabled":"e%1.disabled",= "empty":"Traversal.isEmpty(e%1)","enabled":"e%1.disabled=3D=3D=3Dfalse","= first-child":"!Traversal.getPreviousElementSibling(e%1)","last-child":"!T= raversal.getNextElementSibling(e%1)","only-child":"!Traversal.getPrevious= ElementSibling(e%1)&&!Traversal.getNextElementSibling(e%1)","root":"e%1=3D= =3DTraversal.getDocument(e%1).documentElement","target":"e%1.id&&e%1.id=3D= =3Dlocation.hash.slice(1)","hover":"DocumentState.getInstance(d).isHover(= e%1)","active":"DocumentState.getInstance(d).isActive(e%1)","focus":"Docu= mentState.getInstance(d).hasFocus(e%1)","link":"false","visited":"false"}= ;var = _INDEXED=3Ddocument.documentElement.sourceIndex!=3D=3Dundefined,_VAR=3D"v= ar = p%2=3D0,i%2,e%3,n%2=3De%1.",_ID=3D_INDEXED?"e%1.sourceIndex":"assignID(e%= 1)",_TEST=3D"var = g=3D"+_ID+";if(!p[g]){p[g]=3D1;",_STORE=3D"r[k++]=3De%1;if(s=3D=3D1)retur= n e%1;if(k=3D=3D=3Ds){_query.state=3D[%2];_query.complete=3D%3;return = r;",_FN=3D"var _query=3Dfunction(e0,s%1){_indexed++;var = r=3D[],p=3D{},p0=3D0,reg=3D[%4],d=3DTraversal.getDocument(e0),c=3Dd.write= ln?'toUpperCase':'toString',k=3D0;";var _xpathParser;var = _reg,_index,_wild,_list,_group,_listAll,_duplicate,_cache=3D{},_simple=3D= {};function sum(list){var total=3D0;for(var = i=3D0;i(\\*|[\\w-]+)":function(= match,tagName){var children=3D_MSIE&&_index;_wild=3DtagName=3D=3D"*";var = replacement=3D_VAR+(children?"children":"childNodes");replacement=3Dforma= t(replacement,_index++,"%2",_index);if(!_wild&&_MSIE&&children){replaceme= nt+=3D".tags('%3')"}replacement+=3D";for(i%2=3Da%2||0;(e%1=3Dn%2[i%2]);i%= 2++){";if(_wild){replacement+=3D"if(e%1.nodeType=3D=3D1){";_wild=3D_MSIE5= }else{if(!_MSIE||!children){replacement+=3D"if(e%1.nodeName=3D=3D'%3'[c](= )){"}}_list[_group]++;return = format(replacement,_index,sum(_list),tagName)},"\\+(\\*|[\\w-]+)":functio= n(match,tagName){var = replacement=3D"";if(_wild&&_MSIE){replacement+=3D"if(e%1.nodeName!=3D'!')= {"}_wild=3Dfalse;replacement+=3D"e%1=3DTraversal.getNextElementSibling(e%= 1);if(e%1";if(tagName!=3D"*"){replacement+=3D"&&e%1.nodeName=3D=3D'%2'[c]= ()"}replacement+=3D"){";return = format(replacement,_index,tagName)},"~(\\*|[\\w-]+)":function(match,tagNa= me){var = replacement=3D"";if(_wild&&_MSIE){replacement+=3D"if(e%1.nodeName!=3D'!')= {"}_wild=3Dfalse;_duplicate=3D2;replacement+=3D"while(e%1=3De%1.nextSibli= ng){if(e%1.b2_adjacent=3D=3D_indexed)break;if(";if(tagName=3D=3D"*"){repl= acement+=3D"e%1.nodeType=3D=3D1";if(_MSIE5){replacement+=3D"&&e%1.nodeNam= e!=3D'!'"}}else{replacement+=3D"e%1.nodeName=3D=3D'%2'[c]()"}replacement+= =3D"){e%1.b2_adjacent=3D_indexed;";return = format(replacement,_index,tagName)},"#([\\w-]+)":function(match,id){_wild= =3Dfalse;var = replacement=3D"if(e%1.id=3D=3D'%2'){";if(_list[_group]){replacement+=3Dfo= rmat("i%1=3Dn%1.length;",sum(_list))}return = format(replacement,_index,id)},"\\.([\\w-]+)":function(match,className){_= wild=3Dfalse;_reg.push(new = RegExp("(^|\\s)"+rescape(className)+"(\\s|$)"));return = format("if(e%1.className&®[%2].test(e%1.className)){",_index,_reg.leng= th-1)},":not\\((\\*|[\\w-]+)?([^)]*)\\)":function(match,tagName,filters){= var = replacement=3D(tagName&&tagName!=3D"*")?format("if(e%1.nodeName=3D=3D'%2'= [c]()){",_index,tagName):"";replacement+=3D_parser.exec(filters);return"i= f(!"+replacement.slice(2,-1).replace(/\)\{if\(/g,"&&")+"){"},":nth(-last)= ?-child\\(([^)]+)\\)":function(match,last,args){_wild=3Dfalse;last=3Dform= at("e%1.parentNode.b2_length",_index);var = replacement=3D"if(p%1!=3D=3De%1.parentNode)p%1=3D_register(e%1.parentNode= );";replacement+=3D"var = i=3De%1[p%1.b2_lookup];if(p%1.b2_lookup!=3D'b2_index')i++;if(";return = format(replacement,_index)+_nthChild(match,args,"i",last,"!","&&","% = ","=3D=3D")+"){"},":([\\w-]+)(\\(([^)]+)\\))?":function(match,pseudoClass= ,$2,args){return"if("+format(Selector.pseudoClasses[pseudoClass]||"throw"= ,_index,args||"")+"){"},"\\[\\s*([\\w-]+)\\s*([^=3D]?=3D)?\\s*([^\\]\\s]*= )\\s*\\]":function(match,attr,operator,value){value=3Dtrim(value);if(_MSI= E){var = getAttribute=3D"Element.getAttribute(e%1,'%2')"}else{getAttribute=3D"e%1.= getAttribute('%2')"}getAttribute=3Dformat(getAttribute,_index,attr);var = replacement=3DSelector.operators[operator||""];if(instanceOf(replacement,= RegExp)){_reg.push(new = RegExp(format(replacement.source,rescape(_parser.unescape(value)))));repl= acement=3D"reg[%2].test(%1)";value=3D_reg.length-1}return"if("+format(rep= lacement,getAttribute,value)+"){"}};(function(_no_shrink_){var = _byId=3Ddetect("MSIE[5-7]")?function(document,id){var = result=3Ddocument.all[id]||null;if(!result||result.id=3D=3Did){return = result}for(var = i=3D0;i1?2:0;var = block=3D_parser.exec(selectors[_group])||"throw;";if(_wild&&_MSIE){block+= =3Dformat("if(e%1.tagName!=3D'!'){",_index)}var = store=3D(_duplicate>1)?_TEST:"";block+=3Dformat(store+_STORE,_index,"%2")= ;block+=3DArray(match(block,/\{/g).length+1).join("}");fn+=3Dblock}fn=3D_= parser.unescape(fn);if(selectors.length>1){fn+=3D"r.unsorted=3D1;"}var = args=3D"";var state=3D[];var total=3Dsum(_list);for(var = i=3D1;i<=3Dtotal;i++){args+=3D",a"+i;state.push("i"+i+"?(i"+i+"-1):0")}if= (total){var complete=3D[],k=3D0;for(var = i=3D0;i<_group;i++){k+=3D_list[i];if(_list[i]){complete.push(format("n%1&= &i%1=3D=3Dn%1.length",k))}}}fn+=3D"_query.state=3D[%2];_query.complete=3D= %3;return = s=3D=3D1?null:r}";eval(format(_FN+fn,args,state.join(","),total?complete.= join("&&"):true,_reg));cache[selector]=3D_query}return = cache[selector]}})();var = StaticNodeList=3DBase.extend({constructor:function(nodes){nodes=3Dnodes||= [];this.length=3Dnodes.length;this.item=3Dfunction(index){if(index<0){ind= ex+=3Dthis.length}return = nodes[index]};if(nodes.unsorted){nodes.sort(_SORTER)}},length:0,forEach:f= unction(block,context){for(var = i=3D0;i0&&document.defaultView.getComputedStyle(B,"").getPropertyValue("p= osition")=3D=3D"absolute"){return = C}}catch(A){}C+=3DB.offsetLeft;B=3DB.offsetParent}if(!window.opera&&docum= ent.all&&document.compatMode&&document.compatMode!=3D"BackCompat"){C+=3Dp= arseInt(document.body.currentStyle.marginTop)}return = C};wFORMS.helpers.getTop=3Dfunction(B){var = C=3D0;while(B.offsetParent){try{if(document.defaultView.getComputedStyle(= B,"").getPropertyValue("position")=3D=3D"relative"){return = C}if(C>0&&document.defaultView.getComputedStyle(B,"").getPropertyValue("p= osition")=3D=3D"absolute"){return = C}}catch(A){}C+=3DB.offsetTop;B=3DB.offsetParent}if(!window.opera&&docume= nt.all&&document.compatMode&&document.compatMode!=3D"BackCompat"){C+=3Dpa= rseInt(document.body.currentStyle.marginLeft)+1}return = C};wFORMS.helpers.position=3Dfunction(B){var A=3DB.offsetLeft;var = D=3DB.offsetTop;if(B.offsetParent){var = C=3Dthis.position(B.offsetParent);A+=3DC.left;D+=3DC.top}return{left:A,to= p:D}};wFORMS.helpers.useSpotlight=3Dfalse;wFORMS.helpers.spotlight=3Dfunc= tion(A){};wFORMS.helpers.activateStylesheet=3Dfunction(C){if(document.get= ElementsByTagName){var = B=3Ddocument.getElementsByTagName("link")}else{if(document.styleSheets){v= ar B=3Ddocument.styleSheets}}for(var = A=3D0;B[A];A++){if(B[A].href.indexOf(C)!=3D-1){B[A].disabled=3Dtrue;B[A].= disabled=3Dfalse;B[A].rel=3D"stylesheet"}}};wFORMS.helpers.contains=3Dfun= ction(D,C){var A=3DD.length;for(var = B=3D0;B=3D 5.8)!@end = @*/true;if(doBind){base2.DOM.bind(f)}if(wFORMS.behaviors["switch"]){var = b=3DwFORMS.behaviors["switch"].applyTo(f);if(!wFORMS.instances["switch"])= {wFORMS.instances["switch"]=3D[b]}else{wFORMS.removeBehavior(f,"switch");= wFORMS.instances["switch"].push(b)}}for(var behaviorName in = wFORMS.behaviors){if(behaviorName=3D=3D"switch"){continue}if(wFORMS.behav= iors[behaviorName].applyTo){var = b=3DwFORMS.behaviors[behaviorName].applyTo(f);if(b&&b.constructor!=3DArra= y){b=3D[b]}for(var = i=3D0;b&&i1){var E=3Darguments[1]}else{var = E=3Dtrue}if(B=3D=3Dthis.currentPageIndex){return = false}B=3DparseInt(B);if(B>this.currentPageIndex){var = C=3Dthis.findNextPage(this.currentPageIndex)}else{var = C=3Dthis.findPreviousPage(this.currentPageIndex)}if(C){var A=3Dthis;var = B=3DA.behavior.getPageIndex(C);A.setupManagedControls(B);A.behavior.hideP= age(A.behavior.getPageByIndex(A.currentPageIndex));A.behavior.showPage(C)= ;var = D=3DA.currentPageIndex;A.currentPageIndex=3DB;if(E){if(C.scrollIntoView){= C.scrollIntoView()}else{location.hash=3D"#"+wFORMS.behaviors.paging.ID_PA= GE_PREFIX+B}}A.onPageChange(C);if(B>D){A.onPageNext(C)}else{A.onPagePrevi= ous(C)}}};wFORMS.behaviors.paging.instance.prototype.setupManagedControls= =3Dfunction(B){if(!B){B=3Dthis.currentPageIndex}var = A=3DwFORMS.behaviors.paging;if(A.isFirstPageIndex(B)){if(ctrl=3DA.getPrev= iousButton(B)){ctrl.style.visibility=3D"hidden"}}else{if(ctrl=3DA.getPrev= iousButton(B)){ctrl.style.visibility=3D"visible"}}if(A.isLastPageIndex(B)= ){if(ctrl=3DA.getNextButton(B)){ctrl.style.visibility=3D"hidden"}this.sho= wSubmitButtons()}else{if(ctrl=3DA.getNextButton(B)){ctrl.style.visibility= =3D"visible"}this.hideSubmitButtons()}};wFORMS.behaviors.paging.instance.= prototype.showSubmitButtons=3Dfunction(){var = A=3Dthis.target.getElementsByTagName("input");for(var = B=3D0;B';var = fixedRadio=3De.parentNode.insertBefore(document.createElement(tagHtml),e)= ;fixedRadio.id=3De.id;fixedRadio.className=3De.className;fixedRadio.value= =3De.value;e=3De.parentNode.removeChild(e);var = l=3Dthis.behavior.UPDATEABLE_ATTR_ARRAY.length;for(var = j=3D0;j=3D0;F--){var = E=3DD[F];wFORMS.standardizeElement(E);if(!this.behavior.isHandled(E)){E.a= ddEventListener("click",function(J){C.run(J,E)},false);this.behavior.hand= leElement(E)}}}else{if(G.type&&G.type=3D=3D"checkbox"){if(!this.behavior.= isHandled(G)){G.addEventListener("click",function(J){C.run(J,G)},false);t= his.behavior.handleElement(G)}}}break;default:if(!this.behavior.isHandled= (G)){G.addEventListener("click",function(J){C.run(J,G)},false);this.behav= ior.handleElement(G)}break}};wFORMS.behaviors["switch"].instance.prototyp= e.onApply=3Dfunction(){};wFORMS.behaviors["switch"].isHandled=3Dfunction(= A){return = A.getAttribute("rel")&&A.getAttribute("rel").indexOf("wfHandled")>-1};wFO= RMS.behaviors["switch"].handleElement=3Dfunction(A){return = A.setAttribute("rel",(A.getAttribute("rel")||"")+" = wfHandled")};wFORMS.behaviors["switch"].removeHandle=3Dfunction(A){if(att= r=3DA.getAttribute("rel")){if(attr=3D=3D"wfHandled"){A.removeAttribute("r= el")}else{if(attr.indexOf("wfHandled")!=3D-1){A.setAttribute("rel",attr.r= eplace(/(.*)( = wfHandled)(.*)/,"$1$3"))}}}};wFORMS.behaviors["switch"].instance.prototyp= e.buildCache=3Dfunction(){this.cache_processed=3Dnew = Array();if(this.target.className){if(this.target.className.indexOf(this.b= ehavior.CSS_PREFIX)!=3D-1){this.addTriggerToCache(this.target)}if(this.ta= rget.className.indexOf(this.behavior.CSS_OFFSTATE_PREFIX)!=3D-1){this.add= TargetToCache(this.target)}if(this.target.className.indexOf(this.behavior= .CSS_ONSTATE_PREFIX)!=3D-1){this.addTargetToCache(this.target)}}var = A=3Dthis.target.getElementsByTagName("*");for(var = B=3D0;B0){var = C=3Ddocument.getElementById(arguments[0]);if(C){var = D=3Dfalse;if(!C.querySelectorAll){base2.DOM.bind(C)}var = A=3D'*[class*=3D"'+this.behavior.CSS_PREFIX+'"], = *[class*=3D"'+this.behavior.CSS_OFFSTATE_PREFIX+'"], = *[class*=3D"'+this.behavior.CSS_ONSTATE_PREFIX+'"]';var = B=3DC.querySelectorAll(A);if(B.length>0||C.className&&(C.className.indexO= f(this.behavior.CSS_PREFIX)!=3D-1||C.className.indexOf(this.behavior.CSS_= OFFSTATE_PREFIX)!=3D-1||C.className.indexOf(this.behavior.CSS_ONSTATE_PRE= FIX)!=3D-1)){D=3Dtrue}}}if(D){this.cache=3D{};this.buildCache()}};wFORMS.= behaviors["switch"].instance.prototype.addTriggerToCache=3Dfunction(F){if= (F.tagName=3D=3D"OPTION"){var = A=3DF.parentNode;while(A&&A.tagName!=3D"SELECT"){A=3DA.parentNode}if(!A){= return }F=3DA}if(!F.id){F.id=3DwFORMS.helpers.randomId()}for(var = C=3D0;C=3D0;F--){var = O=3DG[F];if(O=3D=3DD||!wFORMS.helpers.contains(A,O)){if(O.checked){C.ON=3D= C.ON.concat(this.behavior.getSwitchNamesFromTrigger(O,M))}else{C.OFF=3DC.= OFF.concat(this.behavior.getSwitchNamesFromTrigger(O,M))}}}}else{if(D.typ= e&&D.type=3D=3D"checkbox"){if(D.checked){C.ON=3DC.ON.concat(this.behavior= .getSwitchNamesFromTrigger(D,M))}else{C.OFF=3DC.OFF.concat(this.behavior.= getSwitchNamesFromTrigger(D,M))}}else{if(D.hasClass(this.behavior.CSS_ONS= TATE_FLAG)){C.ON=3DC.ON.concat(this.behavior.getSwitchNamesFromTrigger(D,= M))}else{C.OFF=3DC.OFF.concat(this.behavior.getSwitchNamesFromTrigger(D,M= ))}}}break;default:if(D.hasClass(this.behavior.CSS_ONSTATE_FLAG)){C.ON=3D= C.ON.concat(this.behavior.getSwitchNamesFromTrigger(D,M))}else{C.OFF=3DC.= OFF.concat(this.behavior.getSwitchNamesFromTrigger(D,M))}break}}var = L=3Dnew Array();for(var = H=3D0;H=3D0;B--){var = G=3DF[B];if(E){if(G.indexOf(this.CSS_PREFIX)=3D=3D0){var = A=3DG.substring(this.CSS_PREFIX.length)}}else{if(G.indexOf(this.CSS_ONSTA= TE_PREFIX)=3D=3D0){var = A=3DG.substring(this.CSS_ONSTATE_PREFIX.length)}else{if(G.indexOf(this.CS= S_OFFSTATE_PREFIX)=3D=3D0){var = A=3DG.substring(this.CSS_OFFSTATE_PREFIX.length)}}}if(A&&(!H||wFORMS.help= ers.contains(H,A))){J.push(A)}}return = J};wFORMS.behaviors["switch"].instance.prototype.getTriggersByTarget=3Dfu= nction(G){var D=3Dnew Array();var = F=3DwFORMS.behaviors["switch"].getSwitchNamesFromTarget(G);var = A=3DwFORMS.behaviors.repeat;for(var C=3D0;C0){var A=3Dnew Array();for(var = B=3D0;B0){if(E){E.preventDefault?E.preventDefault():E.return= Value=3Dfalse}if(this.behavior.onFail){this.behavior.onFail(this,E)}retur= n false}if(this.behavior.onPass){this.behavior.onPass(this,E)}return = true};wFORMS.behaviors.validation.instance.prototype.fail=3Dfunction(B,C)= {var = E=3Ddocument.getElementById(B.id+"-D");if(!E&&wFORMS.behaviors.repeat){if= (B.id){var A=3DB.id.replace(/(\[\d+\])+(\-[HED])?$/,"$2");var = D=3DB.id.split(A).join("");A+=3D"-D";if(D){A+=3DD}E=3Ddocument.getElement= ById(A)}}if(E){if(!E.hasClass){wFORMS.standardizeElement(E)}E.addClass(th= is.behavior.styling.fieldError)}else{if(!B.hasClass){wFORMS.standardizeEl= ement(B)}B.addClass(this.behavior.styling.fieldError)}this.addErrorMessag= e(B,this.behavior.messages[C])},wFORMS.behaviors.validation.instance.prot= otype.pass=3Dfunction(A){};wFORMS.behaviors.validation.instance.prototype= .addErrorMessage=3Dfunction(A,B){if(!A.id){A.id=3DwFORMS.helpers.randomId= ()}var = C=3Ddocument.createElement("span");C.appendChild(document.createTextNode(= B));var = D=3Ddocument.getElementById(A.id+this.behavior.ERROR_PLACEHOLDER_SUFFIX);= if(!D){D=3Ddocument.createElement("div");D.setAttribute("id",A.id+this.be= havior.ERROR_PLACEHOLDER_SUFFIX);if(A.tagName=3D=3D"TR"){if(A.getElements= ByTagName("TH").length>0){D=3D(A.getElementsByTagName("TH")[0]).appendChi= ld(D)}else{D=3D(A.getElementsByTagName("TD")[0]).appendChild(D)}}else{if(= A.hasClass("wfSection")||A.hasClass("inlineSection")){D=3DA.appendChild(D= )}else{var = E=3Ddocument.getElementById(A.id+"-D");if(E){D=3DE.appendChild(D)}else{D=3D= A.parentNode.insertBefore(D,A.nextSibling)}}}}D.appendChild(C);wFORMS.sta= ndardizeElement(D);D.addClass(this.behavior.styling.errorMessage)};wFORMS= .behaviors.validation.instance.prototype.removeErrorMessage=3Dfunction(C)= {var = D=3Ddocument.getElementById(C.id+"-D");if(!C.hasClass){wFORMS.standardize= Element(C)}if(!C.removeClass){wFORMS.standardizeElement(C)}if(D&&!D.hasCl= ass){wFORMS.standardizeElement(D)}if(D&&!D.removeClass){wFORMS.standardiz= eElement(D)}if(C.hasClass(this.behavior.styling.fieldError)){C.removeClas= s(this.behavior.styling.fieldError)}if(D&&D.hasClass(this.behavior.stylin= g.fieldError)){D.removeClass(this.behavior.styling.fieldError)}var = B=3Ddocument.getElementById(C.id+this.behavior.ERROR_PLACEHOLDER_SUFFIX);= if(B){B.parentNode.removeChild(B)}else{if(C.id){var = A=3DC.id.split("-D").join("");var = B=3Ddocument.getElementById(A+this.behavior.ERROR_PLACEHOLDER_SUFFIX);if(= B){B.parentNode.removeChild(B)}}}};wFORMS.behaviors.validation.instance.p= rototype.isSwitchedOff=3Dfunction(B){var = C=3DwFORMS.getBehaviorInstance(this.target,"switch");if(C){var = A=3DB;while(A&&A.tagName!=3D"BODY"){if(A.className&&A.className.indexOf(C= .behavior.CSS_OFFSTATE_PREFIX)!=3D-1&&A.className.indexOf(C.behavior.CSS_= ONSTATE_PREFIX)=3D=3D-1){return true}A=3DA.parentNode}}return = false};wFORMS.behaviors.validation.isErrorPlaceholderId=3Dfunction(A){ret= urn A.match(new = RegExp(wFORMS.behaviors.validation.ERROR_PLACEHOLDER_SUFFIX+"$"))!=3Dnull= };wFORMS.behaviors.validation.instance.prototype.isEmpty=3Dfunction(A){va= r = B=3D/^\s+$/;return((A=3D=3Dnull)||(A.length=3D=3D0)||B.test(A))};wFORMS.b= ehaviors.validation.instance.prototype.validateRequired=3Dfunction(A,D){s= witch(A.tagName){case"INPUT":var = B=3DA.getAttribute("type");if(!B){B=3D"text"}switch(B.toLowerCase()){case= "checkbox":case"radio":return A.checked;break;case"file":var = C=3Ddocument.getElementById("tfa_uploadDelete_"+A.id);if(this.isEmpty(D))= {return(C&&!C.checked)}return true;break;default:return = !this.isEmpty(D)}break;case"SELECT":return = !this.isEmpty(D);break;case"TEXTAREA":return = !this.isEmpty(D);break;default:return = this.validateOneRequired(A);break}return = false};wFORMS.behaviors.validation.instance.prototype.validateOneRequired= =3Dfunction(B){if(B.nodeType!=3D1){return = false}if(this.isSwitchedOff(B)){return = false}switch(B.tagName){case"INPUT":var = C=3DB.getAttribute("type");if(!C){C=3D"text"}switch(C.toLowerCase()){case= "checkbox":case"radio":return B.checked;break;case"file":var = D=3Ddocument.getElementById("tfa_uploadDelete_"+B.id);if(this.isEmpty(wFO= RMS.helpers.getFieldValue(B))){return(D&&!D.checked)}return = true;break;default:return = !this.isEmpty(wFORMS.helpers.getFieldValue(B))}break;case"SELECT":return = !this.isEmpty(wFORMS.helpers.getFieldValue(B));break;case"TEXTAREA":retur= n !this.isEmpty(wFORMS.helpers.getFieldValue(B));break;default:for(var = A=3D0;A0) {=0A= c_start=3Ddocument.cookie.indexOf(c_name + "=3D");=0A= if (c_start!=3D-1) {=0A= c_start=3Dc_start + c_name.length+1;=0A= c_end=3Ddocument.cookie.indexOf(";",c_start);=0A= if (c_end=3D=3D-1) {=0A= c_end=3Ddocument.cookie.length;=0A= }=0A= // = alert(document.cookie.substring(c_start,c_end));=0A= c_email =3D document.cookie.substring(c_start,c_end); =0A= // alert("c_email "+c_email); =0A= }=0A= }=0A= =0A= =0A= =0A= if(ssoKey !=3D -1 && c_email=3D=3D"null" ) //check to see if user is = logged in=0A= {=0A= =0A= location.replace(currentURL); =0A= } =0A= ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/agilent/css3/treeview.js /* treeview.js v1 R10.1 jrg 2010-02-17 */ var scripts =3D document.getElementsByTagName("SCRIPT"); for(var i=3D0; i < scripts.length; i++) { if(/(.*)agilent\/css3\/treeview\.js$/.test(scripts[i].src)) break; } var cdn =3D RegExp.$1; var plusSrc =3D cdn + "agilent/images3/page/plus.gif"; var minusSrc =3D cdn + "agilent/images3/page/minus.gif"; var plusSelSrc =3D cdn + "agilent/images3/page/plus_selected.gif"; var minusSelSrc =3D cdn + "agilent/images3/page/minus_selected.gif"; var plusHoverSrc =3D cdn + "agilent/images3/page/plus_hover.gif"; var minusHoverSrc =3D cdn + "agilent/images3/page/minus_hover.gif"; var expandText =3D "click to expand"; /* use language/locale-specific = text here */ var collapseText =3D "click to collapse"; /* use = language/locale-specific text here */ function simplePreload() {=20 var args =3D simplePreload.arguments; document.imageArray =3D new Array(args.length); for(var i=3D0; i Variables added for the CR var quoteAdded=3D'N'; // Variable to check if the quote has been added. var view=3D0; // Variable to check if the quote has been viewed manually = or automatically.=20 // // Ttimer cookie functions. function setCookieTimer(c_name) { setCookie(c_name,parseInt((new Date()).getTime()/60000)); } function expireCookie(c_name) { setCookie(c_name,"x",-1); } // Function finds if the timer cookie has expired. function diffCookieTimerNow(c_name) { return ((new Date()).getTime()/60000 - = parseFloat(getCookieValue(c_name))); } function setCookie(c_name,value,expiredays) { var exdate=3Dnew Date();exdate.setDate(exdate.getDate()+expiredays); var path =3D'/'; document.cookie=3Dc_name+ "=3D" +escape(value)+ ((expiredays=3D=3Dnull) = ? "" : ";expires=3D"+exdate.toGMTString()) + ";path=3D"+path; } // //Function for getting the value of cookie function getCookieValue(c_name) { if (document.cookie.length>0) { c_start=3Ddocument.cookie.indexOf(c_name + "=3D"); if (c_start!=3D-1) { c_start=3Dc_start + c_name.length+1; c_end=3Ddocument.cookie.indexOf(";",c_start); if (c_end=3D=3D-1) { c_end=3Ddocument.cookie.length; } return decodeURIComponent(document.cookie.substring(c_start,c_end)); } } return ""; } //Function for setting the value in cookie after encoding applied function setQuoteCookie(c_name,value,dateOffset) { var path =3D'/'; var domain =3D '.agilent.com'; var exdate=3Dnew Date(); exdate.setTime(exdate.getTime() + dateOffset);=09 document.cookie=3Dc_name+ "=3D" +encodeURIComponent(value)+=20 ((dateOffset=3D=3Dnull) ? "" : ";expires=3D"+exdate.toGMTString())+ ";path=3D"+path;=09 } //Function for setting the value in cookie after encoding applied function setSiteCookie(c_name,value) { var path =3D'/'; var domain =3D '.agilent.com'; document.cookie=3Dc_name+ "=3D" +encodeURIComponent(value)+=20 ";path=3D"+path+";domain=3D"+domain;=09 } function Point(iX, iY) { this.x =3D iX this.y =3D iY } function fGetXY(aTag) { var oTmp =3D aTag var pt =3D new Point(0,0) do { pt.x +=3D oTmp.offsetLeft; pt.y +=3D oTmp.offsetTop; oTmp =3D oTmp.offsetParent; } while(oTmp.tagName!=3D"BODY" && oTmp.tagName!=3D"HTML"); return pt; } //Function for showing the block function showBlock(obj,content) { obj.innerHTML =3D content; obj.style.display =3D "block"; obj.className +=3D " block"; // Opera } //Function for hiding the block function hideBlock(obj) { obj.innerHTML =3D ""; obj.style.display =3D "none"; obj.className =3D obj.className.replace(/\bblock\b/g,""); // Opera } //Function for adding the product to the quote bakset and showing in = QQIP layer function addQuoteRow(tBody, pid, model, description, quantity, = configType) { var row =3D document.createElement("TR"); row.configType =3D configType; var cell =3D document.createElement("TD"); cell.className =3D "center"; cell.innerHTML =3D '3D"''; row.appendChild(cell); cell =3D document.createElement("TD"); cell.className =3D "center"; // cell.innerHTML =3D ''; var qtyOptions =3D ''; //Added for converting text box to drop down for CR 899 for (x=3D1; x < 10; x++) { qtyOptions =3D qtyOptions + ''; } cell.innerHTML =3D ' '; row.appendChild(cell); cell =3D document.createElement("TD"); cell.innerHTML =3D model; row.appendChild(cell); cell =3D document.createElement("TD"); cell.innerHTML =3D description + '
' + (configType =3D=3D = "typical" ? typicalConfig : customConfig) + '
'; row.appendChild(cell); tBody.appendChild(row); return row; } //Function for showing the QQIP layer in IFRAME function showQuotes() { try { = $("#getquoteoverlay").css("overflow","hidden").removeShadow().animate({he= ight: 1}, "fast", function() { = $(this).css("visibility","hidden").siblings("h4").removeClass("grey").dat= a("busy",false); if(isIE6) $(this).children("iframe").css({'z-index': -1}); }); $("#getquote h4").data("closed",true).attr("title",jqExpand); } catch(e) {}=09 var pt =3D fGetXY(qqLink); var left =3D pt.x + qqLink.offsetWidth - 615; var ptrLeft =3D 615 - 0.3 * qqLink.offsetWidth - 20; if(ptrLeft > 615 - 41) ptrLeft =3D 615 - 41; if(document.body.scrollWidth < left + 615) { left =3D document.body.offsetWidth - 625; ptrLeft +=3D 10; } if(left < 0) left =3D 0; qqLayer.style.left =3D left + "px"; qqLayer.style.top =3D pt.y + qqLink.offsetHeight + "px"; document.getElementById("qqipptr").style.left =3D ptrLeft + "px"; delete pt; if(qqLayer.style.display !=3D "block") { addEvent(window,"resize", showQuotes); qqLayer.style.display =3D "block"; } if (window.attachEvent) { var iframe =3D qqLayer.getElementsByTagName("IFRAME")[0]; iframe.style.height =3D qqLayer.offsetHeight - 19 + "px"; iframe.style.width =3D qqLayer.offsetWidth + "px"; } setCookieTimer("AG_QQ_TIMER"); } //Function for hiding the product information of QQIP layer function hideQuotes() { qqLayer.style.display =3D "none"; hideBlock(qqMsg); hideBlock(document.getElementById("sqtop")); showBlock(document.getElementById("sqbtm"),'' + = fContinue + ' ' + sendQuoteLink); if(newRow) newRow.className =3D = newRow.className.replace(/\bnewrow\b/g,""); removeEvent(window, "resize", showQuotes); } //Function for adding the product to the quote basket DB table thorugh = AJAX call function addQuote(obj,url,index,auto) { if(modifyQuoteDone=3D=3D'Y'){ modifyQuoteDone =3D 'N'; =09 //Following function call will compare the site values of SITE cookie = and quote //basket cookie and set the site cookie value to quote basket cookie = value. compareSiteValues(); onClickAddQQCurrent =3D onClickAddQQ[index]; // Setting eVar30 values for manual/auto Add. if(auto=3D=3D1) onClickAddQQCurrent =3D onClickAddQQCurrent.replace("Manual","Auto"); else if(auto=3D=3D0) onClickAddQQCurrent =3D onClickAddQQCurrent.replace("Auto","Manual"); // =09 //setQuoteCookie("cookies","cookies",(24*60*60*1000) * 1); addQuoteObj =3D obj; var qqAction =3D obj.parentNode.parentNode; //If browser does not support cookie then show the error message. //if(getCookieValue("cookies") !=3D "cookies") { // qqAction.innerHTML =3D '

' + pQuoteError + = '

' + '

' + pAddQuoteLink + '

'; // return; //} var qCookie =3D getCookieValue(cookieName); if(qCookie=3D=3Dnull){ qCookie=3D''; } var count =3D qCookie.replace(/\|(&|\$)\|/g,"\t").split("\t").length - = 1; if(newRow) newRow.className =3D = newRow.className.replace(/\bnewrow\b/g,""); if(count <=3D 8) { pidAndQtys=3DqqAction.product.pid+'|'+'1'+'|'+'Y'+','; //Method for AJAX call = modifyQuoteBasket(modifyQuoteBasketReqUrl,modifyQuoteBasketReqParams,pidA= ndQtys,index); =09 } else { showBlock(qqMsg, '

' + fFull + '

'); showBlock(document.getElementById("sqtop"),sendQuoteLink); showBlock(document.getElementById("sqbtm"),sendQuoteLink); showQuotes(); } hideBlock(errorArea); } } //Function with AJAX call for updating the quote basket DB Table. function modifyQuoteBasket(requrl,reqParams, pidQtys,index) { try { // Firefox, Opera 8.0+, Safari =20 xmlHttp =3D new XMLHttpRequest(); } catch (e) { =20 // Internet Explorer =20 try { xmlHttp =3D new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlHttp =3D new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { alert("Your browser does not support AJAX!"); return false; } } } var randomnumber=3DMath.floor(Math.random()*1111111) if(randomnumber!=3D'' && randomnumber!=3Dnull){ reqParams =3D reqParams + "&randomnumber=3D" +randomnumber; } reqParams =3D reqParams + "&pidAndQtys=3D" + pidQtys; if(addQuoteObj!=3D'' && addQuoteObj!=3Dnull){ reqParams =3D reqParams + "&addToQuote=3D" +"Y"; } reqParams=3DreqParams.replace(/&/g,"&"); xmlHttp.open("POST", requrl, true); =09 xmlHttp.setRequestHeader("Content-type", = "application/x-www-form-urlencoded"); xmlHttp.setRequestHeader("Content-length", reqParams.length); xmlHttp.send(reqParams); xmlHttp.onreadystatechange =3D processQuoteBasketStatus;=09 =09 } //Function for processing the AJAX response function processQuoteBasketStatus() { if (xmlHttp.readyState =3D=3D 4) { // Complete if (xmlHttp.status =3D=3D 200) { // OK response var exceedMaxProductsResponse =3D = xmlHttp.responseXML.getElementsByTagName("exceedMaxProducts")[0]; var exceedMaxProducts =3D ''; if(exceedMaxProductsResponse!=3Dnull){ exceedMaxProducts =3D = exceedMaxProductsResponse.childNodes[0].nodeValue; } // If user adds more than 8 product to the quote basket and // active site is same then do not add the product to the quote // basket and redirect to the QQ checkout page. =09 if('Y'=3D=3DexceedMaxProducts){ document.getElementById("qqForm").exceedMaxProducts.value =3D 'Y'; document.getElementById("qqForm").submit(); }else{ var cartIdResponse =3D = xmlHttp.responseXML.getElementsByTagName("cartId")[0]; cartId =3D cartIdResponse.childNodes[0].nodeValue; if(cartId!=3Dnull && cartId!=3D'' && cartId!=3D'no'){ var cartRandomIdResponse =3D = xmlHttp.responseXML.getElementsByTagName("cartRandomId")[0]; var cartCountryResponse =3D = xmlHttp.responseXML.getElementsByTagName("cartCountry")[0]; var cartLangCodeResponse =3D = xmlHttp.responseXML.getElementsByTagName("cartLangCode")[0]; var cartModelNumberResponse =3D = xmlHttp.responseXML.getElementsByTagName("modelNumber")[0]; var cartActiveSiteResponse =3D = xmlHttp.responseXML.getElementsByTagName("cartActiveSite")[0]; var activeActiveResponse =3D = xmlHttp.responseXML.getElementsByTagName("ActiveActive")[0]; var cookieHackedResonse =3D = xmlHttp.responseXML.getElementsByTagName("cookieHacked")[0]; var remainingTimeResonse =3D = xmlHttp.responseXML.getElementsByTagName("remainingTime")[0]; =09 =09 =09 // onclick metrics processing=20 =09 cartRandomId =3D cartRandomIdResponse.childNodes[0].nodeValue; =09 cartCountry =3D cartCountryResponse.childNodes[0].nodeValue; =09 cartLangCode =3D cartLangCodeResponse.childNodes[0].nodeValue; =09 cartModelNumber =3D = cartModelNumberResponse.childNodes[0].nodeValue; =09 cartActiveSite =3D cartActiveSiteResponse.childNodes[0].nodeValue; =09 activeActive =3D activeActiveResponse.childNodes[0].nodeValue; =09 cookieHacked =3D cookieHackedResonse.childNodes[0].nodeValue; =09 remainingTime =3D remainingTimeResonse.childNodes[0].nodeValue; =09 if(remainingTime!=3D'' && remainingTime!=3Dnull){ remainingTime =3D Number(remainingTime); } //If user has clicked Add to Quick quote then add the product to = the //quote basket cookie if(addQuoteObj!=3D'' && addQuoteObj!=3Dnull){=09 onClickAddQuickQuote(); prepareQuoteCookie(addQuoteObj); onClkViewQuote(); modifyQuoteDone=3D'Y'; quoteAdded =3D 'Y'; } =09 //if user has clicked update quantities or removed the product=20 //from the quote bakset. if(updatedCookie!=3D'' && updatedCookie!=3Dnull){ =09 //Function for setting the quote basket with update site and = updated //quote bakset id values in quote bakset cookie in case the = active site //is different from the quote basket cookie site. updateActiveActive(); =09 if(updatedCookie!=3D''){ setQuoteCookie(cookieName,updatedCookie,remainingTime); }else{ setQuoteCookie(cookieName,updatedCookie,0); } =09 onClkViewQuote(); =09 quoteInit('Y'); =09 updatedCookie =3D''; //deleteCookieObj =3D ''; modifyQuoteDone=3D'Y'; if(validateQty=3D=3D'Y'){ hideQuotes(); validateQty =3D ''; } } //If user has clicked the remove button then delete the product = from QQIP layer. if(deleteCookieObj!=3D'' && deleteCookieObj!=3Dnull){ modifyQuoteDone=3D'Y'; = //document.getElementById("qqTbl").deleteRow(deleteCookieObj.parentNode.p= arentNode.rowIndex-1);=09 deleteCookieObj=3D''; } if(submit=3D=3D'Y'){ submit=3D'N'; document.getElementById("qqForm").submit(); } =09 }else{ if(cartId=3D=3D'no'){ var qqAction =3D addQuoteObj.parentNode.parentNode; var qCookie =3D getCookieValue(cookieName); var count =3D = qCookie.replace(/\|(&|\$)\|/g,"\t").split("\t").length - 1; if(qCookie.search(new RegExp("\\|(&|\\$)\\|" + = qqAction.product.pid + "\\|\\|")) !=3D -1) { qqAction.innerHTML =3D '

' + = pAddQuoteMsg + '

' + '

' + sendQuoteLinkProdPage + '

'; if(count > 1) qqLink.innerHTML =3D = sQuoteLinkMany.replace(/([^<>]*)<\/span>/,count); else qqLink.innerHTML =3D = sQuoteLink.replace(/([^<>]*)<\/span>/,count); qqLink.style.visibility =3D "visible"; document.getElementById("qqForm").style.display =3D "block"; newRow =3D = addQuoteRow(qqTBody,qqAction.product.pid,qqAction.product.model,qqAction.= product.description,1); newRow.className =3D "newrow"; showBlock(qqMsg,'

' + fAddQuoteMsg = + '

'); } else { var tmp =3D qqAction.innerHTML; qqAction.innerHTML =3D '

' + pQuoteError + = '

' + tmp; } if(count<8){ showQuotes(); } addQuoteObj =3D''; modifyQuoteDone=3D'Y'; =09 //If 8 products are added to quote basket then redirect to QQ = checkout page. if(count=3D=3D8){ document.getElementById("qqForm").maxProducts.value =3D 'Y'; document.getElementById("qqForm").submit(); }=09 } =09 } =09 } }else{ alert("Server is temporarily unavailable."); } } } //Function for preparing the quote bakset cookie. function prepareQuoteCookie(obj){ var qqAction =3D obj.parentNode.parentNode; =09 var qCookie =3D getCookieValue(cookieName); if(qCookie =3D=3D '' || qCookie=3D=3Dnull){ qCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite; } if(activeActive=3D=3D'Y'){ =09 //Changed for Custom Configuration =09 var tcIndex =3D qCookie.indexOf("|&|"); var ccIndex =3D qCookie.indexOf("|$|"); var qArray=3D''; =09 if(tcIndex !=3D -1 && ccIndex !=3D -1){ if(tcIndex < ccIndex){ qArray =3D qCookie.substring(tcIndex+3,qCookie.length); qCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|&|"+qArray; } else{ qArray =3D qCookie.substring(ccIndex+3,qCookie.length); qCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|$|"+qArray; } } else if(tcIndex =3D=3D -1 && ccIndex !=3D -1){ qArray =3D qCookie.substring(ccIndex+3,qCookie.length); qCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|$|"+qArray; } else=20 if(tcIndex !=3D -1 && ccIndex =3D=3D -1){ qArray =3D qCookie.substring(tcIndex+3,qCookie.length); qCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|&|"+qArray; } =09 //var qArray =3D = qCookie.substring(qCookie.indexOf("|&|")+3,qCookie.length); //qCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|&|"+qArray; =09 } if(cookieHacked=3D=3D'Y' && (qCookie!=3D'' && qCookie!=3Dnull)){ qCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite; } //qCookie +=3D "22"+"-"+"abc"+"||"+"US"+"||"+"eng"+"||"+"COS"; =09 if(qqAction.product.configType =3D=3D 'typical') setQuoteCookie(cookieName,qCookie + "|&|" + qqAction.product.pid + = "||" + cartModelNumber + "||" + qqAction.product.description + "||" + = "1",remainingTime); else setQuoteCookie(cookieName,qCookie + "|$|" + qqAction.product.pid + = "||" + cartModelNumber + "||" + qqAction.product.description + "||" + = "1",remainingTime); =09 //setQuoteCookie(cookieName,qCookie + "|&|" + qqAction.product.pid + = "||" + cartModelNumber + "||" + qqAction.product.description + "||" + = "1",remainingTime); =09 =09 qCookie =3D getCookieValue(cookieName); var count =3D qCookie.replace(/\|(&|\$)\|/g,"\t").split("\t").length - = 1; if(qCookie.search(new RegExp("\\|(&|\\$)\\|" + qqAction.product.pid + = "\\|\\|")) !=3D -1) { qqAction.innerHTML =3D '

' + = pAddQuoteMsg + '

' + '

' + sendQuoteLinkProdPage + '

'; if(count > 1) qqLink.innerHTML =3D = sQuoteLinkMany.replace(/([^<>]*)<\/span>/,count); else qqLink.innerHTML =3D = sQuoteLink.replace(/([^<>]*)<\/span>/,count); qqLink.style.visibility =3D "visible"; document.getElementById("qqForm").style.display =3D "block"; newRow =3D = addQuoteRow(qqTBody,qqAction.product.pid,cartModelNumber,qqAction.product= .description,1); newRow.className =3D "newrow"; showBlock(qqMsg,'

' + fAddQuoteMsg + = '

'); } else { var tmp =3D qqAction.innerHTML; //Updated for ECMS CR 88779 if(!(qqAction.innerHTML.indexOf(pQuoteError) > -1)) qqAction.innerHTML =3D '

' + pQuoteError + = '

' + tmp; } if(count<8 && count>0){ showQuotes(); } addQuoteObj =3D''; =09 //If 8 products are added to quote basket then redirect to QQ checkout = page. if(count=3D=3D8){ document.getElementById("qqForm").maxProducts.value =3D 'Y'; document.getElementById("qqForm").submit(); } } //Fucntion for deleting the product from the quote basket. function deleteProductFromQuote(obj,pID) { showQuotes(); if(modifyQuoteDone=3D=3D'Y'){ deleteCookieObj =3D obj; updateQuantities('Y',pID); expireCookie("AG_QQ_TIMER"); } } function onClkViewQuote(){ var quoteBasketCookie =3D getCookieValue(cookieName); if(quoteBasketCookie!=3Dnull && quoteBasketCookie!=3D''){ var qArray =3D quoteBasketCookie.replace(/\|&\|/g,"\t").split("\t"); var productsArray =3D ''; for(var i=3D1; i < qArray.length; i++) { pArray =3D qArray[i].replace(/\|\|/g,"\t").split("\t");=09 productsArray +=3D ';' + pArray[1]; =09 if(qArray.length>1 && i!=3DqArray.length-1) productsArray +=3D ','; =09 } if(onClickViewQQ!=3Dnull && onClickViewQQ!=3D''){ var temp1 =3D = onClickViewQQ.substring(0,onClickViewQQ.indexOf("s.products=3D")+11);=20 var temp2 =3D = onClickViewQQ.substring(onClickViewQQ.indexOf("s.events=3D"),onClickViewQ= Q.length);=20 onClickViewQQ =3D temp1 + '\''+productsArray + '\''+';'+ temp2; } } // Setting eVar30 values for manual/reminder View if(view=3D=3D1){ onClickViewQQ =3D onClickViewQQ.replace("Reminder Popup","Manual = View"); } // } //Function for initializing the QQIP layer. function quoteInit(QQIPClicked) { var showLink; var msgHtml =3D ''; qqLayer =3D document.getElementById("qqLayer");=20 if (!qqLayer) { showLink =3D 'Y'; qqLayer =3D document.createElement("DIV"); qqLayer.id =3D "qqLayer"; } // Code commented as a part of CR 924. /* qqLayer.innerHTML =3D '3D""' + '
' + fClose + = '' + '

' + fHeading + '

' + '
' + '

' + '' + '' + '' + '
' + fRemove + '' + fQuantity + '' + fProdID + '' + fDescription + = '

' + '

' + = fContinue + ' ' + sendQuoteLink + '

'+ ''+ ''+ '
' + '
'+ '
' + ''+ '
'+ ''; */ // New QQLayer qqLayer.innerHTML =3D '3D""' + '
' = + fClose + '' + '

' + fHeading + '

' + '
' + '

' + '' + '' + '' + '
' + fRemove + '' + fQuantity + '' + fProdID + '' + fDescription + = '
' + '

' + fContinue + ' ' + = sendQuoteLink + '

' +=20 ''+ ''+ '
' + '
' +=20 '
' + ''+ '
'+ ''; // document.body.appendChild(qqLayer); =09 //Forward to locale switch conformation page if locale //of qq basket cookie and locale cookie are not same. if(QQIPClicked!=3D'Y' && isPnfPage!=3D'Y'){ compareLocales(); } =09 var qCookie =3D getCookieValue(cookieName); if(qCookie=3D=3Dnull){ qCookie=3D''; expireCookie("AG_QQ_TIMER"); } =09 var qArray =3D qCookie.replace(/\|(&|\$)\|/g,"\t$1").split("\t"); var basketId =3D qCookie.substring(0,qCookie.indexOf("-")); var pArray; qqMsg =3D document.getElementById("qqMsg"); hideBlock(qqMsg); errorArea =3D document.getElementById("errorAreaQQ"); hideBlock(errorArea); hideBlock(document.getElementById("sqtop"));=09 qqTBody =3D document.getElementById("qqTBody"); var productsArray =3D ''; for(var i=3D1; i < qArray.length; i++) { var configType =3D (qArray[i].charAt(0) =3D=3D '&' ? 'typical' : = 'custom'); pArray =3D qArray[i].substr(1).replace(/\|\|/g,"\t").split("\t"); productsArray +=3D ';' + pArray[1]; =09 if(qArray.length>1 && i!=3DqArray.length-1) productsArray +=3D ','; = addQuoteRow(qqTBody,pArray[0],pArray[1],pArray[2],pArray[3],configType); } var shortcuts =3D document.getElementById("shortcuts"); if(!shortcuts) { shortcuts =3D document.createElement("DIV"); shortcuts.id =3D 'shortcuts'; if(document.getElementById("loginpanel")){ document.getElementById("loginpanel").appendChild(shortcuts); } else{ document.getElementById("utilnav").appendChild(shortcuts); } } var count =3D qArray.length - 1; if(showLink=3D=3D'Y'){ if(count > 1){ shortcuts.innerHTML =3D '' + sQuoteLinkMany.replace(/([^<>]*)<\/span>/,count) + = '' + shortcuts.innerHTML; } else{ shortcuts.innerHTML =3D '' + sQuoteLink.replace(/([^<>]*)<\/span>/,count) + '' + = shortcuts.innerHTML; } } qqLink =3D document.getElementById("qqLink"); if(qArray.length - 1 > 0) qqLink.style.visibility =3D "visible"; var localeChooser =3D ''; var addQQButton =3D ''; =09 for(var i=3D0; i < qProductList.length; i++) { localeChooser =3D document.getElementById("localeChooser"+i); var qqAction =3D ''; if(document.getElementById("qqAction")!=3Dnull){ qqAction =3D document.getElementById("qqAction"); //Added for CR899 = To display locale chooser CSS msgHtml =3D '

' + pPreAddQuoteMsg + '

';// = Added for CR922 - A2QQ message } else if(document.getElementById("qqAction"+i)!=3Dnull) qqAction =3D document.getElementById("qqAction"+i);=20 addQQButton =3D document.getElementById("addQQButton"+i); if(localeChooser!=3Dnull && localeChooser!=3D'' &&=20 localeCookiePresent=3D=3D'N'){ if(qProductList[i].productQQFlag=3D=3D'Y'){ qqAction.className +=3D " yellowbox"; // Opera //Added for CR899 = To display locale chooser CSS localeChooser.style.display =3D "block";=09 localeChooser.className +=3D " block"; // Opera if(addQQButton!=3Dnull && addQQButton!=3D''){ addQQButton.style.display =3D "none";=09 addQQButton.className =3D = addQQButton.className.replace(/\bblock\b/g,""); // Opera =09 } } }else{ var qqAction =3D document.getElementById(qProductList[i].qqAction); if(qqAction!=3D'' && qqAction!=3Dnull){ qqAction.product =3D qProductList[i]; if(qCookie !=3D '' && qCookie!=3Dnull && qCookie.search(new = RegExp("\\|&\\|" + qProductList[i].pid + "\\|\\|")) !=3D -1){ qqAction.innerHTML =3D '

' + = pAddQuoteMsg + '

' + '

' + sendQuoteLinkProdPage + '

'; } else{ if(qProductList[i].productQQFlag=3D=3D'Y'){=09 if(addQQButton!=3Dnull && addQQButton!=3D''){ addQQButton.style.display =3D "block";=09 addQQButton.className +=3D " block"; // Opera if(localeChooser!=3Dnull && localeChooser!=3D''){ localeChooser.style.display =3D "none";=09 localeChooser.className =3D = localeChooser.className.replace(/\bblock\b/g,""); // Opera =09 //document.getElementById("qqAction").className =3D = 'actionlinks'; //Added for CR899 To display locale chooser CSS =09 qqAction.className =3D 'actionlinks'; } } //Changed for CR922 - A2QQ message qqAction.innerHTML =3D msgHtml+'

' + '3D"'+aqqButtonAltText+'; + '

'; onClickAddQQ[i]=3DqProductList[i].onClickAddToQQ; } =09 } } } } var count =3D qqTBody.rows.length; =09 // Code for auto add of product to cart. if((location.hash.replace("#","") =3D=3D "a2qq") && = productQQFlag=3D=3D'Y') { if(getCookieValue('AG_LOCALE')!=3D""){ if((qProductList.length =3D=3D 1) && (qCookie.search(new = RegExp("\\|&\\|" + qProductList[0].pid + "\\|\\|")) =3D=3D -1) && = quoteAdded=3D=3D'N') { var qqAction =3D document.getElementById(qProductList[0].qqAction); qqAction.product =3D qProductList[0]; = addQuote(document.getElementById("qqQuote"),'/agilent/quickQuote.jspx',0,= 1); qqMetricsVal =3D "a2qq"; } location.hash =3D "#"; document.title =3D document.title.replace(/#.*/,""); } } // =09 if(count > 0) { if(count > 1){ qqLink.innerHTML =3D = sQuoteLinkMany.replace(/([^<>]*)<\/span>/,count); } else{ qqLink.innerHTML =3D = sQuoteLink.replace(/([^<>]*)<\/span>/,count); } hideBlock(qqMsg); hideBlock(document.getElementById("sqtop")); showBlock(document.getElementById("sqbtm"),'' + = fContinue + ' ' + sendQuoteLink); } else { setQuoteCookie(cookieName,qCookie,0); qqLink.style.visibility =3D "hidden"; showBlock(qqMsg,'

' + fEmpty + '' + ' ' + fContinue + = '

'); document.getElementById("qqForm").style.display =3D "none"; hideBlock(errorArea); } if(count=3D=3D8 && QQIPClicked=3D=3D'Y'){ showBlock(qqMsg, '

' + fFull + '

'); showBlock(document.getElementById("sqtop"),sendQuoteLink); showBlock(document.getElementById("sqbtm"),sendQuoteLink); showQuotes();=09 } // Code for automatic reminder if cart is not viewed for = specified time. var showQQLayer =3D false; var qqMetricsVal =3D ""; view=3D1; if(qCookie !=3D "") { if((getCookieValue("AG_QQ_TIMER") =3D=3D "" || = diffCookieTimerNow("AG_QQ_TIMER") > qqTimeout ) && QQIPClicked!=3D'Y') { showBlock(document.getElementById('qqMsg'), '

' + qqReminder + '

'); showQQLayer =3D true; qqMetricsVal =3D "qqtimeout"; showBlock(document.getElementById("sqbtm"),'' + = fContinue + ' ' + sendQuoteLink); showQuotes(); //CX1-R5-SparshG-Metrics Change to remove e.var30-Reminder Popup //var timer_onClick =3D 's.events=3D\'event30\';s.eVar30=3D\'Reminder = Popup\';s.products=3D\''+productsArray+'\';s.eVar25=3D\''+basketId+'\';s.= linkTrackVars=3D\'events,eVar30,products,eVar25\';s.linkTrackEvents=3D\'e= vent30\';s.tl(true, \'o\', \'Quote in Progress Reminder\');'; var timer_onClick =3D = 's.events=3D\'event30\';s.products=3D\''+productsArray+'\';s.eVar25=3D\''= +basketId+'\';s.linkTrackVars=3D\'events,eVar30,products,eVar25\';s.linkT= rackEvents=3D\'event30\';s.tl(true, \'o\', \'Quote in Progress = Reminder\');'; //eval(timer_onClick); } } else if(getCookieValue("AG_QQ_TIMER") !=3D "") { expireCookie("AG_QQ_TIMER"); } // } // parameters: product id, model number, prod description,=20 //add/send quote button container id, request a quote button container = id function QuotableProduct(pid,model,description,qqAction,rcqAction, productQQFlag,onClickAddToQQ) { this.pid =3D pid; //Function for truncatin the model number to 80 characters and //product description to 300 characters. this.model =3D model; truncateModel(); description=3DtruncateProdDesc(description);=09 this.description =3D description; this.qqAction =3D qqAction; this.rcqAction =3D rcqAction; this.productQQFlag =3D productQQFlag; this.onClickAddToQQ =3D onClickAddToQQ; } //Function for updating the quote bakset and quote bakset cookie. function updateQuantities(deleteFlag,pid,valQty) { if(modifyQuoteDone=3D=3D'Y'){ hideBlock(qqMsg); hideBlock(document.getElementById("sqtop")); //var qCookie =3D getCookie(cookieName).replace(/\|&\|.*/,""); var qCookie =3D getCookieValue(cookieName); if(qCookie!=3D'' && qCookie!=3Dnull){ compareSiteValues(); modifyQuoteDone =3D 'N'; qCookie =3D qCookie.substring(0,qCookie.search(/\|(&|\$)\|/)); var hasError =3D false; var form =3D document.getElementById("qqForm"); var pItem, qItem, qItemHidden; var rows =3D qqTBody.rows; var products, quantities, qtysHidden; if(form.product.length =3D=3D null) { products =3D new Array(form.product); quantities =3D new Array(form.quantity); qtysHidden =3D new Array(form.qtyHidden); } else { products =3D form.product; quantities =3D form.quantity; qtysHidden =3D form.qtyHidden; } pidAndQtys =3D ''; for(var i=3D0; i < products.length; i++) { pItem =3D products[i]; var configType =3D rows[i].configType; qItem =3D quantities[i]; qItemHidden =3D qtysHidden[i]; //alert("qItem.value " + qItem.value); if(pItem.value!=3Dpid){ if(qItem.value.length =3D=3D 0 || qItem.value.search(/[^0-9]/) !=3D = -1) { hasError =3D true; qItem.className +=3D " error"; continue; } else { qItem.className =3D qItem.className.replace(/\berror\b/g,""); } } if(!hasError){ //If user has entered 0 value in qty field. if(pItem.value=3D=3Dpid && deleteFlag=3D=3D'Y'){ pidAndQtys+=3DpItem.value+'|'+0+'|'+'N'+','; //alert("deleting"); }else{ =09 //alert("not deleting"); if(qItem.value!=3D0){ qCookie +=3D (configType =3D=3D "typical" ? "|&|" : "|$|") + = pItem.value + "||" + rows[i].cells[2].innerHTML + "||" + = rows[i].cells[3].innerHTML.replace(/\s*/ig,'') + "||" = + (qItem.value)*1; } //If user has modified the qunatity in QQIP layer then modify //the quote basket DB table and quote bakset cookie. if(qItem.value!=3DqItemHidden.value){ pidAndQtys+=3DpItem.value+'|'+qItem.value+'|'+'N'+','; if(valQty=3D=3D'Y'){ validateQty =3D 'Y'; } } } } } if(hasError) { showBlock(errorArea, '

' + fError + = '

'); modifyQuoteDone =3D 'Y'; qqTBody =3D document.getElementById("qqTBody"); var count =3D qqTBody.rows.length; if(count=3D=3D8){ showBlock(qqMsg, '

' + fFull + '

'); showBlock(document.getElementById("sqtop"),sendQuoteLink); showBlock(document.getElementById("sqbtm"),sendQuoteLink); =09 } =09 showQuotes(); validateQty =3D ''; submit=3D'N'; return false; } else { if(valQty=3D=3D'Y'){ hideQuotes(); } =09 hideBlock(errorArea); if(pidAndQtys!=3D''){ updatedCookie =3D qCookie; = modifyQuoteBasket(modifyQuoteBasketReqUrl,modifyQuoteBasketReqParams,pidA= ndQtys); }else{ modifyQuoteDone =3D 'Y'; if(submit=3D=3D'Y'){ submit=3D'N'; document.getElementById("qqForm").submit(); } } return true; } }else{ if(valQty=3D=3D'Y'){ hideQuotes(); } } } } //Function to be called when user clicks the send Quote now button. function sendQuote() { submit=3D 'Y'; if(updateQuantities()){ =09 } else{ showQuotes(); } } //Following function will compare the site values of SITE cookie and = quote //basket cookie. function compareSiteValues(){ var quoteBasketCookie =3D getCookieValue(cookieName); var siteCookie =3D getCookieValue("SITE"); if(quoteBasketCookie!=3Dnull && quoteBasketCookie!=3D''){ //var qArray =3D quoteBasketCookie.replace(/\|&\|/g,"\t").split("\t"); var qArray =3D = quoteBasketCookie.replace(/\|(&|\$)\|/g,"\t").split("\t"); var pArray =3D qArray[0].replace(/\|\|/g,"\t").split("\t"); if(siteCookie!=3Dnull && pArray[3]!=3Dnull && = siteCookie!=3DpArray[3]){ setSiteCookie("SITE",pArray[3]); }=20 } } function updateActiveActive(){ if(activeActive=3D=3D'Y' || cookieHacked=3D=3D'Y'){ //var countProduct =3D = updatedCookie.replace(/\|&\|/g,"\t").split("\t").length - 1; var countProduct =3D = updatedCookie.replace(/\|(&|\$)\|/g,"\t").split("\t").length - 1; if(countProduct=3D=3D0){ updatedCookie =3D ''; } else{ var tcIndex =3D updatedCookie.indexOf("|&|"); var ccIndex =3D updatedCookie.indexOf("|$|"); var qArray=3D''; =09 if(tcIndex !=3D -1 && ccIndex !=3D -1){ =09 if(tcIndex < ccIndex){ qArray =3D updatedCookie.substring(tcIndex+3,updatedCookie.length); updatedCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|&|"+qArray; } else{ qArray =3D updatedCookie.substring(ccIndex+3,updatedCookie.length); updatedCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|$|"+qArray; } } else if(tcIndex =3D=3D -1 && ccIndex !=3D -1){ qArray =3D updatedCookie.substring(ccIndex+3,updatedCookie.length); updatedCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|$|"+qArray; } =09 else=20 if(tcIndex !=3D -1 && ccIndex =3D=3D -1){ qArray =3D = updatedCookie.substring(tcIndex+3,updatedCookie.length); updatedCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|&|"+qArray; } } =09 //else{ //var qArray =3D = updatedCookie.substring(updatedCookie.indexOf("|&|")+3,updatedCookie.leng= th); //updatedCookie =3D = cartId+"-"+cartRandomId+"||"+cartCountry+"||"+cartLangCode+"||"+cartActiv= eSite+"|&|"+qArray; //} } } //Folowing code is for truncating model number to 80 characters //and product description to 300 characters after appying the encoding. function truncateModel(){ if(cartModelNumber!=3Dnull){=09 cartModelNumber =3D escape(cartModelNumber); if(cartModelNumber.length >80){ var tempModelNumber =3D cartModelNumber.substring(78,80); if(tempModelNumber.indexOf("%")>0){ cartModelNumber =3D = unescape(cartModelNumber.substring(0,78+tempModelNumber.indexOf("%")-1));= }else{ cartModelNumber =3D unescape(cartModelNumber.substring(0,80)); } }else{ cartModelNumber =3D unescape(cartModelNumber); } } } function truncateProdDesc(cartProdDesc){ if(cartProdDesc!=3Dnull){ cartProdDesc =3D escape(cartProdDesc); if(cartProdDesc.length >300){ var tempCartProdDesc =3D cartProdDesc.substring(298,300); if(tempCartProdDesc.indexOf("%")>0){ cartProdDesc =3D = unescape(cartProdDesc.substring(0,298+tempCartProdDesc.indexOf("%")-1)); }else{ cartProdDesc =3D unescape(cartProdDesc.substring(0,300)); } }else{ cartProdDesc =3D unescape(cartProdDesc); } } return cartProdDesc; } //Following function will compare the locales present in //quote basket cookie and locale cookie. //If locale cookie is not present=20 function compareLocales(){ var quoteBasketCookie =3D getCookieValue(cookieName); var qqCountryCode =3D ''; var qqLanguageCode =3D ''; if(quoteBasketCookie!=3D'' && quoteBasketCookie!=3Dnull){ //var qArray =3D quoteBasketCookie.replace(/\|&\|/g,"\t").split("\t"); var qArray =3D = quoteBasketCookie.replace(/\|(&|\$)\|/g,"\t").split("\t"); var pArray =3D qArray[0].replace(/\|\|/g,"\t").split("\t");=09 qqCountryCode =3D pArray[1]; qqLanguageCode =3D pArray[2]; } var localeCookie =3D getCookieValue("AG_LOCALE"); var localeCookieCountryCode =3D ''; var localeCookieLanguageCode =3D ''; =09 var localeChanged =3D 'N'; =09 if(localeCookie!=3D'' && localeCookie!=3Dnull){ localeCookieCountryCode =3D localeCookie.substring(0,2); localeCookieLanguageCode =3D = localeCookie.substring(2,localeCookie.length); } =09 if (qqCountryCode!=3D'' && qqLanguageCode!=3D''){ if(qqCountryCode !=3D localeCookieCountryCode){ localeChanged =3D 'Y'; }else if(qqLanguageCode !=3D localeCookieLanguageCode){ localeChanged =3D 'Y';=09 } } =09 if(localeChanged=3D=3D'Y'){ document.getElementById("localeChangeForm").submit(); } //If locale cookie is not present then set locale with the //quote basket cookie value. //if(localeCookie =3D=3D '' && qqCountryCode!=3D'' && = qqLanguageCode!=3D'' && localeChanged=3D=3D'N'){ // var localeValue =3D qqCountryCode+qqLanguageCode; // setQuoteCookie("AG_LOCALE",localeValue,(24*60*60*1000) * 183); //} } function rcqButtonShow(rcqCheckoutUrl, pageUrl, listVal, rcqButtonDesc, = rcqButtonImagePath,=20 rcqButtonAltText,rcqButtonWidth, rcqButtonHeight, iValue ){ //Show RCQ button in following cases. //1.If product is not quick quotable. //2. If locale cookie is not present. //3. If product is custom quotable. =09 // Added for CR922 - A2QQ message var msgHtml =3D ''; if(iValue =3D=3D 'rcqAction'){ msgHtml =3D '

'+ pPreRCQMsg +'

'; } if((productQQFlag=3D=3D'N' || localeCookiePresent=3D=3D'N') && productRCQFlag=3D=3D'Y'){ =20 var html =3D msgHtml;// Added for CR922 - A2QQ message html +=3D '
'; html +=3D ''; html +=3D ''; html +=3D '

' ; document.getElementById(iValue).innerHTML =3D html; } } function submitQQForm(){ updateQuantities(); } function onClickAddQuickQuote(){ onClickAddQQCurrent=3DonClickAddQQCurrent.replace(/#replace#/g,cartId); eval(onClickAddQQCurrent); } function changeOnClkViewQQ(){ onClkViewQuote(); eval(onClickViewQQ); } function addEvent( obj, type, fn ) { if (obj.addEventListener){ obj.addEventListener( type, fn, false ); } else if (obj.attachEvent){ obj.attachEvent( "on"+type, fn ); } } function removeEvent( obj, type, fn ) { if (obj.detachEvent){ obj.detachEvent( "on"+type, fn ); } else if (obj.removeEventListener){ obj.removeEventListener( type, fn, false ); } } addEvent(window,"load", quoteInit); ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: 7bit Content-Location: http://cp.home.agilent.com/agilent/css3/contact.js /* contact.js v1 CR9.4-200909 2009-09-10 jrg */ var talkLink, talkSpan, talkTimer; function talkInit() { var contactContainer = document.getElementById("contactContainer"); if(!contactContainer) return; talkLink = contactContainer.getElementsByTagName("A")[0]; talkLink.innerHTML = "" + talkLink.innerHTML + ""; talkSpan = talkLink.getElementsByTagName("SPAN")[0]; talkResize2(); addEvent(window,"resize",talkResize); } function talkResize2() { talkLink.style.width = talkSpan.offsetWidth + "px"; } function talkResize() { clearTimeout(talkTimer); talkLink.style.width = "auto"; talkTimer = setTimeout(talkResize2,300); } function addEvent(obj, type, fn) { if (obj.addEventListener) obj.addEventListener( type, fn, false ); else if (obj.attachEvent) obj.attachEvent( "on"+type, fn ); } addEvent(window,"load",talkInit); ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/upload/cmc_upload/All/webeffective_wrapper.js function readCookie(name) { var nameEQ =3D name + "=3D"; var ca =3D document.cookie.split(';'); for(var i=3D0;i < ca.length;i++) { var c =3D ca[i]; while (c.charAt(0)=3D=3D' ') c =3D c.substring(1,c.length); if (c.indexOf(nameEQ) =3D=3D 0) return = c.substring(nameEQ.length,c.length); } return null; } var loc =3D readCookie("AG_LOCALE"); if (loc =3D=3D "JPjpn") { var gomez=3D{=20 gs: new Date().getTime(),=20 pgId:'Japan Home', grpId:jsAgilentWorldwideTitle, wrate:0.7 }; var gomez=3Dgomez?gomez:{};gomez.h3=3Dfunction(d, s){for(var p in = s){d[p]=3Ds[p];}return = d;};gomez.h3(gomez,{b3:function(r){if(r<=3D0)return false;return = Math.random()<=3Dr&&r;},b0:function(n){var c=3Ddocument.cookie;var = v=3Dc.match(new RegExp(';[ ]*'+n+'=3D([^;]*)'));if(!v)v=3Dc.match(new = RegExp(n+'=3D([^;]*)'));if(v)return unescape(v[1]);return = '';},c2:function(n,v,e,p,d,s){try{var t=3Dthis,a=3Dlocation.hostname;var = c=3Dn+'=3D'+escape(v)+(e?';expires=3D'+e.toGMTString():'')+(p?';path=3D'+= p:';path=3D/')+(d?';domain=3D'+d:';domain=3D'+a)+(s?';secure':'');documen= t.cookie=3Dc;}catch(e){}},z0:function(n){var t=3Dthis;if(n){var s = =3Dt.b0("__g_c");if(!s)return '';var v=3Ds.match(new = RegExp(n+':([^\|]*)'));if(v)return unescape(v[1]);return '';}else return = '';},z1:function(n,m){var t=3Dthis;if(n){var = s=3Dt.b0("__g_c");if(s){if(s.indexOf(n+':')!=3D-1)s=3Ds.replace(new = RegExp('('+n+':[^\|]*)'),n+':'+m);else s=3Ds=3D=3D' = '?n+':'+m:s+'|'+n+':'+m;t.c2("__g_c",s);}else = t.c2("__g_c",n+':'+m);};}});if(gomez.wrate){gomez.i0=3Dgomez.z0('w');if(g= omez.i0){gomez.runFlg=3DparseInt(gomez.i0)>0?true:false;}else = if(gomez.b3(parseFloat(gomez.wrate))){gomez.runFlg=3Dtrue;gomez.z1('w',1)= ;}else{gomez.runFlg=3Dfalse;gomez.z1('w',0);}}else = if(gomez.wrate=3D=3Dundefined){gomez.runFlg=3Dtrue;gomez.z1('w',1);}else{= gomez.runFlg=3Dfalse;gomez.z1('w',0);};if(gomez.runFlg){gomez.h1=3Dfuncti= on(v,d){return v?v:d};gomez.gs=3Dgomez.h1(gomez.gs,new = Date().getTime());gomez.acctId=3Dgomez.h1(gomez.acctId,'');gomez.pgId=3Dg= omez.h1(gomez.pgId,'');gomez.grpId=3Dgomez.h1(gomez.grpId, = '');gomez.E=3Dfunction(c){this.s=3Dc;};gomez.E.prototype=3D{g1:function(e= ){var = t=3Dgomez,i=3Dt.g6(e);if(i)i.e=3Dt.b5();}};gomez.L=3Dfunction(m){this.a=3D= m;};gomez.L.prototype=3D{g2:function(m){var t=3Dgomez,n=3Dt.b5();var = s=3Ddocument.getElementsByTagName(m);var = e=3Dt.k;if(m=3D=3D'script')e=3Dt.j;if(m=3D=3D'iframe')e=3Dt.l;if(s){var = l=3Ds.length;for(var i=3D0;i<\/scr"+"ipt>");else = t.h5(s);};t.b=3Dt.z0('g');},h7:function(){var = t=3Dgomez,u=3Dt.tloc?t.tloc:location.protocol+'//'+t.acctId+'.t.axf8.net/= js/gtag4.js';if(t.gSfr)document.write("<\/scr"+"ipt>");else t.h5(u);},b1:function(v,s,q,f){var = t=3Dthis;if(t._a)return;if(t.b3(v)){t._w=3Dtrue;t.a=3D1;var = p=3DparseFloat(s/v);if(t.b3(p)){t.x=3Dtrue;t.a=3D3;};};t.d=3Dtrue;t.z1('a= ',t.a);t.z1('e',v);t.z1('f',s);t.gc.i=3Dv;t.gc.j=3Ds;t.h4(v,s,q,f);if(t._= w){t.h7();t._a=3Dtrue;};},b2:function(v,s){var t=3Dthis,f=3Dnew = Date(t.gt()+946080000000),g=3D''+v+'_'+s;if(t._a)return;t.c2('__g_u',g,f)= ;t.gc.c=3Dv;t.gc.d=3Ds;t.z1('c',v);t.z1('d',s);},h4:function(o,p,q,d){var= t=3Dthis,f=3Dnew = Date(t.gt()+946080000000),g=3Dt.b0('__g_u');if(g&&g!=3D'1'&&g.indexOf('Na= N')=3D=3D-1&&g.indexOf('undefined')=3D=3D-1){var = r=3Dg.split('_'),s;if(d)s=3Dd;else if(q&&q>=3D0)s=3Dnew = Date(t.gt()+parseInt(q*86400000)).getTime();else{q=3D5;s=3Dnew = Date(t.gt()+432000000).getTime();};g=3D''+r[0]+'_'+r[1]+'_'+o+'_'+p+'_'+q= +'_'+s;t.c2('__g_u',g,f);};},gt:function(){return new = Date().getTime()},b5:function(){return new = Date().getTime()-gomez.gs},b6:function(){var = t=3Dgomez;t.p=3Dt.b5();},f8:function(){var = t=3Dthis;if(t.pollId1)clearInterval(t.pollId1);if(t.pollId2)clearInterval= (t.pollId2);if(t.pollId3)clearInterval(t.pollId3);if(t.pollId4)clearInter= val(t.pollId4);},b7:function(){var t = =3Dgomez;t.f8();t.q=3Dt.b5();},c7:function(u, s){var = t=3Dthis;t.m=3Du;t.s=3Ds;},c8:function(){var = t=3Dgomez,n=3Dt.b5(),l=3Ddocument.images.length;if(l>t._h){for(var = i=3Dt._h;i20)n=3Dn.substri= ng(0,20);var = t=3Dthis,f=3Dt.u;f[f.length]=3D{'n':'a','a':n,'b':t.b5(),'e':p,'f':b};},d= 8:function(e){if(gomez.gIE)return e.srcElement||{};else return = e.currentTarget||e.target||{};},e2:function(e,p,f,c){var = n=3D'on'+p;if(e.addEventListener)e.addEventListener(p,f,c);else = if(e.attachEvent)e.attachEvent(n, f);else{var x=3De[n];if(typeof = e[n]!=3D'function')e[n]=3Df;else = e[n]=3Dfunction(a){x(a);f(a);};}},i1:function(){var d = =3Dwindow.document, done=3Dfalse,i2=3Dfunction = (){if(!done){done=3Dtrue;gomez.b6();gomez.a9();}};(function = (){try{d.documentElement.doScroll('left');}catch(e){setTimeout(arguments.= callee, = 50);return;}i2();})();d.onreadystatechange=3Dfunction(){if(d.readyState=3D= =3D'complete'){d.onreadystatechange=3Dnull;i2();}};},g7:function(){try{va= r t=3Dgomez;t.gc.a=3Dt.acctId;/*@cc_on = t.gIE=3Dtrue;@*/if(t.gIE){t.i1();window.attachEvent('onload', = t.b7);}else if(t.gSfr){var = m=3DsetInterval(function(){if(/loaded|complete/.test(document.readyState)= ){clearInterval(m);delete m;t.b6();t.b7();}}, 10);}else = if(window.addEventListener){window.addEventListener('DOMContentLoaded', = t.b6, false);window.addEventListener('load', t.b7, false);}else = return;t.c8();t.pollId1=3DsetInterval(t.c8, = 1);gomez.L.m['link'].g2('link');t.pollId3=3DsetInterval("gomez.L.m['link'= ].g2('link')", = 1);gomez.L.m['iframe'].g2('iframe');t.pollId4=3DsetInterval("gomez.L.m['i= frame'].g2('iframe')", = 1);if(!t.gIE)t.a9();}catch(e){return;}}});gomez.h2();gomez.g7();} } ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/upload/cmc_upload/All/agilentsurvey.js function agilentSurvey(loc) { var businessCode =3D ""; var locale =3D loc; var emgfreq =3D 0; //do not edit this line (ever!) =20 //var emgfreq =3D 15000; //remove leading slash characters to turn = survey on, Add two leading forward slash characters to turn survey off //Note: frequency value above represents a percentage of users invited = to take the survey (for example: 15000 equals 15%) =20 //var lscafreq =3D 0;//as LSCA no more part of the CIA if (selectuser()) { if (findCookie()) { if(notdirectedtoACSsurvey()) { survey(); } } } //1.function to check if user allows client side js //2.selecting the user for the survey function selectuser() { var nth =3D getNTH();=20 var Denominator =3D 100000; var rnd =3D Math.floor(Math.random() * Denominator) + 1; if (rnd < nth)=20 { return true; } } //Checking the BU and setting the frequencies function getNTH()=20 { =20 if (document.all) =20 { MetaTagList =3D document.all.tags("meta");=20 }else if (document.documentElement)=20 { MetaTagList =3D document.getElementsByTagName("meta");=20 }else{ MetaTagList=3Dnull; } =20 if(MetaTagList !=3D null){ for (i =3D 0; i < MetaTagList.length; i++)=20 { if ( MetaTagList[i].name ) { if ( MetaTagList[i].name =3D=3D 'DC.Publisher') { businessCode =3D MetaTagList[i].content; =20 }//end of if (MetaTagList[i].name =3D=3D 'DC.Publisher') }// end of if ( MetaTagList[i].name ) } // end of for if((locale =3D=3D null)||(locale=3D=3D"")) { for (i =3D 0; i < MetaTagList.length; i++)=20 {=09 if (MetaTagList[i].getAttributeNode)=20 { if(MetaTagList[i].getAttributeNode('http-equiv').value =3D=3D = 'Content-Language') { =09 MetaName =3D 'Content-Language'; locale =3D MetaTagList[i].content; } } } } } // end of if(MetaTagList !=3D null) //checking the business units =20 if((businessCode !=3Dnull)||(businessCode =3D=3D"")){ if(businessCode.indexOf("epsg")>-1) { if((locale=3D=3D"ja-JP")&&(emgfreq <=3D 25000)) emgfreq =3D emgfreq * = 1.7; //Modify survey frequency for Japan only. (normal is 1.7) if((locale=3D=3D"en-US")&&(emgfreq <=3D 25000)) emgfreq =3D emgfreq * = 0.8; //Modify survey frequency for U.S. only. (0.8) if((locale=3D=3D"zh-CN")&&(emgfreq <=3D 25000)) emgfreq =3D emgfreq * = 0.6; //Modify survey frequency for China only.(0.6) if((locale=3D=3D"ko-KR")&&(emgfreq <=3D 25000)) emgfreq =3D emgfreq * = 1.0; //Modify survey frequency for Korea only.(1.0) if((locale=3D=3D"zh-TW")&&(emgfreq <=3D 25000)) emgfreq =3D emgfreq * = 1.0; //Modify survey frequency for Taiwan only.(1.0) return emgfreq; }else if (businessCode.indexOf("atg")>-1)=20 { businessCode =3D "epsg"; return emgfreq; }else if (businessCode.indexOf("atg-emt")>-1) { businessCode =3D "epsg"; return emgfreq; }else if (businessCode.indexOf("atg-ste")>-1) { businessCode =3D "epsg"; return emgfreq; }else if (businessCode.indexOf("csg-cms")>-1) { businessCode =3D "epsg"; return emgfreq; }else if (businessCode.indexOf("csg-css")>-1) { businessCode =3D "epsg"; return emgfreq; }else if (businessCode.indexOf("csg-wns")>-1) { businessCode =3D "epsg"; return emgfreq; } /* //for lsca BU return lscafreq only=20 else if (businessCode.indexOf("lsca")>-1) { return lscafreq; }*/ else { return 1; } } } //3.The user is accepting Agilent cookies AND =09 function setCookie (name, value, expires)=20 { if (expires)=20 { document.cookie =3D name + "=3D" + escape (value) + "; expires=3D" + = expires.toGMTString() + "; path=3D"; =20 } else {=20 document.cookie =3D name + "=3D" + escape (value) + "; path=3D"; =20 } } function getCookie (name)=20 { var dcookie =3D document.cookie; var cname =3D name + "=3D"; var clen =3D dcookie.length; =20 var cbegin =3D 0; =20 while (cbegin < clen)=20 { =20 var vbegin =3D cbegin + cname.length; =20 if (dcookie.substring(cbegin, vbegin) =3D=3D cname)=20 { =20 var vend =3D dcookie.indexOf (";", vbegin); =20 if (vend =3D=3D -1) vend =3D clen; =20 return unescape(dcookie.substring(vbegin, vend)); =20 } =20 cbegin =3D dcookie.indexOf(" ", cbegin) + 1; =20 if (cbegin =3D=3D 0) break; =20 } =20 return null; =20 }=20 function findCookie() { =20 var expdate =3D new Date (); =20 =09 expdate.setTime (expdate.getTime() + (1000 * 60 * 1 * 1 * 1));=20 setCookie ("cookie_test", "true", expdate);=20 =20 var persistentCookieEnabled=3D(getCookie("cookie_test") =3D=3D = "true")? true : false;=20 if (persistentCookieEnabled)=20 {=20 return true; }else{ return false; } } //4.The user has not been directed to the invitation page previously - = i.e. the user does not have a ACSSurvey cookie.=20 function notdirectedtoACSsurvey() { var cookieName =3D "ACSsurvey"; var allcookies =3D document.cookie; if (allcookies.indexOf(cookieName) < 0) //Cookie not found return true; } //if all the criterias match //1.function to set the cookie function setACSCookie(){ // variable expiration date cookie - only modify daysToExpiration /*var daysToExpiration =3D 90; // Set days till expiration var exp =3D new Date(); // Creates date variable exp var currentTime =3D exp.getTime(); //returns current time in msecs var expireTime =3D currentTime + (daysToExpiration*24*60*60*1000); // = adds variable expiration time to current time exp.setTime(expireTime);=20 // creates expiration date exp for cookie // Set the domain to the same as the page the script is on document.cookie =3D = "ACSsurvey=3D1;expires=3D"+exp+";path=3D/;domain=3D.agilent.com";*/ var cookieDate =3D new Date(); cookieDate.setTime(cookieDate.getTime() + 1000 * 60 * 60 * 24 * 90); var name =3D "ACSsurvey"; var value =3D "1"; document.cookie =3D name+"=3D"+escape(value)+";expires=3D" + = cookieDate.toGMTString()+";path=3D/; domain=3D.agilent.com"; =20 } //2.Redirect the user to the invitation url =20 function decode(str) { var result =3D ""; =20 for (var i =3D 0; i < str.length; i++) { if (str.charAt(i) =3D=3D "+") result +=3D " "; else result +=3D str.charAt(i); =20 return unescape(result); } } =20 function survey() { var currentPage =3D location.href; var call=3D""; call=3DnewTargetURL(); =20 =20 function newTargetURL() { var newTargetURL =3D ""; return encodeURIComponent (currentPage); } =20 setACSCookie(); // Sets cookie indicating the person has been selected // Gets full URL for currrent web page making survey request //var optinURL =3D = "http://acomd1.cos.agilent.com:6666/cgi-bin/paramlinktest.pl"; // Sets = location of Opt-In request var optinURL =3D "http://survey7.maritz.com/pu001/agilent.php"; var additionalInformation =3D = "LOCALE=3D"+locale+"&BU=3D"+businessCode+"&REF_URL=3D"+call; =20 if(optinURL.indexOf('?') > -1) optinURL =3D optinURL+"&"+additionalInformation; else optinURL =3D optinURL+"?"+additionalInformation; //2.Redirect the user to the invitation url //window.open(optinURL);=20 location.href=3DoptinURL; } } ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/agilent/scripts/s_code_remote.js /* SiteCatalyst code version: H.24.1 Copyright 1997-2012 Omniture, Inc. More info available at http://www.omniture.com */ /* Last Updated 09-07-2012 /************************ ADDITIONAL FEATURES ************************ Plugins =20 */ /***************************** REVISIONS ***************************** 2008-2-25 - Added G-code functionality 2008-7-2 - Added s.apl & s.getAndPersist plugins - Added logged-in user tracking - Added RSS tracking 2008-7-30 - Added quote additions logic 2008-9-12 - Fixed RSS subscription tracking - Added linkHandler plugin - Set s.linkLeaveQueryString to true 2008-9-25 - Added function to clear Quote basket cookie 2008-9-30 - Removed function to clear Quote basket cookie - Removed getCartOpen plugin 2008-12-08 - Adjusted functionality of s.linkLeaveQueryString (false except for = RSS tracking) - moved eVar22 to eVar7, event15 to event25 (RSS tracking - added 'maritz.com' and 'instantservice.com' to s.linkInternalFilters - added s.prop10 logic (if not set already, s.prop10=3Ds.pageName) 2010-5-27 - Added code to deduplicate event10 on reloads - added transactionIDs =20 2010-10-18 - Added pagename eVar15 - Added pages viewed counter eVar37 2010-11-10 - Added linkTrackVars variables - prop15 and prop16 and evar1 and evar2 = 2010-12-17 - Added code to detect if the onClick is a download of a PDF and create = an 'event4' cookie if it is 2011-01-12 - Event4 cookie only set for the 4 datasheets in PP-LLM Pilot 2011-01-12 Changed check for 4 datasheets 2011-04-19 Added Portlet Tracking and Cart Tracking functions 2011-06-30 Added Unica eMessage Hosted Serveces URL ('qa-pod-prod.unicaondemand') = for routing traffic to Omniture test env 2011-07/25 Modified logic to set campaign variable from var isntead of URL parm = when infor comes from Unica server. 2011-07-26 Added % Page Viewed plugin 2011-09-01 Added development environment for Discussion Forumns 2011-10-11 Added MKCID tracking 2012-01-16 Upgraded to H24.1 2012-01-31 Added Remember Me cookie tracking Added VisitorID tracking 2012-02-15 Added temporary code to remove 'Configure & Quote' in the product string 2012-02-22 Added code for myagilent logged in variables. 2012-03-06 Added else condition for Logged Out. 2012-03-13 Added code for evar9 and sprop5. Included checkLength plugin. 2012-05-02 Updated for product interaction pathing. 2012-06-12 Updated VisitorID tracking. 2012-07-25 Updated to copy prop14 to eVar18 2012-08-08 Removed event10 auto tracking. 2012-08-15 Updated to track eVar33 with the cookie value. 2012-09-07 Reverted back the event10 changes. */ /********************** REPORT SUITE SELECTION **********************/ /* Check for dev URL */ var pageURL =3D document.URL; if( pageURL.indexOf('prdpre') > -1 || pageURL.indexOf('stgpre') > -1 || = pageURL.indexOf('stgwww') > -1 || pageURL.indexOf('wstage') > -1 || = pageURL.indexOf('acomd') > -1 || pageURL.indexOf('acomed01') > -1 || = pageURL.indexOf('ciaspre') > -1 || pageURL.indexOf('ciaspub') > -1 || = pageURL.indexOf('Url_monitoring_Test=3Dtrue') > -1 || = pageURL.indexOf('localhost') > -1 || pageURL.indexOf('acomad1') > -1 || = pageURL.indexOf('stg1-www') > -1 || pageURL.indexOf('acomed1') > -1 || = pageURL.indexOf('acomdev1') > -1) var s_account=3D"agilentcomdev"; else var s_account=3D"agilentcom"; /* Use Dev suite for Omniture Testing */ //s_account=3D"agilentcomdev" /* Create JS Instance */ var s=3Ds_gi(s_account,1) /************************** CONFIG SECTION **************************/ /* General Config */ s.charSet=3D"UTF-8" /* Link Tracking Config */ s.trackDownloadLinks=3Dtrue s.trackExternalLinks=3Dtrue s.trackInlineStats=3Dtrue s.linkDownloadFileTypes=3D"exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls" s.linkInternalFilters=3D"javascript:,agilent.com,maritz.com,instantservic= e.com,unicaondemand.com" s.linkLeaveQueryString=3Dfalse s.linkTrackVars=3D"server,products,prop4,prop5,prop10,prop13,prop14,prop1= 5,prop16,prop19,prop20,prop22,prop24,prop25,prop51,hier2,prop36,eVar1,eVa= r2,eVar8,eVar9,eVar10,eVar18,eVar20,eVar27,eVar52,eVar55,events" s.linkTrackEvents=3D"event4,event16" /* getPageName plugin config */ s.siteID=3D"" // leftmost value in pagename s.defaultPage=3D"index" // filename to add when none exists s.queryVarsList=3D"" // query parameters to keep s.pathExcludeDelim=3D";" // portion of the path to exclude s.pathConcatDelim=3D":" // page name component separator s.pathExcludeList=3D"" // elements to exclude from the path s.dblCheck =3D false; /* Plugin Config */ s.usePlugins=3Dtrue var _lc =3D true; s.prop13=3D"D=3Dv8"; s.prop5=3D"D=3Dv9"; =20 function s_doPlugins(s) { /* remove event10 when the pageName repeats */ var prevPage =3D s.getPreviousValue(s.pageName,'gpv_page','');=20 if(s.events =3D=3D "event10" && prevPage =3D=3D s.pageName) s.events =3D ""; =20 if(s.events){ if(s.events.indexOf('event5')>-1){ s.events =3D s.events.replace(/,*?event5\b/,''); } } =20 //PageName tracking - getPageName v2.1 if(!s.pageType && !s.pageName){ s.pageName=3Ds.getPageName(); s_pageName=3Ds.pageName; } =20 =09 //sets eVar15 to the pageName and increments eVar37's pages viewed = counter if(s.pageName){ s.eVar15 =3D "D=3DpageName"; s.eVar37 =3D "+1"; =20 } //Set pageName on every page in an eVar if(!s.eVar26) s.eVar26=3Ds.pageName; //Campaign tracking - Most recent if(!s.campaign || s.server !=3D "Unica"){ s.campaign=3Ds.getQueryParam('cmpid'); } s_campaign=3Ds.campaign; //Campaign tracking - Original s.eVar13=3Ds.campaign; s_eVar13=3Ds.eVar13; =09 //Campaign tracking - History s.eVar14 =3D = s.crossVisitParticipation(s.campaign,'s_cvp','30','5','>','event1');=09 s_eVar14=3Ds.eVar14; =09 //Campaign pathing - getCustomPagePath v1.0 s.prop12=3Ds.getCustomPagePath(s.campaign,"s_p12","cmpid=3D"); s_prop12=3Ds.prop12; =20 //Populate search source page - getPreviousValue v1.0 s.p8temp=3Ds.getPreviousValue(s.pageName,'gpv_p8'); =09 if (s_events) s.events=3Ds_events; =09 if (s.events){ if (s.events.match("event11")) { s.prop8=3Ds.p8temp; s_prop8=3Ds.prop8; s.eVar12=3Ds.prop8; s_eVar12=3Ds.eVar12; }=20 } =20 =09 // RSS Tracking - Subscriptions s.linkLeaveQueryString=3Dtrue; s.subscribeURL=3Ds.linkHandler('sscb'); if (s.subscribeURL){ s.eVar7=3Ds.getQueryParam('sscb','',s.subscribeURL); s.events=3D"event25"; s.linkTrackVars=3D"eVar7,events"; s.linkTrackEvents=3D"event25"; } s.linkLeaveQueryString=3Dfalse; =09 /* R84 - AI - Added a new omniture plugin for Search Center Tool - = START */ /* sample function call (set in doPlugins) */ if(s.getQueryParam('s_kwcid')) s.pageURL=3Ds.manageQueryParam('s_kwcid',1,1); // swap and encode for = SearchCenter /* R84 - AI - Added a new omniture plugin for Search Center Tool - END = */ // download pathing if (!s.prop10) { s.prop10=3Ds.pageName; } =20 //Set PSelect for search page via the cookie parameter, if it is set. = Remove cookie afterward. s.eVar33 =3D s.c_r('s_ev33'); if(s.eVar33!=3D'')s.c_w('s_ev33',''); =20 //Added for tracking myAgilent login variables.=20 if(s.c_r('USER_CREDENTIALS')=3D=3D'VALID'){ s.eVar8 =3D 'Logged In' if (s.c_r('s_v8')=3D=3D'Logged Out') { s.events =3D s.apl(s.events, 'event5', ',', 0); s.c_w('s_v8', s.eVar8); } if(s.eVar8 =3D=3D 'Logged In'){ if(s.c_r('USER_SERVICES')){ s.eVar9 =3D s.c_r('USER_SERVICES'); =20 } } } else{ s.eVar8 =3D 'Logged Out'; s.c_w('s_v8', s.eVar8); } //Set serviceID on every page if preexisting in an eVar if(s.eVar9) s.prop5=3Ds.eVar9; =09 //transaction id s.transactionID =3D s.eVar4; =20 if(typeof s.prop20!=3D"undefined" && typeof = s.events!=3D"undefined"){ if(s.prop20.indexOf('Data Sheet') > -1 && = s.events.indexOf('event4') > -1){ if( s.pageName =3D=3D '33521A Function / Arbitrary Waveform = Generator, 3|PRODUCT.JSPXOV|1871159P' || s.pageName =3D=3D '33522A Function / Arbitrary Waveform = Generator, 3|PRODUCT.JSPXOV|1871286P' || s.pageName =3D=3D 'U1272A Handheld Digital Multimeter, = 4.5 digit, Wa|PRODUCT.JSPXOV|1896657P' || s.pageName =3D=3D 'U1253B Handheld Digital Multimeter, = 4.5-digit, wi|PRODUCT.JSPXOV|1765026P' ){ s.getAndPersistValue(s.products,'event4',0);=20 }=20 } } =09 //Get % Page Viewed var ppv_c=3Ds.getPercentPageViewed(s.pageName);=09 if(ppv_c&&ppv_c.length>=3D4){=09 var ppv_pn=3D(ppv_c.length>0)?(ppv_c[0]):('');=20 var ppv_v=3D((ppv_c.length>0)?(ppv_c[1]):(''))=20 +((ppv_c.length>2)?('|'+ppv_c[2]):('')); if(ppv_pn&&ppv_v){=09 s.prop41=3Dppv_pn; //Store percent page viewed values=20 s.prop42=3Dppv_v; //Store the page identifier=20 } } =09 if(s.eVar43)s.prop40=3D"D=3Dv43"; =09 //Retrieve MKCID if(!s.eVar48){s.eVar48 =3D s.getQueryParam('MKCID')}=09 =09 //Remember Me Cookie Tracking s.eVar52=3Ds.c_r('AGREMMEADV')?'Set':'Not Set' =09 =09 //VisitorID Tracking s.eVar55=3Ds.c_r('s_vi'); =09 //Configure & Quote Tracking (temporary) if(typeof s.products !=3D 'undefined'){ if(s.products.indexOf('Configure & Quote')>-1){ s.prop53 =3D s.pageName; if(s.products.indexOf(',')>-1){ var ps =3D s.products.split(','); for (var psl=3D0; psl<=3Dps.length-1; psl++){ if(ps[psl].indexOf('Configure & Quote')>-1){ ps.splice(psl,1); } } s.products =3D ps.join(','); } else{ s.products=3D'';=09 } } } =09 //Check Length=09 if(_lc && navigator.appName.indexOf('Explorer')>-1)s.checkLength(); =09 //Product Registration Step Two Tracking if(s.prop51=3D=3D'P-Reg Create Account Initiate'||s.prop51=3D=3D'P-Reg = Login'){ s.c_w('spv_p51',s.prop51); } else if(s.prop51=3D=3D'P-Reg Initiate' && s.c_r('spv_p51',s.prop51) = !=3D ''){ s.prop51 =3D 'P-Reg Initiate 2'; s.c_w('spv_p51',''); } =09 //Copy prop14 if(s.prop14){ s.eVar18 =3D "D=3Dc14";=09 } } =20 s.doPlugins=3Ds_doPlugins /************************** PLUGINS SECTION *************************/ /* You may insert any plugins you wish to use here. */ /* Plugin: Generic Object Tracker 1.0 */ s.gen_stl=3Dnew Function("eO","t","" +"for(var f in = eO){if(f=3D=3D'account'){s.un=3DeO[f];}if(f=3D=3D'events'){s.eve" +"nts=3DeO[f];s.linkTrackEvents=3DeO[f];}else{s[f]=3DeO[f];if(t)s.linkTra= ck" +"Vars+=3D','+f;}}if(typeof = t=3D=3D'undefined')s.t();else{s.tl(false,'o',eO" +");}"); /* * Plugin: getPreviousValue_v1.0 - return previous value of designated * variable (requires split utility) */ s.getPreviousValue=3Dnew Function("v","c","el","" +"var s=3Dthis,t=3Dnew = Date,i,j,r=3D'';t.setTime(t.getTime()+1800000);if(el" +"){if(s.events){i=3Ds.split(el,',');j=3Ds.split(s.events,',');for(x in = i" +"){for(y in j){if(i[x]=3D=3Dj[y]){if(s.c_r(c)) = r=3Ds.c_r(c);v?s.c_w(c,v,t)" +":s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r=3Ds.c_r(c);v?" +"s.c_w(c,v,t):s.c_w(c,'no value',t);return r}"); /* * Utility Function: split v1.5 - split a string (JS 1.0 compatible) */ s.split=3Dnew Function("l","d","" +"var i,x=3D0,a=3Dnew = Array;while(l){i=3Dl.indexOf(d);i=3Di>-1?i:l.length;a[x" +"++]=3Dl.substring(0,i);l=3Dl.substring(i+d.length);}return a"); function portletTracking(portletName,interactionType,productString){ var oldLTE =3D s.linkTrackEvents; var oldLTV =3D s.linkTrackVars; s.linkTrackEvents=3D'event44'; s.events=3D'event44'; if(portletName){ s.prop38=3DportletName; s.eVar41=3Ds.prop38; } if(interactionType){ s.prop39=3DinteractionType; s.eVar42=3Ds.prop39; } s.linkTrackVars+=3D',prop38,prop39,eVar41,eVar42' if(productString){ s.products=3DproductString; } s.tl(true, 'o', 'Portlet Interaction');=09 s.events=3D''; s.products =3D ''; s.linkTrackEvents =3D oldLTE;=09 s.linkTrackVars =3D oldLTV; } /* * Plugin: cartTracking v1.01 - simplifies cart interaction tracking */ function cartTracking(cEvent,productString){ var oldLTE =3D s.linkTrackEvents; if(cEvent =3D=3D 'scAdd'){ if(document.cookie.indexOf('acOpen')<0){ document.cookie =3D 'acOpen'; cEvent =3D 'scAdd,scOpen'; } } s.linkTrackEvents=3DcEvent; s.events=3DcEvent; if(productString){ s.products=3DproductString; } s.tl(true,'o',cEvent); s.events=3D''; s.products =3D '';=09 s.linkTrackEvents =3D oldLTE;=09 } /* * Plugin: Custom Page Path v1.0 */=20 s.getCustomPagePath=3Dnew Function("v","c","p","" +"var s=3Dthis;var pn=3Ds.pageName;r=3D'';" +"var t=3Dnew Date;t.setTime(t.getTime()+1800000);" +"if(v){if(s.c_w(c,v,t)){r=3Dp+v+':'+pn}}" +"else{v=3Ds.c_r(c);if(v){s.c_w(c,v,t);r=3Dpn;}}" +"return r;"); /* * Plugin: getPageName v2.1 - parse URL and return */ s.getPageName=3Dnew Function("u","" +"var = s=3Dthis,v=3Du?u:''+s.wd.location,x=3Dv.indexOf(':'),y=3Dv.indexOf('/'," +"x+4),z=3Dv.indexOf('?'),c=3Ds.pathConcatDelim,e=3Ds.pathExcludeDelim,g=3D= s." +"queryVarsList,d=3Ds.siteID,n=3Dd?d:'',q=3Dz<0?'':v.substring(z+1),p=3Dv= .sub" +"string(y+1,q?z:v.length);z=3Dp.indexOf('#');p=3Dz<0?p:s.fl(p,z);x=3De?p= .i" +"ndexOf(e):-1;p=3Dx<0?p:s.fl(p,x);p+=3D!p||p.charAt(p.length-1)=3D=3D'/'= ?s.d" +"efaultPage:'';y=3Dc?c:'/';while(p){x=3Dp.indexOf('/');x=3Dx<0?p.length:= x;" +"z=3Ds.fl(p,x);if(!s.pt(s.pathExcludeList,',','p_c',z))n+=3Dn?y+z:z;p=3D= p." +"substring(x+1)}y=3Dc?c:'?';while(g){x=3Dg.indexOf(',');x=3Dx<0?g.length= :x" +";z=3Ds.fl(g,x);z=3Ds.pt(q,'&','p_c',z);if(z){n+=3Dn?y+z:z;y=3Dc?c:'&'}g= =3Dg.s" +"ubstring(x+1)}return n"); /* * Plugin: getQueryParam 2.3 */ s.getQueryParam=3Dnew Function("p","d","u","" +"var = s=3Dthis,v=3D'',i,t;d=3Dd?d:'';u=3Du?u:(s.pageURL?s.pageURL:s.wd.locati" +"on);if(u=3D=3D'f')u=3Ds.gtfs().location;while(p){i=3Dp.indexOf(',');i=3D= i<0?p" +".length:i;t=3Ds.p_gpv(p.substring(0,i),u+'');if(t){t=3Dt.indexOf('#')>-= " +"1?t.substring(0,t.indexOf('#')):t;}if(t)v+=3Dv?d+t:t;p=3Dp.substring(i=3D= " +"=3Dp.length?i:i+1)}return v"); s.p_gpv=3Dnew Function("k","u","" +"var = s=3Dthis,v=3D'',i=3Du.indexOf('?'),q;if(k&&i>-1){q=3Du.substring(i+1);v" +"=3Ds.pt(q,'&','p_gvf',k)}return v"); s.p_gvf=3Dnew Function("t","k","" +"if(t){var = s=3Dthis,i=3Dt.indexOf('=3D'),p=3Di<0?t:t.substring(0,i),v=3Di<0?'T" +"rue':t.substring(i+1);if(p.toLowerCase()=3D=3Dk.toLowerCase())return = s." +"escp(v)}return ''"); /* R84 - AI - Added a new omniture plugin for Search Center Tool - START = */ /* * Plugin (H code): manageQueryParam 1.1 - swap parameters in query = string=20 */ s.manageQueryParam=3Dnew Function("p","w","e","u","" +"var = s=3Dthis,x,y,i,qs,qp,qv,f,b;u=3Du?u:(s.pageURL?s.pageURL:''+s.wd.lo" +"cation);u=3Du=3D=3D'f'?''+s.gtfs().location:u+'';x=3Du.indexOf('?');qs=3D= x>-1" +"?u.substring(x,u.length):'';u=3Dx>-1?u.substring(0,x):u;x=3Dqs.indexOf(= " +"'?'+p+'=3D');if(x>-1){y=3Dqs.indexOf('&');f=3D'';if(y>-1){qp=3Dqs.subst= ring" +"(x+1,y);b=3Dqs.substring(y+1,qs.length);}else{qp=3Dqs.substring(1,qs.le= " +"ngth);b=3D'';}}else{x=3Dqs.indexOf('&'+p+'=3D');if(x>-1){f=3Dqs.substri= ng(1" +",x);b=3Dqs.substring(x+1,qs.length);y=3Db.indexOf('&');if(y>-1){qp=3Db.= su" +"bstring(0,y);b=3Db.substring(y,b.length);}else{qp=3Db;b=3D'';}}}if(e&&q= p)" +"{y=3Dqp.indexOf('=3D');qv=3Dy>-1?qp.substring(y+1,qp.length):'';qv=3Ds.= epa(" +"qv);qv=3Dunescape(qv);qv=3Dunescape(qv);i=3Dqv.indexOf('|');if(i>-1){x=3D= qv" +".substring(0,i);qv=3Descape(x)+qv.substring(i);}else{qv=3Descape(qv)}qp= " +"=3Dqp.substring(0,y+1)+qv;}if(w&&qp){if(f)qs=3D'?'+qp+'&'+f+b;else = if(b" +")qs=3D'?'+qp+'&'+b;else qs=3D'?'+qp}else if(f)qs=3D'?'+f+'&'+qp+b;else = if" +"(b)qs=3D'?'+qp+'&'+b;else qs=3D'?'+qp;return u+qs"); /* R84 - AI - Added a new omniture plugin for Search Center Tool - END = */ /* crossVisitParticipation Example: 1.2 -- REQUIRES s.split = =20 * = =20 * List of Parameters: = =20 * vu-variable to stack values from = =20 * cn-name of cookie to stack values in = =20 * ex-expiration of variable value in days = =20 * ct-number of distinct values to store in cookie = =20 * dl-delimiter to display in variable = =20 * ev-success event(s) which clear cookie (use comma separated list) = =20 * = =20 */ s.crossVisitParticipation =3D new = Function("v","cn","ex","ct","dl","ev","" =20 +"var s=3Dthis;var ay=3Ds.split(ev,',');for(var = u=3D0;u0&&arry[ar" = =20 +"ry.length-1][0]=3D=3Dv)arry[arry.length-1]=3D[v, new = Date().getTime()];el" =20 +"se arry[arry.length]=3D[v, new Date().getTime()];var = data=3Ds.join(arry" =20 +",{delim:',',front:'[',back:']',wrap:'\\''});var start=3Darry.length-c" = =20 +"t < 0?0:arry.length-ct;s.c_w(cn,data,e);for(var x=3Dstart;x-1)return n?n:'[[';}" +"return 0;"); /* * Plugin: downloadLinkHandler 0.5 - identify and report download links */ s.downloadLinkHandler=3Dnew Function("p","" +"var = s=3Dthis,h=3Ds.p_gh(),n=3D'linkDownloadFileTypes',i,t;if(!h||(s.linkT" +"ype&&(h||s.linkName)))return = '';i=3Dh.indexOf('?');t=3Ds[n];s[n]=3Dp?p:t;" +"if(s.lt(h)=3D=3D'd')s.linkType=3D'd';else h=3D'';s[n]=3Dt;return h;"); /* * Utility Function: p_gh */ s.p_gh=3Dnew Function("" +"var s=3Dthis;if(!s.eo&&!s.lnk)return '';var = o=3Ds.eo?s.eo:s.lnk,y=3Ds.ot(" +"o),n=3Ds.oid(o),x=3Do.s_oidt;if(s.eo&&o=3D=3Ds.eo){while(o&&!n&&y!=3D'B= ODY'){" +"o=3Do.parentElement?o.parentElement:o.parentNode;if(!o)return = '';y=3Ds." +"ot(o);n=3Ds.oid(o);x=3Do.s_oidt}}return o.href?o.href:'';"); /* * Utility: escp 0.1 - ensures decodeURI will be used to decode URL = parameters if it exists */ s.escp=3Dnew Function("x","" +"var s=3Dthis;if(typeof(decodeURI)=3D=3D'function'&&x)return = decodeURI(s.r" +"ep(''+x,'+',' '));else return unescape(s.rep(''+x,'+',' '));"); /* * Plugin: getPercentPageViewed v1.4 */ s.handlePPVevents=3Dnew Function("","" +"if(!s.getPPVid)return;var dh=3DMath.max(Math.max(s.d.body.scrollHeigh" +"t,s.d.documentElement.scrollHeight),Math.max(s.d.body.offsetHeight," +"s.d.documentElement.offsetHeight),Math.max(s.d.body.clientHeight,s." +"d.documentElement.clientHeight)),vph=3Ds.wd.innerHeight||(s.d.documen" +"tElement.clientHeight||s.d.body.clientHeight),st=3Ds.wd.pageYOffset||" +"(s.wd.document.documentElement.scrollTop||s.wd.document.body.scroll" +"Top),vh=3Dst+vph,pv=3DMath.min(Math.round(vh/dh*100),100),c=3Ds.c_r('s_= pp" +"v'),a=3D(c.indexOf(',')>-1)?c.split(',',4):[],id=3D(a.length>0)?(a[0]):= " +"escape(s.getPPVid),cv=3D(a.length>1)?parseInt(a[1]):(0),p0=3D(a.length>= " +"2)?parseInt(a[2]):(pv),cy=3D(a.length>3)?parseInt(a[3]):(0),cn=3D(pv>0)= " +"?(id+','+((pv>cv)?pv:cv)+','+p0+','+((vh>cy)?vh:cy)):'';s.c_w('s_pp" +"v',cn);"); s.getPercentPageViewed=3Dnew Function("pid","" +"pid=3Dpid?pid:'-';var = s=3Dthis,ist=3D!s.getPPVid?true:false;if(typeof(s.l" +"inkType)!=3D'undefined'&&s.linkType!=3D'e')return'';var = v=3Ds.c_r('s_ppv'" +"),a=3D(v.indexOf(',')>-1)?v.split(',',4):[];if(a.length<4){for(var = i=3D" +"3;i>0;i--){a[i]=3D(i-1?s.trackingServerSecur" +"e:s.trackingServer;url+=3D'/b/ss/'+s.un+'/0/FAS-3.4.5-AS3C/'+sess+'?A" +"QB=3D1&ndh=3D1&t=3D';url+=3Dvt+'/'+tm.getMonth()+'/'+y+' = '+tm.getHours()+':" +"'+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTim" +"ezoneOffset();url+=3D'&vid=3D'+vid+s.hav()+'&AQE=3D1';if(url.length>204= 7&&" +"navigator.appName.indexOf('Explorer')>-1){s.clp(url);s_doPlugins=3Dfa" +"lse;_scEnabled=3D'post';_lc=3Dfalse;}"); s.cce=3Dnew Function("t","" +"var o=3Ddocument.createElement(t);document.getElementsByTagName('body" +"')[0].appendChild(o);o.style.display=3D'none';return o;"); s.clp=3Dnew Function("q","" +"var bVer=3DparseFloat(navigator.appVersion.split('MSIE')[1]);if(bVer<" +"=3D8){var ifr=3Ddocument.createElement('');}else{var = ifr=3Ddoc" +"ument.createElement('iframe');ifr.setAttribute('name','ifr');ifr.se" +"tAttribute('style','display:none');ifr.setAttribute('src','javascri" +"pt:false');}document.getElementsByTagName('body')[0].appendChild(if" +"r);if(!ifr.name)ifr.name=3D'ifr';ifr.style.display=3D'none';var = f=3Ds.cce" +"('FORM');f.action=3Dq.substring(0,q.indexOf('?'));f.method=3D'POST';f.t= " +"arget=3D'ifr';var v=3Dq.substring(q.indexOf('?')+1).split('&');var = n;va" +"r e,l=3Dv.length;for(var = i=3D0;i-1)return n?n:'[[';}" +"return 0;"); /* WARNING: Changing any of the below variables will cause drastic changes to how your visitor data is collected. Changes should only be made when instructed to do so by your account manager.*/ s.trackingServer=3D"metrics.agilent.com" s.trackingServerSecure=3D"smetrics.agilent.com" s.visitorMigrationKey=3D"4BE82BE9" s.visitorMigrationServer=3D"agilent.112.2o7.net" s.visitorMigrationServerSecure=3D"agilent.112.2o7.net" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=3D'',s_objectID;function s_gi(un,pg,ss){var = c=3D"s.version=3D'H.24.1';s.an=3Ds_an;s.logDebug=3Dfunction(m){var = s=3Dthis,tcf=3Dnew Function('var = e;try{console.log(\"'+s.rep(s.rep(m,\"\\n\",\"\\\\n\"),\"" +"\\\"\",\"\\\\\\\"\")+'\");}catch(e){}');tcf()};s.cls=3Dfunction(x,c){va= r = i,y=3D'';if(!c)c=3Dthis.an;for(i=3D0;i=3D0)y+=3Dn}return y};s.fl=3Dfunction(x,l){retur" +"n x?(''+x).substring(0,l):x};s.co=3Dfunction(o){if(!o)return o;var = n=3Dnew Object,x;for(x in = o)if(x.indexOf('select')<0&&x.indexOf('filter')<0)n[x]=3Do[x];return = n};s.num=3Dfunction(x){x=3D''+x;for(var p=3D0;p" +"127){l=3D0;e=3D'';while(n||l<4){e=3Dh= " +".substring(n%16,n%16+1)+e;n=3D(n-n%16)/16;l++}y+=3D'%u'+e}else = if(c=3D=3D'+')y+=3D'%2B';else y+=3Descape(c)}x=3Dy}else = x=3Descape(''+x);x=3Ds.rep(x,'+','%2B');if(c&&c!=3D'AUTO'&&s.em=3D=3D1&&x= .indexOf('%u')<0&&x.indexOf('" +"%U')<0){i=3Dx.indexOf('%');while(i>=3D0){i++;if(h.substring(8).indexOf(= x.substring(i,i+1).toUpperCase())>=3D0)return = x.substring(0,i)+'u00'+x.substring(i);i=3Dx.indexOf('%',i)}}}return = x};s.epa=3Dfunction(x)" +"{var s=3Dthis;if(x){x=3Ds.rep(''+x,'+',' ');return = s.em=3D=3D3?decodeURIComponent(x):unescape(x)}return = x};s.pt=3Dfunction(x,d,f,a){var = s=3Dthis,t=3Dx,z=3D0,y,r;while(t){y=3Dt.indexOf(d);y=3Dy<0?t.length:y;t=3D= t.substri" +"ng(0,y);r=3Ds[f](t,a);if(r)return = r;z+=3Dy+d.length;t=3Dx.substring(z,x.length);t=3Dz=3D0)a=3Da.substring(0,c);c=3Da.indexOf('=3D');if= (c>=3D0)a" +"=3Da.substring(0,c);if(t.substring(0,2)=3D=3D's_')t=3Dt.substring(2);re= turn (t!=3D''&&t=3D=3Da)};s.fsf=3Dfunction(t,a){var = s=3Dthis;if(s.pt(a,',','isf',t))s.fsg+=3D(s.fsg!=3D''?',':'')+t;return = 0};s.fs=3Dfunction(x,f){var" +" s=3Dthis;s.fsg=3D'';s.pt(x,',','fsf',f);return = s.fsg};s.si=3Dfunction(){var s=3Dthis,i,k,v,c=3Ds_gi+'var = s=3Ds_gi(\"'+s.oun+'\");s.sa(\"'+s.un+'\");';for(i=3D0;i2?n:2;p=3Dd.lastIndexOf('.');if(p>=3D0){while(p>=3D0&= &n>1){p=3Dd.lastIndexOf('.',p-1);n--}s.c_d=3Dp>0&&s.pt(d,'.','c_gdf',0)?d= .substring(p):d}}return s.c_d};s.c_r=3Dfunction(k){var s=3Dthis;k=3Ds.a" +"pe(k);var c=3D' '+s.d.cookie,i=3Dc.indexOf(' = '+k+'=3D'),e=3Di<0?i:c.indexOf(';',i),v=3Di<0?'':s.epa(c.substring(i+2+k.= length,e<0?c.length:e));return = v!=3D'[[B]]'?v:''};s.c_w=3Dfunction(k,v,e){var s=3Dthis,d=3Ds.c_gd" +"(),l=3Ds.cookieLifetime,t;v=3D''+v;l=3Dl?(''+l).toUpperCase():'';if(e&&= l!=3D'SESSION'&&l!=3D'NONE'){t=3D(v!=3D''?parseInt(l?l:0):-60);if(t){e=3D= new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!=3D'NONE'){s.d.cookie" +"=3Dk+'=3D'+s.ape(v!=3D''?v:'[[B]]')+'; path=3D/;'+(e&&l!=3D'SESSION'?' = expires=3D'+e.toGMTString()+';':'')+(d?' domain=3D'+d+';':'');return = s.c_r(k)=3D=3Dv}return 0};s.eh=3Dfunction(o,e,r,f){var = s=3Dthis,b=3D's_'+e+'_'+s." +"_in,n=3D-1,l,i,x;if(!s.ehl)s.ehl=3Dnew = Array;l=3Ds.ehl;for(i=3D0;i=3D5&&(!s.isopera||s.apv>=3D7)){tcf=3Dnew = Function('s','f','a','t','var = e,r;try{r=3Ds[f](a)}catch(e){r=3Ds[t](e)}return " +"r');r=3Dtcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE = 4')>=3D0)r=3Ds[b](a);else{s.eh(s.wd,'onerror',0,o);r=3Ds[f](a);s.eh(s.wd,= 'onerror',1)}}return r};s.gtfset=3Dfunction(e){var s=3Dthis;return = s.tfs};s.gtfs" +"oe=3Dnew Function('e','var = s=3Ds_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=3D1;c=3Ds.t();i= f(c)s.d.write(c);s.etfs=3D0;return true');s.gtfsfb=3Dfunction(a){return = window};s.gtfsf=3Dfunction(w){var s=3Dthi" +"s,p=3Dw.parent,l=3Dw.location;s.tfs=3Dw;if(p&&p.location!=3Dl&&p.locati= on.host=3D=3Dl.host){s.tfs=3Dp;return s.gtfsf(s.tfs)}return = s.tfs};s.gtfs=3Dfunction(){var = s=3Dthis;if(!s.tfs){s.tfs=3Ds.wd;if(!s.etfs)s.tfs=3Ds.cet" +"('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return = s.tfs};s.mrq=3Dfunction(u){var = s=3Dthis,l=3Ds.rl[u],n,r;s.rl[u]=3D0;if(l)for(n=3D0;n=3D3&&(!s.isopera||s.apv>=3D7)&&(s.ns6<0= ||s.apv>=3D6.1)){if(!s.rc)s.rc=3Dnew = Object;if(!s.rc[un]){s.rc[un]=3D1;if(!s.rl)s.rl=3Dnew = Object;s.rl[un]=3Dnew Array;setTimeout('if(window" +".s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=3Ds.rl[un= ];if(l){r.t=3Dta;r.u=3Dun;r.r=3Drs;l[l.length]=3Dr;return = ''}imn+=3D'_'+s.rc[un];s.rc[un]++}im=3Ds.wd[imn];if(!im)im=3Ds.wd[imn]=3D= new Image;im." +"s_l=3D0;im.onload=3Dnew Function('e','this.s_l=3D1;var = wd=3Dwindow,s;if(wd.s_c_il){s=3Dwd.s_c_il['+s._in+'];s.mrq(\"'+un+'\");s.= nrs--;if(!s.nrs)s.m_m(\"rr\")}');if(!s.nrs){s.nrs=3D1;s.m_m('rs')}else = s.nrs++;if" +"(s.debugTracking){var d=3D'AppMeasurement Debug: = '+rs,dl=3Ds.sp(rs,'&'),dln;for(dln=3D0;dln=3D0){b=3De=3Dnew = Date;while(!im.s_l&&e.getTime()-b.getTime()<500)e=3Dnew Date}return = ''}return ''};s.gg" +"=3Dfunction(v){var s=3Dthis;if(!s.wd['s_'+v])s.wd['s_'+v]=3D'';return = s.wd['s_'+v]};s.glf=3Dfunction(t,a){if(t.substring(0,2)=3D=3D's_')t=3Dt.s= ubstring(2);var = s=3Dthis,v=3Ds.gg(t);if(v)s[t]=3Dv};s.gl=3Dfunction(v){var s" +"=3Dthis;if(s.pg)s.pt(v,',','glf',0)};s.rf=3Dfunction(x){var = s=3Dthis,y,i,j,h,p,l=3D0,q,a,b=3D'',c=3D'',t;if(x&&x.length>255){y=3D''+x= ;i=3Dy.indexOf('?');if(i>0){q=3Dy.substring(i+1);y=3Dy.substring(0,i);h=3D= y.toLowerCas" +"e();j=3D0;if(h.substring(0,7)=3D=3D'http://')j+=3D7;else = if(h.substring(0,8)=3D=3D'https://')j+=3D8;i=3Dh.indexOf(\"/\",j);if(i>0)= {h=3Dh.substring(j,i);p=3Dy.substring(i);y=3Dy.substring(0,i);if(h.indexO= f('google')>=3D0)l" +"=3D',q,ie,start,search_key,word,kw,cd,';else = if(h.indexOf('yahoo.co')>=3D0)l=3D',p,ei,';if(l&&q){a=3Ds.sp(q,'&');if(a&= &a.length>1){for(j=3D0;j0&&l.indexOf(','+t.su" +"bstring(0,i)+',')>=3D0)b+=3D(b?'&':'')+t;else = c+=3D(c?'&':'')+t}if(b&&c)q=3Db+'&'+c;else = c=3D''}i=3D253-(q.length-c.length)-y.length;x=3Dy+(i>0?p.substring(0,i):'= ')+'?'+q}}}}return x};s.s2q=3Dfunction(k,v,vf,vfp,f" +"){var = s=3Dthis,qs=3D'',sk,sv,sp,ss,nke,nk,nf,nfl=3D0,nfn,nfm;if(k=3D=3D\"contex= tData\")k=3D\"c\";if(v){for(sk in v) = {if((!f||sk.substring(0,f.length)=3D=3Df)&&v[sk]&&(!vf||vf.indexOf(','+(v= fp?vfp+'.':'')+sk+',')>=3D" +"0)){nfm=3D0;if(nfl)for(nfn=3D0;nfn0){nke=3Dsk.= in" +"dexOf('.');if(nke>0){nk=3Dsk.substring(0,nke);nf=3D(f?f:'')+nk+'.';if(!= nfl)nfl=3Dnew = Array;nfl[nfl.length]=3Dnf;qs+=3Ds.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)= =3D=3D'boolean'){if(sv)sv=3D'true';else sv=3D'false'}if(s" +"v){if(vfp=3D=3D'retrieveLightData'&&f.indexOf('.contextData.')<0){sp=3D= sk.substring(0,4);ss=3Dsk.substring(4);if(sk=3D=3D'transactionID')sk=3D'x= act';else if(sk=3D=3D'channel')sk=3D'ch';else = if(sk=3D=3D'campaign')sk=3D'v0';e" +"lse if(s.num(ss)){if(sp=3D=3D'prop')sk=3D'c'+ss;else = if(sp=3D=3D'eVar')sk=3D'v'+ss;else if(sp=3D=3D'list')sk=3D'l'+ss;else = if(sp=3D=3D'hier'){sk=3D'h'+ss;sv=3Dsv.substring(0,255)}}}qs+=3D'&'+s.ape= (sk)+'=3D'+s.ape(sv)}}}}}}if(qs" +"!=3D'')qs+=3D'&.'+k}return qs};s.hav=3Dfunction(){var = s=3Dthis,qs=3D'',l,fv=3D'',fe=3D'',mn,i,e;if(s.lightProfileID){l=3Ds.va_m= ;fv=3Ds.lightTrackVars;if(fv)fv=3D','+fv+','+s.vl_mr+','}else{l=3Ds.va_t;= if(s.pe||s.linkType" +"){fv=3Ds.linkTrackVars;fe=3Ds.linkTrackEvents;if(s.pe){mn=3Ds.pe.substr= ing(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=3Ds[mn].trackVars;f= e=3Ds[mn].trackEvents}}}if(fv)fv=3D','+fv+','+s.vl_l+','+s.vl_l2;" +"if(fe){fe=3D','+fe+',';if(fv)fv+=3D',events,'}if = (s.events2)e=3D(e?',':'')+s.events2}for(i=3D0;i=3D0)&&k!=3D'linkName= '&&k!=3D'linkType'){if(k=3D=3D'timestamp')q=3D'ts';else = if(k=3D=3D'dynamicVariablePrefix')q=3D'D';else = if(k=3D=3D'visitorID')q=3D'vid';else if(k=3D=3D'pageURL" +"'){q=3D'g';v=3Ds.fl(v,255)}else = if(k=3D=3D'referrer'){q=3D'r';v=3Ds.fl(s.rf(v),255)}else = if(k=3D=3D'vmk'||k=3D=3D'visitorMigrationKey')q=3D'vmt';else = if(k=3D=3D'visitorMigrationServer'){q=3D'vmf';if(s.ssl&&s.visitorMigratio= nS" +"erverSecure)v=3D''}else = if(k=3D=3D'visitorMigrationServerSecure'){q=3D'vmf';if(!s.ssl&&s.visitorM= igrationServer)v=3D''}else = if(k=3D=3D'charSet'){q=3D'ce';if(v.toUpperCase()=3D=3D'AUTO')v=3D'ISO8859= -1';else if(s.em=3D=3D2||s" +".em=3D=3D3)v=3D'UTF-8'}else if(k=3D=3D'visitorNamespace')q=3D'ns';else = if(k=3D=3D'cookieDomainPeriods')q=3D'cdp';else = if(k=3D=3D'cookieLifetime')q=3D'cl';else = if(k=3D=3D'variableProvider')q=3D'vvp';else = if(k=3D=3D'currencyCode')q=3D'" +"cc';else if(k=3D=3D'channel')q=3D'ch';else = if(k=3D=3D'transactionID')q=3D'xact';else = if(k=3D=3D'campaign')q=3D'v0';else if(k=3D=3D'resolution')q=3D's';else = if(k=3D=3D'colorDepth')q=3D'c';else = if(k=3D=3D'javascriptVersion')q=3D'j';els" +"e if(k=3D=3D'javaEnabled')q=3D'v';else = if(k=3D=3D'cookiesEnabled')q=3D'k';else = if(k=3D=3D'browserWidth')q=3D'bw';else = if(k=3D=3D'browserHeight')q=3D'bh';else = if(k=3D=3D'connectionType')q=3D'ct';else = if(k=3D=3D'homepage')q=3D'hp';else" +" if(k=3D=3D'plugins')q=3D'p';else = if(k=3D=3D'events'){if(e)v+=3D(v?',':'')+e;if(fe)v=3Ds.fs(v,fe)}else = if(k=3D=3D'events2')v=3D'';else = if(k=3D=3D'contextData'){qs+=3Ds.s2q('c',s[k],fv,k,0);v=3D''}else = if(k=3D=3D'lightProfileID')q" +"=3D'mtp';else = if(k=3D=3D'lightStoreForSeconds'){q=3D'mtss';if(!s.lightProfileID)v=3D''}= else = if(k=3D=3D'lightIncrementBy'){q=3D'mti';if(!s.lightProfileID)v=3D''}else = if(k=3D=3D'retrieveLightProfiles')q=3D'mtsr';else if(k=3D=3D" +"'deleteLightProfiles')q=3D'mtsd';else = if(k=3D=3D'retrieveLightData'){if(s.retrieveLightProfiles)qs+=3Ds.s2q('mt= s',s[k],fv,k,0);v=3D''}else if(s.num(x)){if(b=3D=3D'prop')q=3D'c'+n;else = if(b=3D=3D'eVar')q=3D'v'+n;else if(" +"b=3D=3D'list')q=3D'l'+n;else = if(b=3D=3D'hier'){q=3D'h'+n;v=3Ds.fl(v,255)}}if(v)qs+=3D'&'+s.ape(q)+'=3D= '+(k.substring(0,3)!=3D'pev'?s.ape(v):v)}}return = qs};s.ltdf=3Dfunction(t,h){t=3Dt?t.toLowerCase():'';h=3Dh?h.toLowerCase("= +"):'';var = qi=3Dh.indexOf('?');h=3Dqi>=3D0?h.substring(0,qi):h;if(t&&h.substring(h.l= ength-(t.length+1))=3D=3D'.'+t)return 1;return = 0};s.ltef=3Dfunction(t,h){t=3Dt?t.toLowerCase():'';h=3Dh?h.toLowerCase():= '';if(t&&h." +"indexOf(t)>=3D0)return 1;return 0};s.lt=3Dfunction(h){var = s=3Dthis,lft=3Ds.linkDownloadFileTypes,lef=3Ds.linkExternalFilters,lif=3D= s.linkInternalFilters;lif=3Dlif?lif:s.wd.location.hostname;h=3Dh.toLowerC= ase();if(" +"s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return = 'd';if(s.trackExternalLinks&&h.substring(0,1)!=3D'#'&&(lef||lif)&&(!lef||= s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';r" +"eturn ''};s.lc=3Dnew Function('e','var = s=3Ds_c_il['+s._in+'],b=3Ds.eh(this,\"onclick\");s.lnk=3Ds.co(this);s.t()= ;s.lnk=3D0;if(b)return this[b](e);return true');s.bc=3Dnew = Function('e','var s=3Ds_c_il['+s._in+']," +"f,tcf;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;s.eo=3De.srcElement?e.s= rcElement:e.target;tcf=3Dnew Function(\"s\",\"var = e;try{if(s.eo&&(s.eo.tagName||s.eo.parentElement||s.eo.parentNode))s.t()}= catch(e" +"){}\");tcf(s);s.eo=3D0');s.oh=3Dfunction(o){var = s=3Dthis,l=3Ds.wd.location,h=3Do.href?o.href:'',i,j,k,p;i=3Dh.indexOf(':'= );j=3Dh.indexOf('?');k=3Dh.indexOf('/');if(h&&(i<0||(j>=3D0&&i>j)||(k>=3D= 0&&i>k))){p=3Do.protocol&" +"&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=3Dl.pathna= me.lastIndexOf('/');h=3D(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+= (h.substring(0,1)!=3D'/'?l.pathname.substring(0,i<0?0:i)+'/" +"':'')+h}return h};s.ot=3Dfunction(o){var = t=3Do.tagName;if(o.tagUrn||(o.scopeName&&o.scopeName.toUpperCase()!=3D'HT= ML'))return = '';t=3Dt&&t.toUpperCase?t.toUpperCase():'';if(t=3D=3D'SHAPE')t=3D'';if(t)= {if((t=3D=3D'INP" +"UT'||t=3D=3D'BUTTON')&&o.type&&o.type.toUpperCase)t=3Do.type.toUpperCas= e();else if(!t&&o.href)t=3D'A';}return t};s.oid=3Dfunction(o){var = s=3Dthis,t=3Ds.ot(o),p,c,n=3D'',x=3D0;if(t&&!o.s_oid){p=3Do.protocol;c=3D= o.onclick" +";if(o.href&&(t=3D=3D'A'||t=3D=3D'AREA')&&(!c||!p||p.toLowerCase().index= Of('javascript')<0))n=3Ds.oh(o);else = if(c){n=3Ds.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''= ),' ','');x=3D2}else if(t=3D=3D'IN" +"PUT'||t=3D=3D'SUBMIT'){if(o.value)n=3Do.value;else = if(o.innerText)n=3Do.innerText;else = if(o.textContent)n=3Do.textContent;x=3D3}else = if(o.src&&t=3D=3D'IMAGE')n=3Do.src;if(n){o.s_oid=3Ds.fl(n,100);o.s_oidt=3D= x}}return o." +"s_oid};s.rqf=3Dfunction(t,un){var = s=3Dthis,e=3Dt.indexOf('=3D'),u=3De>=3D0?t.substring(0,e):'',q=3De>=3D0?s= .epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=3D0){= if(u!=3Ds.un&&s.un.indexOf(',')>=3D0)q=3D" +"'&u=3D'+u+q+'&u=3D0';return q}return = ''};s.rq=3Dfunction(un){if(!un)un=3Dthis.un;var = s=3Dthis,c=3Dun.indexOf(','),v=3Ds.c_r('s_sq'),q=3D'';if(c<0)return = s.pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s.sqp=3Dfunct" +"ion(t,a){var = s=3Dthis,e=3Dt.indexOf('=3D'),q=3De<0?'':s.epa(t.substring(e+1));s.sqq[q]= =3D'';if(e>=3D0)s.pt(t.substring(0,e),',','sqs',q);return = 0};s.sqs=3Dfunction(un,q){var s=3Dthis;s.squ[un]=3Dq;return = 0};s.sq=3Dfun" +"ction(q){var s=3Dthis,k=3D's_sq',v=3Ds.c_r(k),x,c=3D0;s.sqq=3Dnew = Object;s.squ=3Dnew = Object;s.sqq[q]=3D'';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v=3D'';fo= r(x in s.squ)if(x&&(!Object||!Object.prototype||!Object" +".prototype[x]))s.sqq[s.squ[x]]+=3D(s.sqq[s.squ[x]]?',':'')+x;for(x in = s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&= &(x=3D=3Dq||c<2)){v+=3D(v?'&':'')+s.sqq[x]+'=3D'+s.ape(x);c++}re" +"turn s.c_w(k,v,0)};s.wdl=3Dnew Function('e','var = s=3Ds_c_il['+s._in+'],r=3Dtrue,b=3Ds.eh(s.wd,\"onload\"),i,o,oc;if(b)r=3D= this[b](e);for(i=3D0;i=3D0)&&oc.ind= exOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return = r');s.wds=3Dfunction(){var = s=3Dthis;if(s.apv>3&&(!s.isie||!s.ismac||s.apv>=3D5)){i" +"f(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else = if(s.b&&s.b.addEventListener)s.b.addEventListener('click',s.bc,false);els= e s.eh(s.wd,'onload',0,s.wdl)}};s.vs=3Dfunction(x){var s=3Dthis,v=3Ds." +"visitorSampling,g=3Ds.visitorSamplingGroup,k=3D's_vsn_'+s.un+(g?'_'+g:'= '),n=3Ds.c_r(k),e=3Dnew = Date,y=3De.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=3D100;if(!n= ){if(!s.c_w(k,x,e))return 0;n=3Dx}if(n%1000" +"0>v)return 0}return = 1};s.dyasmf=3Dfunction(t,m){if(t&&m&&m.indexOf(t)>=3D0)return 1;return = 0};s.dyasf=3Dfunction(t,m){var = s=3Dthis,i=3Dt?t.indexOf('=3D'):-1,n,x;if(i>=3D0&&m){var = n=3Dt.substring(0,i),x=3Dt.substring" +"(i+1);if(s.pt(x,',','dyasmf',m))return n}return = 0};s.uns=3Dfunction(){var = s=3Dthis,x=3Ds.dynamicAccountSelection,l=3Ds.dynamicAccountList,m=3Ds.dyn= amicAccountMatch,n,i;s.un=3Ds.un.toLowerCase();if(x&&l){if(!m)" +"m=3Ds.wd.location.host;if(!m.toLowerCase)m=3D''+m;l=3Dl.toLowerCase();m= =3Dm.toLowerCase();n=3Ds.pt(l,';','dyasf',m);if(n)s.un=3Dn}i=3Ds.un.index= Of(',');s.fun=3Di<0?s.un:s.un.substring(0,i)};s.sa=3Dfunction(un){var s" +"=3Dthis;s.un=3Dun;if(!s.oun)s.oun=3Dun;else = if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=3D','+un;s.uns()};s.m_i=3D= function(n,a){var = s=3Dthis,m,f=3Dn.substring(0,1),r,l,i;if(!s.m_l)s.m_l=3Dnew = Object;if(!s.m_nl" +")s.m_nl=3Dnew = Array;m=3Ds.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=3Dnew = Object,m._c=3D's_m';m._in=3Ds.wd.s_c_in;m._il=3Ds._il;m._il[m._in]=3Dm;s.= wd.s_c_in++;m.s=3Ds;m._n=3Dn;m._l=3Dnew Array('_c','_in','_il','_" +"i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs',= '_rr','_l');s.m_l[n]=3Dm;s.m_nl[s.m_nl.length]=3Dn}else = if(m._r&&!m._m){r=3Dm._r;r._m=3Dm;l=3Dm._l;for(i=3D0;i=3D0)x(s);e" +"lse = s.m_m(\"x\",n,x,e)}m=3Ds.m_i(n,1);if(m._dl)m._dl=3Dm._d=3D0;s.dlt();retur= n f');s.m_m=3Dfunction(t,n,d,e){t=3D'_'+t;var = s=3Dthis,i,x,m,f=3D'_'+t,r=3D0,u;if(s.m_l&&s.m_nl)for(i=3D0;i=3D0){if(d&&e)u=3Dm[t](d,e);else if(d)u=3Dm[t](d);else = u=3Dm[t]()}}if(u)r=3D1;u=3Dm[t+1];if(u&&!m[f]){if((''+u).indexOf('functio= n')>=3D0){if(d&" +"&e)u=3Dm[t+1](d,e);else if(d)u=3Dm[t+1](d);else = u=3Dm[t+1]()}}m[f]=3D1;if(u)r=3D1}}return r};s.m_ll=3Dfunction(){var = s=3Dthis,g=3Ds.m_dl,i,o;if(g)for(i=3D0;i=3D0){g=3Dn.substring(i+1);n=3Dn.substring(0,i)}else = g=3D\"m_\"+n;m=3Ds.m_i(n)}i" +"f((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=3D1;m= ._dl=3D1}if(ln){if(s.ssl)u=3Ds.rep(u,'http:','https:');i=3D's_s:'+s._in+'= :'+n+':'+g;b=3D'var s=3Ds_c_il['+s._in+'],o=3Ds.d.getElementById(\"" +"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=3D1;if(o.i)clearTimeout(o.i)= ;o.i=3D0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=3Db+'o.c+= +;if(!s.maxDelay)s.maxDelay=3D250;if(!o.l&&o.c<(s.maxDelay*2)" +"/100)o.i=3DsetTimeout(o.f2,100)}';f1=3Dnew = Function('e',b+'}');tcf=3Dnew Function('s','c','i','u','f1','f2','var = e,o=3D0;try{o=3Ds.d.createElement(\"script\");if(o){o.type=3D\"text/javas= cript\";'+(n?'o.id=3Di;o." +"defer=3Dtrue;o.onload=3Do.onreadystatechange=3Df1;o.f2=3Df2;o.l=3D0;':'= ')+'o.src=3Du;c.appendChild(o);'+(n?'o.c=3D0;o.i=3DsetTimeout(f2,100)':''= )+'}}catch(e){o=3D0}return o');o=3Dtcf(s,c,i,u,f1,f2)}else{o=3Dnew = Object;o" +".n=3Dn+':'+g;o.u=3Du;o.d=3Dd;o.l=3Dl;o.e=3De;g=3Ds.m_dl;if(!g)g=3Ds.m_d= l=3Dnew Array;i=3D0;while(i=3Ds.maxDelay){s.dll[i]=3D0;s.t(vo)}els= e = f=3D1}}if(s.dli)clearTimeout(s.dli);s.dli=3D0;if(f){if(!s.dli)s.dli=3Dset= Timeout(s.dlt,s.maxDelay)}else s.dll=3D0');s.dl=3Dfunction(vo){va" +"r s=3Dthis,d=3Dnew Date;if(!vo)vo=3Dnew = Object;s.vob(vo);vo._t=3Dd.getTime();if(!s.dll)s.dll=3Dnew = Array;s.dll[s.dll.length]=3Dvo;if(!s.maxDelay)s.maxDelay=3D250;s.dlt()};s= .track=3Ds.t=3Dfunction(vo){var s=3Dthis,trk=3D" +"1,tm=3Dnew = Date,sed=3DMath&&Math.random?Math.floor(Math.random()*10000000000000):tm.= getTime(),sess=3D's'+Math.floor(tm.getTime()/10800000)%10+sed,y=3Dtm.getY= ear(),vt=3Dtm.getDate()+'/'+tm.getMonth()+'/'+(y<1" +"900?y+1900:y)+' = '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+' = '+tm.getDay()+' = '+tm.getTimezoneOffset(),tcf,tfs=3Ds.gtfs(),ta=3D-1,q=3D'',qs=3D'',code=3D= '',vb=3Dnew Object;s.gl(s.vl_g);s.uns();s.m_l" +"l();if(!s.td){var = tl=3Dtfs.location,a,o,i,x=3D'',c=3D'',v=3D'',p=3D'',bw=3D'',bh=3D'',j=3D'= 1.0',k=3Ds.c_w('s_cc','true',0)?'Y':'N',hp=3D'',ct=3D'',pn=3D0,ps;if(Stri= ng&&String.prototype){j=3D'1.1';if(j.match){j=3D'1.2';if(tm.s" +"etUTCDate){j=3D'1.3';if(s.isie&&s.ismac&&s.apv>=3D5)j=3D'1.4';if(pn.toP= recision){j=3D'1.5';a=3Dnew Array;if(a.forEach){j=3D'1.6';i=3D0;o=3Dnew = Object;tcf=3Dnew Function('o','var e,i=3D0;try{i=3Dnew = Iterator(o)}catch(e){" +"}return = i');i=3Dtcf(o);if(i&&i.next)j=3D'1.7'}}}}}if(s.apv>=3D4)x=3Dscreen.width+= 'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3D3){v=3Ds.n.javaEnable= d()?'Y':'N';if(s.apv>=3D4){c=3Dscreen.pixelDepth;bw=3Ds.wd.in" +"nerWidth;bh=3Ds.wd.innerHeight}}s.pl=3Ds.n.plugins}else = if(s.isie){if(s.apv>=3D4){v=3Ds.n.javaEnabled()?'Y':'N';c=3Dscreen.colorD= epth;if(s.apv>=3D5){bw=3Ds.d.documentElement.offsetWidth;bh=3Ds.d.documen= tElement.of" +"fsetHeight;if(!s.ismac&&s.b){tcf=3Dnew Function('s','tl','var = e,hp=3D0;try{s.b.addBehavior(\"#default#homePage\");hp=3Ds.b.isHomePage(t= l)?\"Y\":\"N\"}catch(e){}return hp');hp=3Dtcf(s,tl);tcf=3Dnew = Function('" +"s','var = e,ct=3D0;try{s.b.addBehavior(\"#default#clientCaps\");ct=3Ds.b.connection= Type}catch(e){}return ct');ct=3Dtcf(s)}}}else = r=3D''}if(s.pl)while(pn=3D0&&oc.indexOf('.s_oc(')<0)||oc.indexOf('.tl(')>=3D0)o=3D0}}if" +"(o){if(n)ta=3Do.target;h=3Ds.oh(o);i=3Dh.indexOf('?');h=3Ds.linkLeaveQu= eryString||i<0?h:h.substring(0,i);l=3Ds.linkName;t=3Ds.linkType?s.linkTyp= e.toLowerCase():s.lt(h);if(t&&(h||l)){s.pe=3D'lnk_'+(t=3D=3D'd'||t=3D=3D'= e'" +"?t:'o');q+=3D'&pe=3D'+s.pe+(h?'&pev1=3D'+s.ape(h):'')+(l?'&pev2=3D'+s.a= pe(l):'');}else = trk=3D0;if(s.trackInlineStats){if(!p){p=3Ds.pageURL;w=3D0}t=3Ds.ot(o);i=3D= o.sourceIndex;if(s.gg('objectID')){n=3Ds.gg('objectID');" +"x=3D1;i=3D1}if(p&&n&&t)qs=3D'&pid=3D'+s.ape(s.fl(p,255))+(w?'&pidt=3D'+= w:'')+'&oid=3D'+s.ape(s.fl(n,100))+(x?'&oidt=3D'+x:'')+'&ot=3D'+s.ape(t)+= (i?'&oi=3D'+i:'')}}else = trk=3D0}if(trk||qs){s.sampled=3Ds.vs(sed);if(trk){i" +"f(s.sampled)code=3Ds.mr(sess,(vt?'&t=3D'+s.ape(vt):'')+s.hav()+q+(qs?qs= :s.rq()),0,ta);qs=3D'';s.m_m('t');if(s.p_r)s.p_r();s.referrer=3Ds.lightPr= ofileID=3Ds.retrieveLightProfiles=3Ds.deleteLightProfiles=3D''}s.sq" +"(qs)}}else = s.dl(vo);if(vo)s.voa(vb,1);s.lnk=3Ds.eo=3Ds.linkName=3Ds.linkType=3Ds.wd.= s_objectID=3Ds.ppu=3Ds.pe=3Ds.pev1=3Ds.pev2=3Ds.pev3=3D'';if(s.pg)s.wd.s_= lnk=3Ds.wd.s_eo=3Ds.wd.s_linkName=3Ds.wd.s_linkType=3D'';return code" +"};s.trackLink=3Ds.tl=3Dfunction(o,t,n,vo){var = s=3Dthis;s.lnk=3Ds.co(o);s.linkType=3Dt;s.linkName=3Dn;s.t(vo)};s.trackLi= ght=3Dfunction(p,ss,i,vo){var = s=3Dthis;s.lightProfileID=3Dp;s.lightStoreForSeconds=3Dss;s.lightInc" +"rementBy=3Di;s.t(vo)};s.setTagContainer=3Dfunction(n){var = s=3Dthis,l=3Ds.wd.s_c_il,i,t,x,y;s.tcn=3Dn;if(l)for(i=3D0;i=3D0);s.d=3Ddocument;s.b=3Ds.d.b" +"ody;if(s.d.getElementsByTagName){s.h=3Ds.d.getElementsByTagName('HEAD')= ;if(s.h)s.h=3Ds.h[0]}s.n=3Dnavigator;s.u=3Ds.n.userAgent;s.ns6=3Ds.u.inde= xOf('Netscape6/');var apn=3Ds.n.appName,v=3Ds.n.appVersion,ie=3Dv.ind" +"exOf('MSIE '),o=3Ds.u.indexOf('Opera = '),i;if(v.indexOf('Opera')>=3D0||o>0)apn=3D'Opera';s.isie=3D(apn=3D=3D'Mi= crosoft Internet = Explorer');s.isns=3D(apn=3D=3D'Netscape');s.isopera=3D(apn=3D=3D'Opera');= s.ismac=3D(s.u.indexOf(" +"'Mac')>=3D0);if(o>0)s.apv=3DparseFloat(s.u.substring(o+6));else = if(ie>0){s.apv=3DparseInt(i=3Dv.substring(ie+5));if(s.apv>3)s.apv=3Dparse= Float(i)}else = if(s.ns6>0)s.apv=3DparseFloat(s.u.substring(s.ns6+10));els" +"e s.apv=3DparseFloat(v);s.em=3D0;if(s.em.toPrecision)s.em=3D3;else = if(String.fromCharCode){i=3Descape(String.fromCharCode(256)).toUpperCase(= );s.em=3D(i=3D=3D'%C4%80'?2:(i=3D=3D'%U0100'?1:0))}if(s.oun)s.sa(s.oun);s= .s" +"a(un);s.vl_l=3D'dynamicVariablePrefix,visitorID,vmk,visitorMigrationKey= ,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorN= amespace,cookieDomainPeriods,cookieLifetime,pageName,pa" +"geURL,referrer,currencyCode';s.va_l=3Ds.sp(s.vl_l,',');s.vl_mr=3Ds.vl_m= =3D'charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextDa= ta,lightProfileID,lightStoreForSeconds,lightIncrementBy';s." +"vl_t=3Ds.vl_l+',variableProvider,channel,server,pageType,transactionID,= purchaseID,campaign,state,zip,events,events2,products,linkName,linkType,c= ontextData,lightProfileID,lightStoreForSeconds,lightInc" +"rementBy,retrieveLightProfiles,deleteLightProfiles,retrieveLightData';v= ar = n;for(n=3D1;n<=3D75;n++){s.vl_t+=3D',prop'+n+',eVar'+n;s.vl_m+=3D',prop'+= n+',eVar'+n}for(n=3D1;n<=3D5;n++)s.vl_t+=3D',hier'+n;for(n=3D1;n<=3D" +"3;n++)s.vl_t+=3D',list'+n;s.va_m=3Ds.sp(s.vl_m,',');s.vl_l2=3D',tnt,pe,= pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookie= sEnabled,browserWidth,browserHeight,connectionType,homepage" +",plugins';s.vl_t+=3Ds.vl_l2;s.va_t=3Ds.sp(s.vl_t,',');s.vl_g=3Ds.vl_t+'= ,trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPer= iods,disableBufferedRequests,mobile,visitorSampling,visitor" +"SamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccount= Match,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQue= ryString,linkDownloadFileTypes,linkExternalFilters,li" +"nkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightT= rackVars,_1_referrer,un';s.va_g=3Ds.sp(s.vl_g,',');s.pg=3Dpg;s.gl(s.vl_g)= ;s.contextData=3Dnew Object;s.retrieveLightData=3Dnew Object;" +"if(!ss)s.wds();if(pg){s.wd.s_co=3Dfunction(o){s_gi(\"_\",1,1).co(o)};s.= wd.s_gs=3Dfunction(un){s_gi(un,1,1).t()};s.wd.s_dc=3Dfunction(un){s_gi(un= ,1).t()}}", w=3Dwindow,l=3Dw.s_c_il,n=3Dnavigator,u=3Dn.userAgent,v=3Dn.appVersion,e=3D= v.indexOf('MSIE = '),m=3Du.indexOf('Netscape6/'),a,i,j,x,s;if(un){un=3Dun.toLowerCase();if(= l)for(j=3D0;j<2;j++)for(i=3D0;i0&&x=3D=3D's_l'))&&(s.oun=3D=3Dun||(s.fs&&s.sa&&s.fs(s.ou= n,un)))){if(s.sa)s.sa(un);if(x=3D=3D's_c')return s}else = s=3D0}}w.s_an=3D'0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrst= uvwxyz'; w.s_sp=3Dnew Function("x","d","var a=3Dnew = Array,i=3D0,j;if(x){if(x.split)a=3Dx.split(d);else = if(!d)for(i=3D0;i=3D0){j=3Dx.indexOf(d,i);a[a.length]=3Dx.subst" +"ring(i,j<0?x.length:j);i=3Dj;if(i>=3D0)i+=3Dd.length}}return a"); w.s_jn=3Dnew Function("a","d","var = x=3D'',i,j=3Da.length;if(a&&j>0){x=3Da[0];if(j>1){if(a.join)x=3Da.join(d)= ;else for(i=3D1;i0){d=3Dx.substring= (0,i);x=3Dx.substring(i+2);l=3Ds_sp(l,'');for(i=3D0;i<62;i++)l2[l[i]]=3Di= ;t=3Ds_sp(t,'');d" +"=3Ds_sp(d,'~');i=3D0;while(i<5){v=3D0;if(x.indexOf(t[i])>=3D0) = {x2=3Ds_sp(x,t[i]);for(j=3D1;j=3D0)x=3Ds_rep(x,w,t[i]);i++;b+=3D62}}}return x"); w.s_fe=3Dnew Function("c","return = s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")"= ); w.s_fa=3Dnew Function("f","var = s=3Df.indexOf('(')+1,e=3Df.indexOf(')'),a=3D'',c;while(s>=3D0&&s=3D0){s++;d=3D1;q= =3D'';x=3D0;f=3Dc.substring(s);a=3Ds_fa(f);e=3Do=3Dc.indexOf('{',s);e++;w= hile(d>0){h=3Dc.substring(e,e+1);if(q){i" +"f(h=3D=3Dq&&!x)q=3D'';if(h=3D=3D'\\\\')x=3Dx?0:1;else = x=3D0}else{if(h=3D=3D'\"'||h=3D=3D\"'\")q=3Dh;if(h=3D=3D'{')d++;if(h=3D=3D= '}')d--}if(d>0)e++}c=3Dc.substring(0,s)+'new = Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")" +"'+c.substring(e+1);s=3Dc.indexOf('=3Dfunction(')}return c;"); c=3Ds_d(c);if(e>0){a=3DparseInt(i=3Dv.substring(e+5));if(a>3)a=3DparseFlo= at(i)}else if(m>0)a=3DparseFloat(u.substring(m+10));else = a=3DparseFloat(v);if(a<5||v.indexOf('Opera')>=3D0||u.indexOf('Opera')>=3D= 0)c=3Ds_ft(c);if(!s){s=3Dnew Object;if(!w.s_c_in){w.s_c_il=3Dnew = Array;w.s_c_in=3D0}s._il=3Dw.s_c_il;s._in=3Dw.s_c_in;s._il[s._in]=3Ds;w.s= _c_in++;}s._c=3D's_c';(new = Function("s","un","pg","ss",c))(s,un,pg,ss);return s} function s_giqf(){var = w=3Dwindow,q=3Dw.s_giq,i,t,s;if(q)for(i=3D0;i反馈';=0A= // } else if (langParam1 =3D=3D 'JPjpn' || (langParam1 =3D=3D '' && = langParam2.toLowerCase() =3D=3D'jp')) {=0A= // document.getElementById(type).innerHTML=3D'フィードバッӞ= 3; ';=0A= // } else if (langParam1 =3D=3D 'KRkor' || (langParam1 =3D=3D '' && = langParam2.toLowerCase() =3D=3D 'kr')) {=0A= // document.getElementById(type).innerHTML=3D'페이지 = 평가 ';=0A= // } else if (langParam1 =3D=3D 'TWcht' || (langParam1 =3D=3D '' && = langParam2.toLowerCase() =3D=3D 'tw')) {=0A= // document.getElementById(type).innerHTML=3D'反饋 ';=0A= // } else {=0A= document.getElementById(type).innerHTML=3D''+feedbackText+' ';=0A= // } =0A= } ------=_NextPart_000_0020_01CDD13A.1E65AA60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://cp.home.agilent.com/upload/cmc_upload/All/InstantInvite3.js /* InstantInvite3.js v13 CX1 R6 2012-10-23 mla=20 * v13: Fixed typo in chatPage */ // Set test mode to null unless set from the URL var hsTest =3D getURLParam('hstest'); var hsTestgeoCtry =3D getURLParam('hsctry'); if (hsTest && !hsTestgeoCtry) { // Default test ctry to US hsTestgeoCtry =3D 'US'; } if (hsTest) { var hsTestForceAgent =3D getURLParam('hsfa'); } function show_chat_link(urlDomain, dept) { var param1 =3D "optionaldata1=3DContact_Area_Chat_Button_with_Form"; var param2 =3D "optionaldata4=3D" + escape(jsAgilentWorldwideTitle || = ''); var target =3D urlDomain+"/webchat.jspx?ai=3D6322&" + param1 + "&" + = param2 +"&di=3D"+dept; if(document.getElementById("webchat") !=3D null){ // Contact Area document.getElementById("webchat").style.display =3D "block"; document.getElementById("webchat").getElementsByTagName('a')[0].href = =3D ""; = document.getElementById("webchat").getElementsByTagName('a')[0].removeAtt= ribute("target"); = document.getElementById("webchat").getElementsByTagName('a')[0].onclick = =3D function() { window.open(target, 'custclient', = 'width=3D775,height=3D560,scrollbars=3D0'); } } //if if(document.getElementById("webchat2") !=3D null){ //Contact Info page = - Product Selection Experts document.getElementById("webchat2").style.display =3D "block"; document.getElementById("webchatlink2").href =3D ""; document.getElementById("webchatlink2").removeAttribute("target"); document.getElementById("webchatlink2").onclick =3D function() { window.open(target, 'custclient', = 'width=3D775,height=3D560,scrollbars=3D0'); } } //if=09 =09 if(document.getElementById("webchat3") !=3D null){ //Contact Info page = - Support Specialists document.getElementById("webchat3").style.display =3D "block"; document.getElementById("webchatlink3").href =3D ""; document.getElementById("webchatlink3").removeAttribute("target"); document.getElementById("webchatlink3").onclick =3D function() { window.open(target, 'custclient', = 'width=3D775,height=3D560,scrollbars=3D0'); =09 } } //if=09 return false; } //function function skip_chat_link() { // This is solely for debugging if (hsTest) { alert("Chat Triggered but no Agents are available"); } } function getURLParam( name ) { name =3D name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS =3D "[\\?&]"+name+"=3D([^&#]*)"; var regex =3D new RegExp( regexS ); var results =3D regex.exec( window.location.href ); if( results =3D=3D null ) return ""; else return results[1]; } function agents_available(urlDomain, dept)=20 { // try to retrieve image for dept if (typeof(dept) =3D=3D=3D "undefined" || dept =3D=3D=3D "") { // Do not show Chat Button return false; } =09 // Allow debugging // Throwing object not supported error - probably a race condition //if (hsTest && hsTestForceAgent) { if (false) { var target =3D = 'http://cp.home.agilent.com/agilent/images3/home2/agilentlogo-home.gif'; } else { =09 var target =3D = 'http://rs.instantservice.com/resources/smartbutton/6322/' + dept + = '/available.gif?' + Math.floor(Math.random()*10001); =09 } var agentImg =3D new Image(); agentImg.onload=3Dfunction(){show_chat_link(urlDomain, dept);}; if (hsTest) agentImg.onerror=3Dfunction(){skip_chat_link();}; agentImg.src=3Dtarget; =09 } // Allow Product at-a-glance pages, Collections and editorials to have = the chat now link // Product and Collections now use a simplified URL syntax... // Leverage the jsAgilent... variables and the s.propXX variables to = determine page type function chatPage(myURL)=20 { var retval; //if (myURL.indexOf("product.jspx") !=3D -1 || = myURL.indexOf("download.jspx") !=3D -1 || = myURL.indexOf("contactInformation.jspx") !=3D -1) { if ( (jsAgilentContentType =3D=3D "PRODUCT") || (jsAgilentContentType = =3D=3D "AGILENT_COLLECTION") )=20 { retval =3D true; } else if (myURL.indexOf("editorial.jspx") !=3D -1 && typeof(s.prop3) = !=3D "undefined" && s.prop3 =3D=3D "Solution Brief") { retval =3D true; } else if (myURL.indexOf("contactInformation.jspx") !=3D -1 || = myURL.indexOf("partnerfinder.jspx") !=3D -1 ) { retval =3D true; } else { retval =3D false; } =09 return retval; } function getCookie(c_name) { var c_start; var c_end; if (document.cookie.length>0) { c_start=3Ddocument.cookie.indexOf(c_name + "=3D"); if (c_start!=3D-1) { c_start=3Dc_start + c_name.length+1; c_end=3Ddocument.cookie.indexOf(";",c_start); if (c_end=3D=3D-1) { c_end=3Ddocument.cookie.length; } return unescape(document.cookie.substring(c_start,c_end)); } } return ""; } // routeChat replaces hierToDept and chatPage with a more robust mapping = of // page, country and hierarchy to chat queue. //=20 function routeChat(topColl, ctry, pageName) { } function hierToDept(topColl, ctry)=20 { if (typeof(ctry) =3D=3D"undefined") { ctry =3D ""; } if (typeof(topColl) =3D=3D"undefined") { topColl =3D ""; } =09 =09 switch (ctry) // Locale from Omniture tag { case "US": case "CA": switch (topColl) { case "Bit Error Ratio Test Solutions": case "Data Generator | Analyzers": case "Pulse Pattern Generators": case "Logic Analyzers": case "Oscilloscopes": case "3E": // ?? case "8F": // ?? case "Modular Logic Analysis & Protocol Test": case "Modular Logic Analysis and Protocol Test": case "Modular Bit Error Rate Testers": case "Modular Bit Error Rate Test Systems": case "Modular Oscilloscopes & Digitizers": case "Digitizers": case "Modular Pulse Pattern Generators": case "PCI/PCI Express/CompactPCI/VME=A0 Modular Products & Systems": case "PCI Modular Products & Systems": case "Protocol Analyzer | Exerciser": return "25296"; // US - DPT Team case "Wireless Device Test Sets & Wireless Solutions": //return "25903"; // US - CNV Team return "40099"; // US - MB Queue case "Impedance Analyzers": case "LCR & Resistance Meters": case "LCR & Impedance Measurement Products": case "Network Analyzers": case "Noise Figure Analyzers & Noise Sources": case "Antenna, EMI|EMC, Phase Noise, Physical Layer Test": case "Power Meters & Power Sensors": case "Millimeter-Wave and Microwave Devices": return "25902"; // US - CT Team case "Spectrum Analyzers": case "Signal Generators": case "Modular RF Signal Generators": case "Modular Vector Signal Analyzers": return "25901"; // US - WD Team case "Frequency Counters": case "AC Power Sources | Power Analyzers": case "Data Acquisition Hardware & System Switches": case "Digital Multimeters, Voltmeters": case "DC Power Analyzers": case "DC Power Supplies": case "DC Electronic Loads": case "Function | Arbitrary Waveform Generators": // MPO Collections case "Acessories & Options for Modular Products": case "Modular Arbitrary Waveform Generators": case "Modular Digital to Analog Converters": case "Data Acquisition DAQ": case "Modular Digital IO": case "Modular Digital Multimeters": case "Modular Frequency Counters": case "Modular Mainframes & Controllers": case "Modular Mainframes and Controllers": case "Modular Signal Conditioning Products": case "Modular Signal Conditioning": case "Modular Source Measure Units": case "Software for Modular Products & Systems": case "34970 Modular Products & Systems": case "34980 Modular Products & Systems": case "USB Modular Products & Systems": case "VXI Modular Products & Systems": // MPO Collections - move to MPO when it exists case "AXIe Modular Products & Systems": case "PXI Modular Products & Systems": case "Modular Products & Systems": return "25488"; // US - GTA Team case "Industries": // Only for Solution briefs return "37897" // OLS Queue default: return ""; // US Default - No Chat } // Switch topCol case "GB": case "IE": switch (topColl) { case "AC Power Sources | Power Analyzers": case "Antenna, EMI|EMC, Phase Noise, Physical Layer Test": case "Bit Error Ratio Test Solutions": case "Data Acquisition Hardware & System Switches": case "Data Generator | Analyzers": case "DC Electronic Loads": case "DC Power Analyzers": case "DC Power Supplies": case "Frequency Counters": case "Digital Multimeters, Voltmeters": case "Function | Arbitrary Waveform Generators": case "Impedance Analyzers": case "LCR & Resistance Meters": case "LCR & Impedance Measurement Products": case "Millimeter-Wave and Microwave Devices": case "Network Analyzers": case "Noise Figure Analyzers & Noise Sources": case "Oscilloscopes": case "3E": // ?? case "8F": // ?? case "Phase Noise Measuring Systems": case "Power Meters & Power Sensors": case "Protocol Analyzer | Exerciser": case "Pulse Pattern Generators": case "Logic Analyzers": case "RF & Microwave Test Accessories": case "Signal Generators": case "Spectrum Analyzers": case "Wireless Device Test Sets & Wireless Solutions": // MPO Collections case "Acessories & Options for Modular Products": case "Modular Arbitrary Waveform Generators": case "Modular Bit Error Rate Testers": case "Modular Bit Error Rate Test Systems": case "Modular Digital to Analog Converters": case "Data Acquisition DAQ": case "Modular Digital IO": case "Modular Digital Multimeters": case "Modular Frequency Counters": case "Modular Logic Analysis & Protocol Test": case "Modular Logic Analysis and Protocol Test": case "Modular Mainframes & Controllers": case "Modular Mainframes and Controllers": case "Modular Oscilloscopes & Digitizers": case "Digitizers": case "Modular Pulse Pattern Generators": case "Modular RF Signal Generators": case "Modular Signal Conditioning Products": case "Modular Signal Conditioning": case "Modular Source Measure Units": case "Modular Vector Signal Analyzers": case "Software for Modular Products & Systems": case "34970 Modular Products & Systems": case "34980 Modular Products & Systems": case "AXIe Modular Products & Systems": case "PCI/PCI Express/CompactPCI/VME=A0 Modular Products & = Systems": case "PCI Modular Products & Systems": case "PXI Modular Products & Systems": case "USB Modular Products & Systems": case "VXI Modular Products & Systems": case "Modular Products & Systems": case "Industries": // Only for Solution briefs return "25105"; // UK Dept default: // No other categories supported return ""; } // switch topColl default: // No other countries supported break; =20 } // switch ctry } //function function geoCtry()=20 { var res =3D new Array(); var myCtry; var myCookie =3D getCookie("IS3_GSV"); var patt2 =3D new RegExp("_GeoCo-(.{2,3})_"); res =3D patt2.exec(myCookie); //myCtry =3D RegExp.lastParen; if (res !=3D null && res.length >=3D 1) myCtry =3D res[1]; =09 return myCtry; } function geoDom()=20 { var res =3D new Array(); var domain; var myCookie =3D getCookie("IS3_GSV"); var patt1 =3D new RegExp("_GeoDm-(.*)$"); res =3D patt1.exec(myCookie); //domain =3D RegExp.lastParen; if (res !=3D null && res.length >=3D 1) domain =3D res[1]; return domain; } function top_Coll() { =09 if(typeof(jsAgilentHierarchy) !=3D "undefined"){ // Convert character entities to characters hierstr =3D jsAgilentHierarchy.replace(/\&/g,'&'); hierstr =3D hierstr.replace(/\</g,'<'); hierstr =3D hierstr.replace(/\>/g,'>'); // Now split into an array hier =3D hierstr.split("/"); } else return ""; if (hier[1] =3D=3D "Products & Services" && hier.length >=3D 4) { topColl =3D hier[3]; } else if (hier[1] =3D=3D "Industries" ) { return hier[1]; } else { return ""; } } function chat_enabled(urlDomain)=20 { var ctry; var dept; var hier =3D new Array(); var hierstr; var dom; var topColl; if(typeof(jsAgilentHierarchy) !=3D "undefined"){ // Convert character entities to characters hierstr =3D jsAgilentHierarchy.replace(/\&/g,'&'); hierstr =3D hierstr.replace(/\</g,'<'); hierstr =3D hierstr.replace(/\>/g,'>'); // Now split into an array hier =3D hierstr.split("/"); } else return false; if (hier[1] =3D=3D "Products & Services" && hier.length >=3D 4) { topColl =3D hier[3]; } else if (hier[1] =3D=3D "Industries" ) { topColl =3D hier[1]; } else { topColl =3D ""; return false; } // Check page var myURL =3D location.href; if (!chatPage(myURL)) { return false; } // Must have a country if (typeof(s.prop15) =3D=3D "undefined") { return false; } // Check GB, IE Geoseg // Send invites if using GB or IE Geoseg ctry =3D geoCtry(); // Testing ONLY - override the country Geoseg if (hsTest =3D=3D 1 && ( myURL.indexOf("acomd") !=3D -1 || = myURL.indexOf("stg") !=3D -1 || myURL.indexOf("cias") !=3D -1 ) ) { ctry =3D hsTestgeoCtry; } // Check for Agilent domain =09 /* Domain Checking not supported by InstantService any longer dom =3D geoDom(); if (myURL.indexOf("www.home.agilent.com") !=3D -1 && = dom.indexOf("agilent.com") !=3D -1) {=20 return false; } // Check for competitors if (dom.indexOf("ametek.com") !=3D -1 || dom.indexOf("amrel.com") !=3D = -1 || dom.indexOf("calinst.com") !=3D -1 || dom.indexOf("elgar.com") = !=3D -1 || dom.indexOf("fluke.com") !=3D -1 ) { return false; } if (dom.indexOf("keithley.com") !=3D -1 || dom.indexOf("kepco.com") = !=3D -1 || dom.indexOf("lecroy.com") !=3D -1 || dom.indexOf("ni.com") = !=3D -1 || dom.indexOf("pendulum-instruments.com") !=3D -1 ) { return false; } if (dom.indexOf("pickeringtest.com") !=3D -1 || = dom.indexOf("racalinst.com") !=3D -1 || dom.indexOf("rohde-schwarz.com") = !=3D -1 || dom.indexOf("taborelec.com") !=3D -1 || = dom.indexOf("tek.com") !=3D -1 ) { return false; } if (dom.indexOf("thinksrs.com") !=3D -1 || dom.indexOf("xantrex.com") = !=3D -1 || dom.indexOf("yokagawa.com") !=3D -1 ) { return false; } =09 */ =09 if (ctry =3D=3D "GB" || ctry =3D=3D "IE") { // Use geoseg as ctry dept =3D hierToDept(topColl, ctry); // For GB/IE, allow chat to show on Tech Support Contact Pages if (myURL.indexOf("contactInformation") !=3D -1) insertDiv("SS"); return agents_available(urlDomain, dept); } else { switch (s.prop15) { case "US": case "CA": if (ctry !=3D "US" && ctry !=3D"CA") { // US-CA invites must have US-CA Geoseg and CIA Locale return false; } dept =3D hierToDept (topColl,s.prop15); return agents_available(urlDomain, dept); case "GB": case "IE": dept =3D hierToDept (topColl,s.prop15); // For GB/IE, allow chat to show on Tech Support Contact Pages if (myURL.indexOf("contactInformation") !=3D -1) insertDiv("SS"); return agents_available(urlDomain, dept); default: return false; } // switch s.prop15 } // else =09 } // function function PLtoImg() { var PL; if(typeof(jsAgilentProductLine) !=3D "undefined") { PL =3D jsAgilentProductLine; } switch (PL) { case "1A": return "1A"; case "1B": return "1B"; default: return ""; =09 } // switch (PL) } // function function HiertoImg() { var hier =3D new Array(); var topColl; if(typeof(jsAgilentHierarchy) !=3D "undefined"){ hier =3D jsAgilentHierarchy.split("/"); } if (hier[1] =3D=3D "Products & Services") { topColl =3D hier[3]; } switch (topColl) { case "Oscilloscopes": return "-OSC"; case "Logic Analyzers": return "-LA"; default: return ""; } } // function=09 /* Function to map PL of page to Department in InstantService Also can handle locale of page */ =20 function PLtoDept(PL)=20 { var hier; if(typeof(jsAgilentHierarchy) !=3D "undefined"){ hier =3D jsAgilentHierarchy; } else { hier =3D ""; } switch (s.prop15) // Locale from Omniture tag { case "US": case "CA": { switch (PL) { case "1A": case "1B": case "24": case "1H": case "3E": case "8F": return "25296"; // US - DPT Team case "13": // case "PW": // case "RO": // return "25903"; // US - CNV Team return "40099"; // US - MB Team case "WN": case "PN": return "25902"; // US - CT Team case "15": case "CM": return "25901"; // US - WD Team case "33": case "9E": case "AR": case "SP": case "BL": return "25488"; // US - GTA Team case "12": if (hier.indexOf("/Spectrum Analyzers") !=3D -1 || = hier.indexOf("Modular Vector Signal Analyzers") !=3D -1 ) { return "25901"; } // US - WD Team else { return "25902"; } // US - CT Team break; case "WC": if (hier.indexOf("/Power Meters & Power Sensors/") !=3D -1) { return "25902"; } else if (hier.indexOf("/Oscilloscope/") !=3D -1) { return "25296"; } else { return "25488"; } break; default: return "25488"; // US Default - GTA Team } // Switch PL =20 } // case US, CA case "GB": case "IE": return "25105"; // UK Dept default: // No other countries supported break; =20 } // switch s.prop15 } //function =20 function insertDiv(loc) { if (loc =3D=3D "SS") { // Create webchat2 div on contactinformation page SS tab (for GB/IE = only) var ctcont =3D $('div[rel=3DSS] div.subtabcontent div[rel=3DSSA] = div.innermaincol ul li:first'); // Need to insert /*
  • */ $(ctcont).after('
  • '); } } if(typeof(jsAgilentProductLine) !=3D "undefined"){ var iiDeptMap =3D PLtoDept(jsAgilentProductLine); } var theURL =3D (typeof(location.href) !=3D "undefined") ? location.href = : false; var myContID =3D (typeof(jsENPUT_ID) !=3D "undefined") ? jsENPUT_ID : = false; if (theURL.indexOf("editorial.jspx") !=3D -1 && myContID =3D=3D = "1754814") { // Make the webchat div visible for this editorial var elem =3D document.createElement("div"); elem.id =3D 'iitalk'; elem.style.position =3D 'relative'; elem.style.textAlign =3D 'left'; var ctcont =3D document.getElementById("contactContainer"); var fb =3D document.getElementById("feedbackContact"); ctcont.insertBefore( elem, fb ); } /* Copyright (C) InstantService, Inc. All rights reserved. * All content is protected under U.S. copyright laws. Any unauthorized = duplication, modification, * or reverse-engineering of this code without express written permission = of InstantService, Inc. * is a violation of copyright law and is subject to penalty and = prosecution. */ function ii_AnimObj(){this.moveTimer=3Dnull; this.hideTimer=3Dnull;this.prx=3D0;this.pry=3D0;this.flx=3D10;this.fly=3D= 10;this.flw=3D0;this.flh=3D0;this.flpos=3D0;this.flopac=3D0;this.flfade=3D= 0; }function = ii_getIEel(){if(document.compatMode&&document.compatMode=3D=3D"BackCompat= "){return(document.body);}else{return((document.documentElement&&typeof = document.documentElement.scrollTop!=3D"undefined")?document.documentEleme= nt:document.body); }}function ii_reset(){var = A=3Dii_getIEel();ii_Anim.prx=3D((ii_Var.MZ)?window.pageXOffset:A.scrollLe= ft)+ii_Anim.flx;ii_Anim.pry=3D((ii_Var.MZ)?window.pageYOffset:A.scrollTop= )+ii_Anim.fly; }function ii_mark(){var E=3Dii_Var;var = D=3Dii_Anim;if(!E.MZ&&!E.IE){return ;}var B=3Dii_getIEel();var = A=3D(E.MZ)?window.innerWidth:B.offsetWidth; var = C=3D(E.MZ)?window.innerHeight:B.offsetHeight;if((D.flpos%3)=3D=3D0){D.flx= =3DA-D.flw-30;}if((D.flpos%3)=3D=3D1){D.flx=3D10;}if((D.flpos%3)=3D=3D2){= D.flx=3DMath.round(((A-20)/2)-(D.flw/2)); }if(D.flpos<4){D.fly=3D10;}else{if(D.flpos<7){D.fly=3DMath.round(((C-20)/= 2)-(D.flh/2));}else{if(D.flpos<10){D.fly=3DC-40-D.flh; }}}}function ii_move(){var C=3Dii_Var;var D=3Dii_Anim;var = A=3Dii_getIEel();var B=3D((C.MZ)?window.pageXOffset:A.scrollLeft)+D.flx; var H=3D((C.MZ)?window.pageYOffset:A.scrollTop)+D.fly;var = J=3DMath.abs(B-D.prx);var I=3DMath.abs(H-D.pry);var = E=3DMath.sqrt(J*J+I*I); var = F=3DMath.round(E/20)+2;if(B>D.prx){D.prx=3DD.prx+F;}if(BD.pry){D.pry=3DD.pry+F;}if(H100){D.flopac=3D100;}}}function = ii_getDomain(){var = B=3Ddocument.domain;if(ii_matchRegExp(B,"^[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3= }.[0-9]{1,3}$")){return(B); }var = A=3DB.split(".");if(A.length=3D=3D3){B=3DA[1]+"."+A[2];}else{if(A.length>= 3){B=3DA[A.length-3]+"."+A[A.length-2]+"."+A[A.length-1]; }}return(B);}function ii_callServer(F,E){var = D=3D(ii_callServer.arguments.length=3D=3D3)?ii_callServer.arguments[2]:wi= ndow;var C=3DD.document.getElementsByTagName("head").item(0); var A=3DD.document.getElementById(F);if(A){C.removeChild(A);}var = B=3Ddocument.createElement("script");B.src=3DE;B.type=3D"text/javascript"= ; B.defer=3Dtrue;B.id=3DF;void (C.appendChild(B));}function = ii_getProtocol(){return((document.location.href.toLowerCase().indexOf("ht= tps")=3D=3D0)?"https":"http"); }function ii_getCookie(D){var B=3DD+"=3D";var G=3DB.length;var = A=3Ddocument.cookie.length;var E=3D0;while(E2)?A[2]:null; document.cookie=3DC+"=3D"+escape(D)+((B=3D=3Dnull)?"":("; = expires=3D"+B.toGMTString()))+"; = path=3D/"+((ii_Var.domain=3D=3Dnull||ii_Var.domain=3D=3D"")?"":("; = domain=3D"+ii_Var.domain)); }function ii_upGSV(C,F){var A=3Dfalse;var B=3D"";var = E=3Dii_getCookie(ii_Var.GSV_COOKIE);E=3D(E=3D=3Dnull)?[]:E.split("_");if(= typeof (F)=3D=3D"string"){F=3DF.replace(/\-/g,"%2D"); F=3DF.replace(/\_/g,"%5F");}for(var = D=3D0;D0){B=3DC[1].split("+");for(var D=3D0; D0){B=3DC[2].split("+"); for(var D=3D0;D0){B=3DC[3].split("-"); for(var = D=3D0;D0){B=3DC[4].split("-");for(var D=3D0;D0){A.geoinit=3D1;}= if(window.isgeoipapi_ip_addr!=3Dundefined&&A.geoinit=3D=3D0){A.geoinit=3D= 1; ii_upGSV("GeoIP",window.isgeoipapi_ip_addr);ii_upGSV("GeoCo",(window.isge= oipapi_country_code!=3Dundefined)?window.isgeoipapi_country_code:""); ii_upGSV("GeoRg",(window.isgeoipapi_region!=3Dundefined)?window.isgeoipap= i_region:"");ii_upGSV("GeoCt",(window.isgeoipapi_city!=3Dundefined)?windo= w.isgeoipapi_city:""); ii_upGSV("GeoNs",(window.isgeoipapi_netspeed!=3Dundefined)?window.isgeoip= api_netspeed:"");ii_upGSV("GeoDm",(window.isgeoipapi_domain!=3Dundefined)= ?window.isgeoipapi_domain:""); }if(A.geoip=3D=3Dnull&&A.geoinit=3D=3D1){A.geoip=3Dii_getGSV("GeoIP");A.g= eoco=3Dii_getGSV("GeoCo");A.georg=3Dii_getGSV("GeoRg");A.geoct=3Dii_getGS= V("GeoCt"); A.geons=3Dii_getGSV("GeoNs");A.geodm=3Dii_getGSV("GeoDm");}}function = ii_getIPRange(C){var B=3Dnull;var = A=3Dii_matchRegExp(C,"^([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}= )(\\/([0-1]?[0-9]?|[1-2][0-9]|3[0-2]))?$"); if(A!=3Dnull){var = D=3Dii_matchRegExp(A[1],"^(\\d+)\\.(\\d+)\\.(\\d+)\\.(\\d+)$");if(D[1]!=3D= null&&D[1]<=3D255&&D[2]<=3D255&&D[3]<=3D255&&D[4]<=3D255){B=3D[A[1],(A[2]= =3D=3Dundefined||A[2]=3D=3D"")?"32":A[3]]; }}return(B);}function ii_ipCheck(G,E,C){var D=3DG.split(".");var = A=3D(D[0]*16777216)+(D[1]*65536)+(D[2]*256)+(D[3]*1);var = F=3DE.split("."); var H=3D(F[0]*16777216)+(F[1]*65536)+(F[2]*256)+(F[3]*1);var = B=3D((4294967295<<(32-C))&4294967295);return((A&B)=3D=3D(H&B));}function = ii_doAvailCheck(C,B,A,H){var D=3Dii_Var; var = F=3D(H?D.abavailImg:D.availImg);if(C=3D=3D1){D.checkDeptID=3DA;if(A=3D=3D= -2){A=3D"Default";}}else{if(typeof = (window[A])!=3D"undefined"){D.checkDeptID=3Dwindow[A]; A=3Dwindow[A];if(A=3D=3D"-2"){A=3D"Default";}}else{ii_noshow();return = ;}}D.checkState=3DB;for(var = E=3D0;E0){var = A=3Dii_getRuleOrInv(ii_Rules,B.trigru); if(A[9]=3D=3D1){ii_executeRuleTriggeredEvent(A[10],A[11],A[12],A[0],A[4])= ;}if(A[3]>=3D2){if(window.ISVT_onInviteNotOffered&&A[2]!=3D0){ISVT_onInvi= teNotOffered(B.trigru,A[2]); }ii_stop();}else{ii_continue(B.evalidx,100);}}}function ii_show(){var = F=3Dii_Var;if(F.trigru>0){var E=3Dii_getRuleOrInv(ii_Rules,F.trigru); var = A=3Dii_getRuleOrInv(ii_Inv,E[2]);if(E[9]=3D=3D1){ii_executeRuleTriggeredE= vent(E[10],E[11],E[12],E[0],E[4]);}if(A!=3Dnull){F.invtoshow=3DA[0]; if(A[2]=3D=3D3){ii_display();}else{var D=3Dnull;var C=3Dnull;var = B=3Dnull;if(navigator.appName.indexOf("Microsoft")!=3D-1&&navigator.platf= orm.indexOf("Mac")!=3D-1){D=3Ddocument.createElement("IMG"); C=3Ddocument.createElement("IMG");B=3Ddocument.createElement("IMG");}else= {D=3Dnew Image();C=3Dnew Image();B=3Dnew = Image();}if(A[15].length>0){C.src=3DA[15]; }if(A[23].length>0){B.src=3DA[23];}D.onload=3Dfunction(G){this.onload=3Dn= ull;ii_display();};D.src=3DA[10];}}else{if(E[3]=3D=3D1||E[1]=3D=3D3){ii_c= ontinue(F.evalidx,100); }else{ii_stop();}}}}function ii_display(){var = c=3D"ii_div_hide(\u0027[%0]\u0027,\u0027[%1]\u0027,[%2],[%3],[%4]);";var = T=3D"self.close();"; var d=3D"var ii_IE=3D!!(document.all&&document.getElementById);var = ii_MZ=3D(!ii_IE)?!!(document.getElementById):false;var ii_gpop =3D = true;function ii_callServer(id,scr) { var win =3D = (ii_callServer.arguments.length=3D=3D3) ? ii_callServer.arguments[2] : = window;var head =3D = win.document.getElementsByTagName(\u0027head\u0027).item(0); var old =3D = win.document.getElementById(id); if (old) head.removeChild(old); = script =3D document.createElement(\u0027script\u0027); script.src =3D = scr; script.type =3D \u0027text/javascript\u0027; script.defer =3D = true; script.id =3D id; void(head.appendChild(script));}\r\n"; var b=3D"function = ii_executeInvitationAcceptedEvent(param1,param2,param3){var = js=3Dii_invTokenReplace(ii_custacc,ii_inv[0],ii_inv[1]);eval(js);}\r\n"; var a=3D"function = ii_executeInvitationDeclinedEvent(param1,param2,param3){var = js=3Dii_invTokenReplace(ii_custdecl,ii_inv[0],ii_inv[1]);eval(js);}\r\n";= var Y=3D"function ii_invTokenReplace(js,arg3,arg4) { arg4 =3D = arg4.replace(/\\u0027/g,\u0027\\\\\\'\u0027);js=3Djs.replace(/\\[\\%INVIT= ATIONID\\%\\]/g,arg3);js=3Djs.replace(/\\[\\%INVITATIONNAME\\%\\]/g,arg4)= ;return(js);}\r\n"; var X=3D"var ii_inv;var ii_custacc;var ii_custdecl;";var = V=3D"ii_executeInvitationAcceptedEvent(\u0027[%0]\u0027,\u0027[%1]\u0027,= \u0027[%2]\u0027,\u0027[%3]\u0027,\u0027[%4]\u0027);\r\n"; var = R=3D"ii_executeInvitationDeclinedEvent(\u0027[%0]\u0027,\u0027[%1]\u0027,= \u0027[%2]\u0027,\u0027[%3]\u0027,\u0027[%4]\u0027);\r\n"; var e=3D"var op=3Dwindow;if (window.ii_gpop) { if = (window.opener&&!window.opener.closed)op=3Dwindow.opener;else = op=3Dnull; }"; var N=3D"if (op!=3Dnull&&op.ISVT_onInviteAccepted) = op.ISVT_onInviteAccepted(\u0027[%0]\u0027,\u0027[%1]\u0027);";var = K=3D"if (op!=3Dnull&&op.ISVT_onInviteDeclined) = op.ISVT_onInviteDeclined(\u0027[%0]\u0027,\u0027[%1]\u0027);"; var M=3D"if (op!=3Dnull) = {op.ii_upHLArr(op.ii_Var.ihl,op.ii_Var.invtoshow,2); op.ii_wrapHL(); = }";var B=3D"if (op!=3Dnull) = {op.ii_upHLArr(op.ii_Var.ihl,op.ii_Var.invtoshow,3); op.ii_wrapHL(); }"; var g=3D'\u003cimg src=3D\u0022[%0]\u0022 alt=3D"" = style=3D\u0022left:0px;top:0px;width:[%1]px;height:[%2]px;\u0022/\u003e';= var D=3D"\u003cdiv id=3D\u0022[%0]\u0022 = style=3D\u0022position:absolute;left:[%1]px;top:[%2]px;\u0022\u003e"; var Q=3D'\u003cimg src=3D\u0022[%0]\u0022 alt=3D"" = style=3D\u0022top:0px;left:0px;\u0022 = onclick=3D\u0022[%1][%2][%3][%4]\u0022 = onmouseover=3D\u0022this.style.cursor=3D\u0027pointer\u0027\u0022 = onmouseout=3D\u0022this.style.cursor=3D\u0027\u0027\u0022/\u003e'; var O=3D"\u003cform name=3D\u0022[%0]\u0022 method=3D\u0022post\u0022 = action=3D\u0022\u0022\u003e\u003cinput style=3D\u0022font:normal 11px = Arial, Helvetica, = sans-serif;text-align:center;background-color:#E4E4E4;color:#000000;\u002= 2 type=3D\u0022button\u0022 name=3D\u0022[%1]\u0022 = value=3D\u0022[%2]\u0022 = onclick=3D\u0022[%3][%4][%5][%6]\u0022/\u003e\u003c/form\u003e"; var = J=3D"window.open(\u0027[%0]\u0027,\u0027chatclient\u0027,\u0027width=3D[%= 1],height=3D[%2],scrollbars=3D0\u0027);";var F=3D"if (op!=3Dnull) = op.document.location=3D\u0027[%0]\u0027;"; var G=3Dii_Var;var U=3D"";var f=3D"";var = A=3Dii_getRuleOrInv(ii_Inv,G.invtoshow);var = H=3Dii_getRuleOrInv(ii_Rules,G.trigru);ii_upHLArr(G.ihl,A[0],1); ii_upHLArr(G.ihl,A[0],4);ii_wrapHL();ii_executeInvitationOfferedEvent(A[2= 5],A[26],A[27],A[0],A[1]);if(window.ISVT_onInviteOffered){ISVT_onInviteOf= fered(G.trigru,G.invtoshow); }G.evalru[ii_getRuleOrInvIdx(ii_Rules,G.trigru)][4]=3Dii_getRuleOrInvIdx(= ii_Inv,G.invtoshow);if(A[2]=3D=3D1||A[2]=3D=3D2){U+=3D'\r\n'; U+=3D'\r\n';U+=3D"\r\n \r\n";if(A[2]=3D=3D2){U+= =3DG.scrinc+"\r\n"; U+=3D'