//toggle a div
//call from a link:
	//<a href="javascript: showHide(document.all.WebBilling);">toggle download/install steps</a>
//call from a button: 
	//<input type="button" value="toggle download/install steps" id="btnToggleWebBill" onclick="showHide(document.all.WebBilling);" style="cursor:hand;">
function showHide(n, oBtn)
    {
		n.style.display = n.style.display == "none" ? "block" : "none";
		if(oBtn != null) oBtn.value = n.style.display == "none" ? "more detail" : "less detail";
/*		if(oBtn != null) oBtn.value = oBtn.value == "show" ? "hide" : "show";  */
    }
    
function showOneHideOne(n,m)
    {
		n.style.display = "block";
		m.style.display = "none";
    }

function justHide(n)
	{
		n.style.display = "none";
	}

function justShow(n)
	{
		n.style.display = "block";
	}
	
function viewPhoto(n)
	{
		alert(n);
		window.open('./tools/PhotoViewer.htm?image=' + n, '', 'height=600,width=800,top=0,left=0,menubar=no,resizable=yes,titlebar=no,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no');
	}