function bmsgo(){if(this.ns)return eval("document.layers.bmsActiveNote"+this.s_name);if(this.ns6)return document.getElementById("bmsActiveNote"+this.s_name);if(this.ie||this.op)return document.all["bmsActiveNote"+this.s_name];}
function bmsgso(){if(this.ns)return document.layers["bmsActiveNoteSpan"+this.s_name];if(this.ns6)return document.getElementById("bmsActiveNoteSpan"+this.s_name);if(this.ie||this.op)return document.all["bmsActiveNoteSpan"+this.s_name];}
function bmsgl(){var o=this.getObject();if(this.ns||this.ns6||this.ie) return o.left;else if(this.op) return o.style.left;return 0;}
function bmsgt() {var o=this.getObject();if(this.ns||this.ns6||this.ie) return o.top;else if(this.op) return o.style.top;return 0;}
function bmsgw() {if(this.ns) return this.getObject().clip.width;else if(this.op) return this.getObject().style.width;else if(this.ns6||this.ie) return this.getObject().offsetWidth;}
function bmsgh() {if(this.ns) return this.getObject().clip.height;else if(this.ns6||this.ie) return this.getObject().offsetHeight;else if(this.op) return this.getObject().style.height;}
function bmsgsw() {if(this.ns) return 16;else if(this.op) return this.getSpanObject().style.width;else if(this.ns6||this.ie) return this.getSpanObject().offsetWidth;}
function bmsgsh() {if(this.ns) return 16;else if(this.op) return this.getSpanObject().style.height;else if(this.ns6||this.ie) return this.getSpanObject().offsetHeight;}
function bmsgsl() {if(this.ns) return 16;else if(this.op) return this.getSpanObject().style.left;else if(this.ns6||this.ie) return this.getSpanObject().offsetLeft;}
function bmsgst() {if(this.ns) return 16;else if(this.op) return this.getSpanObject().style.top;else if(this.ns6||this.ie) return this.getSpanObject().offsetTop;}
function bmsans(e){var win_height=(this.ns||this.ns6)?window.innerHeight:window.document.body.clientHeight;var win_width=(this.ns||this.ns6)?window.innerWidth-70:window.document.body.clientWidth;var scroll_top=(this.ns||this.ns6)?window.pageYOffset:document.body.scrollTop;var scroll_left=(this.ns||this.ns6)?window.pageXOffset:document.body.scrollLeft;var bubbleWidth=this.getWidth();var bubbleHeight=this.getHeight();var linkHeight=0;var o=this.getObject();var left=0;var top=0;if(!this.b_pageload) linkHeight=this.getSpanHeight();if(this.b_pageload) {if(this.b_center) {left=Math.round((win_width-this.getWidth())/2);top=Math.round((win_height-this.getHeight())/2);} else {left=this.n_xcoord;top=this.n_ycoord;}if(this.n_hidedelay>0) {setTimeout("bms_an_"+this.s_name+".hideNote()",this.n_hidedelay*1000);}}else if(this.b_auto) {if(this.ns) {left=e.pageX+this.mouse_offset;top=e.pageY+this.mouse_offset;if(top+bubbleHeight>scroll_top+win_height) top=top-bubbleHeight;if(left+bubbleWidth>scroll_left+win_width) left=left-bubbleWidth;}else if(this.ns6) {top=e.pageY+this.mouse_offset;left=e.pageX+this.mouse_offset;if(top+bubbleHeight>scroll_top+win_height) top=bubbleTop-bubbleHeight-linkHeight;if(left+bubbleWidth>scroll_left+win_width) left=scroll_left+win_width-bubbleWidth-this.mouse_offset-16;}else if(this.op) {top=window.pageYOffset+window.event.y+linkHeight;left=window.pageXOffset+window.event.x+this.mouse_offset;if(window.event.y+bubbleHeight+linkHeight>window.pageYOffset+window.innerHeight)top=window.pageYOffset+window.event.y-bubbleHeight-linkHeight;if(window.event.x+bubbleWidth+16>window.pageXOffset+window.innerWidth)left=window.pageXOffset+window.innerWidth-bubbleWidth-this.mouse_offset;}else if(this.ie) {top=scroll_top+window.event.y+linkHeight;left=scroll_left+window.event.x+this.mouse_offset;if(window.event.y+bubbleHeight+linkHeight>win_height)top=scroll_top+window.event.y-bubbleHeight-linkHeight;if(window.event.x+bubbleWidth+16>win_width)left=scroll_left+win_width-bubbleWidth-this.mouse_offset;}}else {if(this.b_absolute) {left=this.n_xcoord;top=this.n_ycoord;}else {left=this.getSpanLeft()+this.n_xcoord;top=this.getSpanTop()+this.n_ycoord;}}if(this.ns) {o.visibility="show";o.left=left;o.top=top;}else if(this.ns6||this.op||this.ie) {o.style.visibility="visible";o.style.left=left;o.style.top=top;}}
function bmsanh(){var o=this.getObject();if(this.ns)o.visibility="hide";else o.style.visibility="hidden";}
function ActiveNote(s_name,b_pageload,n_showdelay,n_hidedelay,b_center,b_auto,b_absolute,n_xcoord,n_ycoord) {this.s_name=s_name;this.b_pageload=b_pageload;this.n_showdelay=n_showdelay;this.n_hidedelay=n_hidedelay;this.b_center=b_center;this.b_auto=b_auto;this.b_absolute=b_absolute;this.n_xcoord=n_xcoord;this.n_ycoord=n_ycoord;this.mouse_offset=10;this.agent=navigator.userAgent.toLowerCase();this.op=false;this.ie=false;this.ns6=false;this.ns=false;if(this.agent.indexOf('opera')!=-1) this.op=true;else if(this.agent.indexOf('msie')!=-1) this.ie=true;else if(this.agent.indexOf('gecko')!=-1) this.ns6=true;else if(this.agent.indexOf('mozilla')!=-1&&this.agent.indexOf('spoofer')==-1&&this.agent.indexOf('compatible')==-1) this.ns=true;this.showNote=bmsans;this.hideNote=bmsanh;this.getObject=bmsgo;this.getSpanObject=bmsgso;this.getWidth=bmsgw;this.getHeight=bmsgh;this.getSpanWidth=bmsgsw;this.getSpanHeight=bmsgsh;this.getSpanLeft=bmsgsl;this.getSpanTop=bmsgst;this.getLeft=bmsgl;this.getTop=bmsgt;if(this.b_pageload){if(window.bmsOLtemp==null){window.bmsOLtemp=""+window.onload;window.bmsOLtemp=window.bmsOLtemp.substring(window.bmsOLtemp.indexOf("{")+1,window.bmsOLtemp.lastIndexOf("}")-1);}var loader="bms_an_"+this.s_name+".showNote(null);";if(this.n_showdelay>0){loader="setTimeout('"+loader+"',"+n_showdelay*1000+");"}window.bmsOLtemp=loader+window.bmsOLtemp;window.onload=bmsanol;}if(this.ns){if(window.bmsOLtemp==null){window.bmsOLtemp=""+window.onload;window.bmsOLtemp=window.bmsOLtemp.substring(window.bmsOLtemp.indexOf("{")+1,window.bmsOLtemp.lastIndexOf("}")-1);}var loader="setTimeout('window.onresize=bmsanr;',1000);";window.bmsOLtemp=loader+window.bmsOLtemp;window.onload=bmsanol;}}
function bmsanol(){eval(window.bmsOLtemp);}function bmsanr(){window.location.reload();}

