function OpenWindow(windowURL,w,h)
{ 
h = h+30;
w = w+20;

var strOpt="height="+h+",width="+w+",location=no,menubar=no,personalbar=no,resizable=no,scrollbars=no,status=no,toolbar=no"; 
closeup = window.open(windowURL,"newwindow",strOpt);  
closeup.focus();
}

function pass_deferred(){
  document.ccform.deferred.value = document.ccform.determine_deferred_status.options[document.ccform.determine_deferred_status.selectedIndex].value;
  if(document.ccform.deferred.value == "true"){
    document.ccform.order.value = "delimit=;,=*;prod=£1 debit,item_amount=1.00*1";
    document.ccform.amount.value = "1.00";
  }
} 

function disable_vatid_value() { 
this.window.document.registerform.vatid.disabled = true;
this.window.document.registerform.vatid.value = "N/A";
}

function help_vatid_value() { 
this.window.document.registerform.vatid.disabled = true;
this.window.document.registerform.vatid.value = "Save country value first";
}  