function groupChecked ( Form, GroupId ) {

    var isChecked = false, Element;
    for ( ElementId = 0; ElementId < Form.elements.length; ElementId++ ) {

        // Retrieve the element
        Element = Form.elements[ ElementId ];

        // Check to see if its a checkbox, if not then skip
        if ( Element.type != 'checkbox' || Element.id != GroupId ) continue;

        // Otherwise check to see if is checked
        if ( Element.checked ) {

            // Set the isChecked flag and exit the loop
            isChecked = true;
            break;
        }

    }

    return isChecked;
}

function formCheck(form)
{
    var jserror="";


        if (form.security_code.value=="")
            jserror+="=>Please enter the security code \r\n";
         

       if (jserror)
            {
                    alert(jserror);
                    return false;
            }
}


	

