//---form checker
	
		function CheckForm()
{
	frm = document.contact;
	if (frm.FirstName.value.length <= 0)
	{
		alert("Your First Name Is Required");
		return false;
	}
	
	if (frm.LastName.value.length <= 0)
	{
		alert("Your Last Name Is Required");
		return false;
	}
	
		if (frm.Phone.value.length <= 0)
	{
		alert("Your Phone # Is Required");
		return false;
	}
		
		
	if (frm.Email.value.length <= 0)
	{
		alert("Your Email Address Is Required");
		return false;
	}

	
	if (frm.ProjectDetails.value.length <= 0)
	{
		alert("Your Project Details Is Required");
		return false;
	}

	if (checkEmailAddress(frm.Email.value))
	{
		return true;
	}else{
		return false;
	}
	
	return true;
}

function checkEmailAddress (subject)
{
	if (subject.match(/\b[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,4}\b/)) {
		return true;
	} else {
		alert('Invalid Email Address\nPlease verify the email address');
		return false;
	}
}
//-->
<!--
function startList(elementID) {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById(elementID);
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() { this.className+=" over"; }
  				node.onmouseout=function() { this.className=this.className.replace(" over", ""); }
   			}
  		}
 	}
}

//window.onload= function(){
//	startList();
	// unhide startList2(); IF you have another dropdown menu
	// you can also add additional onLoad functions after the initial startList();
	// ex. add MM_preloadImages(); this will avoid the error of the drop down not working
// to add a second drop down menu you'll need another instance of the above funtion startList(), but you need to call it a different name, ex. funtion startList2(). You will also need to give it a unique ID, ex. navRoot = document.getElementById("navList2");
//}

window.onload= function(){
	startList("navList");
//	startList("navList2");
}
//-->

<!-- // Inserts Flash object on page, called as a function; variables are SWF-file-path, height(px) and width(px)

// ===> ADD THIS CODE TO main.js -- if there's no main.js, start a new file, paste this code then save as 'main.js'
// If you create main.js, paste this code into the <HEAD> tag area:
//   <script language="javascript" type="text/javascript" src="main.js"></script>

function InsertSWF(SWFpath,SWFwidth,SWFheight) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+SWFwidth+'" height="'+SWFheight+'">');
	document.write('<param name="movie" value="'+SWFpath+'">');
	document.write('<param name="quality" value="high">');
	document.write('<embed src="'+SWFpath+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+SWFwidth+'" height="'+SWFheight+'"></embed>');
	document.write('</object>');
}

// Paste this snippet in an empty file and save to the root folder as: InsertSWF.js
//
// ===> *** ADD THIS CODE TO HTML PAGE BODY ***
//   <script>InsertSWF("SWF_PATH","WIDTH","HEIGHT");</script>
//
//  WHERE: 
//    SWF_PATH is the path and filename of the SWF (for instance, include 'flash/' if it's in that folder)
//    WIDTH is the width of the flash movie (pixels)
//    HEIGHT is the height of the flash movie (pixels)
//    *** Leave the quotes as they are! Do not add any other quotes! ***
//
// When you're all done, the HTML will include this script file by using a function call; 
// the function writes the standard OBJECT and EMBED tags, automatically placing the correct name of the SWF,
// along with it's height and width, so the SWF will appear on the page without interruption.
// (this avoids the infamous "Click to activate" issue for Internet Explorer 6 and later)
//
// *** You can re-use the HTML function call tag for any number of different SWF files on the site! ***
// *** Be sure to change the path/file for the SWF, as well as match the width and height values for each SWF! ***
// -->
