$(document).ready(function(A){
//OpenCloseFilterSection(1);
});function closePopUp(){alert(1);$(document).trigger("close.facebox");
}function OpenSearch(){$("#hiddenSearchBox").slideDown("slow");$(".newSearchImage").hide();
}function closeSearch(){$("#hiddenSearchBox").slideUp("slow");$(".newSearchImage").slideDown("slow");
}function bindSpOfferFilter(){$(".availibiltyFilterContentChckBox .childParksDiv").css("display","none");
$(".availibiltyFilterContentChckBox .collExpSign").bind("click",function(A){A.preventDefault();
ToggleParksNew($(this).attr("id"));});}function toggleSearch(B,D,C){var A=document.getElementById(B);
var F=document.getElementById(D);var E=document.getElementById(C);$(A).toggle("slow");
$(F).toggle("slow");$(E).toggle("slow");}function tabLoading(){$("a.plus").css("display","none");
$("a.minus").css("display","block");}function ToggleParks(F,C,D){var A=document.getElementById(D);
var B=document.getElementById(F);var E=document.getElementById(C);$(A).toggle("slow");
$(B).toggle("slow");$(E).toggle("slow");}function ToggleParksNew(A){if($("#"+A).parent("div").children(".childParksDiv").is(":hidden")){$("#"+A).parent("div").children(".childParksDiv").show("slow");
$("#"+A).html("&nbsp;-");}else{$("#"+A).parent("div").children(".childParksDiv").slideUp();
$("#"+A).html("&nbsp;+");}}var CurrentSection=1;var initialFilterSet=false;function OpenCloseFilterSection(A){CurrentSection=A;
var B=new Array();B[0]="FilterSection1";B[1]="FilterSection2";B[2]="FilterSection3";
B[3]="FilterSection4";var E=new Array();E[0]="filterLink1";E[1]="filterLink2";E[2]="filterLink3";
E[3]="filterLink4";var D;var C=$("#"+B[A-1]).css("display");if(initialFilterSet&&C!=null&&C.toLowerCase()!="none"){$("#"+B[A-1]).slideUp("slow");
$("#"+E[A-1]+" img").attr("src","/Images/Navigation/results-arrow_up.gif");}else{for(D=0;
D<4;D++){if(D==A-1){$("#"+B[D]).slideDown("slow");$("#"+E[D]+" img").attr("src","/Images/Navigation/results-arrow_down.gif");
}else{$("#"+B[D]).slideUp("slow");$("#"+E[D]+" img").attr("src","/Images/Navigation/results-arrow_up.gif");
}}}initialFilterSet=true;}function OpenCloseFilterSectionNoslide(A){CurrentSection=A;
var B=new Array();B[0]="FilterSection1";B[1]="FilterSection2";B[2]="FilterSection3";
B[3]="FilterSection4";var D=new Array();D[0]="filterLink1";D[1]="filterLink2";D[2]="filterLink3";
D[3]="filterLink4";var C;for(C=0;C<4;C++){if(C==A-1){$("#"+B[C]).css("display","block");
$("#"+D[C]+" img").attr("src","/Images/Navigation/results-arrow_down.gif");}else{$("#"+B[C]).css("display","none");
$("#"+D[C]+" img").attr("src","/Images/Navigation/results-arrow_up.gif");}}}


