function divOn(div)
{
	if(document.getElementById(div)){
		document.getElementById(div).style.display = 'block';	
	}
}


function jobPrecis(resultId, id, incFile){
	
		// <![CDATA[

		var ajax;
		var d = new Date();
		var t = d.getTime(); 
		
		//prompt('URL!', 'includes/ajax_jobPrecis.php?id='+id+'&tdiv='+resultId+'&inc='+incFile+'&date='+t);

		ajax =  new Ajax.Updater(
			 resultId,        		// DIV id must be declared before the method was called
			 'includes/ajax_jobPrecis.php?id='+id+'&tdiv='+resultId+'&inc='+incFile+'&date='+t,{method:'get',asynchronous:true});
//			 'includes/asdf.htm',{method:'get',asynchronous:true});
		// ]]>
	
}

function jobFull(resultId, id, incFile){
	
		// <![CDATA[
		
		var ajax;
		var d = new Date()
		var t = d.getTime() 
		
	 	ajax =  new Ajax.Updater(
			 resultId,        		// DIV id must be declared before the method was called
			 'includes/ajax_jobFull.php?id='+id+'&inc='+incFile+'&date='+t,{method:'get',asynchronous:true});
		// ]]>
	
}

function recruitContent(resultId, id, incFile){
		
		// <![CDATA[
		if(id != 0){
			var ajax;
			var d = new Date()
			var t = d.getTime() 
			
			ajax =  new Ajax.Updater(
				 resultId,        		// DIV id must be declared before the method was called
				 'includes/ajax_recruitContent.php?id='+id+'&inc='+incFile+'&date='+t,{method:'get',asynchronous:true});
		}else{
				
		}
		// ]]>
	
}
