$(document).ready(function(){$('#provselect').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"Select a region..."});$('#provselect-right').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"All of Canada..."});$('#industryselect').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"Select an industry sector..."});$('#industryselect2').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"All industries..."});$('#purposeselect').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"All purposes of financing..."});$('#audienceselect').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"All demographic groups..."});$('#catselect').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"All topics"});$('select.sgcselect').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"Select a participating municipality..."});$('select.naicsselect').multiSelect({oneOrMoreSelected:'*',selectAll:false,noneSelected:"Select an industry..."});$('ul.sf-menu').superfish();$('div.toggler-c').toggleElements();$(".select_all_permits").click(function(){$el=$(this).parent().parent().parent().parent();$("table."+$el.attr("class")+" input[name^='permits']").attr('checked',true);return false;});$(".select_no_permits").click(function(){$el=$(this).parent().parent().parent().parent();$("table."+$el.attr("class")+" input[name^='permits']").attr('checked',false);return false;});$('#keywords').hint();$("#rotator li a").bigTarget();$(function()
{$("#permit_results label").hover(function()
{$(this).parent().parent().addClass("highlight");},function()
{$(this).parent().parent().removeClass("highlight");})})
$("#permit_results input").click(function(){if(this.checked==true){$(this).parent().parent().addClass("checked");}
if(this.checked==false){$(this).parent().parent().removeClass("checked");}});});