function myInit() {	
	
	$("a[href^='http:']").not("[href*='triconsulting.net']").attr('target','_blank');
	
	$("#navigation > ul > li").hover( function () {				
		$(this).addClass('hover');		
		},function () {		
		$(this).removeClass('hover');
		}
		);
	$("#navigation > ul > li > ul > li:first").css('background-image','none');
	
	}


function formGo(){
	var a_flag = false;
       
	var a_string="";
       
	if ($("#Temporary").attr("checked")){
	    a_string = a_string + "Temporary"
	    a_flag=true;
	}
	if ($("#Permanent").attr("checked")){
	    if ($("#Temporary").attr("checked")){
		a_string = a_string + "_"
	    }
	    a_string = a_string + "Permanent"
	    a_flag=true;
	}
	if ($("#Contract").attr("checked")){
	    if ($("#Permanent").attr("checked")){
		a_string = a_string + "_"
	    }
	    else if(!$("#Permanent").attr("checked") && $("#Temporary").attr("checked")){
		a_string = a_string + "_"
	    }
	  
	    a_string = a_string + "Contract"
	    a_flag=true;
	}
      
	if (!a_flag){
	    a_string = "-"
	}
      
	if (!$("#Contract").attr("checked") && !$("#Permanent").attr("checked") && !$("#Temporary").attr("checked")){
	    alert("Sorry, but you must check at least one box.");
	}
	else{
	    document.location.href="/jobs/"+$("#category").val()+"/"+a_string+"/"+$("#location").val();
	    //alert(search_form[\'location\']); 
	}      
    }
