﻿

var strTooltip= new Array(25);
/* Login Id*/  
strTooltip[0] = "Please enter login Id.";
/* Password*/ 
strTooltip[1] = "Please enter password. Range (4-14) and no special characters allowed.";
/* Email Id*/ 
strTooltip[2] = "Please enter valid email id.";
/* Mobile No.*/
strTooltip[3] = "Your country code followed by your mobile number, no spaces. Do not use a leading zero, e.g. 44794712345";
strTooltip[4] = "Start with plus(+)sign then Your country code followed by your fax number, no spaces. Do not use a leading zero, e.g. +44794712345";
   
 /* Script starts from here.*/  
document.write('<div id="img_Tooltip" style="position:absolute;visibility:hidden">');
document.write('<table cellpadding="0" cellspacing="0" border="0" width="247">');
document.write('<tr><td valign="top">');
document.write('<table cellpadding="0" cellspacing="0" border="0" width="82">');
document.write('<tr><td height="21"></td></tr>');
document.write('<tr><td height="23" align="right"><img src="../images/tb_arrow.gif" /></td></tr>');
document.write('<tr><td valign="top"><img src="../images/cook_1.gif" />');
document.write('</td></tr></table></td>');
document.write('<td valign="top" align="left">');
document.write('<table cellpadding="0" cellspacing="0" border="0" width="220">');
document.write('<tr><td height="21" background="../images/tb_top_tt.gif" ></td></tr>');
document.write('<tr><td background="../images/tb_bg_middle.gif" valign="top" >');
document.write('<table cellpadding="0" cellspacing="0" border="0">');
document.write('<tr><td width="10"></td>');
document.write('<td align="left" valign="top" class="smallerfont">');
        <!--message starts here-->
document.write('<div id="Tooltip"></div>');
        <!--message ends here-->
document.write('</td><td width="10"></td></tr></table>');
document.write('</td></tr><tr><td height="23" background="../images/tb_bottom_tt.gif"></td></tr>');
document.write('</table></td></tr></table>');
document.write('</div>');   
   
 /* Script end.*/  
   
function hideTooltip()
{
	document.getElementById("img_Tooltip").style.visibility="hidden";
}


function showTooltip(div_HelpId,ArrayPos,X,Y)
{

	document.getElementById("Tooltip").innerHTML=strTooltip[ArrayPos] ;
	//document.getElementById("img_Tooltip").style.position="absolute";
	document.getElementById("img_Tooltip").style.visibility="visible";
	document.getElementById("img_Tooltip").style.left=div_HelpId.offsetLeft + X;
	document.getElementById("img_Tooltip").style.top=div_HelpId.offsetTop +Y;
}
