//**********************************************************************************************************
// 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.27.2
//**********************************************************************************************************
function _eofmp_a(a,b){ this.i=a;this.c=b;this.alf=document.getElementById(b);this.aabg=true;}function _eofmp_b(a){var b;if(this.aabg==a)return;if(this.alf){if(_eofi_au()=="IE")this.alf.style.display=a?"block":"none";else this.alf.style.display=a?"table":"none";}if(!a&&this.alf){var c=this.alf.getElementsByTagName("INPUT");if(c){for(b=0;b<c.length;b++){var d=c[b];if(!d.eo_pv){d.eo_pv=d.focus;d.focus=_eofmp_c;}}}}this.aabg=a;for(b in _eo_objs){var e=_eo_objs[b];if(e){var f=e.e;if(f.j()&&f.refresh)f.refresh();}}}function _eofmp_c(){try{this.eo_pv();}catch(e){}}_eofmp_a.prototype.aabh=_eofmp_b;function _eofmp_d(a,b,c,d,e){this.bj(a,"MultiPage");this.aabi=new Array();if((d==null)&&c.length)d=0;for(var f=0;f<c.length;f++){this.aabi[f]=new _eofmp_a(b[f],c[f]);if(f!=d)this.aabi[f].aabh(false);}this.aabj=d;this.aabk=e;}function _eofmp_e(a){for(var b=0;b<this.aabi.length;b++){var c=this.aabi[b];if(c!=a)c.aabh(false);else{c.aabh(true);this.aabj=b;}}}function _eofmp_f(a){var b;var c=null;var d=null;var e=false;for(b=0;b<this.aabi.length;b++){if(this.aabi[b].i==a){if(!c)c=this.aabi[b];else{e=true;break;}}}if(c&&!e){this.aabl(c);return;}c=null;for(b=0;b<this.aabi.length;b++){d=this.aabi[b];if(d.c==a){c=d;break;}}if(c)this.aabl(c);}function _eofmp_g(a){if((a>=0)&&(a<this.aabi.length))this.aabl(this.aabi[a]);}function _eofmp_h(){return this.aabj;}function _eofmp_i(){if((this.aabj!=null)&&(this.aabj>=0)&&(this.aabj<this.aabi.length)){var a=this.aabi[m_selectedIndex];return a.c;}return null;}function _eofmp_j(){return this.aabi.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_bv(this.aabk.toString()+"|"+this.aabj.toString());}_eofmp_d.prototype=new _eofi_cs();_eofmp_d.prototype.abd=_eofi_co;_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.aabl=_eofmp_e;_eofmp_d.prototype.bf=_eofi_cp;_eofmp_d.prototype.bg=_eofmp_o;eo_LoadModules();eo_ModuleLoaded('mp');