﻿
var pid=null;
var offsetfromcursorX=12 ;
var offsetfromcursorY=10 ;

var offsetdivfrompointerX=10 ;
var offsetdivfrompointerY=14 ;

parent.document.write('<div id="dhtmltooltip"></div>') ;


var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""


function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}





function ShowToolTip(e,uid,name,rating,ratusercnt,userstatus,publiccntcount,tag,betareq,mentorpoints,mentorlevel)
{
 vHideToolTip();
 var tbltooltip="";
 var xpos=e.clientX;
 var ypos=e.clientY;
 var posx = 0;
 var posy = 0;
tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY
var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
var domLib_isMac = navigator.appVersion.indexOf('Mac') != -1;


//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-250;

}
else if (curX<leftedge)
xpos=5;
else{
//position the horizontal position of the menu where the mouse is positioned

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-250;

}
var width=0;

if(domLib_isMac==false)
{
if(parseInt(screen.width,10)>1024)
 {
  
   width = screen.width-1024;
   width=width/2;
 }
}
else
{
 if(parseInt(winwidth,10)>1000)
 {
  
   width = winwidth-1000;
   width=width/2;
 }
}
xpos=xpos-width;

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
ypos=curY-tipobj.offsetHeight-offsetfromcursorY;

}
else{
ypos=curY+offsetfromcursorY+offsetdivfrompointerY;
}
ypos=ypos+4;

 var redurl = "userprofile.aspx?uid=" + uid;
 var pubfolderurl="folderView.aspx?FID=0&FType=1&uid="+uid;
 var tblstar="";
             for(var i=1;i<=5;i++)
             {
              if(i<=rating)
              {
                tblstar+="<img src='Images/icons/star_on.jpg' width='10' height='10' alt='rated' />"
              }
              else
              {
                  tblstar+="<img src='Images/icons/star.jpg' width='10' height='10' alt='rated' />"
              }
             }
        tbltooltip="<div class='tooltipbox' onmouseover='return StopTimer();' onmouseout='return  resetTimer();'>"
        +"<div class='tooltipArrow'>"
        +"</div>"
        +"<table width='279' border='0' cellspacing='0' cellpadding='0'>"
        +"<tr>"
        +"<td class='tooltiptop'>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='totbg'>"
        +"<a href='#' class='closetip' onclick='return vHideToolTip();'>&nbsp;</a>"
        +"<p>";
        if(betareq=="1")
        {
          tbltooltip+="<a href='javascript:void(0);' onclick=\"$find('betaPasswordExtender').show();\">"+name+"</a><span style='padding-left: 15px;'>";
        }
        else
        {
         tbltooltip+="<a href='"+redurl+"'><strong>"+name+"</strong></a><span style='padding-left: 15px;'>";
        }
       
        tbltooltip+=tblstar
        +"("+ratusercnt+")</span><br />";
        if(mentorpoints!="")
        {
        tbltooltip+="<strong>"+ mentorlevel+"</strong>&nbsp;<i>("+mentorpoints+" mentor points) </i><br />";
        }
        tbltooltip+=userstatus+"</p>"
        +"<p>";
        
        if(betareq=="1")
        {
          tbltooltip +="<a  href='javascript:void(0);' onclick=\"$find('betaPasswordExtender').show();\">View the "+publiccntcount+" items I have made public</a></p>";
       
        }
        else
        {
         tbltooltip+="<a href='"+pubfolderurl+"'><strong>View My Best Advice ("+publiccntcount+")</strong></a></p>";
        }
        tbltooltip+="<p><strong>My Expertise:</strong><br>"
        +"<i>"+tag+"</i></p>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='tooltipbot'>"
        +"</td>"
        +"</tr>"
        +"</table>"
        +"</div><br/>"
         var tooltipdiv=document.getElementById('ToolTipUser');
         tooltipdiv.style.width = '279px';
         tooltipdiv.style.height = 'auto';
         tooltipdiv.style.position = "absolute";
         tooltipdiv.style.left = xpos+'px';
         tooltipdiv.style.top = ypos+'px';
         tooltipdiv.style.zIndex  = "100";
         tooltipdiv.innerHTML = tbltooltip;
         tooltipdiv.style.display='block';
 
}


function ShowToolTipLeft(e,uid,name,rating,ratusercnt,userstatus,publiccntcount,tag,betareq,mentorpoints,mentorlevel)
{
 vHideToolTip();
 tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
var tbltooltip="";
 var xpos=e.clientX;
 var ypos=e.clientY;
 var posx = 0;
 var posy = 0;

var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
var domLib_isMac = navigator.appVersion.indexOf('Mac') != -1;
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-28;

}
else if (curX<leftedge)
xpos=5;
else{
//position the horizontal position of the menu where the mouse is positioned
xpos=curX+offsetfromcursorX-offsetdivfrompointerX-28;

}

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
ypos=curY-tipobj.offsetHeight-offsetfromcursorY;

}
else{
ypos=curY+offsetfromcursorY+offsetdivfrompointerY;
}

