/ Show DIV
// SetCookie - Quickly sets a cookie which will last until the user shuts down his browser	
	function SetCookie(name, value){
		document.cookie = name + "=" + escape(value);
		}

// GetCookie - Returns the value of the specified cookie or null if the cookie doesn't exist	
function GetCookie(name)
{
  var result = null;
  myCookie = " " + document.cookie + ";";
  var searchName = " " + name + "=";
  var startOfCookie = myCookie.indexOf(searchName);
  var endOfCookie;
  if (startOfCookie != -1)
  {
    startOfCookie += searchName.length;
    // skip past cookie name
    endOfCookie = myCookie.indexOf(";", startOfCookie);
    result = unescape(myCookie.substring(startOfCookie,endOfCookie));
  }
  return result;
}

function DivClick(){
	
	SetCookie(cookiename, cookievalue);
	DivDisplay();

	
}

function DivDisplay(){

	if ((GetCookie(cookiename))!= null) {
		if (document.getElementById("alert").style.display = 'block')document.getElementById("alert").style.display = 'none';
		document.getElementById("design").style.display = 'block';
	}else{
		if (document.getElementById("alert").style.display = 'none')document.getElementById("alert").style.display = 'block';
		document.getElementById("design").style.display = 'none';
		}

}