<!--

function processForm( button_id, change_to ) {
  button = document.getElementById( button_id );
  button.disabled = true;
  button.value = '  ' + ( (typeof change_to == 'undefined' ) ? 'Processing ...' : change_to ) + '  ';
  //return true;
}

function popUpWindow( URL, params ) {
  day = new Date();
  id = day.getTime();
  eval( "page" + id + " = window.open( URL, '" + id + "', params );" );
}

function currencyPopUp ( amount, target_currency ) {
  popUpWindow( '/site/currency_info.lasso?amount=' + amount + '&target_currency=' + target_currency, 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=160,left=620,top=375' );
}

function calendarPopUp ( auction_id ) {
  popUpWindow( 'auction_details.lasso?id=' + auction_id, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=380,left=180,top=100' );
}

function helpPopUp ( id ) {
  if ( isNaN( id ) ) {
    popUpWindow( '/help/', 'toolbar=0, scrollbars=1, location=0, statusbar=0, menubar=0, resizable=0, width=450, height=400, left=180, top=100' );
  }
  else {
    popUpWindow( '/help/article.lasso?id=' + id, 'toolbar=0, scrollbars=1, location=0, statusbar=0, menubar=0, resizable=0, width=450, height=400, left=180, top=100' );
  }
}

function searchTipsWindow () {
  helpPopUp( 1 );
}

-->