<?php
require_once GTFWConfiguration::GetValue( 'application', 'docroot') . 'module/negara/response/ProcessNegara.proc.class.php';

class DoAddNegara extends JsonResponse {

	function TemplateModule() {
	}
	
	function ProcessRequest() {
		$negaraObj = new ProcessNegara();
		$urlRedirect = $negaraObj->Add();
		return array('exec'=>'GtfwAjax.replaceContentWithUrl("subcontent-element","'.$urlRedirect.'&ascomponent=1")');
	 }
	function ParseTemplate($data = NULL) {	
	}
}
?>