/* 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/lightbox/greybox/AJS.js:/opt/inet6/inet6es-5.5/base/global/www/skins/default/javascript/lightbox/greybox/AJS_fx.js:/opt/inet6/inet6es-5.5/base/global/www/skins/default/javascript/lightbox/greybox/gb_scripts.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();  AJS={BASE_URL:"",drag_obj:null,drag_elm:null,_drop_zones:[],_cur_pos:null,join:function(_1,_2){ try{ return _2.join(_1); } catch(e){ var r=_2[0]||""; AJS.map(_2,function(_4){ r+=_1+_4; },1); return r+""; } },getScrollTop:function(){ var t; if(document.documentElement&&document.documentElement.scrollTop){ t=document.documentElement.scrollTop; }else{ if(document.body){ t=document.body.scrollTop; } } return t; },addClass:function(){ var _6=AJS.forceArray(arguments); var _7=_6.pop(); var _8=function(o){ if(!new RegExp("(^|\\s)"+_7+"(\\s|$)").test(o.className)){ o.className+=(o.className?" ":"")+_7; } }; AJS.map(_6,function(_a){ _8(_a); }); },setStyle:function(){ var _b=AJS.forceArray(arguments); var _c=_b.pop(); var _d=_b.pop(); AJS.map(_b,function(_e){ _e.style[_d]=AJS.getCssDim(_c); }); },_getRealScope:function(fn,_10,_11,_12){ var _13=window; _10=AJS.$A(_10); if(fn._cscope){ _13=fn._cscope; } return function(){ var _14=[]; var i=0; if(_11){ i=1; } AJS.map(arguments,function(arg){ _14.push(arg); },i); _14=_14.concat(_10); if(_12){ _14=_14.reverse(); } return fn.apply(_13,_14); }; },preloadImages:function(){ AJS.AEV(window,"load",AJS.$p(function(_17){ AJS.map(_17,function(src){ var pic=new Image(); pic.src=src; }); },arguments)); },_createDomShortcuts:function(){ var _1a=["ul","li","td","tr","th","tbody","table","input","span","b","a","div","img","button","h1","h2","h3","br","textarea","form","p","select","option","iframe","script","center","dl","dt","dd","small","pre"]; var _1b=function(elm){ var _1d="return AJS.createDOM.apply(null, ['"+elm+"', arguments]);"; var _1e="function() { "+_1d+"    }"; eval("AJS."+elm.toUpperCase()+"="+_1e); }; AJS.map(_1a,_1b); AJS.TN=function(_1f){ return document.createTextNode(_1f); }; },documentInsert:function(elm){ if(typeof (elm)=="string"){ elm=AJS.HTML2DOM(elm); } document.write("<span id=\"dummy_holder\"></span>"); AJS.swapDOM(AJS.$("dummy_holder"),elm); },getWindowSize:function(doc){ doc=doc||document; var _22,_23; if(self.innerHeight){ _22=self.innerWidth; _23=self.innerHeight; }else{ if(doc.documentElement&&doc.documentElement.clientHeight){ _22=doc.documentElement.clientWidth; _23=doc.documentElement.clientHeight; }else{ if(doc.body){ _22=doc.body.clientWidth; _23=doc.body.clientHeight; } } } return {"w":_22,"h":_23}; },flattenList:function(_24){ var r=[]; var _26=function(r,l){ AJS.map(l,function(o){ if(o==null){ }else{ if(AJS.isArray(o)){ _26(r,o); }else{ r.push(o); } } }); }; _26(r,_24); return r; },removeElement:function(){ var _2a=AJS.forceArray(arguments); AJS.map(_2a,function(elm){ AJS.swapDOM(elm,null); }); },_unloadListeners:function(){ if(AJS.listeners){ AJS.map(AJS.listeners,function(elm,_2d,fn){ AJS.REV(elm,_2d,fn); }); } AJS.listeners=[]; },partial:function(fn){ var _30=AJS.forceArray(arguments); return AJS.$b(fn,null,_30.slice(1,_30.length).reverse(),false,true); },getIndex:function(elm,_32,_33){ for(var i=0;i<_32.length;i++){ if(_33&&_33(_32[i])||elm==_32[i]){ return i; } } return -1; },isDefined:function(o){ return (o!="undefined"&&o!=null); },isArray:function(obj){ return obj instanceof Array; },setLeft:function(){ var _37=AJS.forceArray(arguments); _37.splice(_37.length-1,0,"left"); AJS.setStyle.apply(null,_37); },appendChildNodes:function(elm){ if(arguments.length>=2){ AJS.map(arguments,function(n){ if(AJS.isString(n)){ n=AJS.TN(n); } if(AJS.isDefined(n)){ elm.appendChild(n); } },1); } return elm; },isOpera:function(){ return (navigator.userAgent.toLowerCase().indexOf("opera")!=-1); },isString:function(obj){ return (typeof obj=="string"); },hideElement:function(elm){ var _3c=AJS.forceArray(arguments); AJS.map(_3c,function(elm){ elm.style.display="none"; }); },setOpacity:function(elm,p){ elm.style.opacity=p; elm.style.filter="alpha(opacity="+p*100+")"; },setHeight:function(){ var _40=AJS.forceArray(arguments); _40.splice(_40.length-1,0,"height"); AJS.setStyle.apply(null,_40); },setWidth:function(){ var _41=AJS.forceArray(arguments); _41.splice(_41.length-1,0,"width"); AJS.setStyle.apply(null,_41); },createArray:function(v){ if(AJS.isArray(v)&&!AJS.isString(v)){ return v; }else{ if(!v){ return []; }else{ return [v]; } } },isDict:function(o){ var _44=String(o); return _44.indexOf(" Object")!=-1; },isMozilla:function(){ return (navigator.userAgent.toLowerCase().indexOf("gecko")!=-1&&navigator.productSub>=20030210); },_listenOnce:function(elm,_46,fn){ var _48=function(){ AJS.removeEventListener(elm,_46,_48); fn(arguments); }; return _48; },createDOM:function(_49,_4a){ var i=0,_4c; elm=document.createElement(_49); if(AJS.isDict(_4a[i])){ for(k in _4a[0]){ _4c=_4a[0][k]; if(k=="style"){ elm.style.cssText=_4c; }else{ if(k=="class"||k=="className"){ elm.className=_4c; }else{ elm.setAttribute(k,_4c); } } } i++; } if(_4a[0]==null){ i=1; } AJS.map(_4a,function(n){ if(n){ if(AJS.isString(n)||AJS.isNumber(n)){ n=AJS.TN(n); } elm.appendChild(n); } },i); return elm; },setTop:function(){ var _4e=AJS.forceArray(arguments); _4e.splice(_4e.length-1,0,"top"); AJS.setStyle.apply(null,_4e); },getElementsByTagAndClassName:function(_4f,_50,_51){ var _52=[]; if(!AJS.isDefined(_51)){ _51=document; } if(!AJS.isDefined(_4f)){ _4f="*"; } var els=_51.getElementsByTagName(_4f); var _54=els.length; var _55=new RegExp("(^|\\s)"+_50+"(\\s|$)"); for(i=0,j=0;i<_54;i++){ if(_55.test(els[i].className)||_50==null){ _52[j]=els[i]; j++; } } return _52; },bindMethods:function(_56){ for(var k in _56){ var _58=_56[k]; if(typeof (_58)=="function"){ _56[k]=AJS.$b(_58,_56); } } },addEventListener:function(elm,_5a,fn,_5c,_5d){ if(!_5d){ _5d=false; } var _5e=AJS.$A(elm); AJS.map(_5e,function(_5f){ if(_5c){ fn=AJS._listenOnce(_5f,_5a,fn); } if(AJS.isIn(_5a,["submit","load","scroll","resize"])){ var old=elm["on"+_5a]; elm["on"+_5a]=function(){ if(old){ fn(arguments); return old(arguments); }else{ return fn(arguments); } }; return; } if(AJS.isIn(_5a,["keypress","keydown","keyup"])){ var _61=fn; fn=function(e){ e.key=e.keyCode?e.keyCode:e.charCode; switch(e.key){ case 63232: e.key=38; break; case 63233: e.key=40; break; case 63235: e.key=39; break; case 63234: e.key=37; break; } return _61.apply(null,arguments); }; } if(_5f.attachEvent){ _5f.attachEvent("on"+_5a,fn); }else{ if(_5f.addEventListener){ _5f.addEventListener(_5a,fn,_5d); } } AJS.listeners=AJS.$A(AJS.listeners); AJS.listeners.push([_5f,_5a,fn]); }); },isNumber:function(obj){ return (typeof obj=="number"); },map:function(_64,fn,_66,_67){ var i=0,l=_64.length; if(_66){ i=_66; } if(_67){ l=_67; } for(i;i<l;i++){ fn.apply(null,[_64[i],i]); } },removeEventListener:function(elm,_6b,fn,_6d){ if(!_6d){ _6d=false; } if(elm.removeEventListener){ elm.removeEventListener(_6b,fn,_6d); if(AJS.isOpera()){ elm.removeEventListener(_6b,fn,!_6d); } }else{ if(elm.detachEvent){ elm.detachEvent("on"+_6b,fn); } } },getCssDim:function(dim){ if(AJS.isString(dim)){ return dim; }else{ return dim+"px"; } },log:function(o){ if(AJS.isMozilla()){ console.log(o); }else{ var div=AJS.DIV({"style":"color: green"}); AJS.ACN(AJS.getBody(),AJS.setHTML(div,""+o)); } },setHTML:function(elm,_72){ elm.innerHTML=_72; return elm; },bind:function(fn,_74,_75,_76,_77){ fn._cscope=_74; return AJS._getRealScope(fn,_75,_76,_77); },forceArray:function(_78){ var r=[]; AJS.map(_78,function(elm){ r.push(elm); }); return r; },update:function(l1,l2){ for(var i in l2){ l1[i]=l2[i]; } return l1; },getBody:function(){ return AJS.$bytc("body")[0]; },HTML2DOM:function(_7e,_7f){ var d=AJS.DIV(); d.innerHTML=_7e; if(_7f){ return d.childNodes[0]; }else{ return d; } },getElement:function(id){ if(AJS.isString(id)||AJS.isNumber(id)){ return document.getElementById(id); }else{ return id; } },removeClass:function(){ var _82=AJS.forceArray(arguments); var cls=_82.pop(); var _84=function(o){ o.className=o.className.replace(new RegExp("\\s?"+cls),""); }; AJS.map(_82,function(elm){ _84(elm); }); },showElement:function(){ var _87=AJS.forceArray(arguments); AJS.map(_87,function(elm){ elm.style.display=""; }); },swapDOM:function(_89,src){ _89=AJS.getElement(_89); var _8b=_89.parentNode; if(src){ src=AJS.getElement(src); _8b.replaceChild(src,_89); }else{ _8b.removeChild(_89); } return src; },isIn:function(elm,_8d){ var i=AJS.getIndex(elm,_8d); if(i!=-1){ return true; }else{ return false; } }}; AJS.$=AJS.getElement; AJS.$$=AJS.getElements; AJS.$f=AJS.getFormElement; AJS.$p=AJS.partial; AJS.$b=AJS.bind; AJS.$A=AJS.createArray; AJS.DI=AJS.documentInsert; AJS.ACN=AJS.appendChildNodes; AJS.RCN=AJS.replaceChildNodes; AJS.AEV=AJS.addEventListener; AJS.REV=AJS.removeEventListener; AJS.$bytc=AJS.getElementsByTagAndClassName; AJS.addEventListener(window,"unload",AJS._unloadListeners); AJS._createDomShortcuts(); AJS.Class=function(_8f){ var fn=function(){ if(arguments[0]!="no_init"){ return this.init.apply(this,arguments); } }; fn.prototype=_8f; AJS.update(fn,AJS.Class.prototype); return fn; }; AJS.Class.prototype={extend:function(_91){ var _92=new this("no_init"); for(k in _91){ var _93=_92[k]; var cur=_91[k]; if(_93&&_93!=cur&&typeof cur=="function"){ cur=this._parentize(cur,_93); } _92[k]=cur; } return new AJS.Class(_92); },implement:function(_95){ AJS.update(this.prototype,_95); },_parentize:function(cur,_97){ return function(){ this.parent=_97; return cur.apply(this,arguments); }; }}; AJS.$=AJS.getElement; AJS.$$=AJS.getElements; AJS.$f=AJS.getFormElement; AJS.$b=AJS.bind; AJS.$p=AJS.partial; AJS.$A=AJS.createArray; AJS.DI=AJS.documentInsert; AJS.ACN=AJS.appendChildNodes; AJS.RCN=AJS.replaceChildNodes; AJS.AEV=AJS.addEventListener; AJS.REV=AJS.removeEventListener; AJS.$bytc=AJS.getElementsByTagAndClassName; AJSDeferred=function(req){ this.callbacks=[]; this.errbacks=[]; this.req=req; }; AJSDeferred.prototype={excCallbackSeq:function(req,_9a){ var _9b=req.responseText; while(_9a.length>0){ var fn=_9a.pop(); var _9d=fn(_9b,req); if(_9d){ _9b=_9d; } } },callback:function(){ this.excCallbackSeq(this.req,this.callbacks); },errback:function(){ if(this.errbacks.length==0){ alert("Error encountered:\n"+this.req.responseText); } this.excCallbackSeq(this.req,this.errbacks); },addErrback:function(fn){ this.errbacks.unshift(fn); },addCallback:function(fn){ this.callbacks.unshift(fn); },addCallbacks:function(fn1,fn2){ this.addCallback(fn1); this.addErrback(fn2); },sendReq:function(_a2){ if(AJS.isObject(_a2)){ this.req.send(AJS.queryArguments(_a2)); }else{ if(AJS.isDefined(_a2)){ this.req.send(_a2); }else{ this.req.send(""); } } }}; script_loaded=true; script_loaded=true;  AJS.fx={highlight:function(_1,_2){ var _3=new AJS.fx.Base(); _3.elm=AJS.$(_1); _3.setOptions(_2); _3.options.duration=600; AJS.update(_3,{_shades:{0:"ff",1:"ee",2:"dd",3:"cc",4:"bb",5:"aa",6:"99"},increase:function(){ if(this.now==7){ _1.style.backgroundColor="transparent"; }else{ _1.style.backgroundColor="#ffff"+this._shades[Math.floor(this.now)]; } }}); return _3.custom(6,0); },fadeIn:function(_4,_5){ _5=_5||{}; if(!_5.from){ _5.from=0; } if(!_5.to){ _5.to=1; } var s=new AJS.fx.Style(_4,"opacity",_5); return s.custom(_5.from,_5.to); },fadeOut:function(_7,_8){ _8=_8||{}; if(!_8.from){ _8.from=1; } if(!_8.to){ _8.to=0; } var s=new AJS.fx.Style(_7,"opacity",_8); return s.custom(_8.from,_8.to); },setWidth:function(_a,_b){ var s=new AJS.fx.Style(_a,"width",_b); return s.custom(_b.from,_b.to); },setHeight:function(_d,_e){ var s=new AJS.fx.Style(_d,"height",_e); return s.custom(_e.from,_e.to); }}; AJS.fx.Base=new AJS.Class({init:function(){ AJS.bindMethods(this); },setOptions:function(_10){ this.options=AJS.update({onStart:function(){ },onComplete:function(){ },transition:AJS.fx.Transitions.sineInOut,duration:500,wait:true,fps:50},_10||{}); },step:function(){ var _11=new Date().getTime(); if(_11<this.time+this.options.duration){ this.cTime=_11-this.time; this.setNow(); }else{ setTimeout(AJS.$b(this.options.onComplete,this,[this.elm]),10); this.clearTimer(); this.now=this.to; } this.increase(); },setNow:function(){ this.now=this.compute(this.from,this.to); },compute:function(_12,to){ var _14=to-_12; return this.options.transition(this.cTime,_12,_14,this.options.duration); },clearTimer:function(){ clearInterval(this.timer); this.timer=null; return this; },_start:function(_15,to){ if(!this.options.wait){ this.clearTimer(); } if(this.timer){ return; } setTimeout(AJS.$p(this.options.onStart,this.elm),10); this.from=_15; this.to=to; this.time=new Date().getTime(); this.timer=setInterval(this.step,Math.round(1000/this.options.fps)); return this; },custom:function(_17,to){ return this._start(_17,to); },set:function(to){ this.now=to; this.increase(); return this; },setStyle:function(elm,_1b,val){ if(this.property=="opacity"){ AJS.setOpacity(elm,val); }else{ AJS.setStyle(elm,_1b,val); } }}); AJS.fx.Style=AJS.fx.Base.extend({init:function(elm,_1e,_1f){ this.parent(); this.elm=elm; this.setOptions(_1f); this.property=_1e; },increase:function(){ this.setStyle(this.elm,this.property,this.now); }}); AJS.fx.Styles=AJS.fx.Base.extend({init:function(elm,_21){ this.parent(); this.elm=AJS.$(elm); this.setOptions(_21); this.now={}; },setNow:function(){ for(p in this.from){ this.now[p]=this.compute(this.from[p],this.to[p]); } },custom:function(obj){ if(this.timer&&this.options.wait){ return; } var _23={}; var to={}; for(p in obj){ _23[p]=obj[p][0]; to[p]=obj[p][1]; } return this._start(_23,to); },increase:function(){ for(var p in this.now){ this.setStyle(this.elm,p,this.now[p]); } }}); AJS.fx.Transitions={linear:function(t,b,c,d){ return c*t/d+b; },sineInOut:function(t,b,c,d){ return -c/2*(Math.cos(Math.PI*t/d)-1)+b; }}; script_loaded=true; script_loaded=true;  var GB_ROOT_DIR="/inet6/global/www/skins/default/javascript/lightbox/greybox/"; var GB_CURRENT=null; GB_hide=function(){ GB_CURRENT.hide(); }; GreyBox=new AJS.Class({init:function(_1){ this.type="page"; this.overlay_click_close=false; this.salt=0; this.root_dir=GB_ROOT_DIR; this.callback_fns=[]; this.reload_on_close=false; this.src_loader=this.root_dir+"loader_frame.html"; this.show_loading=true; AJS.update(this,_1); },addCallback:function(fn){ if(fn){ this.callback_fns.push(fn); } },show:function(_3){ GB_CURRENT=this; this.url=_3; var _4=[AJS.$bytc("object"),AJS.$bytc("select")]; AJS.map(AJS.flattenList(_4),function(_5){ _5.style.visibility="hidden"; }); this.createElements(); return false; },hide:function(){ this.onHide(); if(AJS.fx){ var _6=this.overlay; AJS.fx.fadeOut(this.overlay,{onComplete:function(){ AJS.removeElement(_6); _6=null; },duration:300}); AJS.removeElement(this.g_window); }else{ AJS.removeElement(this.g_window,this.overlay); } this.removeFrame(); AJS.REV(window,"scroll",_GB_setOverlayDimension); AJS.REV(window,"resize",_GB_update); var _7=[AJS.$bytc("object"),AJS.$bytc("select")]; AJS.map(AJS.flattenList(_7),function(_8){ _8.style.visibility="visible"; }); var _9=this.callback_fns; if(_9!=[]){ AJS.map(_9,function(fn){ fn(); }); } GB_CURRENT=null; if(this.reload_on_close){ window.location.reload(); } },update:function(){ this.setOverlayDimension(); this.setFrameSize(); this.setWindowPosition(); },createElements:function(){ this.initOverlay(); this.g_window=AJS.DIV({"id":"GB_window"}); AJS.hideElement(this.g_window); AJS.getBody().insertBefore(this.g_window,this.overlay.nextSibling); this.initFrame(); this.initHook(); this.update(); var me=this; if(AJS.fx){ AJS.fx.fadeIn(this.overlay,{duration:300,to:0.7,onComplete:function(){ me.onShow(); AJS.showElement(me.g_window); me.startLoading(); }}); }else{ AJS.setOpacity(this.overlay,0.7); AJS.showElement(this.g_window); this.onShow(); this.startLoading(); } AJS.AEV(window,"scroll",_GB_setOverlayDimension); AJS.AEV(window,"resize",_GB_update); },removeFrame:function(){ try{ AJS.removeElement(this.iframe); } catch(e){ } this.iframe=null; },startLoading:function(){ this.iframe.src=this.src_loader+"?s="+this.salt++; AJS.showElement(this.iframe); },setOverlayDimension:function(){ var _c=AJS.getWindowSize(); if(AJS.isMozilla()||AJS.isOpera()){ AJS.setWidth(this.overlay,"100%"); }else{ AJS.setWidth(this.overlay,_c.w); } var _d=Math.max(AJS.getScrollTop()+_c.h,AJS.getScrollTop()+this.height); if(_d<AJS.getScrollTop()){ AJS.setHeight(this.overlay,_d); }else{ AJS.setHeight(this.overlay,AJS.getScrollTop()+_c.h); } },initOverlay:function(){ this.overlay=AJS.DIV({"id":"GB_overlay"}); if(this.overlay_click_close){ AJS.AEV(this.overlay,"click",GB_hide); } AJS.setOpacity(this.overlay,0); AJS.getBody().insertBefore(this.overlay,AJS.getBody().firstChild); },initFrame:function(){ if(!this.iframe){ var d={"name":"GB_frame","class":"GB_frame","frameBorder":0}; this.iframe=AJS.IFRAME(d); this.middle_cnt=AJS.DIV({"class":"content"},this.iframe); this.top_cnt=AJS.DIV(); this.bottom_cnt=AJS.DIV(); AJS.ACN(this.g_window,this.top_cnt,this.middle_cnt,this.bottom_cnt); } },onHide:function(){ },onShow:function(){ },setFrameSize:function(){ },setWindowPosition:function(){ },initHook:function(){ }}); _GB_update=function(){ if(GB_CURRENT){ GB_CURRENT.update(); } }; _GB_setOverlayDimension=function(){ if(GB_CURRENT){ GB_CURRENT.setOverlayDimension(); } }; AJS.preloadImages(GB_ROOT_DIR+"indicator.gif"); script_loaded=true; var GB_SETS={}; function decoGreyboxLinks(){ var as=AJS.$bytc("a"); AJS.map(as,function(a){ if(a.getAttribute("href")&&a.getAttribute("rel")){ var rel=a.getAttribute("rel"); if(rel.indexOf("gb_")==0){ var _12=rel.match(/\w+/)[0]; var _13=rel.match(/\[(.*)\]/)[1]; var _14=0; var _15={"caption":a.title||"","url":a.href,"excaption":a.getAttribute("capt")||""}; if(_12=="gb_pageset"||_12=="gb_imageset"){ if(!GB_SETS[_13]){ GB_SETS[_13]=[]; } GB_SETS[_13].push(_15); _14=GB_SETS[_13].length; } if(_12=="gb_pageset"){ a.onclick=function(){ GB_showFullScreenSet(GB_SETS[_13],_14); return false; }; } if(_12=="gb_imageset"){ a.onclick=function(){ GB_showImageSet(GB_SETS[_13],_14); return false; }; } if(_12=="gb_image"){ a.onclick=function(){ GB_showImage(_15.caption,_15.url,_15.excaption); return false; }; } if(_12=="gb_page"){ a.onclick=function(){ var sp=_13.split(/, ?/); GB_show(_15.caption,_15.url,parseInt(sp[1]),parseInt(sp[0])); return false; }; } if(_12=="gb_page_fs"){ a.onclick=function(){ GB_showFullScreen(_15.caption,_15.url); return false; }; } if(_12=="gb_page_center"){ a.onclick=function(){ var sp=_13.split(/, ?/); GB_showCenter(_15.caption,_15.url,parseInt(sp[1]),parseInt(sp[0])); return false; }; } } } }); } AJS.AEV(window,"load",decoGreyboxLinks); GB_showImage=function(_18,url,_1a,_1b){ var _1c={width:300,height:300,type:"image",fullscreen:false,center_win:true,caption:_18,excaption:_1a,callback_fn:_1b}; var win=new GB_Gallery(_1c); return win.show(url); }; GB_showPage=function(_1e,url,_20){ var _21={type:"page",caption:_1e,callback_fn:_20,fullscreen:true,center_win:false}; var win=new GB_Gallery(_21); return win.show(url); }; GB_Gallery=GreyBox.extend({init:function(_23){ this.parent({}); this.img_close=this.root_dir+"g_close.gif"; AJS.update(this,_23); this.addCallback(this.callback_fn); },initHook:function(){ AJS.addClass(this.g_window,"GB_Gallery"); var _24=AJS.DIV({"class":"inner"}); this.header=AJS.DIV({"class":"GB_header"},_24); AJS.setOpacity(this.header,0); AJS.getBody().insertBefore(this.header,this.overlay.nextSibling); var _25=AJS.TD({"id":"GB_caption","class":"caption","width":"40%"},this.caption); var _26=AJS.TD({"id":"GB_middle","class":"middle","width":"20%"}); var _27=AJS.IMG({"src":this.img_close}); AJS.AEV(_27,"click",GB_hide); var _28=AJS.TD({"class":"close","width":"40%"},_27); var _29=AJS.TD({"id":"GB_excaption","class":"excaption","width":"100%","colspan":"3"},this.excaption); var _2a=AJS.TBODY(AJS.TR(_25,_26,_28),AJS.TR(_29)); var _2b=AJS.TABLE({"cellspacing":"0","cellpadding":0,"border":0},_2a); AJS.ACN(_24,_2b); if(this.fullscreen){ AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this)); }else{ AJS.AEV(window,"scroll",AJS.$b(this._setHeaderPos,this)); } },setFrameSize:function(){ var _2c=this.overlay.offsetWidth; var _2d=AJS.getWindowSize(); if(this.fullscreen){ this.width=_2c-40; this.height=_2d.h-80; } AJS.setWidth(this.iframe,this.width); AJS.setHeight(this.iframe,this.height); AJS.setWidth(this.header,_2c); },_setHeaderPos:function(){ AJS.setTop(this.header,AJS.getScrollTop()+10); },setWindowPosition:function(){ var _2e=this.overlay.offsetWidth; var _2f=AJS.getWindowSize(); AJS.setLeft(this.g_window,((_2e-50-this.width)/2)); var _30=AJS.getScrollTop()+55; if(!this.center_win){ AJS.setTop(this.g_window,_30); }else{ var fl=((_2f.h-this.height)/2)+20+AJS.getScrollTop(); if(fl<0){ fl=0; } if(_30>fl){ fl=_30; } AJS.setTop(this.g_window,fl); } this._setHeaderPos(); },onHide:function(){ AJS.removeElement(this.header); AJS.removeClass(this.g_window,"GB_Gallery"); },onShow:function(){ if(AJS.fx){ AJS.fx.fadeIn(this.header,{to:1}); }else{ AJS.setOpacity(this.header,1); } }}); AJS.preloadImages(GB_ROOT_DIR+"g_close.gif"); GB_showFullScreenSet=function(set,_33,_34){ var _35={type:"page",fullscreen:true,center_win:false}; var _36=new GB_Sets(_35,set); _36.addCallback(_34); _36.showSet(_33-1); return false; }; GB_showImageSet=function(set,_38,_39){ var _3a={type:"image",fullscreen:false,center_win:true,width:300,height:300}; var _3b=new GB_Sets(_3a,set); _3b.addCallback(_39); _3b.showSet(_38-1); return false; }; GB_Sets=GB_Gallery.extend({init:function(_3c,set){ this.parent(_3c); if(!this.img_next){ this.img_next=this.root_dir+"next.gif"; } if(!this.img_prev){ this.img_prev=this.root_dir+"prev.gif"; } this.current_set=set; },showSet:function(_3e){ this.current_index=_3e; var _3f=this.current_set[this.current_index]; this.show(_3f.url); this._setCaption(_3f.caption); this._setExCaption(_3f.excaption); this.btn_prev=AJS.IMG({"class":"left",src:this.img_prev}); this.btn_next=AJS.IMG({"class":"right",src:this.img_next}); AJS.AEV(this.btn_prev,"click",AJS.$b(this.switchPrev,this)); AJS.AEV(this.btn_next,"click",AJS.$b(this.switchNext,this)); GB_STATUS=AJS.SPAN({"class":"GB_navStatus"}); AJS.ACN(AJS.$("GB_middle"),this.btn_prev,GB_STATUS,this.btn_next); this.updateStatus(); },updateStatus:function(){ AJS.setHTML(GB_STATUS,(this.current_index+1)+" / "+this.current_set.length); if(this.current_index==0){ AJS.addClass(this.btn_prev,"disabled"); }else{ AJS.removeClass(this.btn_prev,"disabled"); } if(this.current_index==this.current_set.length-1){ AJS.addClass(this.btn_next,"disabled"); }else{ AJS.removeClass(this.btn_next,"disabled"); } },_setCaption:function(_40){ AJS.setHTML(AJS.$("GB_caption"),_40); },_setExCaption:function(_41){ AJS.setHTML(AJS.$("GB_excaption"),_41); },updateFrame:function(){ var _42=this.current_set[this.current_index]; this._setCaption(_42.caption); this._setExCaption(_42.excaption); this.url=_42.url; this.startLoading(); },switchPrev:function(){ if(this.current_index!=0){ this.current_index--; this.updateFrame(); this.updateStatus(); } },switchNext:function(){ if(this.current_index!=this.current_set.length-1){ this.current_index++; this.updateFrame(); this.updateStatus(); } }}); AJS.AEV(window,"load",function(){ AJS.preloadImages(GB_ROOT_DIR+"next.gif",GB_ROOT_DIR+"prev.gif"); }); GB_show=function(_43,url,_45,_46,_47){ var _48={caption:_43,height:_45||500,width:_46||500,fullscreen:false,callback_fn:_47}; var win=new GB_Window(_48); return win.show(url); }; GB_showCenter=function(_4a,url,_4c,_4d,_4e){ var _4f={caption:_4a,center_win:true,height:_4c||500,width:_4d||500,fullscreen:false,callback_fn:_4e}; var win=new GB_Window(_4f); return win.show(url); }; GB_showFullScreen=function(_51,url,_53){ var _54={caption:_51,fullscreen:true,callback_fn:_53}; var win=new GB_Window(_54); return win.show(url); }; GB_Window=GreyBox.extend({init:function(_56){ this.parent({}); this.img_header=this.root_dir+"header_bg.gif"; this.img_close=this.root_dir+"w_close.gif"; this.show_close_img=true; AJS.update(this,_56); this.addCallback(this.callback_fn); },initHook:function(){ AJS.addClass(this.g_window,"GB_Window"); this.header=AJS.TABLE({"class":"header"}); this.header.style.backgroundImage="url("+this.img_header+")"; var _57=AJS.TD({"class":"caption"},this.caption); var _58=AJS.TD({"class":"close"}); if(this.show_close_img){ var _59=AJS.IMG({"src":this.img_close}); var _5a=AJS.SPAN("Close"); var btn=AJS.DIV(_59,_5a); AJS.AEV([_59,_5a],"mouseover",function(){ AJS.addClass(_5a,"on"); }); AJS.AEV([_59,_5a],"mouseout",function(){ AJS.removeClass(_5a,"on"); }); AJS.AEV([_59,_5a],"mousedown",function(){ AJS.addClass(_5a,"click"); }); AJS.AEV([_59,_5a],"mouseup",function(){ AJS.removeClass(_5a,"click"); }); AJS.AEV([_59,_5a],"click",GB_hide); AJS.ACN(_58,btn); } tbody_header=AJS.TBODY(); AJS.ACN(tbody_header,AJS.TR(_57,_58)); AJS.ACN(this.header,tbody_header); AJS.ACN(this.top_cnt,this.header); if(this.fullscreen){ AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this)); } },setFrameSize:function(){ if(this.fullscreen){ var _5c=AJS.getWindowSize(); overlay_h=_5c.h; this.width=Math.round(this.overlay.offsetWidth-(this.overlay.offsetWidth/100)*10); this.height=Math.round(overlay_h-(overlay_h/100)*10); } AJS.setWidth(this.header,this.width+6); AJS.setWidth(this.iframe,this.width); AJS.setHeight(this.iframe,this.height); },setWindowPosition:function(){ var _5d=AJS.getWindowSize(); AJS.setLeft(this.g_window,((_5d.w-this.width)/2)-13); if(!this.center_win){ AJS.setTop(this.g_window,AJS.getScrollTop()); }else{ var fl=((_5d.h-this.height)/2)-20+AJS.getScrollTop(); if(fl<0){ fl=0; } AJS.setTop(this.g_window,fl); } }}); AJS.preloadImages(GB_ROOT_DIR+"w_close.gif",GB_ROOT_DIR+"header_bg.gif");  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); } }  
