

/* alert message on purchase orders authorisation */
document.write("<div id=\"cancel_form10\" style=\"display:none\">");
document.write("<table  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"list2\">");
document.write("  <tr>");
document.write("    <td  align=\"center\" valign=\"middle\"><img src=\"..\/images\/question_mark_green.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td  align=\"center\"><p>");
document.write("      <label class=\"label_std\">You have set all employees to the status `Present` but some might have been late or absent.<\/label><br \/>");
document.write("      <label class=\"label_std\">You should change the status of those employees before saving the list.<\/label><br \/>");
document.write("      <label class=\"label_std\">You can save the form now or return to the form to make changes.<\/label><br \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("  <tr>");
document.write("    <td height=\"45\" colspan=\"2\" align=\"center\"><br \/>");
document.write("      <input name=\"input\" type=\"submit\" class=\"imagebutton\" onClick=\" needToConfirm = false; document.getElementById('form1').submit(); \" value=\"Continue to save\"  \/>");
document.write("      <input name=\"button\" type=\"button\" class=\"imagebutton\" id=\"button\" onClick=\"parent.cancelwindow10.hide()\"  value=\"Return to form\" \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");

function cancel_confirmation(text, referpage){
_text = text;	
_referpage = referpage;



if (_text==10) {
//Open a modal window populated with the contents of a hidden DIV, and assign the result to a global variable called "cancelwindow"
cancelwindow=dhtmlmodal.open('cancelwindow10', 'div', 'cancel_form10', '', 'width=500px,height=200px,center=1,resize=0,scrolling=1')
}
}