ypos=ypos+4;
 var redurl = "userprofile.aspx?uid=" + uid;
 var pubfolderurl="folderView.aspx?FID=0&FType=1&uid="+uid;
 var tblstar="";
             for(var i=1;i<=5;i++)
             {
              if(i<=rating)
              {
                tblstar+="<img src='Images/icons/star_on.jpg' width='10' height='10' alt='rated' />"
              }
              else
              {
                  tblstar+="<img src='Images/icons/star.jpg' width='10' height='10' alt='rated' />"
              }
             }
        tbltooltip="<div class='tooltipboxleft' onmouseover='return StopTimer();' onmouseout='return  resetTimer();'>"
        +"<div class='tooltipArrowleft'>"
        +"</div>"
        +"<table width='279' border='0' cellspacing='0' cellpadding='0'>"
        +"<tr>"
        +"<td class='tooltiptopleft'>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='totbg'>"
        +"<a href='#' class='closetipleft' onclick='return vHideToolTip();'>&nbsp;</a>"
        +"<p>";
        if(betareq=="1")
        {
          tbltooltip+="<a href='javascript:void(0);' onclick=\"$find('betaPasswordExtender').show();\">"+name+"</a><span style='padding-left: 15px;'>";
        }
        else
        {
         tbltooltip+="<a href='"+redurl+"'><strong>"+name+"</strong></a><span style='padding-left: 15px;'>";
        }
       
        tbltooltip+=tblstar
        +"("+ratusercnt+")</span><br />";
        if(mentorpoints!="")
        {
        tbltooltip+="<strong>"+ mentorlevel+"</strong>&nbsp;<i>("+mentorpoints+" mentor points) </i><br />";
        }
        tbltooltip+=userstatus+"</p>"
        +"<p>";
        
        if(betareq=="1")
        {
          tbltooltip +="<a  href='javascript:void(0);' onclick=\"$find('betaPasswordExtender').show();\">View the "+publiccntcount+" items I have made public</a></p>";
       
        }
        else
        {
         tbltooltip+="<a href='"+pubfolderurl+"'><strong>View My Best Advice ("+publiccntcount+")</strong></a></p>";
        }
        tbltooltip+="<p><strong>My Expertise:</strong><br>"
        +"<i>"+tag+"</i></p>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='tooltipbot'>"
        +"</td>"
        +"</tr>"
        +"</table>"
        +"</div><br/>"
         var tooltipdiv=document.getElementById('ToolTipUser');
         tooltipdiv.style.width = '279px';
         tooltipdiv.style.height = 'auto';
         tooltipdiv.style.position = "absolute";
         tooltipdiv.style.left = xpos+'px';
         tooltipdiv.style.top = ypos+'px';
         tooltipdiv.style.zIndex  = "100";
         tooltipdiv.innerHTML = tbltooltip;
         tooltipdiv.style.display='block';
 
}



function StopTimer()
{
 if(pid!=null)
   {
    clearTimeout(pid);
   }
 return false;
}
function resetTimer()
{
 if(pid!=null)
   {
    clearTimeout(pid);
   }
 pid=setTimeout('vHideToolTip();', 500);
 return false;
}
function vHideToolTip()
{
 if(pid!=null)
   {
    clearTimeout(pid);
   }
  var tooltipdiv=document.getElementById('ToolTipUser');
  tooltipdiv.style.display='none';
  return false;
}


function ShowToolTipAdvice(e,strMess)
{
 vHideToolTip();
 var tbltooltip="";
 var xpos=e.clientX;
 var ypos=e.clientY;
 var posx = 0;
 var posy = 0;
 tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
var domLib_isMac = navigator.appVersion.indexOf('Mac') != -1;
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-20;

}
else if (curX<leftedge)
xpos=5;
else{
//position the horizontal position of the menu where the mouse is positioned
xpos=curX+offsetfromcursorX-offsetdivfrompointerX-20;

}
var width=0;

