	jQuery(document).ready( function () {
		jQuery("#primaryNav").css({ top: '95px' });
	});
	jQuery(document).ready( function () {
		jQuery("#logoDiv").css({ display: 'block' });
	});
	
function setPlayer()
{           
	var linkObj = document.getElementById('audioImg');                                                                                
	var src = linkObj.src;
	if(src.match(/audio_on/) != null)                                                                                                
	{                                                                                                                                  
		linkObj.src = "/wp-content/themes/thesis_18/custom/images/audio_off.gif";
		ap_stopAll('audioplayer');                                                                                                    
		setCookie('audio_value',0,365);
	}                                                                                                                                  
	else 
	{                                                                                                                                  
		linkObj.src = "/wp-content/themes/thesis_18/custom/images/audio_on.gif";
		setCookie('audio_value',1,365);
		loadPlayer("soundDiv", "yes");
	}                                                                                                                                  
}   

function checkForm(theform)
{
	if(theform.Name.value == "")
	{
		alert("You did not provide your 'Name'.");
		theform.Name.focus();
		return false;
	}
	else if(theform.Email.value == "")
	{
		alert("You did not provide your 'Email'.");
		theform.Email.focus();
		return false;
	}
	else if(theform.Informaiton.value == "")
	{
		alert("You did not provide any'Information'.");
		theform.Information.focus();
		return false;
	}

	return true;
}

