//below for sub menus
var divMenu = new FSMenu('divMenu', false, 'display', 'block', 'none');
divMenu.animations[divMenu.animations.length] = FSMenu.animFade;
//divMenu.animations[divMenu.animations.length] = FSMenu.animSwipeDown;
//divMenu.animations[divMenu.animations.length] = FSMenu.animClipDown;

//below for round corners
function addCorners() {
	/*
	The new 'validTags' setting is optional and allows
	you to specify other HTML elements that curvyCorners
	can attempt to round.

	The value is comma separated list of html elements
	in lowercase.

	validTags: ["div", "form"]

	The above example would enable curvyCorners on FORM elements.
	*/
	settings = {
			tl: { radius: 6 },
			tr: { radius: 6 },
			bl: { radius: 6 },
			br: { radius: 6 },
			antiAlias: true,
			autoPad: true,
			validTags: ["div"]
	}
	settings2 = {
			tl: { radius: 10 },
			tr: { radius: 10 },
			bl: { radius: 10 },
			br: { radius: 10 },
			antiAlias: true,
			autoPad: true,
			validTags: ["div"]
	}

	/*
	Usage:

	newCornersObj = new curvyCorners(settingsObj, classNameStr);
	newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2[, divObj3[, . . . [, divObjN]]]]);
	*/
	var myBoxObject = new curvyCorners(settings, "myBox6R");
	myBoxObject.applyCornersToAll();
	var myBoxObject = new curvyCorners(settings2, "myBox10R");
	myBoxObject.applyCornersToAll();
}

function CheckMultiple78(frm, name) {
	for (var i=0; i < frm.length; i++)
	{
		fldObj = frm.elements[i];
		fldId = fldObj.id;
		if (fldId) {
			var fieldnamecheck=fldObj.id.indexOf(name);
			if (fieldnamecheck != -1) {
				if (fldObj.checked) {
					return true;
				}
			}
		}
	}
	return false;
}

function CheckForm78(f) {
if (f.email.value == "") {
	alert("Please enter your email address.");
	f.email.focus();
	return false;
}

	return true;
};


