<script type="text/javascript">
<!--
var DataFormChanged=0;
function input_changed(){
DataFormChanged=1;
}
function cancel_form(loc){
if (DataFormChanged){
if (confirm('`There are unsaved changes. Do you really want to Cancel editing the Form?`')){
window.location=loc;
}
} else {
window.location=loc;
}
return false;
}
function PopUpHelp(hcode, is_preview){
var aurl='', aname='';
if (is_preview) {
aurl='&isPreview=1';
aname='preview';
}
helpwin = window.open('<~ROOT_URL>/php/help.php?hcode='+hcode+aurl,'help'+aname,'WIDTH=600,HEIGHT=550,resizable=yes,scrollbars=yes,status=yes');
return false;
}
//-->
</script>