	function show_LogIn() {
	//window.alert(document.getElementById('NavLinks_Content').style.width);
		if (document.getElementById('NavLinks_Content').style.width != '160px' ) {
			new Effect.Morph('NavLinks_Content',{style:{ width:'160px'},duration:0.7,transition: Effect.Transitions.sinoidal}); 
			show_statusLamp();
			return false;
		} else {
			new Effect.Morph('NavLinks_Content',{style:{ width:'0px'},duration:0.4,transition: Effect.Transitions.sinoidal}); 
			Effect.Fade('CB_status_lamp','appear',{duration:0.3});
			return false;
		}
	}

	function show_statusLamp() {
			Effect.Appear('CB_status_lamp',{duration:0.2});
	}
	function fade_statusLamp() {
		if (document.getElementById('NavLinks_Content').style.width == '0px' || document.getElementById('NavLinks_Content').style.width == '' ) {
			Effect.Fade('CB_status_lamp',{duration:0.1});
		}
	}
	function toggle_lg_btn() {
		Effect.toggle('l_submit_btn','Appear',{duration:0.08});
	}	
	
	function remember_login() {
		if (document.getElementById('cb_cookieuser_navbar').checked == false) {
			//Effect.Appear('check_remember',{duration:0.1});
			document.getElementById('check_remember').style.display = 'block';
			document.getElementById('cb_cookieuser_navbar').checked = true;
		} else {
			//Effect.Fade('check_remember',{duration:0.1});
			document.getElementById('check_remember').style.display = 'none';
			document.getElementById('cb_cookieuser_navbar').checked = false;
		}
	}

	function hideLabel(l) {
		if (l=="name") {
			new Effect.Morph('NavLinks_Content',{style:{ width:'160px'},duration:0.7,transition: Effect.Transitions.sinoidal}); 
			show_statusLamp();
		}
		
		label = "CB_label_"+l;
		Effect.Fade(label,{duration:0.2});
		
		textfield = "login_"+l;
		document.getElementById(textfield).focus();
		
	}
	
	function showLabel(l) {
		textfield = "login_"+l;
		if (document.getElementById(textfield).value == "") {
			label = "CB_label_"+l;
			Effect.Appear(label,{duration:0.5});
		}
	}