
var x = 20;
var y = 70;
function setVisible(objId)
{
	var obj = document.getElementById(obj);
	obj.style.display = '';
	obj.style.visibility = (obj.style.visibility == 'visible') ? 'hidden' : 'visible';
}
function placeIt(objId)
{
	var obj = document.getElementById(objId);
	if (document.documentElement)
	{
		theLeft = document.documentElement.scrollLeft;
		theTop = document.documentElement.scrollTop;
	}
	else if (document.body)
	{
		theLeft = document.body.scrollLeft;
		theTop = document.body.scrollTop;
	}
	theLeft += x;
	theTop += y;
	obj.style.left = theLeft + 'px' ;
	obj.style.top = theTop + 'px' ;
	setTimeout("placeIt('layer2')",500);
}
//window.onscroll = setTimeout("placeIt('layer2')",500);

function DialogSendMail()
{
	var message = document.getElementById("txtMessage").value;
	var askcast = document.getElementById("txtAskCast").value;
	if(message==""){
		alert("Please enter message.");
		return true;
	}	
}