
jQuery.fn.bubble=function(top,left){var bubble=$("div#bubble");var thebody=bubble.find("div");this.each(function(){this._title=this.title;this.removeAttribute("title");});this.hover(function(){var offset=getOffset(this);insideimage=1;var txt=$(this).find("div.bubbletxt").html()||this._title.replace(",","<br/>");if(txt){thebody.html(txt);bubble.css({top:(offset[1]+top-bubble.height()+10)+"px",left:(offset[0]+left+45)+"px",visibility:"visible"});}},function(){var offset=getOffset(this);var thewidth=parseInt(document.getElementById("bubble").offsetWidth);var theheight=parseInt(document.getElementById("bubble").offsetHeight);thetop=offset[1]+top-bubble.height()+10;thebottom=thetop+theheight+20;theleft=offset[0]+left+45;theright=theleft+thewidth;if(IE){var extra=getScrollXY();thetop=thetop-extra;thebottom=thebottom-extra;}
insideimage=0;});};function pause(numberMillis)
{var now=new Date();var exitTime=now.getTime()+numberMillis;while(true)
{now=new Date();if(now.getTime()>exitTime)
return;}}
function getOffset(o){var top=0,left=0;while(o.offsetParent){top+=o.offsetTop||0;left+=o.offsetLeft||0;o=o.offsetParent;};return[left,top];}
$(document).ready(function(){var userpics2=$("div.members_display");var profilepic=$("#profilepicimg");userpics2.bubble(0,-18);profilepic.bubble(20,0);});var IE=document.all?true:false
if(!IE)document.captureEvents(Event.MOUSEMOVE)
document.onmousemove=getMouseXY;var tempX=0
var tempY=0
var thetop=0
var thebottom=0
var theleft=0
var theright=0
var insideimage=0
function getMouseXY(e){if((tempY<thebottom)&&(tempY>thetop)&&(tempX<theright)&&(tempX>theleft)){var inside=true;}
else{if(insideimage==0){pause(50);if(document.getElementById('bubble')){document.getElementById('bubble').style.visibility="hidden";}}}
if(IE){if(document.body){tempX=event.clientX+document.body.scrollLeft;tempY=event.clientY+document.body.scrollTop;}}else{tempX=e.pageX;tempY=e.pageY;}
if(tempX<0){tempX=0;}
if(tempY<0){tempY=0;}
return true;}
function getScrollXY(){var scrOfX=0,scrOfY=0;if(typeof(window.pageYOffset)=='number'){scrOfY=window.pageYOffset;scrOfX=window.pageXOffset;}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;scrOfX=document.body.scrollLeft;}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;scrOfX=document.documentElement.scrollLeft;}
return scrOfY;}