function mzSelectAllCheckboxes(pForm,pAllElement)
{
    for(i=0;i<document.forms[pForm].elements.length;i++)
    {
        if (document.forms[pForm].elements[i]!=pAllElement)
            document.forms[pForm].elements[i].checked=pAllElement.checked;
    }
}

function mzDialogAskForm(pText, pForm, pHptFrame)
{
    Check = confirm(pText);
    if (Check == true)
    {
        if (document.forms[pForm].AKTION.options[document.forms[pForm].AKTION.options.selectedIndex].value == "CALENDAR")
            submitFormFrame(pForm, 'include/calendarMake.php', '_top')
        else
            submitFormFrame(pForm, pHptFrame, '_top')
    }
}


