//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 7.0.16.2
//**********************************************************************************************************
function _eofmp_a(a,b){ this.i=a;this.c=b;this.ano=document.getElementById(b);this.aaev=true;}function _eofmp_b(a){var b;if(this.aaev==a)return;if(this.ano){if(_eofi_ay()=="IE")this.ano.style.display=a?"block":"none";else this.ano.style.display=a?"table":"none";}if(!a&&this.ano){var c=this.ano.getElementsByTagName("INPUT");if(c){for(b=0;b<c.length;b++){var d=c[b];if(!d.eo_qr){d.eo_qr=d.focus;d.focus=_eofmp_c;}}}}this.aaev=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_qr();}catch(e){}}_eofmp_a.prototype.aaew=_eofmp_b;function _eofmp_d(a,b,c,d,e){this.bk(a,"MultiPage");this.aaex=new Array();if((d==null)&&c.length)d=0;for(var f=0;f<c.length;f++){this.aaex[f]=new _eofmp_a(b[f],c[f]);if(f!=d)this.aaex[f].aaew(false);}this.aaey=d;this.aaez=e;}function _eofmp_e(a){for(var b=0;b<this.aaex.length;b++){var c=this.aaex[b];if(c!=a)c.aaew(false);else{c.aaew(true);this.aaey=b;}}}function _eofmp_f(a){var b;var c=null;var d=null;var e=false;for(b=0;b<this.aaex.length;b++){if(this.aaex[b].i==a){if(!c)c=this.aaex[b];else{e=true;break;}}}if(c&&!e){this.aafa(c);return;}c=null;for(b=0;b<this.aaex.length;b++){d=this.aaex[b];if(d.c==a){c=d;break;}}if(c)this.aafa(c);}function _eofmp_g(a){if((a>=0)&&(a<this.aaex.length))this.aafa(this.aaex[a]);}function _eofmp_h(){return this.aaey;}function _eofmp_i(){if((this.aaey!=null)&&(this.aaey>=0)&&(this.aaey<this.aaex.length)){var a=this.aaex[m_selectedIndex];return a.c;}return null;}function _eofmp_j(){return this.aaex.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.aaez.toString()+"|"+this.aaey.toString());}_eofmp_d.prototype=new _eofi_cz();_eofmp_d.prototype.abn=_eofi_cv;_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.aafa=_eofmp_e;_eofmp_d.prototype.bg=_eofi_cw;_eofmp_d.prototype.bh=_eofmp_o;eo_LoadModules();eo_ModuleLoaded('mp');