function switchWeatherMap(ID)

{

document.getElementById("weatherCurBC").style.backgroundImage = "url(http://www.ctv.ca/mar/images/local990/weatherTab" + ID + "_OTW.jpg)";

for (i = 1; i < 4; i++)

{

if (i == ID)

{

document.getElementById("weatherMap" + i).style.display = "block";

}

else

{

document.getElementById("weatherMap" + i).style.display = "none";

}

}

}



function switchWeatherWatch(ID)

{

document.getElementById("weatherCurED").style.backgroundImage = "url(http://www.ctv.ca/mar/images/local990/weatherWatch" + ID + "_OTW.jpg)";

for (i = 1; i < 3; i++)

{

if (i == ID)

{

document.getElementById("weatherWatch" + i).style.display = "block";

}

else

{

document.getElementById("weatherWatch" + i).style.display = "none";

}

}

}



function switchWeatherTemp(ID)

{



for (i = 1; i < 4; i++)

{

if (i == ID)

{

document.getElementById("weatherTemp" + i).style.display = "block";

}

else

{

document.getElementById("weatherTemp" + i).style.display = "none";

}

}

}


