function getcookie(CookieName){ 
	CookieName += '=';
	cookiestr = document.cookie + ';';
	checkstart = cookiestr.indexOf(CookieName)
	if (document.cookie.length>0) {
    	if (checkstart != -1){
			checkend = cookiestr.indexOf(";",checkstart);
			return unescape(cookiestr.substring(checkstart + CookieName.length , checkend));
		}
	}
	return false;  
}
function insertCookie( cnstr )
{
	document.cookie = cnstr + '=close;expires=Thu, 1-Jan-2030 00:00:00 GMT;path=/';

}


