function onfocus_login_password(){

	document.getElementById('input_login_password_1').style.display = 'none';
	document.getElementById('input_login_password_2').style.display = 'inline';
	document.getElementById('input_login_password_2').focus();

}

function onmouseover_choice_be_fr(){
	document.getElementById('choice_be_fr').style.display = 'none';
	document.getElementById('choice_be_fr_ro').style.display = 'inline';
}

function onmouseover_choice_be_nl(){
	document.getElementById('choice_be_nl').style.display = 'none';
	document.getElementById('choice_be_nl_ro').style.display = 'inline';
}

function onmouseover_choice_nl_nl(){
	document.getElementById('choice_nl_nl').style.display = 'none';
	document.getElementById('choice_nl_nl_ro').style.display = 'inline';
}

function onmouseout_choice_be_fr(){
	document.getElementById('choice_be_fr_ro').style.display = 'none';	
	document.getElementById('choice_be_fr').style.display = 'inline';
}

function onmouseout_choice_be_nl(){
	document.getElementById('choice_be_nl_ro').style.display = 'none';
	document.getElementById('choice_be_nl').style.display = 'inline';	
}

function onmouseout_choice_nl_nl(){
	document.getElementById('choice_nl_nl_ro').style.display = 'none';
	document.getElementById('choice_nl_nl').style.display = 'inline';	
}

function show_inline_help(inline_help_id){

	document.getElementById(inline_help_id).style.display = 'block';
    document.getElementById('inline_help_helper').style.width = document.getElementById(inline_help_id).offsetWidth;
    document.getElementById('inline_help_helper').style.height = document.getElementById(inline_help_id).offsetHeight;
    document.getElementById('inline_help_helper').style.top = document.getElementById(inline_help_id).offsetTop;
    document.getElementById('inline_help_helper').style.left = document.getElementById(inline_help_id).offsetLeft;
    document.getElementById('inline_help_helper').style.zIndex = document.getElementById(inline_help_id).style.zIndex - 1;
    document.getElementById('inline_help_helper').style.display = "block";
	
}

function hide_inline_help(inline_help_id){
	document.getElementById(inline_help_id).style.display = 'none';
	document.getElementById('inline_help_helper').style.display = 'none';

}

function onchange_finished_sel(){
	document.location = 'admin_msg.phpp?finished=' + document.getElementById('finished_sel').selectedIndex;

}

function content_form_cancel(){
	var delete_confirmed = window.confirm('Bent u zeker dat u de eventuele wijzigingen niet wil opslaan?');
	if (delete_confirmed){
		window.close();
	}
}

function content_form_delete(){
	var delete_confirmed = window.confirm('Bent u zeker dat u deze pagina wil verwijderen?');
	if (delete_confirmed){
		document.location = 'admin_content_delete.phpp?content_id=' + document.getElementById('content_id_hi').value;
	}

}

function content_form_copy(){
	var delete_confirmed = window.confirm('Bent u zeker dat u deze pagina naar "nieuwe producten" wil kopiëren?');
	if (delete_confirmed){
		document.location = 'admin_content_copy.phpp?content_id=' + document.getElementById('content_id_hi').value;
	}

}

function content_form_duplicate(){
	var delete_confirmed = window.confirm('Bent u zeker dat u deze pagina wil kopiëren?');
	if (delete_confirmed){
		document.location = 'admin_content_duplicate.phpp?content_id=' + document.getElementById('content_id_hi').value;
	}

}
