document.write('<div class="fcsnapshot" style="width: 300px;">\n');
document.write('<div>\n');
document.write('<div class="getquote1" style="text-align: left;">\n');
document.write(' <div class="search">\n');
document.write('  <form method="get" action="http:\/\/markets.buffalonews.com\/buffnews\/quote" onsubmit="document.widget_324762.submit(); return false;">\n');
document.write('   <input type="text"\n');
document.write('    class="ticker"\n');
document.write('    onblur="document.widget_324762.close()" \n');
document.write('    onmouseover="document.widget_324762.search_close=false" \n');
document.write('    autocomplete="off" \n');
document.write('    onkeyup="document.widget_324762.update()" \n');
document.write('    onkeypress="document.widget_324762.keyPress(event)"\n');
document.write('    onclick="this.isValid = 1; this.value = \'\'"\n');
document.write('    value="Enter Symbol or Company" \n');
document.write('    name="Symbol"\n');
document.write('    id="widget_324762_input" \n');
document.write('   \/>\n');
document.write('   <div class="go" onclick="this.parentNode.submit()">Get Quote<\/div>\n');
document.write('  <\/form>\n');
document.write(' <\/div>\n');
document.write(' <div onmouseover="widget_324762.search_close=false" onmouseout="widget_324762.close()" class="dropdown" id="widget_324762_dropdown" style="display:none;"><\/div>\n');
document.write('<\/div>\n');
document.write('<scr'+'ipt>\n');
document.write(' function getquote1() {\n');
document.write('  this.inputEl = document.getElementById(\'widget_324762_input\');\n');
document.write('  this.dropdownEl = document.getElementById(\'widget_324762_dropdown\');\n');
document.write(' \n');
document.write('  this.myQuotes = new Array();\n');
document.write('  this.search_header = \'<table cellpadding="0" cellspacing="0" border="0" width="100%">\';\n');
document.write('  this.search_footer = \'<\/table>\';\n');
document.write('  this.search_close   = false;\n');
document.write('  this.search_timer = null;\n');
document.write('  this.search_name = null;\n');
document.write('\n');
document.write('\n');
document.write('  this.headTag       = document.getElementsByTagName("head").item(0);\n');
document.write('\n');
document.write('  this.submit = function() {\n');
document.write('   this.search_close = true;\n');
document.write('   this.closeReal();\n');
document.write('   this.getQuote(this.inputEl.value);\n');
document.write('  };\n');
document.write('\n');
document.write('  this.close = function() {\n');
document.write('   this.search_close = true;\n');
document.write('   setTimeout("document.widget_324762.closeReal()",500);\n');
document.write('  };\n');
document.write('  \n');
document.write('  this.closeReal = function() {\n');
document.write('   if (this.search_close == true) {\n');
document.write('    this.dropdownEl.style.display = \'none\';\n');
document.write('   }\n');
document.write('  };\n');
document.write('  \n');
document.write('  this.keyPress = function(e) {\n');
document.write('   var key = e.keyCode || e.charCode;\n');
document.write('   if (key == 13) {\n');
document.write('    document.widget_324762.getQuote(this.inputEl.value);\n');
document.write('   } \n');
document.write('  };\n');
document.write('\n');
document.write('  this.update = function() {\n');
document.write('   this.search_name = this.inputEl.value = this.inputEl.value.toUpperCase();\n');
document.write('   if (this.search_timer == null) {\n');
document.write('    this.search_timer = setTimeout("document.widget_324762.updateReal()",200);\n');
document.write('   }\n');
document.write('  };\n');
document.write(' \n');
document.write('  this.updateReal = function() {\n');
document.write('   clearTimeout(this.search_timer);\n');
document.write('   this.search_timer = null;\n');
document.write('   this.dropdownEl.style.display = \'block\';\n');
document.write('   var url = \'http:\/\/feeds.financialcontent.com\/JSQuote?Account=buffnews&Callback=document.widget_324762.dataCallback&GetName=\' + this.inputEl.value;\n');
document.write('\n');
document.write('   var scr'+'iptTag     = document.createElement("scr'+'ipt");\n');
document.write('       scr'+'iptTag.src = \'http:\/\/feeds.financialcontent.com\/JSQuote?Account=buffnews&Callback=document.widget_324762.dataCallback&GetName=\' + this.inputEl.value;\n');
document.write('   this.headTag.appendChild( scr'+'iptTag );\n');
document.write('  };\n');
document.write('\n');
document.write('  this.dataCallback = function(quotes) {\n');
document.write('   this.myQuotes = quotes;\n');
document.write('   this.redrawSymbolLookup();\n');
document.write('  };\n');
document.write(' \n');
document.write('  this.redrawSymbolLookup = function() {\n');
document.write('   var HTML = this.search_header;\n');
document.write('   var search_regex = new RegExp("(" + this.search_name + ")","i");\n');
document.write('   for (var key in this.myQuotes) {\n');
document.write('    var quote = this.myQuotes[key];\n');
document.write('    quote[\'Name\'] = quote[\'Name\'].replace(search_regex,"<b>$1<\/b>");\n');
document.write('    quote[\'SymbolID\'] = quote[\'ExchangeCode\'] + \':\' + quote[\'Valoren\'];\n');
document.write('    quote[\'DisplayTicker\'] = quote[\'Ticker\'].replace(search_regex,"<b>$1<\/b>");\n');
document.write('    HTML += this.getRowHTML(quote);\n');
document.write('   }\n');
document.write('   HTML += this.search_footer;\n');
document.write('   this.dropdownEl.innerHTML = HTML;\n');
document.write('  };\n');
document.write('  \n');
document.write('  this.getQuote = function(symbol) {\n');
document.write('   if (this.inputEl.isValid) {\n');
document.write('    top.location.href = \'http:\/\/markets.buffalonews.com\/buffnews\/quote\' + \'?Symbol=\' + symbol;\n');
document.write('   }\n');
document.write('  };\n');
document.write('\n');
document.write('  this.getRowHTML = function(quote) {\n');
document.write('   return \'<tr onclick=\\"document.widget_324762.getQuote(\\\'\' + quote[\'SymbolID\'] + \'\\\')\\">\' + \n');
document.write('          \'<td class="ticker">\' + quote[\'DisplayTicker\'] + \'<\/td>\' +\n');
document.write('          \'<td class="name">\' + quote[\'Name\'] + \'<\/td>\' +\n');
document.write('          \'<\/tr>\';\n');
document.write('  };\n');
document.write(' }\n');
document.write('\n');
document.write(' document.widget_324762 = new getquote1();\n');
document.write('<\/scr'+'ipt>\n');
document.write('<style type="text\/css">@import url(http:\/\/markets.buffalonews.com\/widget\/investcenter-nonfree\/getquote\/getquote1.css);<\/style><style type="text\/css">@import url(http:\/\/markets.buffalonews.com\/client\/buffnews\/widget.css);<\/style><style type="text\/css">@import url(http:\/\/markets.buffalonews.com\/client\/buffnews\/buffnews\/widget.css);<\/style>\n');
document.write('<\/div>\n');
document.write('<div style="padding-top: 8px; padding-bottom: 5px;">\n');
document.write(' <div class="widget-snapshot2">\n');
document.write('\n');
document.write(' <div class="title" id="title1872668"\n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=1135%3A998356\'"\n');
document.write(' >\n');
document.write(' <\/div>\n');
document.write('\n');
document.write(' <div class="fcchart">\n');
document.write('  <a id="chartlink1872668" target="_parent" href = "#"><img id="chart1872668" \/><\/a>\n');
document.write(' <\/div>\n');
document.write(' <table class= "data" width="100%" border="0" cellspacing="0" cellpadding="0">\n');
document.write(' <tr>\n');
document.write('  <th class="label first">Name<\/th>\n');
document.write('  <th class="label">Last<\/th>\n');
document.write('  <th class="label last">Change %<\/th>\n');
document.write(' <\/tr>\n');
document.write('  <tr class="row row1" onmouseover="this.className = \'row row1 hover\'; document.switchChart1872668(\'1135:998356\', 0)" onmouseout="this.className =\'row row1\'" \n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=1135%3A998356\'"\n');
document.write('  >\n');
document.write('   <td class="arrow arrow_up name">Nasdaq<\/td>\n');
document.write('   <td class="price">4757.88<\/td>\n');
document.write('   <td class="change"><span class="positive change_positive">+7.48\n');
document.write('  (+0.16%)\n');
document.write('	\n');
document.write('  <\/span><\/td>\n');
document.write('  <\/tr>\n');
document.write('  <tr class="row row2" onmouseover="this.className = \'row row2 hover\'; document.switchChart1872668(\'845:998434\', 1)" onmouseout="this.className =\'row row2\'" \n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=845%3A998434\'"\n');
document.write('  >\n');
document.write('   <td class="arrow arrow_down name">S&amp;P 500<\/td>\n');
document.write('   <td class="price">2051.82<\/td>\n');
document.write('   <td class="change"><span class="negative change_negative">-11.33\n');
document.write('  (-0.55%)\n');
document.write('	\n');
document.write('  <\/span><\/td>\n');
document.write('  <\/tr>\n');
document.write('  <tr class="row row1" onmouseover="this.className = \'row row1 hover\'; document.switchChart1872668(\'1083:1540753\', 2)" onmouseout="this.className =\'row row1\'" \n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=1083%3A1540753\'"\n');
document.write('  >\n');
document.write('   <td class="arrow arrow_down name">NYSE<\/td>\n');
document.write('   <td class="price">10788.33<\/td>\n');
document.write('   <td class="change"><span class="negative change_negative">-71.01\n');
document.write('  (-0.65%)\n');
document.write('	\n');
document.write('  <\/span><\/td>\n');
document.write('  <\/tr>\n');
document.write('  <tr class="row row2" onmouseover="this.className = \'row row2 hover\'; document.switchChart1872668(\'998:1900290004\', 3)" onmouseout="this.className =\'row row2\'" \n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=998%3A1900290004\'"\n');
document.write('  >\n');
document.write('   <td class="arrow arrow_down name">Gold<\/td>\n');
document.write('   <td class="price">1292.60<\/td>\n');
document.write('   <td class="change"><span class="negative change_negative">-8.10\n');
document.write('  (-0.62%)\n');
document.write('	\n');
document.write('  <\/span><\/td>\n');
document.write('  <\/tr>\n');
document.write('  <tr class="row row1" onmouseover="this.className = \'row row1 hover\'; document.switchChart1872668(\'998:1900290000\', 4)" onmouseout="this.className =\'row row1\'" \n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=998%3A1900290000\'"\n');
document.write('  >\n');
document.write('   <td class="arrow arrow_down name">Oil<\/td>\n');
document.write('   <td class="price">45.59<\/td>\n');
document.write('   <td class="change"><span class="negative change_negative">-0.72\n');
document.write('  (-1.55%)\n');
document.write('	\n');
document.write('  <\/span><\/td>\n');
document.write('  <\/tr>\n');
document.write('  <tr class="row row2" onmouseover="this.className = \'row row2 hover\'; document.switchChart1872668(\'419:1900041106\', 5)" onmouseout="this.className =\'row row2\'" \n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=419%3A1900041106\'"\n');
document.write('  >\n');
document.write('   <td class="arrow arrow_unchanged name">10Y Yield<\/td>\n');
document.write('   <td class="price">1.890<\/td>\n');
document.write('   <td class="change"><span class="unchanged change_unchanged">+0.00\n');
document.write('  (+0.09%)\n');
document.write('	\n');
document.write('  <\/span><\/td>\n');
document.write('  <\/tr>\n');
document.write('  <tr class="row row1" onmouseover="this.className = \'row row1 hover\'; document.switchChart1872668(\'985:1800001992\', 6)" onmouseout="this.className =\'row row1\'" \n');
document.write('     onclick="top.location.href=\'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=985%3A1800001992\'"\n');
document.write('  >\n');
document.write('   <td class="arrow arrow_down name">Buffalo Index<\/td>\n');
document.write('   <td class="price">1202.58<\/td>\n');
document.write('   <td class="change"><span class="negative change_negative">-17.48\n');
document.write('  (-1.43%)\n');
document.write('	\n');
document.write('  <\/span><\/td>\n');
document.write('  <\/tr>\n');
document.write(' <\/table>\n');
document.write('\n');
document.write('  <div class="attribution">Quotes delayed at least 20 mins.<\/div>\n');
document.write('\n');
document.write('<scr'+'ipt>\n');
document.write('  var tickers = new Array();\n');
document.write('    tickers[0] = \'COMP\';\n');
document.write('    tickers[1] = \'SPX\';\n');
document.write('    tickers[2] = \'NYA\';\n');
document.write('    tickers[3] = \'GOLD\';\n');
document.write('    tickers[4] = \'OIL\';\n');
document.write('    tickers[5] = \'USAYIELD10YR\';\n');
document.write('    tickers[6] = \'BUFFCOMP\';\n');
document.write('\n');
document.write('  document.switchChart1872668 = function(ticker, pos) {\n');
document.write('   document.getElementById(\'chart1872668\').src = \'http:\/\/chart.financialcontent.com\/Chart?fontAdjust=0&fillshy=0&grcolor=FFFFFF&arcolor=null&ibcolor=null&interval=1&gtcolor=2466BA&pvcolor=B50000&lncolor=2466BA&width=300&fillalpha=0&Client=buffnews&wmalpha=50&volume=0&watermark=null&shwidth=3&gbcolor=FFFFFF&type=0&fillshx=0&vucolor=008000&height=115&gmcolor=DDDDDD&mkcolor=CD5252&bgcolor=null&txcolor=444444&brcolor=FFFFFF&vdcolor=FF0000&bvcolor=FFFFFF&lnwidth=2&shcolor=BBBBBB&itcolor=666666&ticker=\' + ticker;\n');
document.write('   document.getElementById(\'chartlink1872668\').href = \'http:\/\/markets.buffalonews.com\/buffnews\/quote?Symbol=\' + ticker;\n');
document.write('  }\n');
document.write('\n');
document.write('  document.switchChart1872668(\'1135:998356\', 0);\n');
document.write(' <\/scr'+'ipt>\n');
document.write('<\/div>\n');
document.write('<style type="text\/css">@import url(http:\/\/markets.buffalonews.com\/widget\/investcenter-nonfree\/snapshot\/snapshot2.css);<\/style>\n');
document.write('<\/div>\n');
document.write('<div style="text-align: center; padding-top:5px">\n');
document.write('\n');
document.write('  <iframe id=\'fcad1382337\' name=\'fcad1382337\' src=\'http:\/\/ads.financialcontent.com\/www\/delivery\/afr.php?n=fcad1382337&amp;&amp;zoneid=4851&amp;cb=fcad1382337\' framespacing=\'0\' frameborder=\'no\' scrolling=\'no\' width=\'300\' height=\'250\' allowtransparency=\'true\'><\/iframe>\n');
document.write('  <scr'+'ipt type=\'text\/javascr'+'ipt\' src=\'http:\/\/ads.financialcontent.com\/www\/delivery\/ag.php\'><\/scr'+'ipt>\n');
document.write(' \n');
document.write('<\/div>\n');
document.write('<\/div>\n');
document.write('');

  var h34608402=document.getElementsByTagName('head')[0];
  var script=document.createElement('script');
  script.type="text/javascript";
  script.src='http://tracker.financialcontent.com/track.js?Source=http%3A%2F%2Fmarkets.buffalonews.com%2Fbuffnews%3FHTTP_HOST%3Dmarkets.buffalonews.com%26HTTPS%3Doff%26Module%3Dwatchlist%26Ticker%3DGE%2BIBM%2BAAPL%2BPG%2BGOOG%26Output%3DJS&Type=widget&Client=buffnews&rand=' + Math.random();
  h34608402.appendChild(script);
 
   var ol = function(event) { 
    var axel = Math.random() + "";
    var a = axel * 10000000000000;
    var iframe = document.createElement('iframe');
    iframe.width = 1;
    iframe.height = 1;
    iframe.style.display = 'none';
    iframe.src='http://fls.doubleclick.net/activityi;src=3106981;type=finan936;cat=finan032;ord=1;num=' + a + '?';
    document.body.appendChild(iframe);
   };
   if (window.addEventListener) {
    window.addEventListener("load",ol,false);
   } else if (window.attachEvent) {
    window.attachEvent("onload",ol);
   }
   _qoptions={
    qacct:"p-0cUI5xpPZj8YQ"
   };
   var h34608402=document.getElementsByTagName('head')[0];
   var script=document.createElement('script');
   script.type="text/javascript";
   script.src="http://edge.quantserve.com/quant.js";
   h34608402.appendChild(script);
  