function loadColor(){

	if(readCookie('color'))
		document.getElementById('content').style.backgroundColor = '#'+readCookie('color');

}


function changeColor(color){

	document.getElementById('content').style.backgroundColor = '#'+color;
	
	document.cookie = 'color='+color+'; expires=Mon, 18-Feb-2036 05:43:38 GMT; path=/';

}

function readCookie(cookieName) {

	var theCookie=""+document.cookie;
	var ind=theCookie.indexOf(cookieName);
	if (ind==-1 || cookieName=="") return ""; 
	var ind1=theCookie.indexOf(';',ind);
	if (ind1==-1) ind1=theCookie.length; 
	return unescape(theCookie.substring(ind+cookieName.length+1,ind1));
 
}