//**********************************************************************************************************
// 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.51.2
//**********************************************************************************************************
function _eofmp_a(a,b){ this.i=a;this.c=b;this.alm=document.getElementById(b);this.aabv=true;}function _eofmp_b(a){var b;if(this.aabv==a)return;if(this.alm){if(_eofi_av()=="IE")this.alm.style.display=a?"block":"none";else this.alm.style.display=a?"table":"none";}if(!a&&this.alm){var c=this.alm.getElementsByTagName("INPUT");if(c){for(b=0;b<c.length;b++){var d=c[b];if(!d.eo_py){d.eo_py=d.focus;d.focus=_eofmp_c;}}}}this.aabv=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_py();}catch(e){}}_eofmp_a.prototype.aabw=_eofmp_b;function _eofmp_d(a,b,c,d,e){this.bj(a,"MultiPage");this.aabx=new Array();if((d==null)&&c.length)d=0;for(var f=0;f<c.length;f++){this.aabx[f]=new _eofmp_a(b[f],c[f]);if(f!=d)this.aabx[f].aabw(false);}this.aaby=d;this.aabz=e;}function _eofmp_e(a){for(var b=0;b<this.aabx.length;b++){var c=this.aabx[b];if(c!=a)c.aabw(false);else{c.aabw(true);this.aaby=b;}}}function _eofmp_f(a){var b;var c=null;var d=null;var e=false;for(b=0;b<this.aabx.length;b++){if(this.aabx[b].i==a){if(!c)c=this.aabx[b];else{e=true;break;}}}if(c&&!e){this.aaca(c);return;}c=null;for(b=0;b<this.aabx.length;b++){d=this.aabx[b];if(d.c==a){c=d;break;}}if(c)this.aaca(c);}function _eofmp_g(a){if((a>=0)&&(a<this.aabx.length))this.aaca(this.aabx[a]);}function _eofmp_h(){return this.aaby;}function _eofmp_i(){if((this.aaby!=null)&&(this.aaby>=0)&&(this.aaby<this.aabx.length)){var a=this.aabx[m_selectedIndex];return a.c;}return null;}function _eofmp_j(){return this.aabx.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_bw(this.aabz.toString()+"|"+this.aaby.toString());}_eofmp_d.prototype=new _eofi_cv();_eofmp_d.prototype.abe=_eofi_cr;_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.aaca=_eofmp_e;_eofmp_d.prototype.bf=_eofi_cs;_eofmp_d.prototype.bg=_eofmp_o;eo_LoadModules();eo_ModuleLoaded('mp');