	function QuickSaveCookie(sName,sValue,sPath)
	{	
		var sCookie;
					
		sCookie = sName + "=" + sValue + ";path=" + sPath
		document.cookie = sCookie;
		return true;
	}
	
	function SaveCookie(sName,sValue,sPath,sDomain,sSecure,sExpireDate)
	{	
		var sCookie;
					
		sCookie = sName + "=" + sValue + ";path=" + sPath + ";domain=" + sDomain + ";secure=" + sSecure + ";expires=" + sExpireDate + ";"
		document.cookie = sCookie;
		return true;
	}
			
	function RemoveCookie(sDocument,sPath,sVersion,sName,sValue)
	{	
		var sCookie;
					
		sCookie = sName + "=" + sValue + ";path=" + sPath + ";domain=" + sDomain + ";secure=" + sSecure + ";expires='Fri. 02-Jan-1970 00:00:00 GMT';"
		document.cookie = sCookie;
		return true;
	}
		
	function GetCookieParameter(sName)
	{
		var sValues;
		var sTempVal;
		var iValIndex;
		var iIndex;
		var asValues;
		
		sValues = this.document.cookie;
		
		asValues = sValues.split(';');
		for(iIndex in asValues)
		{			
			if( asValues[iIndex].indexOf(sName + '=') == -1)
			{
				// We do nothing
			}
			else
			{
				//alert(sName);
				iValIndex = asValues[iIndex].indexOf('=');
				//alert(iValIndex);
				return asValues[iIndex].substring(iValIndex+1,asValues[iIndex].length);
			}
		
		}		
		return "false";
	}
		
	function ReturnAllCookieValues()
	{
		var sValues;
		
		sValues = document.cookie;
		
		return sValues;
	}
	
	function IsCookieExpired()
	{
		var sValue;
		var sAllCookies;
		var sTemp;
		
		sAllCookies = this.document.cookie;
		
		//sTemp = sAllCookies.split(':');
		
		//if(sAllCookies == "") return false;
		
		//sValue = sAllCookies;
		
		//alert(sValue);
		return true;
	}
	