/*
	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(!dojo._hasResource["jobseeker.countSearchResults"]){dojo._hasResource["jobseeker.countSearchResults"]=true;dojo.provide("jobseeker.countSearchResults");var old="";function initCountSearchResults(){dojo.query("#FINDJOB input[type=checkbox]").onclick(function(e){countSearchResults();});dojo.query("#FINDJOB select").onchange(function(e){countSearchResults();});timer=setInterval(function(){var _3=dojo.byId("FTWords").value;var _4=_3.length;if(old!=_3&&_4>=searchMinLength){countSearchResults();old=_3;}},timeInterval);countSearchResults();};var countSearchResults=function(){var _5={url:"/services/candidat/countSearchResults.php",form:"FINDJOB",handleAs:"json",load:function(_6){dojo.byId("searchCounter").innerHTML=_6;},error:function(_7){console.debug(_7);}};var _8=dojo.xhrPost(_5);};dojo.addOnLoad(initCountSearchResults);}
