

function ShowDimensions(show, hide, hide2)
	{
		//hide the elements
		j = 0;
		
		do
		{
			document.getElementById(hide + j).style.display="none";
			document.getElementById(hide2 + j).style.display="none";
			document.getElementById(show + j).style.display="block";
			j++;
		} while (document.getElementById(hide + j));
	}
	
	function popWindow(url)
	{
	//var newwindow;
		//newwindow=
		window.open(url,'name','height=500,width=700');
		//if (window.focus) {newwindow.focus()
	}
	
function show_div(div_id) {
    // hide all the divs
    document.getElementById('rear').style.display = 'none';
    document.getElementById('side').style.display = 'none';
    // show the requested div
    document.getElementById(div_id).style.display = 'block';
}