<!--

bOK = (document.all || document.layers || document.getElementById);

function startLayer(name,top,left,visibility,z) {

	if (document.layers) {
		visibility = (visibility == 'visible') ? 'show' : 'hide';
		document.writeln('<layer name="'+name+'layer" id="'+name+'layer" top="'+top+'" left="'+left+'" visibility="'+visibility+'" z-index="'+z+'" background="pict/menubkgd.png">');
	} else if (document.all || document.getElementById) {
		document.writeln('<div id="'+name+'layer" style="position: absolute; top: '+top+'px; left: '+left+'px; visibility: '+visibility+'; z-index: '+z+'; background-image: url(pict/menubkgd.png);">');
	}
    if (bOK) {
        document.writeln('<table border="0" cellpadding="0" cellspacing="0"><tr><td rowspan="3" width="1" bgcolor="#cccccc"><img src="pict/pixel.gif" width="1" height="68" alt="" border="0"></td><td rowspan="3" width="10"><a href="#" onMouseOver="clearAll()"><img src="pict/pixel.gif" width="10" height="68" alt="" border="0"></a></td><td height="1"><img src="pict/pixel.gif" width="64" height="1" alt="" border="0"></td><td rowspan="3" width="10"><a href="#" onMouseOver="clearAll()"><img src="pict/pixel.gif" width="10" height="68" alt="" border="0"></a></td><td rowspan="3" width="1"" bgcolor="#666666"><img src="pict/pixel.gif" width="1" height="68" alt="" border="0"></td></tr>');
        document.writeln('<tr><td nowrap><font face="Lucida,LuciduxSans,Helvetica,sans-serif" size="0" color="black" class="smalltext">');
    }
}

function writeLayerLine(linkname,linkdescr,linktitle) {
    if (bOK) {
        document.writeln('<img src="pict/pixel.gif" width="1" height="8" border="0" alt=""><br><a href="'+linkname+'" title="'+linkdescr+'" onMouseOver="clearTimeout(menuTimer)" onMouseOut="clearMenus()"><b><font color="#333333">'+linktitle+'</a></font></b><br>');
    }
}

function endLayer() {
    if (bOK) {
        document.writeln('<img src="pict/pixel.gif" width="1" height="12" border="0" alt=""><br><a href="#" onMouseOver="actLayer=\'none\',clearAll()"><img src="pict/close.gif" width="72" height="14" border="0" alt=""></a><br></font></td></tr>');
        document.writeln('<tr><td height="6"><a href="#" onMouseOver="actLayer=\'none\',clearAll()"><img src="pict/pixel.gif" width="64" height="6" alt="" border="0"></a></td></tr><tr><td colspan="5" height="1" bgcolor="#666666"><a href="#" onMouseOver="actLayer=\'none\',clearAll()"><img src="pict/pixel.gif" width="64" height="1" alt="" border="0"></a></td></tr></table>');
    }
	if (document.layers) {
		document.writeln('</layer>');
	} else if (document.all || document.getElementById) {
		document.writeln('</div>');
	}
}

startLayer('calendar',260,56,'hidden',1);
writeLayerLine('calendar.php?category=Pack','Pack Events','Pack');
writeLayerLine('calendar.php?category=Leader','Leader and Pack Events','Leader');
writeLayerLine('calendar.php?category=Den1','Den 1 Events','Den 1');
writeLayerLine('calendar.php?category=Den2','Den 2 Events','Den 2');
writeLayerLine('calendar.php?category=Den3','Den 3 Events','Den 3');
writeLayerLine('calendar.php?category=Den4','Den 4 Events','Den 4');
writeLayerLine('calendar.php?category=Den5','Den 5 Events','Den 5');
writeLayerLine('calendar.php?category=Den6','Den 6 Events','Den 6');
writeLayerLine('calendar.php?category=Den7','Den 7 Events','Den 7');
writeLayerLine('calendar.php?category=Den8','Den 8 Events','Den 8');
writeLayerLine('calendar.php?category=Den9','Den 9 Events','Den 9');
writeLayerLine('calendar.php?category=Den10','Den 10 Events','Den 10');
endLayer();
startLayer('contacts',307,56,'hidden',2);
writeLayerLine('contacts.htm','Pack Leaders','Leaders');
writeLayerLine('committees.htm','Committee assignments','Committee');
endLayer();
//-->