if(domLib_isMac==false)
{
if(parseInt(screen.width,10)>1024)
 {
  
   width = screen.width-1024;
   width=width/2;
 }
}
else
{
 if(parseInt(winwidth,10)>1000)
 {
  
   width = winwidth-1000;
   width=width/2;
 }
}
xpos=xpos-width;
//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
ypos=curY-tipobj.offsetHeight-offsetfromcursorY;

}
else{
ypos=curY+offsetfromcursorY+offsetdivfrompointerY;
}
ypos=ypos-70;
 
     tbltooltip="<div><div class='tip-left' onmouseover='return StopTimer();' onmouseout='return  resetTimer();'>"
        + "<div  class='tip-right'>"+strMess+"</div>"
        +"</div>"
        +"<div style='clear:both; width:50px; padding-left:10px'><img src='images/tip_arrow_ent.gif' /></div></div>"
         var tooltipdiv=document.getElementById('ToolTipUser');
         tooltipdiv.style.width='auto';
         tooltipdiv.style.height = 'auto';
         tooltipdiv.style.position = "absolute";
         tooltipdiv.style.left = xpos+'px';
         tooltipdiv.style.top = ypos+'px';
         tooltipdiv.style.zIndex  = "100";
         tooltipdiv.innerHTML = tbltooltip;
         tooltipdiv.style.display='block';
 
}
function ShowToolTipCareerResource(e,strMess)
{
 vHideToolTip();
 var tbltooltip="";
 var xpos=e.clientX;
 var ypos=e.clientY;
 var posx = 0;
 var posy = 0;
 tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
var domLib_isMac = navigator.appVersion.indexOf('Mac') != -1;
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-20;

}
else if (curX<leftedge)
xpos=5;
else{
//position the horizontal position of the menu where the mouse is positioned
xpos=curX+offsetfromcursorX-offsetdivfrompointerX-20;

}
var width=0;

if(domLib_isMac==false)
{
if(parseInt(screen.width,10)>1024)
 {
  
   width = screen.width-1024;
   width=width/2;
 }
}
else
{
 if(parseInt(winwidth,10)>1000)
 {
  
   width = winwidth-1000;
   width=width/2;
 }
}
xpos=xpos-width;
//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
ypos=curY-tipobj.offsetHeight-offsetfromcursorY;

}
else{
ypos=curY+offsetfromcursorY+offsetdivfrompointerY;
}
ypos=ypos-90;
     tbltooltip="<div><div class='tip-left' onmouseover='return StopTimer();' onmouseout='return  resetTimer();'>"
        + "<div  class='tip-rightbig'>"+strMess+"</div>"
        +"</div>"
        +"<div style='clear:both; width:50px; padding-left:10px'><img src='images/tip_arrow_ent.gif' /></div></div>"
         var tooltipdiv=document.getElementById('ToolTipUser');
         tooltipdiv.style.width='auto';
         tooltipdiv.style.height = 'auto';
         tooltipdiv.style.position = "absolute";
         tooltipdiv.style.left = xpos+'px';
         tooltipdiv.style.top = ypos+'px';
         tooltipdiv.style.zIndex  = "100";
         tooltipdiv.innerHTML = tbltooltip;
         tooltipdiv.style.display='block';
 
}

function ShowNetworkDetailToolTip(e,nid,name,desc)
{

 vHideToolTip();
 var tbltooltip="";
 var xpos=e.clientX;
 var ypos=e.clientY;
 var posx = 0;
 var posy = 0;
 tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
var domLib_isMac = navigator.appVersion.indexOf('Mac') != -1;
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-250;

}
else if (curX<leftedge)
xpos=5;
else{
//position the horizontal position of the menu where the mouse is positioned
xpos=curX+offsetfromcursorX-offsetdivfrompointerX-250;

}
var width=0;

if(domLib_isMac==false)
{
if(parseInt(screen.width,10)>1024)
 {
  
   width = screen.width-1024;
   width=width/2;
 }
}
else
{
 if(parseInt(winwidth,10)>1000)
 {
  
   width = winwidth-1000;
   width=width/2;
 }
}
xpos=xpos-width;
//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
ypos=curY-tipobj.offsetHeight-offsetfromcursorY;

}
else{
ypos=curY+offsetfromcursorY+offsetdivfrompointerY;
}
ypos=ypos+4;
 var redurl = "NetworkHome.aspx?n=" + nid;

        tbltooltip="<div class='tooltipbox' onmouseover='return StopTimer();' onmouseout='return  resetTimer();'>"
        +"<div class='tooltipArrow'>"
        +"</div>"
        +"<table width='279px' border='0' cellspacing='0' cellpadding='0'>"
        +"<tr>"
        +"<td class='tooltiptop'>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='totbg'>"
        +"<a href='#' class='closetip' onclick='return vHideToolTip();'>&nbsp;</a>"
        +"<p>";
        tbltooltip+="<a href='"+redurl+"'>"+name+"</a><span style='padding-left: 15px;'>";
        +"</p>";
        tbltooltip+="<p>"+desc+"</p>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='tooltipbot'>"
        +"</td>"
        +"</tr>"
        +"</table>"
        +"</div>";
         var tooltipdiv=document.getElementById('ToolTipUser');
         tooltipdiv.style.width = '279px';
         tooltipdiv.style.height = 'auto';
         tooltipdiv.style.position = "absolute";
         tooltipdiv.style.left = xpos+'px';
         tooltipdiv.style.top = ypos+'px';
         tooltipdiv.style.zIndex  = "100";
         tooltipdiv.innerHTML = tbltooltip;
         tooltipdiv.style.display='block';
         
}

