function Trim(strStr){
	return strStr.replace(/^\s+|\s+$/g,"");
}

function Agree(str){
	if(confirm(str))
		return true;
	else
		return false;
}