/* js cached2: /opt/inet6/inet6es-5.5/base/global/www/skins/default/javascript/yui/YAHOO.js:/opt/inet6/inet6es-5.5/base/global/www/skins/default/javascript/max_form.js:/opt/inet6/inet6es-5.5/base/global/www/skins/default/javascript/yui/dom/dom.js:/opt/inet6/inet6es-5.5/base/global/www/skins/default/javascript/global.js:/opt/inet6/inet6es-5.5/base/global/www/skins/default/javascript/nodomws.js:/opt/inet6/inet6es-5.5/base/global/inet6se/features/net.newwater.common.standard/skins/default/javascript/standard.default.js*/
var YAHOO=function(){ return {util:{},widget:{},example:{},namespace:function(_1){ if(!_1||!_1.length){ return null; } var _2=_1.split("."); var _3=YAHOO; for(var i=(_2[0]=="YAHOO")?1:0;i<_2.length;++i){ _3[_2[i]]=_3[_2[i]]||{}; _3=_3[_2[i]]; } return _3; }}; }();  var delrec; var disfld; var frm0; var frm1; var frm2; var multi_selector; function formObj(_1,_2,_3,_4,_5,_6){ this.form=_1; this.action=_2; this.check=false; if(isNaN(_4)){ this.hform=_4; this.page=_5; this.maxpage=_6; }else{ this.hform=false; this.page=_4; this.maxpage=_5; } this.curl=_3; this.saved=true; this.bgerr="#ACDAB4"; this.bg="#FFFFFFF"; this.fg="#000000"; this.debug=false; this.paging=1; if(!this.form.onsubmit){ this.form.onsubmit=function(){ }; } this.set_debug=function(_7){ if(_7){ this.debug=true; } }; this.get_debug=function(){ return this.debug; }; this.set_paging=function(_8){ if(!_8){ this.paging=1; }else{ this.paging=_8; } }; this.get_paging=function(){ return this.paging; }; this.set_colors=function(bg,_a,fg){ this.bgerr=_a; this.bg=bg; this.fg=fg; }; this.populate_field_checks=function(){ var _c=this.form; var _d=new Array(); var _e=new Array(); var _f=new Array(); var alt; var _11; for(var i=0;i<_c.elements.length;i++){ elmnt=_c.elements[i]; typ=elmnt.type; _11=new String(elmnt.alt); alt=_11.split("||"); if(typ!="button"&&typ!="submit"&&typ!="reset"&&typ!="image"&&alt[1]){ _d[i]=elmnt.name; _e[i]=alt[0]; _f[i]=alt[1]; } } this.set_field_names(_d); this.set_field_labels(_e); this.set_field_types(_f); }; this.set_field_names=function(_13){ this.fieldnames=_13; this.set_check_true(); }; this.set_field_labels=function(_14){ this.fieldlabels=_14; this.set_check_true(); }; this.set_field_types=function(_15){ this.checktype=_15; this.set_check_true(); }; this.set_check_false=function(){ this.check=false; }; this.set_check_true=function(){ this.check=true; }; this.reset=function(){ this.reset_form(); }; this.cancel=function(){ if(this.hform&&!isNaN(this.page)){ this.process_form(); this.hform.pg.value=this.page; this.cancel_changes(); }else{ this.cancel_changes(); } }; this.back=function(){ if(!isNaN(this.page)){ this.form.pg.value=this.page-this.get_paging(); this.form.form_button_action.value="back"; if(this.form.pg.value<=0){ this.cancel_changes(); }else{ this.submit_form(this.form); } } }; this.finish=function(_16,_17){ this.form.pg.value=this.maxpage; this.form.form_button_action.value="finish"; this.page=this.maxpage; this.submit(_16,_17,true); }; this.submit=function(_18,_19,_1a){ this.form.onsubmit(); this.form.onsubmit(); if(_18){ this.form.actn.value=_18; } if((this.check&&this.check_form())||!this.check){ if(this.hform&&!isNaN(this.page)){ this.process_form(); if(!isNaN(_1a)){ this.hform.pg.value=_1a; }else{ if(_1a!=true){ this.hform.pg.value=this.page+this.get_paging(); } } this.submit_form(this.hform); }else{ if(!isNaN(this.page)){ if(!isNaN(_1a)){ this.form.pg.value=_1a; }else{ if(_1a!=true){ this.form.pg.value=this.page+this.get_paging(); } } this.submit_form(this.form); }else{ this.submit_form(this.form); } } } }; this.onsubmit=function(){ if((this.check&&this.check_form())||!this.check){ if(this.hform&&!isNaN(this.page)){ this.process_form(); this.hform.pg.value=this.page+this.get_paging(); this.submit_form(this.hform); return false; }else{ if(!isNaN(this.page)){ this.form.pg.value=this.page+this.get_paging(); if(this.action){ this.form.action=this.action; } return true; }else{ if(this.action){ this.form.action=this.action; } return true; } } } }; this.process_form=function(){ var frm=this.form; var _1c=this.hform; var tmp; var _1e; var typ; var nm; var val; var nam; var _23; _23=""; for(var i=0;i<frm.elements.length;i++){ _1e=frm.elements[i]; typ=_1e.type; nm=_1e.name; val=_1e.value; nam=eval("hdnfrm."+nm); if(this.debug&&!nam){ alert("The hidden form is missing the field: '"+nm+"'."); } if(typ=="text"||typ=="textarea"||typ=="hidden"){ rExp=/\"/gi; myStr=new String(val); nam.value=myStr.replace(rExp,"\""); }else{ if(typ=="checkbox"){ if(_23.indexOf(","+nm)<0){ nam.value=""; if(_1e.checked){ nam.value=val; _23+=","+nm; } }else{ if(_1e.checked){ nam.value+=","+val; } } }else{ if(typ=="radio"){ if(_1e.checked){ nam.value=_1e.value; } }else{ if(typ=="select-one"){ nam.value=_1e.options[_1e.selectedIndex].value; }else{ if(typ=="select-multiple"){ var _25=new Array(); var y=0; for(var x=0;x<_1e.length;x++){ if(_1e.options[x].selected){ _25[y]=_1e.options[x].value; y++; } } nam.value=_25.join(","); } } } } } } return false; }; this.check_saved=function(){ var _28; if(!this.saved){ _28=confirm("You have made changes to this page. Click OK to save them, CANCEL to exit without saving the changes."); if(_28){ return 1; }else{ return; } }else{ return; } }; this.modified=function(){ this.saved=false; }; this.submit_form=function(frm,_2a){ try{ var _2b=document.getElementsByTagName("select"); for(var i=0;i<_2b.length;i++){ var _2d=false; try{ _2d=eval("myfilter"+_2b[i].name.toString().replace("[]","")); } catch(e){ } if(_2d){ _2d.reset(); } if(_2b[i].getAttribute("picklist")!=null&&_2b[i].getAttribute("picklist")=="post"){ picklistSelectAll(_2b[i]); } } } catch(e){ } if(!_2a){ _2a=this.action; } if(_2a){ frm.action=_2a; } frm.submit(); }; this.reset_form=function(){ this.saved=true; this.form.reset(); }; this.cancel_changes=function(){ var sv=this.check_saved(); var str=new String(this.curl); rExp=/inet=/gi; nresults=str.search(rExp); if(nresults>=0){ var s=str.split("="); str=new String(Base64.decode(s[1])); } rExp=/cancel-form=1/gi; results=str.search(rExp); if(sv){ if((this.check&&this.check_form())||!this.check){ if(this.hform){ this.submit_form(this.hform); }else{ this.submit_form(this.form); } } }else{ if(results>=0){ this.submit_form(this.form,this.curl); }else{ if(isNaN(this.curl)){ document.location.href=this.curl; }else{ history.go(this.curl); } } } }; this.format_phone=function(phn){ var _32=""; var _33; var _34; var i=0; while(i<phn.length){ _33=phn.charAt(i); if(!isNaN(_33)&&_33!=" "){ _32+=_33; } i++; } if(_32.length<10){ return false; }else{ i=10; _34=" ext. "; while(i<_32.length){ _34+=_32.charAt(i); i++; } if(_34==" ext. "){ _34=""; } return "("+_32.substring(0,3)+") "+_32.substring(3,6)+"-"+_32.substring(6,10)+_34; } }; this.check_form=function(){ var _36,_37,tmp,_39,_3a,_3b,_3c,i; var _3e,_3f,_40,_41; _3e=this.form; _3f=this.fieldnames; _40=this.checktype; _41=this.fieldlabels; _3a=this.bgerr; _3b=this.bg; _3c=this.fg; _36=""; _37=""; i=1; for(tmp in _3f){ if(_3f[tmp]!="!"){ if(isNaN(_40[tmp])&&(_40[tmp].toString().charAt(0)=="R"||_40[tmp].toString().charAt(0)=="C")){ _39=_3e.elements[_3f[tmp]][0]; }else{ _39=_3e.elements[_3f[tmp]]; } if(_39&&(_39.type=="select-one"||_39.type=="select-multiple")){ if(_39.selectedIndex==_40[tmp]){ _42=1; _37+="Please select another value in the "+_41[tmp]+" field.\n"; } }else{ if(_39&&(_39.type=="checkbox")){ var _43=0; var y; var _45=_40[tmp].toString().substr(0,1); var _46=_40[tmp].toString().split("-"); var _47=_46[0].toString().substr(1); var _48; if(_46.length>1){ _48=_46[1].toString(); } var _49=_3e.elements[_3f[tmp]]; for(y=0;y<_49.length;y++){ if(_49[y].checked){ _43++; } } if(_45!="!"&&_43<_47){ _42=1; _37+="Please select at least "+_47+" of the options for "+_41[tmp]+".\n"; } if(_45!="!"&&_48>0&&_43>_48){ _42=1; _37+="Please select "+_48+" or less options for "+_41[tmp]+".\n"; } }else{ if(_39&&(_39.type=="radio")){ var _4a=0; var y; var _49=_3e.elements[_3f[tmp]]; for(y=0;y<_49.length;y++){ if(_49[y].checked){ _4a=1; } } if(_40[tmp]!="!"&&_4a!=1){ _42=1; _37+="Please select one of the options for "+_41[tmp]+".\n"; } }else{ if(_39&&!this.trim_whitespace(_39.value)&&((!isNaN(_40[tmp]))||(isNaN(_40[tmp])&&_40[tmp].charAt(0)!="!"))){ _36+=_41[tmp]+"\n"; _39.style.backgroundColor=_3a; if(i==1){ _39.focus(); } i++; }else{ if(_39){ var _42=0; if(!isNaN(_40[tmp])&&_40[tmp]>0){ var _4b=this.trim_whitespace(_39.value); if(_4b.length<_40[tmp]){ _42=1; _37+=_41[tmp]+" must be at least "+_40[tmp]+" characters.\n"; } }else{ if(_40[tmp].toString()=="zip"||_40[tmp].toString()=="!zip"){ var _4c; var zip=this.trim_whitespace(_39.value); var _4e=zip.substring(0,5); var _4f=zip.substring(5,6); var _50=zip.substring(6,10); if(zip.length>0){ if(zip.length<6){ if(isNaN(_4e)||zip.length<5){ _4c=true; } }else{ if(zip.length==7){ if(!isNaN(zip.substring(0,1))||isNaN(zip.substring(1,2))||!isNaN(zip.substring(2,3))||zip.substring(3,4)!=" "||isNaN(zip.substring(4,5))||!isNaN(zip.substring(5,6))||isNaN(zip.substring(6,7))){ _4c=true; } }else{ if(zip&&zip.length>5){ if(isNaN(_4e)||_4f!="-"||isNaN(_50)||zip.length<10){ _4c=true; } } } } if(_4c){ _42=1; _37+="Please use the correct syntax in the "+_41[tmp]+" field: 12345.\n"; } } }else{ if(_40[tmp].toString()=="email"||_40[tmp].toString()=="!email"){ var _51=this.trim_whitespace(_39.value); if(_51.length>0&&((_51.indexOf("@")<2)||(_51.indexOf(".",_51.indexOf("@"))>(_51.length-2))||(_51.indexOf(".",_51.indexOf("@"))<(_51.indexOf("@")+3)))){ _37+=_41[tmp]+" does not seem to be filled in correctly.\n"; _42=1; } }else{ if(_40[tmp].toString()=="phone"||_40[tmp].toString()=="!phone"){ var phn=this.trim_whitespace(_39.value); var _53=this.format_phone(phn); if(phn.length>0){ if(!_53){ _42=1; _37+="Please fill out the "+_41[tmp]+" field completely. (ex: 970-353-6227)\n"; }else{ _39.value=_53; } } }else{ if(_40[tmp].toString()=="date"||_40[tmp].toString()=="!date"){ var d=_39.value; if(d.length>0){ myString=new String(d); if(myString.indexOf("-")>0){ rExp=/-/gi; newString=new String("/"); d=myString.replace(rExp,newString); } var dt=new Date(d); if(dt.getFullYear()<1970){ dt.setFullYear(dt.getFullYear()+100); } if(isNaN(dt)){ _42=1; _37+="Please enter a valid date in the "+_41[tmp]+" field. 1/2/2000\n"; }else{ _39.value=(dt.getMonth()+1)+"/"+dt.getDate()+"/"+dt.getFullYear(); } } }else{ if(_40[tmp].toString()=="ndate"||_40[tmp].toString()=="!ndate"){ var d=_39.value; if(d.length>0){ myString=new String(d); if(myString.indexOf("-")>0){ rExp=/-/gi; newString=new String("/"); d=myString.replace(rExp,newString); } var tdt=new Date(); var ndt=new Date(tdt.getFullYear(),tdt.getMonth(),tdt.getDate()); var dt=new Date(d); if(dt.getFullYear()<1970){ dt.setFullYear(dt.getFullYear()+100); } if(isNaN(dt)||dt<ndt){ _42=1; _37+="Please enter a date equal to or later than today in the "+_41[tmp]+" field. 1/2/2000\n"; }else{ _39.value=(dt.getMonth()+1)+"/"+dt.getDate()+"/"+dt.getFullYear(); } } }else{ if(_40[tmp].toString()=="time"||_40[tmp].toString()=="!time"){ var tm=this.trim_whitespace(_39.value); if(tm.length>0){ var _59,_5a,_5b; _5b=0; _5a=tm.split(" "); if(_5a[0].indexOf(":")>0){ _59=_5a[0].split(":"); }else{ if(_5a[0].indexOf(".")>0){ _59=_5a[0].split("."); }else{ if(!isNaN(_5a[0])){ _59=new Array(2); _59[0]=_5a[0]; _59[1]="00"; }else{ _59=new Array(2); var tmp=_5a[0].toString(); var _5c=tmp.substring(0,2); var _5d=tmp.substring((tmp.length-2),(tmp.length)); if(_5d.toString().toLowerCase()=="am"||_5d.toString().toLowerCase()=="pm"){ var _5e=_5c.toString().substring((_5c.toString().length-1),_5c.toString().length); if(_5e.toString().toLowerCase()=="p"||_5e.toString().toLowerCase()=="a"){ _5c=_5c.toString().substring(0,1); } _59[0]=_5c; _59[1]="00"; _5a[1]=_5d; }else{ _5b=1; } } } } if((_5b==0)){ if(_59[1].toString().length>=4){ var tmp=_59[1].toString(); _59[1]=tmp.substring(0,2); _5a[1]=tmp.substring((tmp.length-2),(tmp.length)); } if(_5a[1]){ _5a[1]=this.trim_whitespace(_5a[1].toString().toUpperCase()); } if((_59[0]>12&&_59[0]<=24)){ if(_59[0]==24){ _5a[1]="AM"; }else{ _5a[1]="PM"; } _59[0]=_59[0]-12; } if((_59[0]>0&&_59[0]<=12&&_59[1]>=0&&_59[1]<=59)){ if(_5a[1].toString().toUpperCase()!="AM"&&_5a[1].toString().toUpperCase()!="PM"){ if(_59[0]==12){ _5a[1]="PM"; }else{ _5a[1]="AM"; } } if(isNaN(_59[0])||_59[0]==""){ _59[0]=12; } if(isNaN(_59[1])||_59[1]==""){ _59[1]="00"; } _39.value=(_59[0]+":"+_59[1]+" "+_5a[1]); }else{ _5b=1; } } if(_5b){ _42=1; _37+="Please enter a valid time in the "+_41[tmp]+" field.  8:30 AM\n"; } } }else{ if(_40[tmp].toString()=="num"||_40[tmp].toString()=="!num"){ var num=this.trim_whitespace(_39.value); if(num.length>0){ if(isNaN(num)){ _42=1; _37+="Please enter a valid number in the "+_41[tmp]+" field.\n"; } } }else{ if(_40[tmp].toString()=="mny"||_40[tmp].toString()=="!mny"){ var mny=this.trim_whitespace(_39.value); var _61=1; if(mny.length>0){ for(var i=0;i<mny.length;i++){ var _62=mny.charAt(i); if(_62!=" "&&_62!="$"&&_62!=","&&_62!="."&&_62!="0"&&!parseFloat(_62)){ _42=1; _37+="Please enter a non-zero numeric value in the "+_41[tmp]+" field\n"; _61=0; break; } } if(_61==1){ } } } } } } } } } } } if(_42==1){ _39.style.backgroundColor=_3a; }else{ _39.style.backgroundColor="white"; } } } } } } } } if(_36||_37){ var _63,_64; _63=""; _64=""; if(_36){ _63="Please make sure the following fields are filled out completely.\n\n"; } if(_36&&_37){ _64="______________________\n\n"; } alert(_63+_36+_64+_37); return false; }else{ return true; } }; this.scrub_data=function(_65){ var _66=""; for(var i=0;i<_65.length;i++){ var _68=_65.charAt(i); if(parseFloat(_68)||_68=="."||_68=="0"){ _66+=_68; }else{ if(_68!=" "&&_68!="$"&&_68!=","){ alert("Please enter a non-zero numeric value."); break; } } } return _66; }; this.trim_whitespace=function(val){ if(val){ while(""+val.charAt(0)==" "){ val=val.substring(1,val.length); } while(""+val.charAt(val.length-1)==" "){ val=val.substring(0,val.length-1); } } return val; }; this.clear_field=function(obj){ var frm=this.form; nam=eval("frm."+obj); nam.value=""; }; } function delObj(sky,_6d,obj,q){ if(!q){ q=""; } this.sky=sky; this.action=_6d; this.obj=obj; this.process="&qrystr_delete=1&process=d&actn=d"+q; this.mssg="\nAll records associated with this record will be deleted."; this.mssg_sky="You are not allowed to delete this record."; this.delete_record=function(ky,nm,q){ var _73; var qry=""; var _75=""; var url=""; if(this.sky>0&&this.sky==ky){ alert(this.mssg_sky); }else{ if(!nm){ nm="This record"; } cnfrm=confirm(nm+" will be deleted from the database."+this.mssg+"\nTo continue press OK. To abort press cancel."); if(cnfrm){ url=new String(this.action); urls=url.split("?"); _73=new parseSearchString("?"+urls[1]); for(o in _73){ qry=qry+"&"+o+"="+_73[o]; } qry=this.obj+"="+ky+qry+this.process+q; document.location.href=urls[0]+"?"+qry; } } }; this.set_message=function(_77){ this.mssg="\n"+_77; }; this.set_message_ipermission=function(_78){ this.mssg_sky=_78; }; this.set_process=function(_79){ this.process="&"+_79; }; } function smlTxt(_7a,_7b,x,y){ var rws=document.getElementById(_7a).rows; var img; if(rws==x){ rwnum=y; img="expandup.gif"; }else{ if(rws==y){ rwnum=x; img="expanddn.gif"; } } document.getElementById(_7a).rows=rwnum; document.getElementById(_7b).src=("/Images/buttons/"+img); document.getElementById(_7a).focus(); } function disableObj(fld,_81){ this.dfld=fld; this.cnt=0; if(_81){ this.disable=true; }else{ this.disable=false; } this.dfld.disabled=this.disable; this.check_field=function(val){ if(val){ this.cnt++; }else{ this.cnt--; } if(this.cnt>0){ this.disable=false; }else{ this.disable=true; } this.dfld.disabled=this.disable; }; } function disableField(fld,val,_85){ var _86; _86=new disableObj(fld,_85); _86.check_field(val); } function getFormGroup(_87){ return document.getElementsByName(_87); } function getRadio(_88){ elements=getFormGroup(_88); if(elements){ for(i=0;i<elements.length;i++){ if(elements[i].checked){ return elements[i]; } } } return null; } function getRadioValue(_89){ element=getRadio(_89); if(element){ return element.value; } return ""; } function isChecked(_8a){ elements=getFormGroup(_8a); if(elements){ for(i=0;i<elements.length;i++){ if(elements[i].checked){ return true; } } } return false; } function getCheck(_8b){ elements=getFormGroup(_8b); checked=new Array(); if(elements){ for(i=0;i<elements.length;i++){ if(elements[i].checked){ checked.append(elements[i]); } } } return checked; } function getCheckValue(_8c){ elements=getCheck(_8c); values=new Array(); if(elements){ for(i=0;i<elements.length;i++){ values.append(elements[i].value); } } return values; } function getSelect(id){ element=document.getElementById(id); selected=new Array(); if(element){ for(i=0;i<element.options.length;i++){ if(element.options[i].selected){ selected[selected.length]=element.options[i]; } } } return selected; } function getSelectValue(id){ options=getSelect(id); values=new Array(); for(i=0;i<options.length;i++){ values[values.length]=options[i].value; } return values; } function compareText(_8f,_90){ return _8f.text<_90.text?-1:_8f.text>_90.text?1:0; } function compareValue(_91,_92){ return _91.value<_92.value?-1:_91.value>_92.value?1:0; } function compareTextAsFloat(_93,_94){ var _95=parseFloat(_93.text); var _96=parseFloat(_94.text); return _95<_96?-1:_95>_96?1:0; } function compareValueAsFloat(_97,_98){ var _99=parseFloat(_97.value); var _9a=parseFloat(_98.value); return _99<_9a?-1:_99>_9a?1:0; } function sortSelect(_9b,_9c){ if(!_9c){ _9c=compareText; } var _9d=new Array(_9b.options.length); for(var i=0;i<_9d.length;i++){ _9d[i]=new Option(_9b.options[i].text,_9b.options[i].value,_9b.options[i].defaultSelected,_9b.options[i].selected); } _9d.sort(_9c); _9b.options.length=0; for(var i=0;i<_9d.length;i++){ _9b.options[i]=_9d[i]; } } function textCounter(_9f,_a0,_a1,_a2,_a3){ var _a4=parseInt(_9f.offsetWidth)-5; var _a5=_9f.value.length; if(_a5>_a1){ _9f.value=_9f.value.substring(0,_a1); }else{ if(_a4<0){ _a4=0; } var _a6=parseInt(100-((_a1-_a5)*100)/_a1); document.getElementById(_a0).style.width=parseInt((_a4*_a6)/100)+"px"; if(_a3){ document.getElementById(_a0).innerHTML="Limit: "+_a6+"%"; } setcolor(document.getElementById(_a0),_a6,"background-color"); } } function setcolor(obj,_a8,_a9){ obj.style[_a9]="rgb(80%,"+(100-_a8)+"%,"+(100-_a8)+"%)"; } function nextFocusWithMaxLength(_aa,_ab,_ac,_ad){ var _ae=(navigator.appName=="Netscape")?_ac.which:_ac.keyCode; txtVal=_ab.value; txtName=_ab.name; frmName=_aa.name; tLength=parseInt(_ab.value.length); frmLength=parseInt(document.forms.length); for(p=0;p<frmLength;p++){ if(document.forms[p].name==frmName){ elemntLength=parseInt(document.forms[p].elements.length); for(i=0;i<elemntLength;i++){ if(document.forms[p].elements[i].name==txtName){ for(k=0;k<tLength;k++){ j=i+1; if((_ae!=8)&&(_ae!=46)){ nxtElmnt=document.forms[p].elements[j].name; if((_ab.value.length==_ad)||(_ae==9)||(_ae==13)){ document.forms[p][nxtElmnt].focus(); break; } } } } } } } } function showFieldHelp(id,txt){ var el=document.getElementById(id); var elc=document.getElementById("field_help_container"); var pos=YAHOO.util.Dom.getXY(el); txt=txt+"<div style=\"margin-top: 4px; padding-top: 2px; border-top: 1px solid #cccccc; color: #999999;\">Click to close</div>"; elc.innerHTML=txt; elc.style.display="block"; YAHOO.util.Dom.setXY(elc,pos); } function hideFieldHelp(){ var elc=document.getElementById("field_help_container"); elc.style.display="none"; } function syncSelectList(pid,_b6,_b7){ var _b8=document.getElementById(_b6); var _b9=document.getElementById(pid); var _ba=false; if(_b9.selectedIndex>=0){ _ba=_b9.options[_b9.selectedIndex]; } var i; _b9.length=0; for(i=0;i<_b8.options.length;i++){ var no=new Option(); no.value=_b8.options[i].value; no.text=_b8.options[i].text; _b9[i]=no; if(_b7){ if(no.value==_b7){ _b9.selectedIndex=i; } } } } function copyValues(_bd,_be){ var _bf=document.getElementById(_bd); var _c0=document.getElementById(_be); _c0.value=_bf.value; } function checkAll(_c1){ for(i=0;i<_c1.length;i++){ _c1[i].checked=true; } } function uncheckAll(_c2){ for(i=0;i<_c2.length;i++){ _c2[i].checked=false; } }  YAHOO.util.Dom=new function(){ this.get=function(el){ if(typeof el=="string"){ el=document.getElementById(el); } return el; }; this.getStyle=function(el,_3){ var _4=null; var dv=document.defaultView; el=this.get(el); if(_3=="opacity"&&el.filters){ _4=1; try{ _4=el.filters.item("DXImageTransform.Microsoft.Alpha").opacity/100; } catch(e){ try{ _4=el.filters.item("alpha").opacity/100; } catch(e){ } } }else{ if(el.style[_3]){ _4=el.style[_3]; }else{ if(el.currentStyle&&el.currentStyle[_3]){ _4=el.currentStyle[_3]; }else{ if(dv&&dv.getComputedStyle){ var _6=""; for(i=0,len=_3.length;i<len;++i){ if(_3.charAt(i)==_3.charAt(i).toUpperCase()){ _6=_6+"-"+_3.charAt(i).toLowerCase(); }else{ _6=_6+_3.charAt(i); } } if(dv.getComputedStyle(el,"").getPropertyValue(_6)){ _4=dv.getComputedStyle(el,"").getPropertyValue(_6); } } } } } return _4; }; this.setStyle=function(el,_8,_9){ el=this.get(el); switch(_8){ case "opacity": if(el.filters){ el.style.filter="alpha(opacity="+_9*100+")"; if(!el.currentStyle.hasLayout){ el.style.zoom=1; } }else{ el.style.opacity=_9; el.style["-moz-opacity"]=_9; el.style["-khtml-opacity"]=_9; } break; default: el.style[_8]=_9; } }; this.getXY=function(el){ el=this.get(el); if(el.parentNode===null||this.getStyle(el,"display")=="none"){ return false; } var _b=null; var _c=[]; var _d; if(el.getBoundingClientRect){ _d=el.getBoundingClientRect(); var _e=document.documentElement.scrollTop||document.body.scrollTop; var _f=document.documentElement.scrollLeft||document.body.scrollLeft; return [_d.left+_f,_d.top+_e]; }else{ if(document.getBoxObjectFor){ _d=document.getBoxObjectFor(el); _c=[_d.x,_d.y]; }else{ _c=[el.offsetLeft,el.offsetTop]; _b=el.offsetParent; if(_b!=el){ while(_b){ _c[0]+=_b.offsetLeft; _c[1]+=_b.offsetTop; _b=_b.offsetParent; } } var ua=navigator.userAgent.toLowerCase(); if(ua.indexOf("opera")!=-1||(ua.indexOf("safari")!=-1&&this.getStyle(el,"position")=="absolute")){ _c[1]-=document.body.offsetTop; } } } if(el.parentNode){ _b=el.parentNode; }else{ _b=null; } while(_b&&_b.tagName!="BODY"&&_b.tagName!="HTML"){ _c[0]-=_b.scrollLeft; _c[1]-=_b.scrollTop; if(_b.parentNode){ _b=_b.parentNode; }else{ _b=null; } } return _c; }; this.getX=function(el){ return this.getXY(el)[0]; }; this.getY=function(el){ return this.getXY(el)[1]; }; this.setXY=function(el,pos,_15){ el=this.get(el); var _16=YAHOO.util.Dom.getXY(el); if(_16===false){ return false; } if(this.getStyle(el,"position")=="static"){ this.setStyle(el,"position","relative"); } var _17=[parseInt(YAHOO.util.Dom.getStyle(el,"left"),10),parseInt(YAHOO.util.Dom.getStyle(el,"top"),10)]; if(isNaN(_17[0])){ _17[0]=0; } if(isNaN(_17[1])){ _17[1]=0; } if(pos[0]!==null){ el.style.left=pos[0]-_16[0]+_17[0]+"px"; } if(pos[1]!==null){ el.style.top=pos[1]-_16[1]+_17[1]+"px"; } var _18=this.getXY(el); if(!_15&&(_18[0]!=pos[0]||_18[1]!=pos[1])){ this.setXY(el,pos,true); } return true; }; this.setX=function(el,x){ return this.setXY(el,[x,null]); }; this.setY=function(el,y){ return this.setXY(el,[null,y]); }; this.getRegion=function(el){ el=this.get(el); return new YAHOO.util.Region.getRegion(el); }; this.getClientWidth=function(){ return (document.documentElement.offsetWidth||document.body.offsetWidth); }; this.getClientHeight=function(){ return (self.innerHeight||document.documentElement.clientHeight||document.body.clientHeight); }; }; YAHOO.util.Region=function(t,r,b,l){ this.top=t; this.right=r; this.bottom=b; this.left=l; }; YAHOO.util.Region.prototype.contains=function(_22){ return (_22.left>=this.left&&_22.right<=this.right&&_22.top>=this.top&&_22.bottom<=this.bottom); }; YAHOO.util.Region.prototype.getArea=function(){ return ((this.bottom-this.top)*(this.right-this.left)); }; YAHOO.util.Region.prototype.intersect=function(_23){ var t=Math.max(this.top,_23.top); var r=Math.min(this.right,_23.right); var b=Math.min(this.bottom,_23.bottom); var l=Math.max(this.left,_23.left); if(b>=t&&r>=l){ return new YAHOO.util.Region(t,r,b,l); }else{ return null; } }; YAHOO.util.Region.prototype.union=function(_28){ var t=Math.min(this.top,_28.top); var r=Math.max(this.right,_28.right); var b=Math.max(this.bottom,_28.bottom); var l=Math.min(this.left,_28.left); return new YAHOO.util.Region(t,r,b,l); }; YAHOO.util.Region.prototype.toString=function(){ return ("Region {"+"  t: "+this.top+", r: "+this.right+", b: "+this.bottom+", l: "+this.left+"}"); }; YAHOO.util.Region.getRegion=function(el){ var p=YAHOO.util.Dom.getXY(el); var t=p[1]; var r=p[0]+el.offsetWidth; var b=p[1]+el.offsetHeight; var l=p[0]; return new YAHOO.util.Region(t,r,b,l); }; YAHOO.util.Point=function(x,y){ this.x=x; this.y=y; this.top=y; this.right=x; this.bottom=y; this.left=x; }; YAHOO.util.Point.prototype=new YAHOO.util.Region();  var win,win0,win1,win2,win3,winimgv,winsimgv; var img0,img1,img2,img3; var list=new Array; function addEvent(_1,_2,fn){ if(_1.addEventListener){ _1.addEventListener(_2,fn,true); return true; }else{ if(_1.attachEvent){ var r=_1.attachEvent("on"+_2,fn); return r; }else{ return false; } } } function addLoadEvent(_5){ var _6=window.onload; if(typeof window.onload!="function"){ window.onload=_5; }else{ window.onload=function(){ _6(); _5(); }; } } function navObj(){ this.win=""; this.url=""; this.nm="winOne"; this.prop=""; this.wdth=""; this.hght=""; this.cordx="100"; this.cordy="100"; this.trgt="_self"; this.location="yes"; this.menubar="yes"; this.scrollbars="yes"; this.resizable="yes"; this.status="yes"; this.toolbar="yes"; this.modal="no"; this.personalbar="no"; this.set_url=function(_7){ this.url=_7; }; this.get_url=function(){ return this.url; }; this.set_name=function(nm){ this.nm=nm; }; this.get_name=function(){ return this.nm; }; this.set_location=function(_9){ this.location=_9; }; this.get_location=function(){ return this.location; }; this.set_menubar=function(_a){ this.menubar=_a; }; this.get_menubar=function(){ return this.menubar; }; this.set_personalbar=function(_b){ this.personalbar=_b; }; this.get_personalbar=function(){ return this.personalbar; }; this.set_modal=function(_c){ this.modal=_c; }; this.get_modal=function(){ return this.modal; }; this.set_scrollbars=function(_d){ this.scrollbars=_d; }; this.get_scrollbars=function(){ return this.scrollbars; }; this.set_resizable=function(_e){ this.resizable=_e; }; this.get_resizable=function(){ return this.resizable; }; this.set_status=function(_f){ this.status=_f; }; this.get_status=function(){ return this.status; }; this.set_toolbar=function(br){ this.toolbar=br; }; this.get_toolbar=function(){ return this.toolbar; }; this.set_width_height=function(w,h){ this.wdth=w; this.hght=h; }; this.get_width=function(){ return this.wdth; }; this.get_height=function(){ return this.hght; }; this.set_coordinate=function(x,y){ this.cordx=x; this.cordy=y; }; this.get_cordx=function(){ return this.cordx; }; this.get_cordy=function(){ return this.cordy; }; this.set_predefined_properties=function(_15){ if(_15==0){ this.set_location("no"); this.set_menubar("no"); this.set_scrollbars("no"); this.set_resizable("no"); this.set_status("no"); this.set_toolbar("no"); }else{ if(_15==1){ this.set_location("no"); this.set_menubar("no"); this.set_scrollbars("no"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("no"); this.set_modal("yes"); }else{ if(_15==2){ this.set_location("no"); this.set_menubar("no"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("no"); this.set_modal("yes"); }else{ if(_15==3){ this.set_location("no"); this.set_menubar("yes"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("no"); }else{ if(_15==4){ this.set_location("no"); this.set_menubar("yes"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("yes"); }else{ this.set_location("yes"); this.set_menubar("yes"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("yes"); this.set_toolbar("yes"); } } } } } }; this.get_properties=function(){ var _16; _16="location="+this.get_location()+",menubar="+this.get_menubar()+",scrollbars="+this.get_scrollbars()+",resizable="+this.get_resizable()+",status="+this.get_status()+",toolbar="+this.get_toolbar()+",personalbar="+this.get_personalbar(); if(this.get_width()&&this.get_height()){ _16=_16+",width="+this.get_width()+",height="+this.get_height(); } if(this.get_modal()){ _16=_16+",modal="+this.get_modal(); } return _16; }; this.win_open=function(url){ var _18=this.get_url(); var _19=false; if(url){ this.set_url(url); _19=true; } if(this.win&&this.win.open&&!this.win.closed){ this.win.focus(); if(_18!=this.get_url()){ this.win.location.href=this.get_url(); } }else{ this.win=window.open(this.get_url(),this.get_name(),this.get_properties()); this.win.focus(); this.win.moveTo(this.get_cordx(),this.get_cordy()); } }; this.win_close=function(){ if(this.win&&this.win.open&&!this.win.closed){ this.win.close(); } }; } function placebo(){ } function set_innerHTML(_1a,txt){ document.getElementById(_1a).innerHTML=txt; } function goToUrl(url,_1d){ if(_1d=="blank"){ window.open(url,"newwindow"); }else{ if(_1d=="top"){ top.location.href=url; }else{ if(_1d=="parent"){ parent.location.href=url; }else{ if(_1d=="javascript"){ eval(url); }else{ document.location.href=url; } } } } } function changeClass(id,_1f){ var obj=document.getElementById(id); obj.className=_1f; } function toggle_class(_21,_22,_23){ var _24=_21.className; _21.className=(_24==_22)?_23:_22; } function getTargetElement(evt){ var _26; if(evt.target){ _26=(evt.target.nodeType==3)?evt.target.parentNode:evt.target; }else{ _26=evt.srcElement; } return _26; } function toggle_element(_27,_28,val,_2a){ if(!_28){ _28="display"; } if(typeof val!=undefined){ valt=(val)?true:false; } setting=document.getElementById(_27); if(_28=="display"){ if(_2a){ if(valt){ setting.style.display="block"; return true; }else{ setting.style.display="none"; return false; } }else{ if(valt||setting.style.display=="none"){ setting.style.display="block"; return true; }else{ setting.style.display="none"; return false; } } }else{ if(_28=="collapse"){ if(valt||setting.style.visibility=="collapse"){ setting.style.visibility="visible"; return true; }else{ setting.style.visibility="collapse"; return false; } }else{ if(_28=="hidden"){ if(_2a){ if(valt){ setting.style.visibility="visible"; return true; }else{ setting.style.visibility="hidden"; return false; } }else{ if(valt||setting.style.visibility=="hidden"){ setting.style.visibility="visible"; return true; }else{ setting.style.visibility="hidden"; return false; } } }else{ if(_28=="disabled"){ if(valt||setting.style.disabled==true){ setting.disabled=false; return true; }else{ setting.disabled=true; return false; } } } } } } function getFormNode(_2b){ var _2c=false; var _2d; do{ _2d=_2b.parentNode; if(_2d.nodeType==1){ if(_2d.tagName=="FORM"){ return _2d; }else{ if(_2d.tagName=="BODY"){ _2c=true; }else{ _2b=_2d; } } }else{ _2b=_2d; } }while(_2c==false); return false; } function parseSearchString(url){ var _2f; if(!url){ _2f=unescape(location.search.substring(1).replace(/\+/g," ")).split("&"); }else{ url=new String(url); aurls=url.split("?"); url=new String("?"+aurls[1]); _2f=unescape(url.substring(1).replace(/\+/g," ")).split("&"); } for(var i=0;i<_2f.length;i++){ var _31=_2f[i].split("="); this[_31[0]]=_31[1]; } } function addQueryToUrl(key,val,url){ var _35=new Array; var _36=new Array; if(!url){ var _37=new parseSearchString(); url=location.href; aurls=url.split("?"); alocation=aurls[0]; for(o in _37){ _35[o]=_37[o]; } _35[key]=val; var cnt=0; for(o in _35){ _36[cnt]=o+"="+_35[o]; cnt++; } _35=_36.join("&"); if(_35.length>0){ url=alocation+"?"+_35; }else{ url=alocation; } }else{ var _37=new parseSearchString(url); url=new String(url); aurls=url.split("?"); alocation=aurls[0]; for(o in _37){ _35[o]=_37[o]; } _35[key]=val; var cnt=0; for(o in _35){ _36[cnt]=o+"="+_35[o]; cnt++; } _35=_36.join("&"); if(_35.length>0){ url=alocation+"?"+_35; }else{ url=alocation; } } return url; } function image_button_submit(_39,val,_3b,_3c,msg){ var _3e=getFormNode(_39); if(!_3b){ _3b="do_action"; } if(_3c){ _3b=_3b+"_"+_3c; } var fld=document.getElementById(_3b); fld.value=val; _3e.submit(); } function fixCheckedBug(){ if(event.propertyName!="checked"){ return; } var el=event.srcElement; if(typeof el.attributes.getNamedItem!="undefined"){ el.attributes["checked"].nodeValue=el.checked; }else{ el.attributes["checked"]=el.checked; } } function hasClass(obj){ var _42=false; if(obj.getAttributeNode("class")!=null){ _42=obj.getAttributeNode("class").value; } return _42; } function homepage_init(){ var _43=document.getElementById("make_homepage"); if(_43){ var _44; if(document.all){ url=location.href; aurls=url.split("?"); alocation=aurls[0]; _44="<img src=\""+glbl_src_homebutton+"\" border=\"0\" /><a href=\"javascript:history.go(0);\" onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('"+alocation+glbl_url_this_page+"');\">"; _44=_44+"Click Here to make this your homepage</a>"; }else{ if(document.getElementById){ _44="<img src=\""+glbl_src_homebutton+"\" border=\"0\" /><a href=\""+glbl_url_this_page+"\">Drag this link onto your Home button to make this your home page.</a>"; }else{ if(document.layers){ }else{ } } } _43.innerHTML=_44; } } function inArray(key,arr){ for(var i=0;i<arr.length;i++){ if(key==arr[i]){ return true; } } return false; } function buttonEffect(_48,_49){ if(!_49){ return; } buttonNameReset=new Image(); buttonNameReset.src=_49; document[_48].src=buttonNameReset.src; } function pagingNextPage(pg,_4b){ if(_4b){ var _4c=_4b.getAttribute("inet6-form-obj"); var _4d=_4b.getAttribute("name"); eval("init_"+_4d+"();"+_4c+".submit('page-next','Loading Next Page')"); }else{ document.location.href=addQueryToUrl("record-paging-page",pg,addQueryToUrl("do-action","page-next")); } } function pagingPrevPage(pg,_4f){ if(_4f){ var _50=_4f.getAttribute("inet6-form-obj"); var _51=_4f.getAttribute("name"); eval("init_"+_51+"();"+_50+".submit('page-previous','Loading Previous Page')"); }else{ document.location.href=addQueryToUrl("record-paging-page",pg,addQueryToUrl("do-action","page-previous")); } } var toggleContentBox=function(e){ var _53=jQuery("div.itemContent",this.parentNode.parentNode); if(_53.css("display")=="none"){ _53.slideDown(300); jQuery(this).html("[-]"); }else{ _53.slideUp(300); jQuery(this).html("[+]"); } return false; }; jQuery.fn.toggleLoadIndicator=function(_54){ _54=jQuery.extend({image:"/inet6/global/www/skins/default/images/themes/base/default/misc/indicator.gif",forceOff:false,top:2,left:2},_54); var sz=jQuery(".load-indicator",this).size(); if(sz==0&&!_54.forceOff){ this.css("position","relative"); this.append("<div class=\"load-indicator\" style=\"position: absolute; top: "+_54.top+"px; left: "+_54.left+"px; background-color: #ffffff; padding: 10px; border: 1px solid #efefef;\"><img src=\""+_54["image"]+"\" border=\"0\" /></div>"); }else{ jQuery(".load-indicator",this).remove(); } }; var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(_56){ var _57=""; var _58,_59,_5a,_5b,_5c,_5d,_5e; var i=0; _56=Base64._utf8_encode(_56); while(i<_56.length){ _58=_56.charCodeAt(i++); _59=_56.charCodeAt(i++); _5a=_56.charCodeAt(i++); _5b=_58>>2; _5c=((_58&3)<<4)|(_59>>4); _5d=((_59&15)<<2)|(_5a>>6); _5e=_5a&63; if(isNaN(_59)){ _5d=_5e=64; }else{ if(isNaN(_5a)){ _5e=64; } } _57=_57+this._keyStr.charAt(_5b)+this._keyStr.charAt(_5c)+this._keyStr.charAt(_5d)+this._keyStr.charAt(_5e); } return _57; },decode:function(_60){ var _61=""; var _62,_63,_64; var _65,_66,_67,_68; var i=0; _60=_60.replace(/[^A-Za-z0-9\+\/\=]/g,""); while(i<_60.length){ _65=this._keyStr.indexOf(_60.charAt(i++)); _66=this._keyStr.indexOf(_60.charAt(i++)); _67=this._keyStr.indexOf(_60.charAt(i++)); _68=this._keyStr.indexOf(_60.charAt(i++)); _62=(_65<<2)|(_66>>4); _63=((_66&15)<<4)|(_67>>2); _64=((_67&3)<<6)|_68; _61=_61+String.fromCharCode(_62); if(_67!=64){ _61=_61+String.fromCharCode(_63); } if(_68!=64){ _61=_61+String.fromCharCode(_64); } } _61=Base64._utf8_decode(_61); return _61; },_utf8_encode:function(_6a){ _6a=_6a.replace(/\r\n/g,"\n"); var _6b=""; for(var n=0;n<_6a.length;n++){ var c=_6a.charCodeAt(n); if(c<128){ _6b+=String.fromCharCode(c); }else{ if((c>127)&&(c<2048)){ _6b+=String.fromCharCode((c>>6)|192); _6b+=String.fromCharCode((c&63)|128); }else{ _6b+=String.fromCharCode((c>>12)|224); _6b+=String.fromCharCode(((c>>6)&63)|128); _6b+=String.fromCharCode((c&63)|128); } } } return _6b; },_utf8_decode:function(_6e){ var _6f=""; var i=0; var c=c1=c2=0; while(i<_6e.length){ c=_6e.charCodeAt(i); if(c<128){ _6f+=String.fromCharCode(c); i++; }else{ if((c>191)&&(c<224)){ c2=_6e.charCodeAt(i+1); _6f+=String.fromCharCode(((c&31)<<6)|(c2&63)); i+=2; }else{ c2=_6e.charCodeAt(i+1); c3=_6e.charCodeAt(i+2); _6f+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63)); i+=3; } } } return _6f; }};  eval(function(p,a,c,k,e,d){ e=function(c){ return (c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36)); }; if(!"".replace(/^/,String)){ while(c--){ d[e(c)]=k[c]||e(c); } k=[(function(e){ return d[e]; })]; e=(function(){ return "\\w+"; }); c=1; } while(c--){ if(k[c]){ p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c]); } } return p; }("7 p(a){5!(/[^\\t\\n\\r ]/.y(a.4))}7 d(a){5(a.o==8)||((a.o==3)&&p(a))}7 x(6){e((6=6.s)){9(!d(6))5 6}5 f}7 A(6){e((6=6.j)){9(!d(6))5 6}5 f}7 C(b){c 2=b.D;e(2){9(!d(2))5 2;2=2.s}5 f}7 q(b){c 2=b.F;e(2){9(!d(2))5 2;2=2.j}5 f}7 v(u){c 4=u.4;4=4.w(/[\\t\\n\\r ]+/g,\" \");9(4.l(0)==\" \")4=4.m(1,4.h);9(4.l(4.h-1)==\" \")4=4.m(0,4.h-1);5 4}7 z(b){c i=B E();c 2=b.q;c k=0;e(2){9(!d(2)){i[k]=2;k++}2=2.j}9(i.h>0)5 i;G 5 f}",43,43,"||res||data|return|sib|function||if|nod|par|var|is_ignorable|while|null||length|children|nextSibling|cnt|charAt|substring||nodeType|is_all_ws|first_child||previousSibling||txt|data_of|replace|node_before|test|child_nodes|node_after|new|last_child|lastChild|Array|firstChild|else".split("|"),0,{}));  function displayImageCollection(_1,id){ if(GB_SETS[_1]!=undefined){ return GB_showImageSet(GB_SETS[_1],1); }else{ return GB_showImage("",document.getElementById(id).href); } }  
