function onResetClick() {
	document.FormParam.CategoryGroupTid.options[document.FormParam.CategoryGroupTid.selectedIndex].value = '';
	document.FormParam.StateCd.value = '';
	document.FormParam.keywords.value = '';
	document.FormParam.submit();
}

function onPreviewClick(param, param2) {

	var theHeight = 600;
	var theWidth = 768;
	var theTop=(screen.height/2)-(theHeight/2);
	var theLeft=(screen.width/2)-(theWidth/2);
	var features=
	'height='+theHeight+',width='+theWidth+',top='+theTop+',left='+theLeft+",toolbar=no, resizable=yes, menubar=yes,scrollbars=yes";
	if (param2 == '1') {
		theWin=window.open('/job-search/jobs-detail.php?Id=' + param ,'',features);
	} else {
		theWin=window.open('/job-search/jobs-classified.php?Id=' + param ,'',features);
	}
}


function onCompanyClick(param) {
	var theHeight = 600;
	var theWidth = 768;
	var theTop=(screen.height/2)-(theHeight/2);
	var theLeft=(screen.width/2)-(theWidth/2);
	var features=
	'height='+theHeight+',width='+theWidth+',top='+theTop+',left='+theLeft+",toolbar=no, resizable=yes, menubar=yes,scrollbars=yes";
	theWin=window.open('/job-search/list-all-jobs.php?Tid=' + param ,'',features);
}