function hideProgress(){
	jQuery('#search').attr('style','display:none');	
	jQuery('#mediload').fadeIn('fast', function() {
	});
}

jQuery.noConflict();
jQuery(document).ready(function() {
	jQuery('#search').bind('load', function() {
		jQuery('#mediload').delay(500).fadeOut('fast', function() {
		});	
		var frm = jQuery('#search').contents().find('form');
		//remove a field
		var i = 0;
		frm.find('tr').each(function() {if(i == 7){ jQuery(this).attr('style','display:none;');}i= i+1; });
		//reduce padding
		frm.find('td').attr('style','height:19px;');		
		frm.find('textarea').attr('style','width:99%;');
		jQuery('#search').contents().find('#_dosubmit').click(function(event) {
			frm.attr('action','http://medipeople.com.au/medical-recruitment/search-for-jobs/');
			frm.attr('method','get');
			frm.attr('target','_parent');				
			frm.trigger('submit');
		});
		jQuery('#search').delay(1000).fadeIn('fast', function() {
		         // Animation complete
		});
	});
});


