function popupTerms()
{
	window.open("/TermsAndConditions.aspx","TandC","height=600, width=775, top=20, left=20, directories=no, location=no, menubar=no, resizable=no, scrollbars=yes, status=no, titlebar=no, toolbar=no");
    return false;
}
var tip;
function moveTip(evnt)
{
	if(!evnt) evnt = window.event;
	if(!tip) tip = document.getElementById("Tip");
	if(evnt.x)
	{
		tip.style.left = (evnt.x + 15) + "px";
		tip.style.top = (evnt.y + 15) + "px";
	}
}
function showTip(text,img)
{
	rononce = false;
	tip = document.getElementById("Tip");

	if(img.x)
	{
		tip.style.left = (img.x + 30) + "px";
		tip.style.top = (img.y + 30) + "px";
	}
	tip.innerHTML = text;
	tip.style.display = "block";
}
function hideTip()
{
	tip = document.getElementById("Tip");
	tip.style.display = "none";
}

function noreturn(evt)
{
	var iKeyCode;
	
	evt = (evt) ? evt : (window.event) ? window.event : null;
	 
	iKeyCode = (evt.keyCode) ? evt.keyCode : evt.which;
	
	if (iKeyCode == 13)
	{
			if (event.returnValue)
				event.returnValue=false;
			if (event.cancelBubble)
				event.cancelBubble = true;
			return false;
	}
	      
	return true;
}
