if(typeof config == "undefined")
alert("Error:\nThe core tooltip script file 'wz_tooltip.js' must be included first, before the plugin files!"); config. Balloon = false
config. BalloonImgPath = "newpics/"
config. BalloonEdgeSize = 6
config. BalloonStemWidth = 15
config. BalloonStemHeight = 19
config. BalloonStemOffset = -7
config. BalloonImgExt = "png"; var balloon = new tt_Extension(); balloon.OnLoadConfig = function()
{ if(tt_aV[BALLOON])
{ balloon.padding = Math.max(tt_aV[PADDING] - tt_aV[BALLOONEDGESIZE], 0); balloon.width = tt_aV[WIDTH]; tt_aV[BORDERWIDTH] = 0; tt_aV[WIDTH] = 0; tt_aV[PADDING] = 0; tt_aV[BGCOLOR] = ""; tt_aV[BGIMG] = ""; tt_aV[SHADOW] = false; if(tt_aV[BALLOONIMGPATH].charAt(tt_aV[BALLOONIMGPATH].length - 1) != '/')
tt_aV[BALLOONIMGPATH] += "/"; return true;}
return false;}; balloon.OnCreateContentString = function()
{ if(!tt_aV[BALLOON])
return false; var aImg, sImgZ, sCssCrn, sVaT, sVaB, sCss0; if(tt_aV[BALLOONIMGPATH] == config.BalloonImgPath)
aImg = balloon.aDefImg; else
aImg = Balloon_CacheImgs(tt_aV[BALLOONIMGPATH], tt_aV[BALLOONIMGEXT]); sCss0 = 'padding:0;margin:0;border:0;line-height:0;overflow:hidden;'; sCssMY0 = 'padding:0;margin:0;border:0;line-height:0;overflow:hidden;'; sCssCrn = ' style="position:relative;width:' + tt_aV[BALLOONEDGESIZE] + 'px;' + sCss0 + 'overflow:hidden;'; sVaT = 'vertical-align:top;" valign="top"'; sVaB = 'vertical-align:bottom;" valign="bottom"'; sImgZ = '" style="' + sCss0 + '" />'; tt_sContent = '<table width="256" height="115" border="0" align="center" cellpadding="0" cellspacing="0">' + '<tr>' + '<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">' + '<tr>' + '<td width="18" height="20" valign="top"><img src="newpics/forpaid_img1.png" width="18" height="20" /></td>' + '<td width="220" height="19" background="newpics/forpaid_img2.png">&nbsp;</td>' + '<td width="18" height="19" valign="top"><img src="newpics/forpaid_img3.png" width="18" height="20" /></td>' + '</tr>' + '<tr>' + '<td width="18" height="63" background="newpics/forpaid_img4.png">&nbsp;</td>' + '<td width="220" bgcolor="#ebebeb"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">' + '<tr>' + '<td valign="top"><div align="center" class="style1"><strong>Contact rohini12</strong></div></td>' + '</tr>' + '<tr>' + '<td height="5"></td>' + '</tr>' + '<tr>' + '<td id="bALlO0nBdY"><div align="center" class="style1">To view rohini17s phone number, you <br />' + 'need to become a premium member</div></td>' + '</tr>' + '<tr>' + '<td><div align="center"><a href="#" onmouseout="MM_swapImgRestore()"><img src="newpics/forpaid_upgrade.png" name="Image5" width="131" height="35" border="0" id="Image5" /></a></div></td>' + '</tr>' + '</table></td>' + '<td width="18" background="newpics/forpaid_img5.png">&nbsp;</td>' + '</tr>' + '<tr>' + '<td width="18" height="13" valign="top"><img src="newpics/forpaid_img6.png" width="18" height="13" /></td>' + '<td width="220" height="13" background="newpics/forpaid_img7.png"></td>' + '<td width="18" height="13" valign="top"><img src="newpics/forpaid_img8.png" width="18" height="13" /></td>' + '</tr>' + '</table></td>' + '</tr></table>'
return true;}; balloon.OnSubDivsCreated = function()
{ if(tt_aV[BALLOON])
{ var bdy = tt_GetElt("bALlO0nBdY"); if (tt_t2t && !tt_aV[COPYCONTENT] && bdy)
tt_MovDomNode(tt_t2t, tt_GetDad(tt_t2t), bdy); balloon.iStem = tt_aV[ABOVE] * 1; balloon.aStem = [tt_GetElt("bALlOOnT"), tt_GetElt("bALlOOnB")]; balloon.aStem[balloon.iStem].style.display = "inline"; if (balloon.width < -1)
Balloon_MaxW(bdy); return true;}
return false;}; balloon.OnMoveAfter = function()
{ if(tt_aV[BALLOON])
{ var iStem = (tt_aV[ABOVE] != tt_bJmpVert) * 1; if(iStem != balloon.iStem)
{ balloon.aStem[balloon.iStem].style.display = "none"; balloon.aStem[iStem].style.display = "inline"; balloon.iStem = iStem;}
balloon.aStem[iStem].style.left = Balloon_CalcStemX() + "px"; return true;}
return false;}; function Balloon_CalcStemX()
{ var x = tt_musX - tt_x + tt_aV[BALLOONSTEMOFFSET] - tt_aV[BALLOONEDGESIZE]; return Math.max(Math.min(x, tt_w - tt_aV[BALLOONSTEMWIDTH] - (tt_aV[BALLOONEDGESIZE] << 1) - 2), 2);}
function Balloon_CacheImgs(sPath, sExt)
{ var asImg = ["background", "lt", "t", "rt", "r", "rb", "b", "lb", "l", "stemt", "stemb"], n = asImg.length, aImg = new Array(n), img; while(n)
{--n; img = aImg[n] = new Image(); img.src = sPath + asImg[n] + "." + sExt;}
return aImg;}
function Balloon_MaxW(bdy)
{ if (bdy)
{ var iAdd = tt_bBoxOld ? (balloon.padding << 1) : 0, w = tt_GetDivW(bdy); if (w > -balloon.width + iAdd)
bdy.style.width = (-balloon.width + iAdd) + "px";}
}
function Balloon_PreCacheDefImgs()
{ if(config.BalloonImgPath.charAt(config.BalloonImgPath.length - 1) != '/')
config.BalloonImgPath += "/"; balloon.aDefImg = Balloon_CacheImgs(config.BalloonImgPath, config.BalloonImgExt);}
Balloon_PreCacheDefImgs(); 
