// JavaScript Document
  function doQuickX(f) {
    f.sym.value = f.sym.value.replace(' ', '');
    if (f.sym.value.length == 0) {
      alert('Please enter a symbol.');
      return false;
    }

    var what = 'quote';
    for (var i = 0; i < f.what.length; i++) {
      if (f.what[i].checked)
        what = f.what[i].value;
    }

    // The following line may need to be edited, to reflect the proper
    // page on your server server .....
    var u = 'http://myfuturesonline.com/quotesandcharts/index.php?option=barcharts';
				   // Edit this line. Add in the page that
                                   // includes the master.js script. For example,
                                   // if that page is called http://www.mysite.com/abc.html,
                                   // then the line should be:
                                   // var u = 'http://www.mysite.com/abc.html?sym=' + f.sym.value

    if (what == 'quote') {
      if (isNaN(parseInt(f.sym.value.substring(f.sym.value.length - 1, f.sym.value.length)))) {
        u = u + '&page=quote' + '&sym=' + f.sym.value;
      }
      else {
        u = u + '&page=quote2' + '&sym=' + f.sym.value;
      }
    }
    else if (what == 'chart')
      u = u + '&page=chart' + '&sym=' + f.sym.value;
    else if (what == 'option')
      u = u + '&page=optqte&mode=i' + '&sym=' + f.sym.value;
    else if (what == 'techrept') {
      if(f.sym.value.length < 4) { alert("For Techicals symbol must be four characters long"); return false; }
      else                       { u = u + '&page=techrept' + '&sym=' + f.sym.value;  }
    }

// The next two lines are important since here you can choose to have the answer page, that being either chart,
// quote, options, or technical page open in a new pop-up browser or have the page open in the current window.
// The default is set to pop-up window !!!!!

//  window.open(u);

    document.location = u;
    return false;
  }