
function warpNavSiteNotice() {
    // This scripts also offers notifications changes in URLS.
    // If thes page being served is in a list of URLS that are
    // going to change a notice is added to the webpage so that
    // the end user will be made aware of pending changes.
    // if the current URL matches the string in the warpSiteNavChanges array
    // a messages is displayed indicating that the URL WILL or HAS been changed to 
    // the URL in the warpSiteChanges array.
    
    var i = 0;
    var warpSiteNavChanges = new Array(10);
    warpSiteNavChanges[i++] = "/smd/operations_reports/load_forecast.cgi";

	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_forecast.php?interface=New+Brunswick";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_forecast.php?interface=New+York";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_forecast.php?interface=Phase";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_forecast.php?interface=Highgate";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_forecast.php?interface=NY+CSC";
    warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_forecast.php";

	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_summary.php?interface=New+Brunswick";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_summary.php?interface=New+York";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_summary.php?interface=Phase";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_summary.php?interface=Highgate";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_summary.php?interface=NY+CSC";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_summary.php";

	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_actual.php?interface=New+Brunswick";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_actual.php?interface=New+York";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_actual.php?interface=Phase";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_actual.php?interface=Highgate";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_actual.php?interface=NY+CSC";
    warpSiteNavChanges[i++]  = "/smd/operations_reports/ext_int_actual.php?";

	warpSiteNavChanges[i++]  = "/smd/operations_reports/rt-5min.php?warp=1#hourly";
    warpSiteNavChanges[i++]  = "/smd/operations_reports/rt-5min.php?warp=1";
	warpSiteNavChanges[i++]  = "/smd/operations_reports/rt-hourly-subcomp.cgi?warp=1";
    warpSiteNavChanges[i++]  = "/smd/operations_reports/rt-5min-subcomp.cgi?warp=1";

    warpSiteNavChanges[i++]  = "/smd/operations_reports/5mindata.php?warp=1";
    warpSiteNavChanges[i++]  = "/smd/operations_reports/hourly.php?warp=1";
    warpSiteNavChanges[i++]  = "/smd/operations_reports/da_rt_mw.php?warp=1";
    warpSiteNavChanges[i++]  = "/smd/operations_reports/da_rt_lmp.php?warp=1";

	warpSiteNavChanges[i++]  = "/smd/market_analysis_and_reports/transmission_congestion_data_file/index.php?warp=1";

    warpSiteNavChanges[i++]  = "/smd/operations_reports/interchange.php?warp=1";
    
    i = 0;
    var warpSiteChangeNotice = new Array(10);
    warpSiteChangeNotice[i++]  = "/op_info/op_fcstng/loadForecast.do";

	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeRequest.do?type=detail&locationid=4010";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeRequest.do?type=detail&locationid=4011";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeRequest.do?type=detail&locationid=4012";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeRequest.do?type=detail&locationid=4013";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeRequest.do?type=detail&locationid=4014";
    warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeRequest.do";

	warpSiteChangeNotice[i++]  = "/markets/5min_data/extInterfaceSummary.do?type=detail&locationId=4010";
	warpSiteChangeNotice[i++]  = "/markets/5min_data/extInterfaceSummary.do?type=detail&locationId=4011";
	warpSiteChangeNotice[i++]  = "/markets/5min_data/extInterfaceSummary.do?type=detail&locationId=4012";
	warpSiteChangeNotice[i++]  = "/markets/5min_data/extInterfaceSummary.do?type=detail&locationId=4013";
    warpSiteChangeNotice[i++]  = "/markets/5min_data/extInterfaceSummary.do?type=detail&locationId=4014";
	warpSiteChangeNotice[i++]  = "/markets/5min_data/extInterfaceSummary.do";

    warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeActual.do?locationid=4010";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeActual.do?locationid=4011";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeActual.do?locationid=4012";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeActual.do?locationid=4013";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeActual.do?locationid=4014";
	warpSiteChangeNotice[i++]  = "/sys_ops/rt_intrchng/dailyInterchangeActual.do";

	warpSiteChangeNotice[i++]  = "/markets/hrly_data/hourlyLMP.do";
	warpSiteChangeNotice[i++]  = "/markets/5min_data/fiveMinLMP.do";
    warpSiteChangeNotice[i++]  = "/markets/hrly_data/hourlyLMP.do?type=detail&locationId=4000";
    warpSiteChangeNotice[i++]  = "/markets/5min_data/fiveMinLMP.do?submit=detail&locationId=4000";
    
    warpSiteChangeNotice[i++]  = "/markets/hst_rpts/hstRpts.do?category=Fivemin";
    warpSiteChangeNotice[i++]  = "/markets/hst_rpts/hstRpts.do?category=Hourly";
    warpSiteChangeNotice[i++]  = "/markets/hrly_data/selectHourlyLoad.do";
    warpSiteChangeNotice[i++]  = "/markets/hrly_data/selectHourlyLMP.do";

	warpSiteChangeNotice[i++]  = "/othrmkts/opsres/tcorc_rpt/ncpc.do";

	warpSiteChangeNotice[i++]  = "/markets/hst_rpts/hstRpts.do?category=Interchange";

    if ( window.location.href.indexOf("http://wwwint") == 0) {
	wwwserver = "http://www.iso-ne.com";
    } else {
	wwwserver = "http://www.iso-ne.com";
    }

    for ( idx = 0; idx < warpSiteNavChanges.length; idx++ ) {
        var url = warpSiteNavChanges[idx];
        var notice = warpSiteChangeNotice[idx];
    
        if ( window.location.href.indexOf(url) >= 0 ) {
            return "<table width=750 border=0 cellspacing=0 cellpadding=0><tr><td valign=top width=50></td><td valign=top width=700>" +
				"Due to the recent release of phase 2 of the Web Architecture Redesign Project, the operational data has been migrated to the new architecture. The data for this report can be found at "+
				"<blockquote><a href=\""+wwwserver+ notice  + "\">"+wwwserver + notice + "</a></blockquote>"+
                "Please update your bookmarks or scripts. Customer Service, (413) 540-4220, is available Mon. - Fri. 7:30 a.m. - 5:30 p.m. to help answer your questions." +
				"</td></tr></table><br/>";
        }
    }
	return "";
}
 

