
document.write("<div id=\"cancel_form\" style=\"display:none\">");
document.write("<table width=\"300\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"list2\">");
document.write("  <tr>");
document.write("    <td width=\"65\" align=\"center\" valign=\"middle\"><img src=\"..\/images\/question_mark_blue.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td width=\"225\" align=\"center\"><p>");
document.write("      <label class=\"label_std\">This will end the wizard.<\/label><br \/>");
document.write("      <label class=\"label_std\">Data you entered will not be saved!<\/label><br \/>");
document.write("      <label class=\"label_std\">Continue to close the wizard?<\/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; MM_goToURL('parent',_referpage);return document.MM_returnValue\" value=\"Yes\"  \/>");
document.write("      <input name=\"button\" type=\"button\" class=\"imagebutton\" id=\"button\" onClick=\"parent.cancelwindow.hide()\"  value=\"No\" \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");

document.write("<div id=\"cancel_form2\" style=\"display:none\">");
document.write("<table width=\"300\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"list2\">");
document.write("  <tr>");
document.write("    <td width=\"65\" align=\"center\" valign=\"middle\"><img src=\"..\/images\/question_mark_blue.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td width=\"225\" align=\"center\"><p>");
document.write("      <label class=\"label_std\">Do you want to stop <\/label><br \/>");
document.write("      <label class=\"label_std\">with the stock count?<\/label><br \/>");
document.write("      <label class=\"label_std\"><\/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; MM_goToURL('parent',_referpage);return document.MM_returnValue\" value=\"Yes\"  \/>");
document.write("      <input name=\"button\" type=\"button\" class=\"imagebutton\" id=\"button\" onClick=\"parent.cancelwindow2.hide()\"  value=\"No\" \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");

document.write("<div id=\"cancel_form3\" 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_blue.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td width=\"350\" align=\"center\"><p>");
document.write("      <label class=\"label_std\">If you close this window, the changes you <\/label><br \/>");
document.write("      <label class=\"label_std\">made will not be saved.<\/label><br \/><br \/>");
document.write("      <label class=\"label_std\">Do you want to continue to close this window?<\/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; MM_goToURL('parent',_referpage);return document.MM_returnValue\" value=\"Yes\"  \/>");
document.write("      <input name=\"button\" type=\"button\" class=\"imagebutton\" id=\"button\" onClick=\"parent.cancelwindow3.hide()\"  value=\"No\" \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");

/* alert message on deleting preset lists */
document.write("<div id=\"cancel_form4\" 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_blue.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td  align=\"center\"><p>");
document.write("      <label class=\"label_std\">Do you want to cancel to receive this order?<\/label><br \/>");
document.write("      <label class=\"label_std\">You can always receive this order later.<\/label><br \/>");
document.write("      <label class=\"label_std\">Do you want to continue to cancel?<\/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; MM_goToURL('parent',_referpage);return document.MM_returnValue\" value=\"Yes\"  \/>");
document.write("      <input name=\"button\" type=\"button\" class=\"imagebutton\" id=\"button\" onClick=\"parent.cancelwindow4.hide()\"  value=\"No\" \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");

/* alert message on purchase orders authorisation */
document.write("<div id=\"cancel_form5\" 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_blue.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td  align=\"center\"><p>");
document.write("      <label class=\"label_std\">Do you want to cancel the delivery?<\/label><br \/>");
document.write("      <label class=\"label_std\">You can always do the delivery later.<\/label><br \/>");
document.write("      <label class=\"label_std\">Do you want to continue to cancel?<\/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; MM_goToURL('parent',_referpage);return document.MM_returnValue\" value=\"Yes\"  \/>");
document.write("      <input name=\"button\" type=\"button\" class=\"imagebutton\" id=\"button\" onClick=\"parent.cancelwindow5.hide()\"  value=\"No\" \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");

/* alert message on purchase orders authorisation */
document.write("<div id=\"cancel_form6\" 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_blue.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td  align=\"center\"><p>");
document.write("      <label class=\"label_std\">Do you want to cancel this order?<\/label><br \/>");
document.write("      <label class=\"label_std\">If you cancel this order, the quote remains with the status 'pending'.<\/label><br \/>");
document.write("      <label class=\"label_std\">Do you want to continue?<\/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; MM_goToURL('parent',_referpage);return document.MM_returnValue\" value=\"Yes\"  \/>");
document.write("      <input name=\"button\" type=\"button\" class=\"imagebutton\" id=\"button\" onClick=\"parent.cancelwindow6.hide()\"  value=\"No\" \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");

document.write("<div id=\"cancel_form7\" 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\/info_blue.png\" width=\"64\" height=\"64\" \/><br \/>");
document.write("      <\/td>");
document.write("    <td width=\"350\" align=\"center\"><p>");
document.write("      <label class=\"label_std\">The changes you made are not saved and will<\/label><br \/>");
document.write("      <label class=\"label_std\">only be for this report display only.<\/label><br \/><br \/>");
document.write("      <label class=\"label_std\">This window will close shortly<\/label><br \/>");
document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table>");
document.write("<\/div>");



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

if (_text==1) {
//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('cancelwindow', 'div', 'cancel_form', '', 'width=350px,height=150px,center=1,resize=0,scrolling=1')
}

if (_text==2) {
//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('cancelwindow2', 'div', 'cancel_form2', '', 'width=350px,height=150px,center=1,resize=0,scrolling=1')
}

if (_text==3) {
//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('cancelwindow3', 'div', 'cancel_form3', '', 'width=450px,height=175px,center=1,resize=0,scrolling=1')
}

if (_text==4) {
//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('cancelwindow4', 'div', 'cancel_form4', '', 'width=400px,height=150px,center=1,resize=0,scrolling=1')
}

if (_text==5) {
//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('cancelwindow5', 'div', 'cancel_form5', '', 'width=400px,height=150px,center=1,resize=0,scrolling=1')
}

if (_text==6) {
//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('cancelwindow6', 'div', 'cancel_form6', '', 'width=420px,height=170px,center=1,resize=0,scrolling=1')
}

if (_text==7) {
//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('cancelwindow7', 'div', 'cancel_form7', '', 'width=420px,height=170px,center=1,resize=0,scrolling=1')
}

}

