			Cufon.replace('h2,h3,h4,h5, #nav ul li a'); // Works without a selector engine
			Cufon.replace('h1', {
				textShadow: '1px 1px rgba(0, 0, 0, 0.5)'});
			Cufon.replace('.h3-contact', {
				textShadow: '1px 1px rgba(0, 0, 0, 0.5)'});
			
			
			
			$(document).ready(function(){
				var options = { 
					target:        '#output1',   // target element(s) to be updated with server response 
					beforeSubmit:  showRequest,  // pre-submit callback 
					success:       showResponse,  // post-submit callback 
					url:       '/ajaxform.php',         // override for form's 'action' attribute 
				}; 
			 
				// bind form using 'ajaxForm' 
				$('#quick_contact_form').ajaxForm(options); 									   
				//
				$('#Name,#Email,#Telephone,#Message').each(function(){
					if($(this).attr('value') == ''){ $(this).attr('value',$(this).attr('id')); }							
				});
				$('#Name,#Email,#Telephone,#Message').click(function(){
					$('#Name,#Email,#Telephone,#Message').focusout(function(){ if($(this).attr('value') == ''){ $(this).attr('value',$(this).attr('id')); } });
					if(($(this).attr('id') == $(this).attr('value')) ||	$(this).attr('id') == $(this).html()){
						$(this).attr('value','');
						$(this).empty();
					}
				});		   
				//$('#masthead_image').append("<img src=\"images/masthead_image_2.jpg\" width=\"325\" height=\"354\" alt=\"Welders and Steel Fabricators\" />");
			});


// pre-submit callback 
function showRequest(formData, jqForm, options) { 
	var form = jqForm[0]; 
    if ((form.name.value=="Name") || (form.email.value=="Email") || (form.telephone.value=="Telephone") || (form.message.value=="Message")) { 
        alert('Please complete all fields with your own details'); 
        return false; 
    } 
    return true; 
} 
 
// post-submit callback 
function showResponse(responseText, statusText, xhr, $form)  { 
    // for normal html responses, the first argument to the success callback 
    // is the XMLHttpRequest object's responseText property 
 
    // if the ajaxForm method was passed an Options Object with the dataType 
    // property set to 'xml' then the first argument to the success callback 
    // is the XMLHttpRequest object's responseXML property 
 
    // if the ajaxForm method was passed an Options Object with the dataType 
    // property set to 'json' then the first argument to the success callback 
    // is the json data object returned by the server 
 	$('#form form').remove();
} 
