function showTooltip(show_tooltip,inp_id)
{
	//alert(show_tooltip);
	//alert(inp_id);
	var imgele=document.getElementById(inp_id);
	var xpos=getX(imgele);
	var ypos=getY(imgele);
	var inp_val='';
	xpos1=xpos+240;
	ypos1=ypos-5;
	 
	
	document.getElementById(show_tooltip).style.left=xpos1+"px";
	document.getElementById(show_tooltip).style.top=ypos1+"px";
	document.getElementById(show_tooltip).style.display="block";
		setTimeout("hideTooltip()",5000);
		if(inp_id == 'txt1'){
			inp_val="Enter your First Name. It should be with in 30 Characters.";
		}else if(inp_id == 'txt2'){
			inp_val="Enter your Last Name. It should be with in 30 Characters.";
		}else if(inp_id == 'txt3'){
			inp_val="Enter your Company Name.";
		}else if(inp_id == 'txt4'){
// 			inp_val="Enter Username. It should be with in 30 Characters.";
inp_val="Choose your helpdesk address .";
// 			inp_val="Ex:domainname.com.<br> Note 1:Except 'www.' symbol<br> Note 2: The domainname must have no ends with '/' symbol.";
		}else if(inp_id == 'txt5'){
			inp_val="Enter your valid Email-Address. You will be receiving the confirmation mails to this Email-Address.";
		}else if(inp_id == 'txt6'){
			inp_val="Enter your Phone Number. Enter your valid Phone Number";
		}else if(inp_id == 'txt7'){
			inp_val="Enter your Address1.";
		}else if(inp_id == 'txt8'){
			inp_val="Enter your Address2.This is optional.";
		}else if(inp_id == 'txt9'){
			inp_val="Enter your City.";
		}else if(inp_id == 'txt10'){
			inp_val="Enter your State/Territory.";
		}else if(inp_id == 'txt11'){
			inp_val="Enter your Postal Code.";
		}else if(inp_id == 'txt12'){
			inp_val="Enter your Credit Card Number. It should be with in 16 digits.";
		}else if(inp_id == 'txt13'){
			inp_val="Enter your Card Security Code";
		}else if(inp_id == 'txt14'){
			inp_val="Select your Country";
		}else if(inp_id == 'txt15'){
			inp_val="Select your Credit Card Type";
		}else if(inp_id == 'txt16'){
			inp_val="Select your Credit Card Expiration Month";
		}else if(inp_id == 'txt17'){
				inp_val="Select your Password";
		}else if(inp_id == 'pwd'){
			inp_val="Enter your Password";
		}else if(inp_id == 'con_pwd'){
			inp_val="Enter your Confirm Password";
		}else if(inp_id == 'new_pwd'){
			inp_val="Enter your New Password";
		}else if(inp_id == 'new_con_pwd'){
			inp_val="Enter your New Confirm Password";
		}else if(inp_id == 'old_pwd'){
			inp_val="Enter your Old Password";
		}else if(inp_id == 'addname'){
			inp_val="Enter your Name";
		}
		
		else if(inp_id == 'order1'){
			inp_val="Enter your Name";
		}
		else if(inp_id == 'order2'){
			inp_val="Enter your Address";
		}
		else if(inp_id == 'order3'){
			inp_val="Enter your Business Email Id.";
		}
		else if(inp_id == 'order4'){
			inp_val="Enter your Phone Number.";
		}
		else if(inp_id == 'order5'){
			inp_val="Enter your Company Name.";
		}
		else if(inp_id == 'order6'){
			inp_val="Select your Country Name.";
		}
		else if(inp_id == 'order7'){
			inp_val="Select your Payment Gateway.";
		}
		else if(inp_id == 'order8'){
			inp_val="Enter your Referral Code.";
		}
		
		else if(inp_id == 'msg_cus'){
			inp_val="Enter your Message";
		}
		else if(inp_id == 'email_cus'){
			inp_val="Enter Your Email Address";
		}
		else if(inp_id == 'name_cus'){
			inp_val="Enter Your Name";
		}
		else if(inp_id == 'freeemail'){
			inp_val="Enter your valid Email-Address. You will be receiving the confirmation mails to this Email-Address.";
		}
		//alert(inp_val);
		document.getElementById("tooltip_123").innerHTML=inp_val;

		function getX(obj){
			return obj.offsetLeft + (obj.offsetParent ? getX(obj.offsetParent) : obj.x ? obj.x : 0);
		}        
		
		function getY(obj){
			return (obj.offsetParent ? obj.offsetTop + getY(obj.offsetParent) : obj.y ? obj.y : 0);
		}

}


// function closeInfo()
// {
// 
// document.getElementById("tooltip_id").style.display="none";
// 
// }

function hideTooltip()
{
document.getElementById("tooltip_id").style.display="none";
}







function showTooltip_view(show_tooltip,inp_id)

{

var imgele=document.getElementById(inp_id);

var xpos=getX(imgele);

var ypos=getY(imgele);



xpos1=xpos+60;

ypos1=ypos+10;

document.getElementById(show_tooltip).style.left=xpos1+"px";

document.getElementById(show_tooltip).style.top=ypos1+"px";

document.getElementById(show_tooltip).style.display="block";

function getX(obj)

{

	return obj.offsetLeft + (obj.offsetParent ? getX(obj.offsetParent) : obj.x ? obj.x : 0);

}        

function getY(obj)

{

	return (obj.offsetParent ? obj.offsetTop + getY(obj.offsetParent) : obj.y ? obj.y : 0);

}

}



function closeInfo_view()

{

document.getElementById("tooltip_view").style.display="none";

}

