function confirmSubmit(msg)
{

if (msg=== undefined ) {
      msg = "Are you sure you wish to continue?";
}

var agree=confirm(msg);

if (agree)
	return true ;
else
	return false ;
}
