function preload() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=preload.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function validate_form ( ) { 

	if(!document.Entrant_Form.Act_Artist_Name.value){alert("Please enter your Act/Artist Name"); 
	return false; } 
	
	if(!document.Entrant_Form.Song_Title_One.value){alert("Please enter your Song Title"); 
	return false; } 
	
	if(!document.Entrant_Form.Contact_Name.value){alert("Please enter your Contact Name"); 
	return false; } 
	
	if(!document.Entrant_Form.Postal_Address.value){alert("Please enter your Postal Address"); 
	return false; } 
	
	if(!document.Entrant_Form.Town_Suburb.value){alert("Please enter your Town/Suburb"); 
	return false; } 
	
	if(!document.Entrant_Form.Postcode.value){alert("Please enter your Postcode"); 
	return false; } 
	
	if(!document.Entrant_Form.Phone.value){alert("Please enter your Phone Number"); 
	return false; } 
	
	if(!document.Entrant_Form.Email.value){alert("Please enter your Email Address"); 
	return false; } 
	
	if(!document.Entrant_Form.Age_s.value){alert("Please enter your Age/s"); 
	return false; } 
	
	if(!document.Entrant_Form.terms.checked){alert("Please Read the Terms and Conditions and check the box below"); 
	return false; } 
	
	if(!document.Entrant_Form.years.checked){alert("18 years and over must tick this box"); 
	return false; } 
	
	return true;
}
