var quote_chart_height=180; var quote_volume_height=80; var chart_hide_volume=false; var chart_vs_index = false; var chart_time_frame="INTRA"; var chart_vs_index=false; var quote_compare_listing_id = 191374; var quoteChart = document.images["quoteChart"].src; var volumeChart = document.images["volumeChart"].src; function newChart( strTimeframe ){ chart_time_frame = (strTimeframe != null) ? strTimeframe : chart_time_frame; switch (strTimeframe){ case "INTRA": document.getElementById("chart_time_... = "Intraday chart"; break; case "I5D5M": document.getElementById("chart_time_... = "5-day chart"; break; case "1MTHD": document.getElementById("chart_time_... = "1-month chart"; break; case "3MTHD": document.getElementById("chart_time_... = "3-month chart"; break; case "6MTHD": document.getElementById("chart_time_... = "6-month chart"; break; case "1YRD": document.getElementById("chart_time_... = "1 year chart"; break; case "3YRW": document.getElementById("chart_time_... = "3 year chart"; break; case "5YRW": document.getElementById("chart_time_... = "5 year chart"; break; } var quoteChartURL = replaceURL(quoteChart, "period", chart_time_frame); var volumeChartURL = replaceURL(volumeChart, "period", chart_time_frame); if (chart_hide_volume){ quoteChartURL = replaceURL(quoteChartURL, "chart_height", quote_chart_height+quote_volume_heig... quoteChartURL = replaceURL(quoteChartURL, "x_scale", "true"); volumeChartURL = "/v5/data/stocks/images/pixel.gif"; } else { quoteChartURL = replaceURL(quoteChartURL, "chart_height", quote_chart_height); quoteChartURL = replaceURL(quoteChartURL, "x_scale", "false"); volumeChartURL = replaceURL(volumeChartURL, "chart_height", quote_volume_height); } if (chart_vs_index){ quoteChartURL = replaceURL(quoteChartURL, "comp_listing_1", quote_compare_listing_id); quoteChartURL = replaceURL(quoteChartURL, "chart_plot_type", ""); quoteChartURL = replaceURL(quoteChartURL, "price_open_colour", ""); } else { quoteChartURL = replaceURL(quoteChartURL, "comp_listing_1", ""); quoteChartURL = replaceURL(quoteChartURL, "chart_plot_type", "area"); quoteChartURL = replaceURL(quoteChartURL, "price_open_colour", "C12928"); } document.images["quoteChart"].src = quoteChartURL; document.images["volumeChart"].src = volumeChartURL; } function resetChartURL(url){ /*if (chart_vs_index){ url = replaceURL(url, "pl_additional_listing", ""); } */ var chart_period; switch (strTimeframe){ case "INTRA": chart_period ="1D"; break; case "1MTHD": chart_period ="1M"; break; case "3MTHD": chart_period ="3M"; break; case "6MTHD": chart_period ="6M"; break; case "1YRD": chart_period ="1Y"; break; case "3YRW": chart_period ="3Y"; break; case "5YRW": chart_period ="5Y"; break; default: chart_period ="6M"; break; } url = replaceURL(url, "timeframe", chart_period); return url; }
- Last Trade:
- Mar 24, 2008 15:58:05 EDT
C$ 0.640
|
Net Change |
C$
+0.210
|
% Change | +48.84% |