function help(string, show, win) {

	//we always want to show the help message
	show = 1;

	if(getCookie('help_on') == 1 || show == 1) {
    	moveLayerToCursor('help');
    	writeLayer('helptext', string, win);
    	showLayer('help', 1, win);
    }
}

function info(what) {
	
	
	if(what == 'login') {
	    return 'Die lastganggemessenen Kunden haben die Möglichkeit den Zählerstand sowie das Lastprofil über den Kunden-Login abzufragen.';
	}
	
	
	
	var def = 'Leider haben wir keine weitere Information für : ' . what;;
	
	return def;
}

function showHelpCursor() {
    document.body.style.cursor = "help";
}

function turn_help_on_off(cookie_dir) {
    show_help = getCookie('help_on');

    if(show_help == 1) {
        setCookie('help_on', 0, 0, cookie_dir);
    } else  {
        setCookie('help_on', 1, 0, cookie_dir);
    }
    
    return 1;
}

