function showDiv(divOne,divTwo) {
	$('#' + divOne).hide();
	$('#' + divTwo).show();
}

function updateForecastGraphics() {

	switch(window.orientation){
		case 0:
		contentType = "vertical";
		break;

		case -90:
		contentType = "horizontal";
		break;

		case 90:
		contentType = "horizontal";
		break;

		case 180:
		contentType = "vertical";
		break;
	}

	if (contentType == "vertical") {
		$('#windVertical').show();
		$('#windHorizontal').hide();
		$('#waveVertical').show();
		$('#waveHorizontal').hide();
		$('#txtMsg').show();
	} else {
		$('#windVertical').hide();
		$('#windHorizontal').show();
		$('#waveVertical').hide();
		$('#waveHorizontal').show();
		$('#txtMsg').hide();
	}

}

function showSwellDetails(flag) {
	if (flag == 'show') {
		$('.moreDetails').show();
		$('#showDetails').hide();
		$('#hideDetails').show();
	} else {
		$('.moreDetails').hide();
		$('#showDetails').show();
		$('#hideDetails').hide();
	}
}
