
function confirmLink(theLink, confirmMsg)
{
    var is_confirmed = confirm(confirmMsg);
    if (is_confirmed) 
	  {
        theLink.href += '&is_js_confirmed=true';
    }
    return is_confirmed;
}
function set_votingresult_gallery(voting) {
	window.document.votingform.votingresult_gallery.value = voting;
}
function checkvoteingform(voting) {
	window.document.votingform.votingresult_bike.value = voting;
	if ((window.document.votingform.votingresult_gallery.value>=1) && (window.document.votingform.votingresult_gallery.value<=12)) {
		window.document.votingform.submit();
		return true;
	}
	else {
		window.document.votingform.reset();
		alert ("Bitte zunächst die Galerie bewerten!");
		return false;
	}
}
