function doDelete(question,delId,type) {
  if(confirm(question)) {
	  document.open();
	  document.write("<SCRIPT LANGUAGE='JavaScript' SRC='delete.php?delId=" + delId + "&type=" + type + "' TYPE='text/javascript'><\/SCRIPT>");
	  document.close();
  }
}

function doDelete2(question,delId,thistype,thisid,type) {
  if(confirm(question)) {
	  document.open();
	  document.write("<SCRIPT LANGUAGE='JavaScript' SRC='delete.php?delId=" + delId + "&thistype=" + thistype + "&thisid=" + thisid + "&type=" + type + "' TYPE='text/javascript'><\/SCRIPT>");
	  document.close();
  }
}

function doDelete3(question,delId,type,order) {
  if(confirm(question)) {
          document.open();
          document.write("<SCRIPT LANGUAGE='JavaScript' SRC='delete.php?delId=" + delId + "&type=" + type + "&order=" + order + "' TYPE='text/javascript'><\/SCRIPT>");
          document.close();
  }
}
