function Confirmation(msg)
{
	if (!msg)	
		msg = "Continue ?";	
	conf = confirm(msg);
	if(conf)
		return true;
	else
		return false;
}
function CtrlLength(o,msg)
{
	if ((!msg) || (msg == ""))
		msg = "Maximum size!";
	myMaxLength = o.wvnMaxLength;
	if (myMaxLength == "*")
		return true;
	if (o.value.length > o.wvnMaxLength)
	{
		o.value = o.value.substr(0,o.wvnMaxLength);
		alert(msg);
	}	
}
