
var SEP='|';var PAIR='=';ua=navigator.userAgent.toLowerCase();opera=ua.indexOf("opera")>=0;ie=ua.indexOf("msie")>=0&&!opera;iemac=ie&&ua.indexOf("mac")>=0;moz=ua.indexOf("mozilla")&&!ie&&!opera;os=navigator.platform;function activeXDetect(componentClassID){componentVersion=document.body.getComponentVersion('{'+componentClassID+'}','ComponentID');return(componentVersion!=null)?componentVersion:false;}
function stripIllegalChars(value){t="";value=value.toLowerCase();for(i=0;i<value.length;i++){if(value.charAt(i)!='\n'&&value.charAt(i)!='/'&&value.charAt(i)!="\\")
{t+=value.charAt(i);}
else if(value.charAt(i)=='\n')
{t+="n";}}
return t;}
function stripFullPath(tempFileName,lastDir){fileName=tempFileName;filenameStart=0;filenameStart=fileName.lastIndexOf(lastDir);if(filenameStart<0)
return tempFileName;filenameFinish=fileName.length;fileName=fileName.substring(filenameStart+lastDir.length,filenameFinish);return fileName;}
function fingerprint_browser(){t=ua+SEP+navigator.appVersion+SEP+navigator.platform;if(ie){t+=SEP+navigator.appMinorVersion+SEP+navigator.cpuClass+SEP+navigator.browserLanguage;t+=SEP+ScriptEngineBuildVersion();}else if(moz){t+=SEP+navigator.language;}
return t;}
function fingerprint_display(){t="";if(self.screen){t+=screen.colorDepth+SEP+screen.width+SEP+screen.height+SEP+screen.availHeight;}
return t;}
function fingerprint_software(){t="";isFirst=true;var ht=new Hashtable();ht.put('npnul32.dll','def');ht.put('npqtplugin6.dll','qt6');ht.put('npqtplugin5.dll','qt5');ht.put('npqtplugin4.dll','qt4');ht.put('npqtplugin3.dll','qt3');ht.put('npqtplugin2.dll','qt2');ht.put('npqtplugin.dll','qt1');ht.put('nppdf32.dll','pdf');ht.put('NPSWF32.dll','swf');ht.put('NPJava11.dll','j11');ht.put('NPJava12.dll','j12');ht.put('NPJava13.dll','j13');ht.put('NPJava32.dll','j32');ht.put('NPJava14.dll','j14');ht.put('npoji600.dll','j61');ht.put('NPJava131_16.dll','j16');ht.put('NPOFFICE.DLL','mso');ht.put('npdsplay.dll','wpm');ht.put('npwmsdrm.dll','drm');ht.put('npdrmv2.dll','drn');ht.put('nprjplug.dll','rjl');ht.put('nppl3260.dll','rpl');ht.put('nprpjplug.dll','rpv');ht.put('npchime.dll','chm');ht.put('npCortona.dll','cor');ht.put('np32dsw.dll','dsw');ht.put('np32asw.dll','asw');if(navigator.plugins.length>0){temp="";moz="";key="";lastDir="Plugins";for(i=0;i<navigator.plugins.length;i++){plugin=navigator.plugins[i];moz=stripFullPath(plugin.filename,lastDir);if(isFirst==true)
{key=ht.containsKey(moz);if(key)
{temp+=ht.get(moz)+PAIR+moz;isFirst=false;}
else
{temp="";isFirst=false;}}
else
{key=ht.containsKey(moz);if(key)
{temp+=SEP+ht.get(moz)+PAIR+moz;}
else
{temp+="";}}}
t=stripIllegalChars(temp);}
else if(navigator.mimeTypes.length>0)
{key="";for(i=0;i<navigator.mimeTypes.length;i++)
{mimeType=navigator.mimeTypes[i];if(isFirst==true)
{key=ht.containsKey(mimeType);if(key)
{t+=ht.get(mimeType)+PAIR+mimeType;isFirst=false;}
else
{t+="unknown"+PAIR+mimeType;isFirst=false;}}
else
{key=ht.containsKey(mimeType);if(key)
{t+=SEP+ht.get(mimeType)+PAIR+mimeType;}
else
{temp+="";}}}}
else if(ie){names=new Array("abk","wnt","aol","arb","chs","cht","dht","dhj","dan","dsh","heb","ie5","icw","ibe","iec","ieh","iee","jap","krn","lan","swf","shw","msn","wmp","obp","oex","net","pan","thi","tks","uni","vtc","vnm","mvm","vbs","wfd");components=new Array("7790769C-0471-11D2-AF11-00C04FA35D02","89820200-ECBD-11CF-8B85-00AA005B4340","47F67D00-9E55-11D1-BAEF-00C04FC2D130","76C19B38-F0C8-11CF-87CC-0020AFEECF20","76C19B34-F0C8-11CF-87CC-0020AFEECF20","76C19B33-F0C8-11CF-87CC-0020AFEECF20","9381D8F2-0288-11D0-9501-00AA00B911A5","4F216970-C90C-11D1-B5C7-0000F8051515","283807B5-2C60-11D0-A31D-00AA00B92C03","44BBA848-CC51-11CF-AAFA-00AA00B6015C","76C19B36-F0C8-11CF-87CC-0020AFEECF20","89820200-ECBD-11CF-8B85-00AA005B4383","5A8D6EE0-3E18-11D0-821E-444553540000","630B1DA0-B465-11D1-9948-00C04F98BBC9","08B0E5C0-4FCB-11CF-AAA5-00401C608555","45EA75A0-A269-11D1-B5BF-0000F8051515","DE5AED00-A4BF-11D1-9948-00C04F98BBC9","76C19B30-F0C8-11CF-87CC-0020AFEECF20","76C19B31-F0C8-11CF-87CC-0020AFEECF20","76C19B50-F0C8-11CF-87CC-0020AFEECF20","D27CDB6E-AE6D-11CF-96B8-444553540000","2A202491-F00D-11CF-87CC-0020AFEECF20","5945C046-LE7D-LLDL-BC44-00C04FD912BE","22D6F312-B0F6-11D0-94AB-0080C74C7E95","3AF36230-A269-11D1-B5BF-0000F8051515","44BBA840-CC51-11CF-AAFA-00AA00B6015C","44BBA842-CC51-11CF-AAFA-00AA00B6015B","76C19B32-F0C8-11CF-87CC-0020AFEECF20","76C19B35-F0C8-11CF-87CC-0020AFEECF20","CC2A9BA0-3BDD-11D0-821E-444553540000","3BF42070-B3B1-11D1-B5C5-0000F8051515","10072CEC-8CC1-11D1-986E-00A0C955B42F","76C19B37-F0C8-11CF-87CC-0020AFEECF20","08B0E5C0-4FCB-11CF-AAA5-00401C608500","4F645220-306D-11D2-995D-00C04F98BBC9","73FA19D0-2D75-11D2-995D-00C04F98BBC9");document.body.addBehavior("#default#clientCaps")
for(i=0;i<components.length;i++){ver=activeXDetect(components[i]);name=names[i];if(ver){if(isFirst==true)
{t+=name+PAIR+ver;isFirst=false;}
else
{t+=SEP+name+PAIR+ver;}}
else
{t+="";isFirst=false;}}}
return t;}
function fingerprint_timezone(){var gmtHours=(new Date().getTimezoneOffset()/60)*(-1);return gmtHours;}
function fingerprint_lang(){var lang;if(typeof(navigator.language)!="undefined")
{lang=navigator.language;}
else if(typeof(navigator.browserLanguage)!="undefined")
{lang=navigator.browserLanguage;}
else
{lang="";}
return lang;}
function fingerprint_syslang(){var lang;(typeof(navigator.systemLanguage)!="undefined")?lang=navigator.systemLanguage:lang="";return lang;}
function fingerprint_userlang(){var lang;(typeof(navigator.userLanguage)!="undefined")?lang=navigator.userLanguage:lang="";return lang;}
function form_add_data(fd,name,value){if(fd&&fd.length>0){fd+="&";}
else{fd="";}
fd+=name+'='+escape(value);return fd;}
function form_add_fingerprint(fd,name,value){fd=form_add_data(fd,name+"d",value);return fd;}
function post_fingerprints(form){form.fp_browser_machineTag.value=fingerprint_browser();form.fp_display_machineTag.value=fingerprint_display();form.fp_software_machineTag.value=fingerprint_software();form.fp_timezone_machineTag.value=fingerprint_timezone();form.fp_lang_machineTag.value=fingerprint_lang();form.fp_syslang_machineTag.value=fingerprint_syslang();form.fp_userlang_machineTag.value=fingerprint_userlang();}
function assignMachineTaggingValuesToMainForm(targetForm,sourceForm)
{targetForm.fp_browser.value=sourceForm.fp_browser_machineTag.value;targetForm.fp_display.value=sourceForm.fp_display_machineTag.value;targetForm.fp_software.value=sourceForm.fp_software_machineTag.value;targetForm.fp_timezone.value=sourceForm.fp_timezone_machineTag.value;targetForm.fp_lang.value=sourceForm.fp_lang_machineTag.value;targetForm.fp_syslang.value=sourceForm.fp_syslang_machineTag.value;targetForm.fp_userlang.value=sourceForm.fp_userlang_machineTag.value;return true;}
function Hashtable()
{var keysToIndex={__indexToValue:[],__indexToKeys:[]};var activeEnum=[];var tableLength=0;var self=this;function Enumeration(arrNm)
{var lastIndex=null;var enumIndex=0;while(typeof activeEnum[enumIndex]=='number')enumIndex+=1;activeEnum[enumIndex]=0;this.hasNext=this.hasMoreElements=function(){if(activeEnum[enumIndex]<tableLength){return true;}else{if(typeof activeEnum[enumIndex]=='number'){activeEnum[enumIndex]=null;}
return false;}};this.next=this.nextElement=function(){if(this.hasNext){lastIndex=activeEnum[enumIndex];return keysToIndex[arrNm][activeEnum[enumIndex]++];}else{return null;}};this.remove=function(){if(typeof lastIndex=='number'){self.remove(keysToIndex.__indexToKeys[lastIndex]);lastIndex=null;}};};this.get=function(key){if(typeof keysToIndex[key]=='number'){return keysToIndex.__indexToValue[keysToIndex[key]];}else{return null;}};this.put=function(key,value){if(typeof keysToIndex[key]=='number'){keysToIndex.__indexToValue[keysToIndex[key]]=value;}else{keysToIndex[key]=tableLength;keysToIndex.__indexToValue[tableLength]=value;keysToIndex.__indexToKeys[tableLength++]=key;}};this.remove=function(key){var remIndex=keysToIndex[key];if(typeof remIndex=='number'){delete keysToIndex[key];tableLength-=1;for(var c=remIndex;c<tableLength;c++){keysToIndex.__indexToValue[c]=keysToIndex.__indexToValue[c+1];keysToIndex[(keysToIndex.__indexToKeys[c]=keysToIndex.__indexToKeys[c+1])]=c;}
for(var c=0;c<activeEnum.length;c++){if((activeEnum[c])&&(remIndex<activeEnum[c])){activeEnum[c]-=1;}}}};this.size=function(){return tableLength;};this.__enumerate=function(type){return new Enumeration(type);};Hashtable.prototype.elements=function(){return this.__enumerate('__indexToValue');}
Hashtable.prototype.keys=function(){return this.__enumerate('__indexToKeys');}
Hashtable.prototype.clear=function(){var e=this.keys();while(e.hasNext()){this.remove(e.next());}}
Hashtable.prototype.toString=function(){var n,e=this.keys();var st='';while(e.hasNext()){n=e.next();st+=n+' =&gt; '+this.get(n)+'\r\n';}
return st;}
Hashtable.prototype.contains=function(testVal){var e=this.elements();while(e.hasNext()){if(e.next()==testVal)return true;}
return false;}
Hashtable.prototype.containsValue=Hashtable.prototype.contains;Hashtable.prototype.containsKey=function(testKey){return(this.get(testKey)!=null);}
Hashtable.prototype.isEmpty=function(){return(this.size()==0);}
Hashtable.prototype.putAll=function(hTable){if(hTable.constructor==Hashtable){var n,e=hTable.keys();while(e.hasNext()){n=e.next();this.put(n,hTable.get(n));}}}
Hashtable.prototype.clone=function(){var ht=new Hashtable();ht.putAll(this);return ht;}
Hashtable.prototype.equals=function(o){return(o==this);}}
function Exception(name,message)
{if(name)
this.name=name;if(message)
this.message=message;}
Exception.prototype.setName=function(name)
{this.name=name;}
Exception.prototype.getName=function()
{return this.name;}
Exception.prototype.setMessage=function(msg)
{this.message=msg;}
Exception.prototype.getMessage=function()
{return this.message;}
function FlashTag(src,width,height)
{this.src=src;this.width=width;this.height=height;this.version='7,0,14,0';this.id=null;this.bgcolor='ffffff';this.flashVars=null;}
FlashTag.prototype.setVersion=function(v)
{this.version=v;}
FlashTag.prototype.setId=function(id)
{this.id=id;}
FlashTag.prototype.setBgcolor=function(bgc)
{this.bgcolor=bgc;}
FlashTag.prototype.setFlashvars=function(fv)
{this.flashVars=fv;}
FlashTag.prototype.toString=function()
{var ie=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;var flashTag=new String();if(ie)
{flashTag+='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';if(this.id!=null)
{flashTag+='id="'+this.id+'" ';}
flashTag+='codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+this.version+'" ';flashTag+='width="'+this.width+'" ';flashTag+='height="'+this.height+'">';flashTag+='<param name="movie" value="'+this.src+'"/>';flashTag+='<param name="quality" value="high"/>';flashTag+='<param name="bgcolor" value="#'+this.bgcolor+'"/>';if(this.flashVars!=null)
{flashTag+='<param name="flashvars" value="'+this.flashVars+'"/>';}
flashTag+='</object>';}
else
{flashTag+='<embed src="'+this.src+'" ';flashTag+='quality="high" ';flashTag+='bgcolor="#'+this.bgcolor+'" ';flashTag+='width="'+this.width+'" ';flashTag+='height="'+this.height+'" ';flashTag+='type="application/x-shockwave-flash" ';if(this.flashVars!=null)
{flashTag+='flashvars="'+this.flashVars+'" ';}
if(this.id!=null)
{flashTag+='name="'+this.id+'" ';}
flashTag+='pluginspage="https://www.macromedia.com/go/getflashplayer">';flashTag+='</embed>';}
return flashTag;}
FlashTag.prototype.write=function(doc)
{doc.write(this.toString());}
function FlashSerializer(useCdata)
{this.useCdata=useCdata;}
FlashSerializer.prototype.serialize=function(args)
{var qs=new String();for(var i=0;i<args.length;++i)
{switch(typeof(args[i]))
{case'undefined':qs+='t'+(i)+'=undf';break;case'string':qs+='t'+(i)+'=str&d'+(i)+'='+escape(args[i]);break;case'number':qs+='t'+(i)+'=num&d'+(i)+'='+escape(args[i]);break;case'boolean':qs+='t'+(i)+'=bool&d'+(i)+'='+escape(args[i]);break;case'object':if(args[i]==null)
{qs+='t'+(i)+'=null';}
else if(args[i]instanceof Date)
{qs+='t'+(i)+'=date&d'+(i)+'='+escape(args[i].getTime());}
else
{try
{qs+='t'+(i)+'=xser&d'+(i)+'='+escape(this._serializeXML(args[i]));}
catch(exception)
{throw new Exception("FlashSerializationException","The following error occurred during complex object serialization: "+exception.getMessage());}}
break;default:throw new Exception("FlashSerializationException","You can only serialize strings, numbers, booleans, dates, objects, arrays, nulls, and undefined.");}
if(i!=(args.length-1))
{qs+='&';}}
return qs;}
FlashSerializer.prototype._serializeXML=function(obj)
{var doc=new Object();doc.xml='<fp>';this._serializeNode(obj,doc,null);doc.xml+='</fp>';return doc.xml;}
FlashSerializer.prototype._serializeNode=function(obj,doc,name)
{switch(typeof(obj))
{case'undefined':doc.xml+='<undf'+this._addName(name)+'/>';break;case'string':doc.xml+='<str'+this._addName(name)+'>'+this._escapeXml(obj)+'</str>';break;case'number':doc.xml+='<num'+this._addName(name)+'>'+obj+'</num>';break;case'boolean':doc.xml+='<bool'+this._addName(name)+' val="'+obj+'"/>';break;case'object':if(obj==null)
{doc.xml+='<null'+this._addName(name)+'/>';}
else if(obj instanceof Date)
{doc.xml+='<date'+this._addName(name)+'>'+obj.getTime()+'</date>';}
else if(obj instanceof Array)
{doc.xml+='<array'+this._addName(name)+'>';for(var i=0;i<obj.length;++i)
{this._serializeNode(obj[i],doc,null);}
doc.xml+='</array>';}
else
{doc.xml+='<obj'+this._addName(name)+'>';for(var n in obj)
{if(typeof(obj[n])=='function')
continue;this._serializeNode(obj[n],doc,n);}
doc.xml+='</obj>';}
break;default:throw new Exception("FlashSerializationException","You can only serialize strings, numbers, booleans, objects, dates, arrays, nulls and undefined");break;}}
FlashSerializer.prototype._addName=function(name)
{if(name!=null)
{return' name="'+name+'"';}
return'';}
FlashSerializer.prototype._escapeXml=function(str)
{if(this.useCdata)
return'<![CDATA['+str+']]>';else
return str.replace(/&/g,'&amp;').replace(/</g,'&lt;');}
function FlashProxy(uid,proxySwfName,thisDiv)
{this.theDiv=thisDiv;this.uid=uid;this.proxySwfName=proxySwfName;this.flashSerializer=new FlashSerializer(false);}
FlashProxy.prototype.call=function()
{if(arguments.length==0)
{throw new Exception("Flash Proxy Exception","The first argument should be the function name followed by any number of additional arguments.");}
var qs='lcId='+escape(this.uid)+'&functionName='+escape(arguments[0]);if(arguments.length>1)
{var justArgs=new Array();for(var i=1;i<arguments.length;++i)
{justArgs.push(arguments[i]);}
qs+=('&'+this.flashSerializer.serialize(justArgs));}
var divName='_flash_proxy_'+this.uid;if(!document.getElementById(divName))
{var newTarget=document.createElement('div');newTarget.id=divName;document.getElementById(this.theDiv).appendChild(newTarget);}
var target=document.getElementById(divName);var ft=new FlashTag(this.proxySwfName,1,1);ft.setVersion('6,0,65,0');ft.setFlashvars(qs);target.innerHTML=ft.toString();}
FlashProxy.callJS=function()
{var functionToCall=eval(arguments[0]);var argArray=new Array();for(var i=1;i<arguments.length;++i)
{argArray.push(arguments[i]);}
functionToCall.apply(functionToCall,argArray);}
function submitFamilyCallback(){recordClientSideClick('actionName-home.js-familyCallback',true);document.getElementById('familyform').submit();}
function submitFamily(){Event.addEvent('familyselect',"change",submitFamilyCallback);}
function openVerisign(){window.open('https://seal.verisign.com/splash?form_file=fdf/splash.fdf&type=GOLD&sealid=1&dn=www.citibank.com&lang=en','Verisign','width=600, height=450,location');}
var uid=new Date().getTime();var e=document.getElementById('help-overlay');var firstRunFilter1=true;if(browser=='Safari')
{e.style.width="1px";e.style.height="1px";}
var whatPage;if(document.getElementById('promo'))
{whatPage="home";}
if(document.getElementById('results'))
{whatPage="results";}
if(document.getElementById('comparison-saved'))
{whatPage="comparison";}
var filter1Proxy=new FlashProxy(uid,'FlashJavascriptGateway/installation/JavaScriptFlashGateway.swf','help-overlay');function writeFilter1Flash(){var filename='filter1';var path='swf/';if(setLocale()=='es'){path='es_US/'+path;filename+='_es';}
filename+='.swf';var htmlString='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0/#version=7,0,19,0/default.htm/#version=7,0,19,0/#version=7,0,19,0/default.htm/default.htm" width="100%" height="100%" >';htmlString+='<param name="movie" value="'+path+filename+'" />';htmlString+='<param name="quality" value="high" />';htmlString+='<param name="wmode" value="transparent" />';htmlString+='<param name="FlashVars" value="lcId='+uid+'&browser='+browser+'" />';htmlString+='<embed src="'+path+filename+'" width="100%" height="100%" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" FlashVars="lcId='+uid+'&browser='+browser+'"></embed>';htmlString+='</object>';if(document.getElementById('help-overlay'))document.getElementById('help-overlay').innerHTML=htmlString;}
Event.addEvent(window,'load',writeFilter1Flash);function getParamsFilter1Step1()
{if(OS=="Mac"&&browser=="Netscape Navigator"&&firstRunFilter1)
{firstRunFilter1=false;return;}
var filterForm=document.getElementById('filter1-form-container');if(filterForm)
{if(filterForm.style.display=="none")
{var theImage=document.getElementById('filter1-intro').getElementsByTagName('img')[0];collapseModule(theImage,'filter1-form-container');}}
var helpDiv=document.getElementById('help-overlay');helpDiv.style.visibility="visible";if(browser=="Internet Explorer")
{helpDiv.style.width=document.body.clientWidth*(0.98);helpDiv.style.height=document.body.clientHeight*(0.98);}
else
{helpDiv.style.width="98%";helpDiv.style.height="98%";}
if(whatPage=="results")
{helpDiv.style['height']=document.body.clientHeight+'px';}else if(whatPage=="comparison")
{if(browser!="Internet Explorer")
{helpDiv.style['height']='1000px';helpDiv.style['top']='700px';}else{helpDiv.style['height']=1000;helpDiv.style['top']=700;}}
window.onresize=function()
{var theDiv=document.getElementById('help-overlay');theDiv.style['width']=document.body.clientWidth*(0.98);theDiv.style['height']=document.body.clientHeight*(0.98);getParamsFilter1Step2();}
if(browser=="Internet Explorer")
{timer=setTimeout('getParamsFilter1Step2()','500');}else{getParamsFilter1Step2();}}
function getParamsFilter1Step2()
{var thisParams=scour(document.getElementById('help-overlay'));var helpParams=scour(document.getElementById('help'));var radioParams=new Array();radioParams[1]=scour(getRadiosByValue('1'));radioParams[2]=scour(getRadiosByValue('2'));radioParams[3]=scour(getRadiosByValue('3'));var valueArray=new Array();var checkParams=new Array();var count=0;for(var a=0;a<50;a++)
{if(getChecksByValue(a))
{if(count<3)
{var chkBox=getChecksByValue(a);if(chkBox.checked)chkBox.setAttribute('state','checked');else chkBox.setAttribute('state','unchecked');checkParams.push(scour(chkBox));valueArray.push(a)
count++;}else{break;}}}
var viewParams=scour(document.getElementById('filter1-number'));filter1Proxy.call('setParams',thisParams,helpParams,radioParams,checkParams,viewParams,valueArray);}
function selectRadio(which)
{var radios=new Array();radios[1]=getRadiosByValue('1');radios[2]=getRadiosByValue('2');radios[3]=getRadiosByValue('3');for(var q in radios)
{if(q==which)
{radios[q].checked=true;}else{radios[q].checked=false;}}}
function selectCheck(which)
{var e=getChecksByValue(which);e.checked=true;}
function clearCheck(x,y,z)
{if(getChecksByValue(x)){var a=getChecksByValue(x);if(a.getAttribute('state')=='unchecked')a.checked=false;}
if(getChecksByValue(y)){var b=getChecksByValue(y);if(b.getAttribute('state')=='unchecked')b.checked=false;}
if(getChecksByValue(z)){var c=getChecksByValue(z);if(c.getAttribute('state')=='unchecked')c.checked=false;}
if(browser=="Safari"){var theObj=document.getElementById('help-overlay-filter1');theObj.style.width='1px';theObj.style.height='1px';}}
function getStyle(el,styleProp)
{var x=document.getElementById(el);if(x.currentStyle)
var y=x.currentStyle[styleProp];else if(window.getComputedStyle)
var y=document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);return y;}
function getRadiosByValue(whatValue)
{var e=document.getElementsByTagName('input');if(browser!="Safari")
{for(var a in e)
{if(e[a].name=='constituent')
{if(e[a].getAttribute('index')==whatValue)
{return e[a];}}}}else{for(var a=0;a<e.length;a++)
{if(e[a].name=='constituent')
{if(e[a].getAttribute('index')==whatValue)
{return e[a];}}}}}
function getChecksByValue(whatValue)
{var e=document.getElementsByTagName('input');for(var a=0;a<e.length;a++)
{if((e[a].className=='filter1-box')&&(!e[a].disabled)){if(e[a].name=='attrs')
{if(e[a].getAttribute('index')==whatValue)
{return e[a];}}}}}