//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 6.0.86.2
//**********************************************************************************************************
function _eofmp_a(a,b){ this.i=a;this.c=b;this.anh=document.getElementById(b);this.aael=true;}function _eofmp_b(a){var b;if(this.aael==a)return;if(this.anh){if(_eofi_ay()=="IE")this.anh.style.display=a?"block":"none";else this.anh.style.display=a?"table":"none";}if(!a&&this.anh){var c=this.anh.getElementsByTagName("INPUT");if(c){for(b=0;b<c.length;b++){var d=c[b];if(!d.eo_ql){d.eo_ql=d.focus;d.focus=_eofmp_c;}}}}this.aael=a;for(b in _eo_objs){var e=_eo_objs[b];if(e&&e.f){var f=e.e;if(f.j()&&f.refresh)f.refresh();}}}function _eofmp_c(){try{this.eo_ql();}catch(e){}}_eofmp_a.prototype.aaem=_eofmp_b;function _eofmp_d(a,b,c,d,e){this.bj(a,"MultiPage");this.aaen=new Array();if((d==null)&&c.length)d=0;for(var f=0;f<c.length;f++){this.aaen[f]=new _eofmp_a(b[f],c[f]);if(f!=d)this.aaen[f].aaem(false);}this.aaeo=d;this.aaep=e;}function _eofmp_e(a){for(var b=0;b<this.aaen.length;b++){var c=this.aaen[b];if(c!=a)c.aaem(false);else{c.aaem(true);this.aaeo=b;}}}function _eofmp_f(a){var b;var c=null;var d=null;var e=false;for(b=0;b<this.aaen.length;b++){if(this.aaen[b].i==a){if(!c)c=this.aaen[b];else{e=true;break;}}}if(c&&!e){this.aaeq(c);return;}c=null;for(b=0;b<this.aaen.length;b++){d=this.aaen[b];if(d.c==a){c=d;break;}}if(c)this.aaeq(c);}function _eofmp_g(a){if((a>=0)&&(a<this.aaen.length))this.aaeq(this.aaen[a]);}function _eofmp_h(){return this.aaeo;}function _eofmp_i(){if((this.aaeo!=null)&&(this.aaeo>=0)&&(this.aaeo<this.aaen.length)){var a=this.aaen[m_selectedIndex];return a.c;}return null;}function _eofmp_j(){return this.aaen.length;}function _eofmp_k(){this.selectPageByIndex(0);}function _eofmp_l(){this.selectPageByIndex(this.getPageCount()-1);}function _eofmp_m(a){var b=this.getSelectedIndex()+1;if(b>=this.getPageCount()){if(a)b=0;else return;}this.selectPageByIndex(b);}function _eofmp_n(a){var b=this.getSelectedIndex()-1;if(b<0){if(a)b=this.getPageCount()-1;else return;}this.selectPageByIndex(b);}function _eofmp_o(){return new _eofi_bz(this.aaep.toString()+"|"+this.aaeo.toString());}_eofmp_d.prototype=new _eofi_cy();_eofmp_d.prototype.abl=_eofi_cu;_eofmp_d.prototype.getSelectedIndex=_eofmp_h;_eofmp_d.prototype.getSelectedId=_eofmp_i;_eofmp_d.prototype.getPageCount=_eofmp_j;_eofmp_d.prototype.selectPageById=_eofmp_f;_eofmp_d.prototype.selectPageByIndex=_eofmp_g;_eofmp_d.prototype.selectFirst=_eofmp_k;_eofmp_d.prototype.selectLast=_eofmp_l;_eofmp_d.prototype.selectNext=_eofmp_m;_eofmp_d.prototype.selectPrevious=_eofmp_n;_eofmp_d.prototype.aaeq=_eofmp_e;_eofmp_d.prototype.bf=_eofi_cv;_eofmp_d.prototype.bg=_eofmp_o;eo_LoadModules();eo_ModuleLoaded('mp');