function EditReplyComment(mode,cid,sec,city) {

xmlhttpPost('../cityTemplates/ajax/citytalk_processAjax.php','action=Comments&mode='+mode+'&com_id='+cid+'&section='+sec+'&cityName='+city,displayForms,'Loading Comments Form.<br>Please wait...');
//xmlhttpPost('../cityTemplates/ajax/processAjax.php','action=Comments',displayForms,'Loading Review Business Form.<br>Please wait...');
}
function markspamComment(cid) {

xmlhttpPost('../cityTemplates/ajax/citytalk_processAjax.php','action=markspam&com_id='+cid,displayForms,'Loading Report spam Form.<br>Please wait...');
//xmlhttpPost('../cityTemplates/ajax/processAjax.php','action=Comments',displayForms,'Loading Review Business Form.<br>Please wait...');
}
function SendToFriend(gameid,page,url) {

xmlhttpPost('../cityTemplates/ajax/citytalk_processAjax.php','action=SendToFriend&gameid='+gameid+'&page='+page+'&url='+url,displayForms,'Loading Invite Friends Form.<br>Please wait...');
}

function fourm_invitefriends(url){

xmlhttpPost('../../cityTemplates/ajax/citytalk_processAjax.php','action=TellAFriend&url='+url,displayForms,'Loading Invite Friends Form.<br>Please wait...');

	
}
function forgotPass() {
	var user = document.getElementById('userName').value;
	if(user.length < 1) {
		document.getElementById('userName').focus();
		alert("Please fill in User Name field");
		return false;
	}
	var qstring = "action=ForgotPass&txtUser="+user;
	parent.xmlhttpPost('../../../cityTemplates/ajax/processAjax.php',qstring,confirmForgotPass,'Generating Password Reset Link.<br>Please wait...');
}
