var LCookie={
	load : function() {
				this.cookieArr = new Array();
				var cookies=document.cookie;
				var cookieRegEx=/\w+=[^;]+/g;
				var matchs=cookies.match(cookieRegEx);
					
				for (var i=0; matchs && i<matchs.length; i++)
				{
					var arr=matchs[i].split('=');
					this.cookieArr[arr[0]]=arr[1];
				}
			},
	get : function(name){
			if(this.cookieArr[name] == 'undefined')
			{
				 return null;
			}		
			else
			{
				 return this.cookieArr[name];
			}
		  }
}

