// CSS Top Menu- By JavaScriptKit.com (http://www.javascriptkit.com)
// Adopted from SuckerFish menu
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
// Please keep this credit intact

startMenu = function() {
	if (document.all && document.getElementById) {
		for (j=1; j<=2; j++) {
			cssmenu = document.getElementById("csstopmenu"+j);
			if (cssmenu != undefined)
			for (i=0; i<cssmenu.childNodes.length; i++) {
				node = cssmenu.childNodes[i];
				if (node.nodeName=="LI") {
					node.onmouseover=function() {
					this.className+=" over";
					}
					node.onmouseout=function(){                  
					this.className=this.className.replace(" over", "")
					}
				}
			}
		}
	}
}

if (window.attachEvent)
	window.attachEvent("onload", startMenu)
else
	window.onload=startMenu;

function startSlides() {
	SLIDES.play(); 
	SLIDES1.play(); 
	SLIDES2.play(); 
	SLIDES3.play();
}
function SetChkValue(obj) {
	if (obj.checked)
		obj.value = 1;
	else
		obj.value = 0;
alert("val=" + obj.value); //deleteme
}

function ValidateForm(fm) {
var FullName = document.getElementById("FullName");
	if (FullName != undefined)
		if (FullName.value == "") {
			alert("You must enter your Name.\n\nForm has not been submitted to nude nosh.");
			return false;
		}
var Email = document.getElementById("Email");
	if (Email != undefined)
		if (Email.value == "") {
			alert("You must enter an Email address.\n\nForm has not been submitted to nude nosh.");
			return false;
		}
	
	return true;
}


function fom(id, yourEnquiry) {
// Find out more -- navigate to the appropriate email.asp page.
var ye = "I am interested in: " + yourEnquiry;
	document.location.href = "email.asp?YourEnquiry=" + ye + "&lbInterests=" + id;
}