// JavaScript Document

function checkForm(contactForm)
{
	if(contactForm.email.value == ""){
		alert("Please give an Email Address so we can reply to you!");
		return false;
	}
	if(contactForm.message.value == ""){
		alert("Please enter your message in the message box.");
		return false;
	}
}

function loadSection(src, target){
    pane = $(target);
	
	new Ajax.Updater(pane, src+'', 
    {
		asynchronous:1, 
    	evalScripts:true, 
    	onLoading: 	function(request)	{ }, 
		onComplete: 	function(transport) {
			if(200 == transport.status){
				urchinTracker(src);
			}
		}
	});
}


   /*	
	*	Lets talk to flash
	*/
	
    function thisMovie(movieName) {
        var isIE = navigator.appName.indexOf("Microsoft") != -1;
        return (isIE) ? window[movieName] : document[movieName];
    }

    function makeCall(str) {
        thisMovie("holder").asFunc(str);
    }
