/* js cached2: /opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/lib/jquery/jcarousel/jcarousel.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/max_form.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/lib/jquery/tooltip/tooltip.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/global.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/nodomws.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/lib/jquery/bgiframe/bgiframe.js:/opt/inet6/inet6es-5.6/base/global/inet6se/features/net.newwater.common.standard/skins/default/javascript/base.default.js*/
(function($){ $.fn.jcarousel=function(o){ return this.each(function(){ new _3(this,o); }); }; var _4={vertical:false,start:1,size:null,scroll:3,visible:null,animation:"fast",easing:null,auto:0,wrap:null,initCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,buttonNextHTML:"<div></div>",buttonPrevHTML:"<div></div>",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null}; $.jcarousel=function(e,o){ this.options=$.extend({},_4,o||{}); this.container=null; this.clip=null; this.list=null; this.buttonNext=null; this.buttonPrev=null; this.wh=!this.options.vertical?"width":"height"; this.lt=!this.options.vertical?"left":"top"; if(e.nodeName=="UL"||e.nodeName=="OL"){ this.list=$(e); this.container=this.list.parent(); if($.className.has(this.container[0].className,"jcarousel-clip")){ if(!$.className.has(this.container[0].parentNode.className,"jcarousel-container")){ this.container=this.container.wrap("<div></div>"); } this.container=this.container.parent(); }else{ if(!$.className.has(this.container[0].className,"jcarousel-container")){ this.container=this.list.wrap("<div></div>").parent(); } } var _7=e.className.split(" "); for(var i=0;i<_7.length;i++){ if(_7[i].indexOf("jcarousel-skin")!=-1){ this.list.removeClass(_7[i]); this.container.addClass(_7[i]); break; } } }else{ this.container=$(e); this.list=$("ul,ol",e); } this.clip=this.list.parent(); if(!this.clip.length||!$.className.has(this.clip[0].className,"jcarousel-clip")){ this.clip=this.list.wrap("<div></div>").parent(); } this.buttonPrev=$(".jcarousel-prev",this.container); if(this.buttonPrev.size()==0&&this.options.buttonPrevHTML!=null){ this.buttonPrev=this.clip.before(this.options.buttonPrevHTML).prev(); } this.buttonPrev.addClass(this.className("jcarousel-prev")); this.buttonNext=$(".jcarousel-next",this.container); if(this.buttonNext.size()==0&&this.options.buttonNextHTML!=null){ this.buttonNext=this.clip.before(this.options.buttonNextHTML).prev(); } this.buttonNext.addClass(this.className("jcarousel-next")); this.clip.addClass(this.className("jcarousel-clip")); this.list.addClass(this.className("jcarousel-list")); this.container.addClass(this.className("jcarousel-container")); var di=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null; var li=$("li",this.list); var _b=this; if(li.size()>0){ var wh=0,i=this.options.start; li.each(function(){ _b.format(this,i++); wh+=_b.dimension(this,di); }); this.list.css(this.wh,wh+"px"); if(!o||o.size==undefined){ this.options.size=li.size(); } } this.container.css("display","block"); this.buttonNext.css("display","block"); this.buttonPrev.css("display","block"); this.funcNext=function(){ _b.next(); }; this.funcPrev=function(){ _b.prev(); }; this.funcStop=function(){ _b.stop(); }; this.funcResize=function(){ _b.reload(); }; this.init(); }; var _3=$.jcarousel; _3.fn=_3.prototype={jcarousel:"2.0.0"}; _3.fn.extend=_3.extend=$.extend; _3.fn.extend({setup:function(){ this.first=null; this.last=null; this.prevFirst=null; this.prevLast=null; this.animating=false; this.timer=null; this.tail=null; this.inTail=false; this.locked=false; this.scroll(this.options.start,false); },init:function(){ if(this.options.initCallback!=null){ this.options.initCallback(this,"init"); } this.setup(); $(window).bind("resize",this.funcResize); },reset:function(){ this.list.empty(); this.list.css(this.lt,"0px"); this.list.css(this.wh,"0px"); if(this.options.initCallback!=null){ this.options.initCallback(this,"reset"); } this.setup(); },reload:function(){ if(this.tail!=null&&this.inTail){ this.list.css(this.lt,_3.intval(this.list.css(this.lt))+this.tail); } this.tail=null; this.inTail=false; if(this.options.reloadCallback!=null){ this.options.reloadCallback(this); } if(this.options.visible!=null){ var _d=this; var di=Math.ceil(this.clipping()/this.options.visible),wh=0,lt=0; $("li",this.list).each(function(i){ wh+=_d.dimension(this,di); if(i+1<_d.first){ lt=wh; } }); this.list.css(this.wh,wh+"px"); this.list.css(this.lt,-lt+"px"); } this.scroll(this.first,false); },lock:function(){ this.locked=true; this.buttons(); },unlock:function(){ this.locked=false; this.buttons(); },size:function(s){ if(s!=undefined){ this.options.size=s; if(!this.locked){ this.buttons(); } } return this.options.size; },has:function(i,i2){ if(i2==undefined||!i2){ i2=i; } for(var j=i;j<=i2;j++){ var e=this.get(j).get(0); if(!e||$.className.has(e,"jcarousel-item-placeholder")){ return false; } } return true; },get:function(i){ return $(".jcarousel-item-"+i,this.list); },add:function(i,s){ var e=this.get(i),old=0; if(e.length==0){ var c,e=this.create(i),j=_3.intval(i); while(c=this.get(--j)){ if(j<=0||c.length){ j<=0?this.list.prepend(e):c.after(e); break; } } }else{ old=this.dimension(e); } e.removeClass(this.className("jcarousel-item-placeholder")); typeof s=="string"?e.html(s):e.empty().append(s); var di=this.options.visible!=null?Math.ceil(this.clipping()/this.options.visible):null; var wh=this.dimension(e,di)-old; if(i>0&&i<this.first){ this.list.css(this.lt,_3.intval(this.list.css(this.lt))+wh+"px"); } this.list.css(this.wh,_3.intval(this.list.css(this.wh))+wh+"px"); return e; },remove:function(i){ var e=this.get(i); if(!e.length||(i>=this.first&&i<=this.last)){ return; } var d=this.dimension(e); if(i<this.first){ this.list.css(this.lt,_3.intval(this.list.css(this.lt))+d+"px"); } e.remove(); this.list.css(this.wh,_3.intval(this.list.css(this.wh))-d+"px"); },next:function(){ this.stopAuto(); if(this.tail!=null&&!this.intail){ this.scrollTail(false); }else{ this.scroll(((this.options.wrap=="both"||this.options.wrap=="last")&&this.options.size!=null&&this.last==this.options.size)?1:this.first+this.options.scroll); } },prev:function(){ this.stopAuto(); if(this.tail!=null&&this.inTail){ this.scrollTail(true); }else{ this.scroll(((this.options.wrap=="both"||this.options.wrap=="first")&&this.options.size!=null&&this.first==1)?this.options.size:this.first-this.options.scroll); } },scrollTail:function(b){ if(this.locked||this.animating||!this.tail){ return; } var pos=_3.intval(this.list.css(this.lt)); !b?pos-=this.tail:pos+=this.tail; this.inTail=!b; this.prevFirst=this.first; this.prevLast=this.last; this.animate(pos); },scroll:function(i,a){ if(this.locked||this.animating){ return; } this.animate(this.pos(i),a); },pos:function(i){ if(this.locked||this.animating){ return; } if(this.options.wrap!="circular"){ i=i<1?1:(this.options.size&&i>this.options.size?this.options.size:i); } var _28=this.first>i; var pos=_3.intval(this.list.css(this.lt)); var f=this.options.wrap!="circular"&&this.first<=1?1:this.first; var c=_28?this.get(f):this.get(this.last); var j=_28?f:f-1; var e=null,l=0,p=false,d=0; while(_28?--j>=i:++j<i){ e=this.get(j); p=!e.length; if(e.length==0){ e=this.create(j).addClass(this.className("jcarousel-item-placeholder")); c[_28?"before":"after"](e); } c=e; d=this.dimension(e); if(p){ l+=d; } if(this.first!=null&&(this.options.wrap=="circular"||(j>=1&&(this.options.size==null||j<=this.options.size)))){ pos=_28?pos+d:pos-d; } } var _31=this.clipping(); var _32=[]; var _33=0,j=i,v=0; var c=this.get(i-1); while(++_33){ e=this.get(j); p=!e.length; if(e.length==0){ e=this.create(j).addClass(this.className("jcarousel-item-placeholder")); c.length==0?this.list.prepend(e):c[_28?"before":"after"](e); } c=e; d=this.dimension(e); if(d==0){ alert("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting..."); return 0; } if(this.options.wrap!="circular"&&this.options.size!==null&&j>this.options.size){ _32.push(e); }else{ if(p){ l+=d; } } v+=d; if(v>=_31){ break; } j++; } for(var x=0;x<_32.length;x++){ _32[x].remove(); } if(l>0){ this.list.css(this.wh,this.dimension(this.list)+l+"px"); if(_28){ pos-=l; this.list.css(this.lt,_3.intval(this.list.css(this.lt))-l+"px"); } } var _36=i+_33-1; if(this.options.wrap!="circular"&&this.options.size&&_36>this.options.size){ _36=this.options.size; } var _37=_36-_33+1; if(this.options.wrap!="circular"&&_37<1){ _37=1; } if(this.inTail&&_28){ pos+=this.tail; this.inTail=false; } this.tail=null; if(this.options.wrap!="circular"&&_36==this.options.size&&(_36-_33+1)>=1){ var m=_3.margin(this.get(_36),!this.options.vertical?"marginRight":"marginBottom"); if((v-m)>_31){ this.tail=v-_31-m; } } while(i-->_37){ pos+=this.dimension(this.get(i)); } this.prevFirst=this.first; this.prevLast=this.last; this.first=_37; this.last=_36; return pos; },animate:function(p,a){ if(this.locked||this.animating){ return; } this.animating=true; var _3b=this,pos=p; var _3d=function(){ _3b.animating=false; if(pos==0){ _3b.list.css(_3b.lt,0); } if(_3b.options.wrap=="both"||_3b.options.wrap=="last"||_3b.options.size==null||_3b.last<_3b.options.size){ _3b.startAuto(); } _3b.buttons(); _3b.notify("onAfterAnimation"); }; this.notify("onBeforeAnimation"); if(!this.options.animation||a==false){ this.list.css(this.lt,p+"px"); _3d(); }else{ var o=!this.options.vertical?{"left":p}:{"top":p}; this.list.animate(o,this.options.animation,this.options.easing,_3d); } },startAuto:function(s){ if(s!=undefined){ this.options.auto=s; } if(this.options.auto==0){ return this.stopAuto(); } if(this.timer!=null){ return; } var _40=this; this.timer=setTimeout(function(){ _40.next(); },this.options.auto*1000); },stopAuto:function(){ if(this.timer==null){ return; } clearTimeout(this.timer); this.timer=null; },buttons:function(n,p){ if(n==undefined||n==null){ var n=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!="first")||this.options.size==null||this.last<this.options.size); if(!this.locked&&(!this.options.wrap||this.options.wrap=="first")&&this.options.size!=null&&this.last>=this.options.size){ n=this.tail!=null&&!this.inTail; } } if(p==undefined||p==null){ var p=!this.locked&&this.options.size!==0&&((this.options.wrap&&this.options.wrap!="last")||this.first>1); if(!this.locked&&(!this.options.wrap||this.options.wrap=="last")&&this.options.size!=null&&this.first==1){ p=this.tail!=null&&this.inTail; } } var _43=this; this.buttonNext[n?"bind":"unbind"](this.options.buttonNextEvent,this.funcNext)[n?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",n?false:true); this.buttonPrev[p?"bind":"unbind"](this.options.buttonPrevEvent,this.funcPrev)[p?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",p?false:true); if(this.buttonNext.length>0&&(this.buttonNext[0].jcarouselstate==undefined||this.buttonNext[0].jcarouselstate!=n)&&this.options.buttonNextCallback!=null){ this.buttonNext.each(function(){ _43.options.buttonNextCallback(_43,this,n); }); this.buttonNext[0].jcarouselstate=n; } if(this.buttonPrev.length>0&&(this.buttonPrev[0].jcarouselstate==undefined||this.buttonPrev[0].jcarouselstate!=p)&&this.options.buttonPrevCallback!=null){ this.buttonPrev.each(function(){ _43.options.buttonPrevCallback(_43,this,p); }); this.buttonPrev[0].jcarouselstate=p; } },notify:function(evt){ var _45=this.prevFirst==null?"init":(this.prevFirst<this.first?"next":"prev"); this.callback("itemLoadCallback",evt,_45); if(this.prevFirst!=this.first){ this.callback("itemFirstInCallback",evt,_45,this.first); this.callback("itemFirstOutCallback",evt,_45,this.prevFirst); } if(this.prevLast!=this.last){ this.callback("itemLastInCallback",evt,_45,this.last); this.callback("itemLastOutCallback",evt,_45,this.prevLast); } this.callback("itemVisibleInCallback",evt,_45,this.first,this.last,this.prevFirst,this.prevLast); this.callback("itemVisibleOutCallback",evt,_45,this.prevFirst,this.prevLast,this.first,this.last); },callback:function(cb,evt,_48,i1,i2,i3,i4){ if(this.options[cb]==undefined||(typeof this.options[cb]!="object"&&evt!="onAfterAnimation")){ return; } var _4d=typeof this.options[cb]=="object"?this.options[cb][evt]:this.options[cb]; if(!$.isFunction(_4d)){ return; } var _4e=this; if(i1===undefined){ _4d(_4e,_48,evt); }else{ if(i2===undefined){ this.get(i1).each(function(){ _4d(_4e,this,i1,_48,evt); }); }else{ for(var i=i1;i<=i2;i++){ if(!(i>=i3&&i<=i4)){ this.get(i).each(function(){ _4d(_4e,this,i,_48,evt); }); } } } } },create:function(i){ return this.format("<li></li>",i); },format:function(e,i){ var $e=$(e).addClass(this.className("jcarousel-item")).addClass(this.className("jcarousel-item-"+i)); $e.attr("jcarouselindex",i); return $e; },className:function(c){ return c+" "+c+(!this.options.vertical?"-horizontal":"-vertical"); },dimension:function(e,d){ var el=e.jquery!=undefined?e[0]:e; var old=!this.options.vertical?el.offsetWidth+_3.margin(el,"marginLeft")+_3.margin(el,"marginRight"):el.offsetHeight+_3.margin(el,"marginTop")+_3.margin(el,"marginBottom"); if(d==undefined||old==d){ return old; } var w=!this.options.vertical?d-_3.margin(el,"marginLeft")-_3.margin(el,"marginRight"):d-_3.margin(el,"marginTop")-_3.margin(el,"marginBottom"); $(el).css(this.wh,w+"px"); return this.dimension(el); },clipping:function(){ return !this.options.vertical?this.clip[0].offsetWidth-_3.intval(this.clip.css("borderLeftWidth"))-_3.intval(this.clip.css("borderRightWidth")):this.clip[0].offsetHeight-_3.intval(this.clip.css("borderTopWidth"))-_3.intval(this.clip.css("borderBottomWidth")); },index:function(i,s){ if(s==undefined){ s=this.options.size; } return Math.round((((i-1)/s)-Math.floor((i-1)/s))*s)+1; }}); _3.extend({defaults:function(d){ $.extend(_4,d); },margin:function(e,p){ if(!e){ return 0; } var el=e.jquery!=undefined?e[0]:e; if(p=="marginRight"&&$.browser.safari){ var old={"display":"block","float":"none","width":"auto"},_61,_62; $.swap(el,old,function(){ _61=el.offsetWidth; }); old["marginRight"]=0; $.swap(el,old,function(){ _62=el.offsetWidth; }); return _62-_61; } return _3.intval($.css(el,p)); },intval:function(v){ v=parseInt(v); return isNaN(v)?0:v; }}); })(jQuery);  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){ 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; } } } } } } } } jQuery(document).ready(function(){ jQuery.extend(jQuery.fn.Tooltip.defaults,{delay:0,showURL:false,showBody:" - "}); jQuery(".field_help").Tooltip({extraClass:"help"}); jQuery("#tooltip").bgiframe(); }); function syncSelectList(pid,_b0,_b1){ var _b2=document.getElementById(_b0); var _b3=document.getElementById(pid); var _b4=false; if(_b3.selectedIndex>=0){ _b4=_b3.options[_b3.selectedIndex]; } var i; _b3.length=0; for(i=0;i<_b2.options.length;i++){ var no=new Option(); no.value=_b2.options[i].value; no.text=_b2.options[i].text; _b3[i]=no; if(_b1){ if(no.value==_b1){ _b3.selectedIndex=i; } } } } function copyValues(_b7,_b8){ var _b9=document.getElementById(_b7); var _ba=document.getElementById(_b8); _ba.value=_b9.value; } function checkAll(_bb){ for(i=0;i<_bb.length;i++){ _bb[i].checked=true; } } function uncheckAll(_bc){ for(i=0;i<_bc.length;i++){ _bc[i].checked=false; } }  (function($){ var _2,_3,_4,_5,_6,_7,_8; $.fn.Tooltip=function(_9){ _9=$.extend($.extend({},arguments.callee.defaults),_9||{}); if(!_2){ _2=$("<div id=\"tooltip\"><h3></h3><p class=\"body\"></p><p class=\"url\"></p></div>").hide().css({position:"absolute",zIndex:3000}).appendTo("body"); _3=$("h3",_2); _4=$("p:eq(0)",_2); _5=$("p:eq(1)",_2); } $(this).filter("[@title]").each(function(){ this.tSettings=_9; }).bind("mouseover",save).bind(_9.event,handle); return this; }; function handle(_a){ if(this.tSettings.delay){ _8=setTimeout(show,this.tSettings.delay); }else{ show(); } if(this.tSettings.track){ $("body").bind("mousemove",update); } update(_a); $(this).bind("mouseout",hide); } function save(){ if(this==_6||!this.title){ return; } _6=this; var _b=$(this),_c=this.tSettings; if(_c.injectFunc){ _7=title=_c.injectFunc(_b,_4); }else{ _7=title=_b.attr("title"); } _b.attr("title",""); if(_c.showBody){ var _d=title.split(_c.showBody); _3.html(_d.shift()); _4.empty(); for(var i=0,_f;_f=_d[i];i++){ if(i>0){ _4.append("<br/>"); } _4.append(_f); } if(_4.html()){ _4.show(); }else{ _4.hide(); } }else{ _3.html(title); _4.hide(); } if(_c.hideTitle){ _3.empty().hide(); } href=(_b.attr("href")||_b.attr("src")); photosrc=new String((_b.attr("tooltip-url"))); if(_c.loadURL&&this.nodeType==1){ var _10=/(jpg|jpeg|gif|png)$/; var _11=/(htm|html|png|asp|js|jsp)$/; if(photosrc.search(_10)>=0){ var _12=new Image(); _12.src=photosrc; $(_4).empty(); $(_4).append(_12); }else{ if(photosrc.search(_11)>=0){ $(_4).load(photosrc); } } _4.show(); } if(_c.showURL&&href){ _5.html(href.replace("http://","")).show(); }else{ _5.hide(); } if(_c.extraClass){ _2.addClass(_c.extraClass); } if(_c.fixPNG&&$.browser.msie){ _2.each(function(){ if(this.currentStyle.backgroundImage!="none"){ var _13=this.currentStyle.backgroundImage; _13=_13.substring(5,_13.length-2); $(this).css({"backgroundImage":"none","filter":"progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop, src='"+_13+"')"}); } }); } } function show(){ _8=null; _2.show(); update(); } function update(_14){ if(_6==null){ $("body").unbind("mousemove",update); return; } var _15=_2[0].offsetLeft; var top=_2[0].offsetTop; if(_14){ function pos(c){ var p=c=="X"?"Left":"Top"; return _14["page"+c]||(_14["client"+c]+(document.documentElement["scroll"+p]||document.body["scroll"+p]))||0; } _15=pos("X")+15; top=pos("Y")+15; _2.css({left:_15+"px",top:top+"px"}); } var v=viewport(),h=_2[0]; if(v.x+v.cx<h.offsetLeft+h.offsetWidth){ _15-=h.offsetWidth+20; _2.css({left:_15+"px"}); } if(v.y+v.cy<h.offsetTop+h.offsetHeight){ top-=h.offsetHeight+20; _2.css({top:top+"px"}); } } function viewport(){ var e=document.documentElement||{},b=document.body||{},w=window; return {x:w.pageXOffset||e.scrollLeft||b.scrollLeft||0,y:w.pageYOffset||e.scrollTop||b.scrollTop||0,cx:min(e.clientWidth,b.clientWidth,w.innerWidth),cy:min(e.clientHeight,b.clientHeight,w.innerHeight)}; function min(){ var v=Infinity; for(var i=0;i<arguments.length;i++){ var n=arguments[i]; if(n&&n<v){ v=n; } } return v; } } function hide(){ if(_8){ clearTimeout(_8); } _6=null; _2.hide(); if(this.tSettings.extraClass){ _2.removeClass(this.tSettings.extraClass); } $(this).attr("title",_7).unbind("mouseout",hide); if(this.tSettings.fixPNG&&$.browser.msie){ _2.each(function(){ $(this).css({"filter":"",backgroundImage:""}); }); } } $.fn.Tooltip.defaults={delay:250,event:"mouseover",track:false,showURL:true,showBody:null,extraClass:null,fixPNG:false,loadURL:false,hideTitle:false}; })(jQuery);  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,{}));  jQuery.fn.bgIframe=jQuery.fn.bgiframe=function(){ if(!(jQuery.browser.msie&&typeof XMLHttpRequest=="function")){ return this; } var _1="<iframe class=\"bgiframe\" src=\"javascript:false;document.write('');\" tabindex=\"-1\" "+"style=\"display:block; position:absolute; "+"top: expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)  || 0) * -1) + 'px'); "+"left:expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth) || 0) * -1) + 'px'); "+"z-index:-1; filter:Alpha(Opacity='0'); "+"width:expression(this.parentNode.offsetWidth + 'px'); "+"height:expression(this.parentNode.offsetHeight + 'px')\"/>"; return this.each(function(){ if(!jQuery("iframe.bgiframe",this)[0]){ this.insertBefore(document.createElement(_1),this.firstChild); } }); };  function displayImageCollection(_1,id,_3,_4){ if(GB_SETS[_1]!=undefined){ return GB_showImageSet(GB_SETS[_1],1); }else{ return GB_showImage(_3,document.getElementById(id).href,_4); } }  