function changeCam(camNumber) {
	location.replace("/weather_cams/"+camNumber);

}

function changeProvince(statename_statecode, usacanint, lang) {

	statename_firstletter = statename_statecode.substring(0,1);
	statecode_explode = statename_statecode.split("_");
	statecode = statecode_explode[1];
	if (usacanint!="int") { // usa/canada
		location.replace("/index.php?product=weather_cams&pagecontent="+usacanint+"dsp_webcam"+statecode+"_"+lang);
	} else { // untl
		location.replace("/index.php?product=weather_cams&pagecontent=intdsp_webcamintl_" + lang + "#" + statename_firstletter);
	}
	

}
