//Example:
//alert(readCookie("myCookie"));
	function readCookie_sheng_value(sheng)
	{
		var cookieValue = "";
		var search = sheng + "=";
		if(document.cookie.length > 0)
		{ 
			offset = document.cookie.indexOf(search);
			if (offset != -1)
			{ 
				offset += search.length;
				end = document.cookie.indexOf(";", offset);
				if (end == -1) end = document.cookie.length;
					cookieValue = unescape(document.cookie.substring(offset, end))
			}
		}
		return cookieValue;
	}
	function readCookie_sheng_text(sheng)
	{
		var cookieValue = "";
		var search = sheng + "=";
		if(document.cookie.length > 0)
		{ 
			offset = document.cookie.indexOf(search);
			if (offset != -1)
			{ 
				offset += search.length;
				end = document.cookie.indexOf(";", offset);
				if (end == -1) end = document.cookie.length;
					cookieValue = unescape(document.cookie.substring(offset, end))
			}
		}
		return cookieValue;
	}	
	// Example:
	// writeCookie("myCookie", "my name", 24);
	// Stores the string "my name" in the cookie "myCookie" which expires after 24 hours.
	function writeCookie_sheng_value(value)
	{
		var expire = "";
		var hours=365
		if(hours != null)
		{
			expire = new Date((new Date()).getTime() + hours * 3600000);
			expire = "; expires=" + expire.toGMTString();
		}
		document.cookie = "sheng_value" + "=" + escape(value) + expire;
	}
	//writeCookie_sheng("sheng","Υγ½­",24)
	function writeCookie_sheng_text(value)
	{
		var expire = "";
		var hours=365
		if(hours != null)
		{
			expire = new Date((new Date()).getTime() + hours * 3600000);
			expire = "; expires=" + expire.toGMTString();
		}
		document.cookie = "sheng_text" + "=" + escape(value) + expire;
	}
	
		function readCookie_shi_value(shi)
	{
		var cookieValue = "";
		var search = shi + "=";
		if(document.cookie.length > 0)
		{ 
			offset = document.cookie.indexOf(search);
			if (offset != -1)
			{ 
				offset += search.length;
				end = document.cookie.indexOf(";", offset);
				if (end == -1) end = document.cookie.length;
					cookieValue = unescape(document.cookie.substring(offset, end))
			}
		}
		return cookieValue;
	}
	function readCookie_shi_text(shi)
	{
		var cookieValue = "";
		var search = shi + "=";
		if(document.cookie.length > 0)
		{ 
			offset = document.cookie.indexOf(search);
			if (offset != -1)
			{ 
				offset += search.length;
				end = document.cookie.indexOf(";", offset);
				if (end == -1) end = document.cookie.length;
					cookieValue = unescape(document.cookie.substring(offset, end))
			}
		}
		return cookieValue;
	}	
	// Example:
	// writeCookie("myCookie", "my name", 24);
	// Stores the string "my name" in the cookie "myCookie" which expires after 24 hours.
	function writeCookie_shi_value(value)
	{
		var expire = "";
		var hours=365
		if(hours != null)
		{
			expire = new Date((new Date()).getTime() + hours * 3600000);
			expire = "; expires=" + expire.toGMTString();
		}
		document.cookie = "shi_value" + "=" + escape(value) + expire;
	}
	//writeCookie_shi("shi","Υγ½­",24)
	function writeCookie_shi_text(value)
	{
		var expire = "";
		var hours=365
		if(hours != null)
		{
			expire = new Date((new Date()).getTime() + hours * 3600000);
			expire = "; expires=" + expire.toGMTString();
		}
		document.cookie = "shi_text" + "=" + escape(value) + expire;
	}



