var CT_allow = 0; var CT_ref = ""+location; CT_ref = CT_ref.toLowerCase(); if ((CT_ref.indexOf("cryptocurrencieschannel.com") > 0) || (CT_ref.indexOf("cefchannel.com") > 0) || (CT_ref.indexOf("bdcinvestor.com") > 0) || (CT_ref.indexOf("tickertech.com") > 0) || (CT_ref.indexOf("xxxx:") > 0) || (CT_ref.indexOf("javascript:") > 0) || (CT_ref.indexOf("filseclab.com") > 0) || (CT_ref.indexOf("msnscache.com") > 0) || (CT_ref.indexOf("toolbar.google.com") > 0) || (CT_ref.indexOf("etfchannel.com") > 0) || (CT_ref.indexOf("marketnewsvideo.com") > 0) || (CT_ref.indexOf("news.google.com") > 0) || (CT_ref.indexOf("dividendchannel.com") > 0) || (CT_ref.indexOf("www.google.com") > 0) || (CT_ref.indexOf("energystockchannel.com") > 0) || (CT_ref.indexOf("metalschannel.com") > 0) || (CT_ref.indexOf("portfoliochannel.com") > 0) || (CT_ref.indexOf("canadastockchannel.com") > 0) || (CT_ref.indexOf("theonlineinvestor.com") > 0) || (CT_ref.indexOf("investhelp.com") > 0) || (CT_ref.indexOf("preferredstockchannel.com") > 0) || (CT_ref.indexOf("stockoptionschannel.com") > 0) || (CT_ref.indexOf("holdingschannel.com") > 0) || (CT_ref.indexOf("tickertech.net") > 0) || (CT_ref.indexOf("historicalstockprice.com") > 0) || (CT_ref.indexOf("splithistory.com") > 0) || (CT_ref.indexOf("stocksplithistory.com") > 0) || (CT_ref.indexOf("google.c") > 0) || (CT_ref.indexOf("208.71.46.190") > 0) || (CT_ref.indexOf("search.yahoo") > 0) || (CT_ref.indexOf("sharesoutstandinghistory.com") > 0) || (CT_ref.indexOf("marketcaphistory.com") > 0) || (CT_ref.indexOf("ytdreturn.com") > 0) || (CT_ref.indexOf("averageannualreturn.com") > 0) || (CT_ref.indexOf("redinews.com") > 0) || (CT_ref.indexOf("technicalanalysischannel.com") > 0) || (CT_ref.indexOf("stockdma.com") > 0) || (CT_ref.indexOf("stockrsi.com") > 0) || (CT_ref.indexOf("stockmacd.com") > 0) || (CT_ref.indexOf("topdividends.com") > 0) || (CT_ref.indexOf("monthlydividendpayingstocks.com") > 0) || (CT_ref.indexOf("nextearningsdate.com") > 0) || (CT_ref.indexOf("pastearnings.com") > 0) || (CT_ref.indexOf("historicalperatio.com") > 0) || (CT_ref.indexOf("historicalearnings.com") > 0) || (CT_ref.indexOf("webcache.googleusercontent.com") > 0)) { CT_allow = 1; } if (CT_ref == "") { CT_allow = 1; } CT_TabFontFace = CT_TabFontFace.replace(' ','+').replace(' ','+').replace(' ','+').replace(' ','+'); var ct01 = 'https://www.tickertech.net/'; var ct02 = ct01+'servlets/'; var ct03 = ct01+'pics/'; var ct04 = ' font-family: '+CT_TabFontFace+',Helvetica,Times; '+ ' font-size: '+(7+CT_TabFontSize)+'pt; '+ ' color: #'+CT_TabStdColor+' '; var ct05 = ''; var ct06 = ' class="CThlink" onmouseover="return ';//" var ctp = 'https://www.tickertech.net/etfchannel/cgi/'; if (CT_quoteBase != "") { ctp = CT_quoteBase; } if (CT_allow) { document.write(' '); } var CT_DisplayNames = new Array("1 Month","1 Quarter","1 Year","5 Years"); var CT_ChartPeriods = new Array("1m","1q","1y","5y"); var CT_tabs = new Array(CT_ChartPeriods.length); var CTlinks = new Array(CT_ChartPeriods.length); var CT_actives = new Array(CT_ChartPeriods.length); if (CT_ChartPeriods.length * CT_TabWidth + 4 > CT_TableWidth) { CT_ChartHeight = Math.round(((CT_ChartPeriods.length * CT_TabWidth + 4) * CT_ChartHeight) / CT_TableWidth); CT_TableWidth = CT_ChartPeriods.length * CT_TabWidth + 4; } var CT_tabURL = ct02+'TabGen?smoothFonts='+CT_TabSmoothFonts+'&fontSize='+ CT_TabFontSize+'&fontFace='+CT_TabFontFace+'&fillColor3='+ CT_TableBkgColor+'&fillColor='+CT_TableColor+'&fillColor2='+CT_OffTabColor; CT_tabURL = CT_tabURL.replace(' ','+').replace(' ','+').replace(' ','+').replace(' ','+'); var CT_i = 0; var CT_temp; for (CT_i=0; CT_i 1 && type == 1) { alert('Sorry, moving averages are not applicable to multiple-symbol charts'); } else { var CT_t = 0; for (CT_t = 0; CT_t < CT_chartMovAvgs.length; CT_t++) { CT_hiLite('CT_arrow'+(CT_t+8),'CT_blank'); } CT_hiLite('CT_arrow'+(type+8),'CT_arrow'); if (type == 0) SC_movingAverages = "no"; else SC_movingAverages = "50,200"; CT_movavg = type; document.images['ctchart'].src = CT_getChartSrc(); } } var CT_types = new Array("mountain","fill to prev. close","line","point","bar","candle stick"); function CT_mouseType(type) { if (CT_type != type) window.status = 'Change to '+CT_types[type]+' type'; else window.status = 'The current type is '+CT_types[type]; return true; } function CT_clickType(type) { if (CT_numSym > 1 && type == 5) { alert('Sorry, candle stick type is not applicable to multiple-symbol charts'); } else { var CT_t = 0; for (CT_t = 0; CT_t < CT_types.length; CT_t++) { CT_hiLite('CT_arrow'+(CT_t+2),'CT_blank'); } CT_hiLite('CT_arrow'+(type+2),'CT_arrow'); SC_showHighsLows = "no"; SC_fillBelowLine = "no"; SC_lineThicknesses = CT_ChartLineThick; SC_fillColor = CT_FillUpColor; if (type == 0) { SC_fillBelowLine = "yes"; SC_type = "line"; SC_fillColor = CT_FillMtnColor; } else if (type == 1) { SC_fillBelowLine = "prev"; SC_type = "line"; } else if (type == 2) { SC_type = "line"; } else if (type == 3) { SC_type = "point"; SC_showHighsLows = "yes"; SC_lineThicknesses = CT_ChartLineThick; if (SC_lineThicknesses == 1) { SC_lineThicknesses = 2; } } else if (type == 4) { SC_type = "bar"; } else { SC_type = "candle"; CT_chartPrice(0); } document.images['ctchart'].src = CT_getChartSrc(); CT_type = type; } } var CT_bywhats = new Array("price","% change"); function CT_mousePrice(type) { if (CT_bywhat != type) window.status = 'Chart by '+CT_bywhats[type]; else window.status = 'The current view is by '+CT_bywhats[type]; return true; } function CT_chartPrice(type) { if (type == 1 && CT_type == 5) { alert(''+CT_bywhats[type]+' chart view does not apply to '+CT_types[CT_type]+' chart type'); } else { var CT_t = 0; for (CT_t = 0; CT_t < 2; CT_t++) { CT_hiLite('CT_arrow'+CT_t,'CT_blank'); } CT_hiLite('CT_arrow'+type,'CT_arrow'); if (type == 0) { CT_bypct = ""; SC_beforeLeftLabels = escape(''); } else { CT_bypct = "p"; SC_beforeLeftLabels = escape('*'); } document.images['ctchart'].src = CT_getChartSrc(); CT_bywhat = type; } } function CT_hiLite(imgDocID,imgObjName) { document.images[imgDocID].src = eval(imgObjName + ".src"); } function CT_chartLink() { document.location = ctp+'?a=detailed&ticker=ATI'; } function CT_getquotes() { if (document.ctgetquotes) { if (document.ctgetquotes.a.options[document.ctgetquotes.a.selectedIndex].value == "chart") { SC_symbols = document.ctgetquotes.ticker.value; SC_symbols = SC_symbols.replace('&','%26'); SC_symbols = SC_symbols.replace(', ',' '); SC_symbols = SC_symbols.replace(' ',','); if (SC_symbols == "") { alert('Please enter symbol(s) before clicking the go button'); } else { document.images['cttitle'].src = ct02+'NameGen?smoothFonts='+CT_TabSmoothFonts+'&fontSize='+CT_TabFontSize+'&fontFace='+CT_TabFontFace+'&fillColor='+CT_TableColor+'&fillColor2='+CT_TabStdColor+'&width='+(CT_TableWidth - 10)+'&height='+CT_TabHeight+'&text='+SC_symbols; document.images['ctchart'].src = CT_getChartSrc(); SC_startsym = SC_symbols; } return false; } else { return true; } } } function CT_compare() { if (document.CTcompare) { var tocompare; if (document.CTcompare.compare.value == '') { tocompare = SC_startsym; } else { tocompare = SC_startsym+','+document.CTcompare.compare.value; } if (document.CTcompare.comparedji.checked) tocompare = tocompare + ',' + '$DJI'; if (document.CTcompare.comparecomp.checked) tocompare = tocompare + ',' + 'COMP'; if (document.CTcompare.comparespx.checked) tocompare = tocompare + ',' + 'SPX'; if (document.CTcompare.comparerut.checked) tocompare = tocompare + ',' + 'RUT'; tocompare = tocompare.replace(', ',' '); tocompare = tocompare.replace(' ',','); tocompare = tocompare.replace('&',''); SC_symbols = tocompare; var commaindex = tocompare.indexOf(',',0); if (commaindex > 0) { SC_showVolumeTable = "no"; SC_showLegendTable = "yes"; SC_showPrevClose = "no"; CT_numSym = 2; } else { SC_showVolumeTable = "yes"; SC_showLegendTable = "no"; SC_showPrevClose = "yes"; CT_numSym = 1; } CT_type = 2; SC_type = "line"; SC_showHighsLows = "no"; SC_fillBelowLine = "no"; SC_lineThicknesses = CT_ChartLineThick; SC_fillColor = CT_FillUpColor; CT_chartPrice(1); CT_clickMovAvgs(0) return false; } } function ShowHTTable() { if (CT_allow) { document.write(' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '); if (CT_movAvgsBox != "yes" && CT_chartTypeBox != "yes" && CT_chartByBox != "yes" && CT_compareBox != "yes" && CT_showSymBox != "yes") {document.write(' '+ ' '+ ' '+ ' '); } document.write('
'); CT_i = 0; for(CT_i = 0; CT_i < CT_ChartPeriods.length; CT_i++) { if (CT_ChartPeriods[CT_i] == SC_period) { document.write(''+CT_DisplayNames[CT_i]+' chart'); CT_active = CT_i; } else { document.write(''+CT_DisplayNames[CT_i]+' chart'); } } document.write('
'+ ' '); if (CT_chartLinks == "yes") { document.write(' '); } document.write(''); if (CT_chartLinks == "yes") { document.write(' '); } if (CT_splitInfo == "yes") { } document.write('
'); if (CT_chartByBox == "yes") { document.write(' '+ ' '+ ' '+ ' '+ ' '+ ' '); if (CT_chartTypeBox != "yes" && CT_movAvgsBox != "yes" && CT_compareBox != "yes" && CT_showSymBox != "yes") { document.write(' '+ ' '+ ' '+ ' '); } document.write('
'+ ' '+ct05+' Chart by:  '); if (CT_StartChartBy != "p") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_bywhats[0]+' '+ '   '); if (CT_StartChartBy == "p") { document.write(' '); CT_bywhat = 1; } else { document.write(' '); } document.write(' '+ct05+''+CT_bywhats[1]+' '+ '
'); } if (CT_chartTypeBox == "yes") { document.write(''+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '); } document.write('
'+ ' '+ct05+' Chart type:  '); if (CT_StartType == "mtn") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_types[0]+' '+ '   '); if (CT_StartType == "prv") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_types[1]+' '+ '   '); if (CT_StartType == "line") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_types[2]+' '+ '   '); if (CT_StartType == "point") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_types[3]+' '); document.write('   '); if (CT_StartType == "bar") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_types[4]+' '+ '   '); if (CT_StartType == "candle") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_types[5]+' '); if (CT_movAvgsBox != "yes" && CT_compareBox != "yes" && CT_showSymBox != "yes") { document.write('
'); } if (CT_movAvgsBox == "yes") { document.write(''+ ' '+ ' '+ ' '+ ' '+ ' '); if (CT_compareBox != "yes" && CT_showSymBox != "yes") { document.write(' '+ ' '+ ' '+ ' '); } document.write('
'+ ''+ct05+' Moving averages:  '); if (CT_StartMovAvg != "50,200") { document.write(' '); } else { document.write(' '); } document.write(' '+ct05+''+CT_chartMovAvgs[0]+' '+ '   '); if (CT_StartMovAvg == "50,200") { document.write(' '); CT_movavg = 1; } else { document.write(' '); } document.write(' '+ct05+''+CT_chartMovAvgs[1]+' '+ '
'); } if (CT_compareBox == "yes") { document.write(' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ''+ ' '+ ' '+ ' '); if (CT_showSymBox != "yes") { document.write(' '+ ' '+ ' '+ ' '); } if (CT_showSymBox != "yes") { document.write('
'+ct05+''); document.write(' Compare vs.  '); document.write(' '+ 'Dow  '+ ' '+ 'Nasdaq  '+ ' '+ 'S&P  '+ ' '+ 'Russell  '+ '
'); } } if (CT_showSymBox == "yes") { if (CT_compareBox != "yes") { document.write(''); } document.write(' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
'); document.write('  Enter symbols:   symbol lookup  '); document.write('
'); } } } if (!CT_allow) { document.write('Access denied'); }