
<!--

	//var iHeader = 0


	aryHeaders = new Array(
		"images/header/dahlia-760x210.jpg",
		"images/header/rudbekia-760x210.jpg",
		"images/header/chicory-760x210.jpg",
		"images/header/cosmos-760x210.jpg",
		"images/header/cosmos-white-760x210.jpg",
		"images/header/bradford-760x210.jpg",
		"images/header/daisies-760x210.jpg",
		"images/header/evening-primrose-760x210.jpg",
		"images/header/lilacs-760x210.jpg",
		"images/header/buddliea-760x210.jpg",
		"images/header/echinacea-760x210.jpg",
		"images/header/day-lilies-760x210.jpg",
		"images/header/poppy-760x210.jpg",
		"images/header/potato-vine-760x210.jpg",
		"images/header/mandevellia-760x210.jpg",
		"images/header/yarrow-760x210.jpg",
		"images/header/hibiscus-760x210.jpg",
		"images/header/primrose-760x210.jpg",
		"images/header/balloon-flower-760x210.jpg",
		"images/header/morning-glory-760x210.jpg",
		"images/header/cosmos-red-760x210.jpg",
		"images/header/cyclamen-760x210.jpg",
		"images/header/unknown1-760x210.jpg",
		"images/header/unknown2-760x210.jpg",
		"images/header/roses-760x210.jpg",
		"images/header/chrysanthemum-760x210.jpg",
		"images/header/autumn-sedum-760x210.jpg",
		"images/header/cyclamen-fall-760x210.jpg",
		"images/header/chrysanthemum-red-760x210.jpg",
		"images/header/wild-aster-760x210.jpg",
		"images/header/coleus-760x210.jpg",
		"images/header/geranium-fall-760x210.jpg",
		"images/header/chrysanthemum-fall-760x210.jpg",
		"images/header/fall-colors-2009a-760x210.jpg",
		"images/header/fall-colors-2009b-760x210.jpg",
		"images/header/fall-colors-2009c-760x210.jpg",
		"images/header/late-fall-2009-760x210.jpg",
		"images/header/late-fall-b-2009-760x210.jpg",
		"dummy")
		
	aryNames = new Array(
		"from nearby gardens ~ Zinnia bloom",
		"from Jonesborough gardens ~ Rudbeckia",
		"from the country roadside ~ Chicory (Cichorium intybus)",
		"from our studio entrance ~ Cosmos",
		"from our studio entrance ~ Cosmos",
		"from our garden ~ Bradford Pear blossoms",
		"from nearby fields ~ Daisy blossoms",
		"from our garden ~ Evening Primrose",
		"from our garden ~ Early summer Lilacs blooming",
		"from our garden ~ Buddliea blossoms",
		"from our garden ~ Echinacea",
		"from nearby fields ~ Daylilies",
		"from nearby fields ~ California Poppy",
		"from our front porch ~ Potato Vine",
		"from our studio entrance ~ Mandevellia",
		"from our garden ~ Achillea Yarrow",
		"from local gardens ~ Hibiscus",
		"from Jonesborough gardens ~ Primrose",
		"from local gardens ~ Balloon Flower",
		"from our studio entrance ~ Morning Glory",
		"from our studio entrance ~ Cosmos",
		"from our studio ~ Cyclamen (hederifolium)",
		"from Jonesborough gardens",
		"from our front porch",
		"from our garden ~ Late Summer Roses",
		"from our garden ~ Chrysanthemum",
		"from our garden ~ Autumn Sedum",
		"Fall Cyclamen (hederifolium)",
		"from our studio ~ Chrysanthemum",
		"from Roan Mountain ~ Wild Aster",
		"from our garden ~ Coleus",
		"from our studio ~ Fall Geraniums",
		"from our studio ~ Fall Chrysanthemum",
		"from our mountains ~ Fall leaves",
		"from our mountains ~ Fall leaves",
		"from our mountains ~ Fall leaves",
		"Late Fall blossoms",
		"Fall berries",
		"dummy" )			
				
	aryHeaderSize = aryHeaders.length-1
	var iRandom = Math.floor(Math.random()*aryHeaderSize)
	var sHeader = aryHeaders[iRandom]+""
	var sHeaderName = aryNames[iRandom]+""
	
	if (iHeader!=null)
	{
		sHeader = aryHeaders[iHeader]
		sHeaderName = aryNames[iHeader]
	}	
			
	function SetBackground()
	{
		//window.document.getElementById("headername").innerHTML = "<small>Photo above: " + sHeaderName +"</small>";
		window.document.getElementById("photoindex").innerHTML = "<font color=#f5f0e6><small>"+ iRandom +"</small></font>";
		window.document.getElementById("header").style.backgroundImage = "url("+sHeader+")"; 
	}
	
	function NewIndex()
	{
		iRandom = Math.floor(Math.random()*aryHeaderSize)
		sHeader = aryHeaders[iRandom]+""
		sHeaderName = aryNames[iRandom]+""
	}
	
//-->