function ShowToolTipDash(e,uid,name,rating,ratusercnt,userstatus,publiccntcount,tag,betareq,mentorpoints,mentorlevel)
{

 vHideToolTip();
 var tbltooltip="";
 var xpos=e.clientX;
 var ypos=e.clientY;
 var posx = 0;
 var posy = 0;
tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY
var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000
var domLib_isMac = navigator.appVersion.indexOf('Mac') != -1;


//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-250;

}
else if (curX<leftedge)
xpos=5;
else{
//position the horizontal position of the menu where the mouse is positioned

xpos=curX+offsetfromcursorX-offsetdivfrompointerX-250;

}
var width=0;

if(domLib_isMac==false)
{
if(parseInt(screen.width,10)>1024)
 {
  
   width = screen.width-1024;
   width=width/2;
 }
}
else
{
 if(parseInt(winwidth,10)>1000)
 {
  
   width = winwidth-1000;
   width=width/2;
 }
}
xpos=xpos-width;

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
ypos=curY-tipobj.offsetHeight-offsetfromcursorY;

}
else{
ypos=curY+offsetfromcursorY+offsetdivfrompointerY;
}
ypos=ypos+4;

 var redurl = "userprofile.aspx?uid=" + uid;
 var pubfolderurl="folderView.aspx?FID=0&FType=1&uid="+uid;
 var tblstar="";
             for(var i=1;i<=5;i++)
             {
              if(i<=rating)
              {
                tblstar+="<img src='Images/icons/star_on.jpg' width='10' height='10' alt='rated' />"
              }
              else
              {
                  tblstar+="<img src='Images/icons/star.jpg' width='10' height='10' alt='rated' />"
              }
             }
        tbltooltip="<div class='tooltipbox' onmouseover='return StopTimer();' onmouseout='return  resetTimer();'>"
        +"<div class='tooltipArrowdash'>"
        +"</div>"
        +"<table width='279' border='0' cellspacing='0' cellpadding='0'>"
        +"<tr>"
        +"<td class='tooltiptopdash'>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='totbg'>"
        +"<a href='#' class='closetip' onclick='return vHideToolTip();'>&nbsp;</a>"
        +"<p>";
        if(betareq=="1")
        {
          tbltooltip+="<a href='javascript:void(0);' onclick=\"$find('betaPasswordExtender').show();\">"+name+"</a><span style='padding-left: 15px;'>";
        }
        else
        {
         tbltooltip+="<a href='"+redurl+"'><strong>"+name+"</strong></a><span style='padding-left: 15px;'>";
        }
       
        tbltooltip+=tblstar
        +"("+ratusercnt+")</span><br />";
        if(mentorpoints!="")
        {
        tbltooltip+="<strong>"+ mentorlevel+"</strong>&nbsp;<i>("+mentorpoints+" mentor points) </i><br />";
        }
        tbltooltip+=userstatus+"</p>"
        +"<p>";
        
        if(betareq=="1")
        {
          tbltooltip +="<a  href='javascript:void(0);' onclick=\"$find('betaPasswordExtender').show();\">View the "+publiccntcount+" items I have made public</a></p>";
       
        }
        else
        {
         tbltooltip+="<a href='"+pubfolderurl+"'><strong>View My Best Advice ("+publiccntcount+")</strong></a></p>";
        }
        tbltooltip+="<p><strong>My Expertise:</strong><br>"
        +"<i>"+tag+"</i></p>"
        +"</td>"
        +"</tr>"
        +"<tr>"
        +"<td class='tooltipbot'>"
        +"</td>"
        +"</tr>"
        +"</table>"
        +"</div><br/>"
         var tooltipdiv=document.getElementById('ToolTipUser');
         tooltipdiv.style.width = '279px';
         tooltipdiv.style.height = 'auto';
         tooltipdiv.style.position = "absolute";
         tooltipdiv.style.left = xpos+'px';
         tooltipdiv.style.top = ypos+'px';
         tooltipdiv.style.zIndex  = "100";
         tooltipdiv.innerHTML = tbltooltip;
         tooltipdiv.style.display='block';
 
}