// Home Page Weather Widget script

var localStationCookie = $.cookies.get('localStation');
var locationID;

$(document).ready(function(){

//get cookie value to determine user's location and assign appropriate location ID.
switch (localStationCookie) {
	case "BC":
		 $("#ww_forecastBC").show();
		break;
	case "Calgary":
		$("#ww_forecastCalgary").show();
		break;
	case "Edmonton":
		$("#ww_forecastEdmonton").show();
		break;
	case "Lethbridge":
		$("#ww_forecastLethBridge").show();
		break;
	case "Saskatoon":
		$("#ww_forecastSaskatoon").show();
		break;
	case "Regina":
		$("#ww_forecastRegina").show();
		break;
	case "Winnipeg":
		$("#ww_forecastWinnipeg").show();
		break;
	case "Ontario":
		$("#ww_forecastOntario").show();
		break;
	case "Quebec":
		$("#ww_forecastQuebec").show();
		break;
	case "Maritimes":
		$("#ww_forecastMaritimes").show();
		break;
	default:
		$("#ww_forecastBC").show();
};

});