howFast = 1500


  mainImage = new Array
	("photos/p-child-1.jpg",
	"photos/p-child-2.jpg",
	"photos/p-child-3.jpg",
	"photos/p-child-4.jpg",
	"photos/p-child-5.jpg",
	"photos/p-child-6.jpg",
	"photos/p-child-7.jpg",
	"photos/p-family-1.jpg",
	"photos/p-family-2.jpg",
	"photos/p-family-3.jpg",
	"photos/p-family-4.jpg",
	"photos/p-family-5.jpg",
	"photos/p-family-6.jpg",
	"photos/p-family-7.jpg",
	"photos/p-family-8.jpg",
	"photos/p-solo-1.jpg",
	"photos/p-solo-2.jpg",
	"photos/p-solo-3.jpg",
	"photos/p-solo-4.jpg",
	"photos/p-solo-5.jpg",
	"photos/p-solo-6.jpg",
	"photos/p-solo-7.jpg",
	"photos/p-art-1.jpg",
	"photos/p-art-2.jpg",
	"photos/p-art-3.gif",
	"photos/p-art-4.jpg",
	"photos/p-art-5.jpg",
	"photos/p-art-6.jpg",
	"photos/p-modern-1.jpg",
	"photos/p-modern-2.jpg",
	"photos/p-modern-3.jpg",
	"photos/p-modern-4.jpg",
	"photos/p-modern-5.jpg",
	"photos/p-modern-6.jpg",
 	"photos/w-timeless-1.jpg",
	"photos/w-timeless-2.jpg",
	"photos/w-timeless-3.jpg",
	"photos/w-timeless-4.jpg",
	"photos/w-timeless-5.jpg",
	"photos/w-timeless-6.jpg"
	)


    imgCt = mainImage.length
    oldImage = 0
  

      function randSwap() {
        if (document.images) {
              thisImage = Math.floor((Math.random() * imgCt))
              if (thisImage == oldImage) {
                  thisImage = thisImage + 1
                  if (thisImage == imgCt) {
                      thisImage = 0
                      }
              }
              document.main.src = mainImage[thisImage]
              oldImage = thisImage
        }     
      }







var cssmenuids=["cssmenu1"] //Enter id(s) of CSS Horizontal UL menus, separated by commas
var csssubmenuoffset=-1 //Offset of submenus from main menu. Default is 0 pixels.

function createcssmenu2(){
for (var i=0; i<cssmenuids.length; i++){
  var ultags=document.getElementById(cssmenuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
			ultags[t].style.top=ultags[t].parentNode.offsetHeight+csssubmenuoffset+"px"
    	var spanref=document.createElement("span")
			spanref.className="arrowdiv"
			spanref.innerHTML="&nbsp;&nbsp;&nbsp;&nbsp;"
			ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)
    	ultags[t].parentNode.onmouseover=function(){
					this.style.zIndex=100
    	this.getElementsByTagName("ul")[0].style.visibility="visible"
					this.getElementsByTagName("ul")[0].style.zIndex=0
    	}
    	ultags[t].parentNode.onmouseout=function(){
					this.style.zIndex=0
					this.getElementsByTagName("ul")[0].style.visibility="hidden"
					this.getElementsByTagName("ul")[0].style.zIndex=100
    	}
    }
  }
}

if (window.addEventListener)
window.addEventListener("load", createcssmenu2, false)
else if (window.attachEvent)
window.attachEvent("onload", createcssmenu2)