//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 5.0.44.1
//**********************************************************************************************************
function _eofmp_a(a,b){ this.i=a;this.c=b;this.ajw=document.getElementById(b);this.bqs=true;}function _eofmp_b(a){if(this.bqs==a)return;if(this.ajw){if(_eofi_au()=="IE")this.ajw.style.display=a?"block":"none";else this.ajw.style.display=a?"table":"none";}if(!a&&this.ajw){var b=this.ajw.getElementsByTagName("INPUT");if(b){for(var c=0;c<b.length;c++){var d=b[c];if(!d.eo_pc){d.eo_pc=d.focus;d.focus=_eofmp_c;}}}}this.bqs=a;}function _eofmp_c(){try{this.eo_pc();}catch(e){}}_eofmp_a.prototype.bqt=_eofmp_b;function _eofmp_d(a,b,c,d,e){this.bh(a,"MultiPage");this.bqu=new Array();if((d==null)&&c.length)d=0;for(var f=0;f<c.length;f++){this.bqu[f]=new _eofmp_a(b[f],c[f]);if(f!=d)this.bqu[f].bqt(false);}this.bqv=d;this.bqw=e;}function _eofmp_e(a){for(var b=0;b<this.bqu.length;b++){var c=this.bqu[b];if(c!=a)c.bqt(false);else{c.bqt(true);this.bqv=b;}}}function _eofmp_f(a){var b;var c=null;var d=null;var e=false;for(b=0;b<this.bqu.length;b++){if(this.bqu[b].i==a){if(!c)c=this.bqu[b];else{e=true;break;}}}if(c&&!e){this.bqx(c);return;}c=null;for(b=0;b<this.bqu.length;b++){d=this.bqu[b];if(d.c==a){c=d;break;}}if(c)this.bqx(c);}function _eofmp_g(a){if((a>=0)&&(a<this.bqu.length))this.bqx(this.bqu[a]);}function _eofmp_h(){return this.bqv;}function _eofmp_i(){if((this.bqv!=null)&&(this.bqv>=0)&&(this.bqv<this.bqu.length)){var a=this.bqu[m_selectedIndex];return a.c;}return null;}function _eofmp_j(){return this.bqu.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_bs(this.bqw.toString()+"|"+this.bqv.toString());}_eofmp_d.prototype=new _eofi_cp();_eofmp_d.prototype.aba=_eofi_cl;_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.bqx=_eofmp_e;_eofmp_d.prototype.bc=_eofi_cm;_eofmp_d.prototype.be=_eofmp_o;eo_LoadModules();eo_ModuleLoaded('mp');