
function showImage(imageurl) {
	showImage(imageurl, 800, 600);
}

function showImage(imageurl, w, h) {
	w += 30;
	h += 30;
	window.open(imageurl, 'viewer', 'toolbars=no,scrollbars=no,width='+w+',height='+h);
}

function openWeather(placeID, date) {
	var winOpts = 'width=400,height=300,toolbar=no,location=no';
	window.open('/apps/weather/day.php?placeID=' + placeID + '&date=' + date, 'weather', winOpts);
}
