

function regError(msg)
{
  alert(msg);
}

function sendError(diagnostics, query_string)
{
  var oRPC = new jsRPC('request_err2.cfm?diagnostics=' + escape(diagnostics) + '&qs=' + escape(query_string));
  oRPC.execute();
}



  	  function loadPage(page) {
        var oRPC = new jsRPC();
        if (page.indexOf('?') != -1)
          oRPC.href = '/' + page + '&html_load=1';
        else
          oRPC.href = '/' + page + '/?html_load=1';
        oRPC.execute();    
  	  }
      
      function onHTMLLoader_load(href)
      {

      }
      
      
function rotateQuotes()
{
}

  var quote_ss = null;
  var quoteOpen = false;
  
  function openQuote()
  {
    if (!quote_ss) return false;
    if (quoteOpen) return;
    quote_ss.endValue = 37;
    quote_ss.startValue = 0;
    quote_ss.startSlide();
    quoteOpen = true;
  }
  
  function closeQuote()
  {
    if (!quote_ss) return false;
    if (!quoteOpen) return;
    quote_ss.endValue = 0;
    quote_ss.startValue = 37;
    quote_ss.startSlide();
    quoteOpen = false;
  }
  
  function toggleQuote()
  {
    if (!quote_ss) return false;
    if (quoteOpen) closeQuote();
      else openQuote();
  }
  
  function prepQuote()
  {
    quote_ss = new StyleSlider('quote-box', 'height');
    quote_ss.slideMode = 'easeOut';
    quote_ss.length = 300;
    quote_ss.steps = 20;
  }
  
  function handleSubmitQuote()
  {
  }