/**
 * Reads the JSON file with help of jQuery 
 * Value is returened into  objectRef.jsonVal
 * 
 */
JsonReader = new function(){
	this.callerObject;
	_this=this;
	this.read=function(jsonFile,objectRef){	
		this.callerObject=objectRef;
		 jQuery.ajax({
				url: jsonFile,
				dataType: 'json',
				success: function(data){
					return data;
					},
				async:false
			});
	};
		/*
		this.sendBack=function(data){
				_callerObj=_this.callerObject;
				_callerObj.jsonVal=data;

			
		};*/
};

