function details(state, content) {
	tmp_link = "javascript: compress();";
	tmp_class1 = "AVAILABILITY_CLOSE_LINK";
	tmp_class3 = "AVAILABILITY_CLOSE_BOLD";

	var ret = "";

	ret += "<table width=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
		ret += "<tr><td height=\"8\" width=\"8\"><img src=\"http://www.harborcreektownship.org/format_images/tl_gray.gif\" height=\"10\" width=\"10\"></td><td style=\"border-top:2px solid gray\" height=\"8\" width=100% bgcolor=\"#eeeeee\"><img src=\"http://www.harborcreektownship.org/format_images/spacer.gif\" height=\"6\"></td><td height=\"8\" width=\"8\"><img src=\"http://www.harborcreektownship.org/format_images/tr_gray.gif\" height=\"10\" width=\"10\"></td></tr>";
	ret += "</table>";

	ret += "<table width=\"500\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">";
		ret += "<tr><td style=\"border-left:2px solid gray; border-right:2px solid gray\" bgcolor=\"#eeeeee\" align='right' valign='top'><p style=\"text-align: center; margin-left: 4px; margin-right: 4px; margin-bottom: 6px; margin-top: 0px; line-height: 11pt; font-size: 12pt; color: #000000; font-family: Arial, Goudy Old Style, Verdana\"><a href=\"" + tmp_link + "\" class=\"" + tmp_class1 + "\">CLOSE WINDOW<a href=\"" + tmp_link + "\" class=" + tmp_class3 + ">" + "&nbsp;X" + "</a></p></td></tr>";
	ret += "</table>";

	ret += "<table width=500 border=0 cellspacing=0 cellpadding=0>";
		ret += "<tr>";
			ret += "<td style=\"border-left:2px solid gray; border-right:2px solid gray\" bgcolor=#eeeeee>";
				ret += "<p style=\"text-align: justify; margin-left: 4px; margin-right: 4px; margin-bottom: 10px; margin-top: 0px; line-height: 11pt; font-size: 10pt; color: #000000; font-family: Arial, Goudy Old Style, Verdana\">";
					ret += content;
				ret += "</p>";
			ret += "</td>";
		ret += "</tr>";
	ret += "</table>";

	ret += "<table width=500 border=0 cellpadding=0 cellspacing=0>";
		ret += "<tr><td height=\"8\" width=\"8\"><img src=\"http://www.harborcreektownship.org/format_images/bl_gray.gif\" height=\"10\" width=\"10\"></td><td style=\"border-bottom:2px solid gray\" height=\"8\" bgcolor=\"#eeeeee\"><img src=\"http://www.harborcreektownship.org/format_images/spacer.gif\" height=\"6\"></td><td height=\"8\" width=\"8\"><img src=\"http://www.harborcreektownship.org/format_images/br_gray.gif\" height=\"10\" width=\"10\"></td></tr>";
	ret += "</table>";

	var answ = document.getElementById("popup");

	if (answ) {
		answ.style.color = "#000000";
		answ.innerHTML = ret;

		answ.style.visibility = state;		
	}
}


function compress() {
	document.getElementById("popup").style.visibility = "hidden";
}


if (!document.layers){
	document.write('<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"http://www.harborcreektownship.org/styles/calendar.css\">');

	document.write('<div id="popup" style="visibility: hidden; position: absolute; overflow: hidden; z-index: 9">')

	document.write('<layer id="popup"><!--EDIT BELOW CODE TO YOUR OWN MENU--><table border="0" width="162" cellspacing="0" cellpadding="0"><tr><td width=8>&nbsp;</td><td width="162" style="background: #006699"><p align="right"><a style="text-decoration: none; cursor: hand; font-size: 8pt; color: #000000" href="#top">TOP OF PAGE</a>&nbsp;&nbsp;<img border="0" src="http://www.harborcreektownship.org/images/up.gif" width="13" height="10"></p></td></tr></table><!--END OF EDIT--></layer>')
	/*
	Floating Menu script- Roy Whittle (http://www.javascript-fx.com/)
	Script featured on/available at http://www.dynamicdrive.com/
	This notice must stay intact for use
	*/
	//Enter "frombottom" or "fromtop"
	var verticalpos="fromtop"

	if (!document.layers){
	document.write('</div>')}
	floatIT();
}	


function floatIT()
{
	//leftVal = (document.body.width / 2-162+4);
	//topVal = document.body.scrollheight - 32;

	//topVal = (document.body.scrollTop + document.body.clientHeight / 2)-200;
	
	
    var startX = document.body.width / 2 -162+4,
    startY = 20;
    
    var ns = (navigator.appName.indexOf("Netscape") != -1);
    var d = document;
    function ml(id)
    {
        var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
        if(d.layers)el.style=el;
        el.sP=function(x,y){this.style.left=x;this.style.top=y;};
        el.x = startX;
        if (verticalpos=="fromtop")
        el.y = startY;
        else{
        el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
        el.y -= startY;
        }
        return el;
    }
    window.stayMiddle=function()
    {
        if (verticalpos=="fromtop"){
        var pY = ns ? pageYOffset : document.body.scrollTop;
        ftlObjY.y += (pY + startY - ftlObjY.y)/8;
        }
        else{
        var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
        ftlObjY.y += (pY - startY - ftlObjY.y)/8;
        }
        ftlObjY.sP(ftlObjY.x, ftlObjY.y);
        setTimeout("stayMiddle()", 10);
    }
    ftlObjY = ml("popup");
    stayMiddle();
}			