var tssWinRef = null;
function openTSSUrl(tssUrl, event) {
  if (event && (event.shiftKey || event.ctrlKey)) { 
    return true;
  }
  if (tssWinRef == null || tssWinRef.closed) {
    tssWinRef = window.open(tssUrl, 'tf_buyWin',
     'left=20,top=20,titlebar=1,status=1,' +
     'location=1,menubar=1,toolbar=1,scrollbars=1,resizable=1'
    );
  } else {
    tssWinRef.location = tssUrl;
  }
  if (tssWinRef) {
    tssWinRef.focus();
    return false;
  }
  return true;
}
function callFormValidation(form) {
 if (validateForm(form,0,0,0,0)){
  form.submit();
 }
}