
function QuoteDashboardDOM(){}
QuoteDashboardDOM.prototype.generate=function(value,callback)
{var output=document.createElement('div');output.className='widgetPackage';var trade,chart,montage,marketMakers;trade=document.createElement('div');trade.className="trade";output.appendChild(trade);chart=document.createElement('div');chart.className="chart";output.appendChild(chart);montage=document.createElement('div');montage.className="montage";output.appendChild(montage);marketMakers=document.createElement('div');marketMakers.style.width='100%';output.appendChild(marketMakers);var refresh=document.createElement('div');refresh.style.padding='3px';refresh.style.width='99%';refresh.style.textAlign='right';var anchor=document.createElement('a');anchor.className='lightButton';anchor.href='javascript:void(null);';anchor.onclick=callback.handleRefresh;anchor.myValue=value;anchor.myCallback=callback;anchor.appendChild(document.createTextNode(CAPTION_REFRESH));refresh.appendChild(anchor);output.appendChild(refresh);output.myChart=chart;output.myTrade=trade;output.myMarketMakers=marketMakers;output.myMontage=montage;return output;}
QuoteDashboardDOM.prototype.generateMontageDisclaimer=function(hasBB,callback)
{var e,o=document.createElement('div');o.appendChild(e=document.createElement('div'));e.className='footnote';var disclaimer='All quotes displayed here are published by market makers on Pink Quote, Pink OTC Markets\' electronic inter-dealer quotation system for OTC securities';if(hasBB)
disclaimer+=', unless they are identified as OTCBB quotes in the legend below. OTCBB quotations are provided by Nasdaq';disclaimer+='.<br /><br />Please see <a href="http://www.pinksheets.com/tos.jsp">Terms of Service</a> and <a href="http://www.pinksheets.com/risk.jsp">Risk Warning</a> for more information.';e.innerHTML=disclaimer;o.appendChild(document.createElement('br'));var b=function(a,css,caption,text)
{var e,o=document.createElement('div');o.className='widgetSection';a.appendChild(o);o.appendChild(e=document.createElement('span'));e.className=css;e.innerHTML=caption;o.appendChild(e=document.createElement('span'));e.innerHTML='&nbsp;&mdash;&nbsp;'+text;}
b(o,'highlightPS','MMID','Market maker quotation published in Pink Quote that meets the Inside market');b(o,'montageInsideColor','MMID','Market maker quotation published in Pink Quote');b(o,'highlightClosed','cMMID','Closed quote');b(o,'montageNormalColor','U','Unpriced quote in Pink Quote');if(hasBB)
b(o,'montageBBInsideColor','U','Unpriced quote in OTCBB');b(o,'montageNormalColor','MMIDu','Unsolicited market maker quotation published in Pink Quote');if(hasBB)
{b(o,'highlightBB','MMID','Market maker quotation published in OTCBB that meets the Inside market');b(o,'montageBBInsideColor','MMID','Market maker quotation published in OTCBB');}
return o;}