//this fuction is used to insert common collections of page elements
nav = "<span class='nav'><a href='http://www.birdandmoon.com'>Home</a> | <a href='birds.htm'>Birds</a> | <a href='bulbs.htm'>Bulbs</a> | <a href='about.htm'>About</a> | <a href='contact.htm'>Contact</a></span>";

function snip(name) {
	switch(name) {
	case "top":
	document.write("<table width='500' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td><script language='JavaScript'>snip('nav');</script>");
		break;
	case "bottom":
	document.write("<script language='JavaScript'>snip('nav');</script></td></tr></table>");
		break;
	case "nav":
		document.write("<span class='nav'><a href='http://www.birdandmoon.com'>Home</a> | <a href='birds.htm'>Birds</a> | <a href='bulbs.htm'>Bulbs</a> | <a href='about.htm'>About</a> | <a href='contact.htm'>Contact</a></span>");
		break;
	case "birdsnav":
	document.write("<b><a href='birds.htm'>Newest Birds</a> | <a href='birds010.htm'>10</a> | <a href='birds009.htm'>9</a> | <a href='birds008.htm'>8</a> | <a href='birds007.htm'>7</a> | <a href='birds006.htm'>6</a> | <a href='birds005.htm'>5</a> | <a href='birds004.htm'>4</a> | <a href='birds003.htm'>3</a> | <a href='birds002.htm'>2</a> | <a href='birds001.htm'>1</a></b>");
		break;
	}
}
