
function sortcall(URL){
	if(URL == 'thick'){
		$(document).ready(function(){
		tb_show("Hello", "thickboxZipfinder.cfm?KeepThis=true&amp;TB_iframe=true&amp;width=600&amp;height=400", "");
		});
	} else {
		location = URL;
	}
}

function togglesortresultsdivs(overlayId, imageid, offimage, onimage, otherdiv, otherimageid, otheroffimage) {
	if (document.getElementById) {
	var otherDiv=document.getElementById(otherdiv);
	var otherImage=document.getElementById(otherimageid);
	var target = document.getElementById(overlayId);
	var image = document.getElementById(imageid);
	if (target.style.display == ""){
	image.src=offimage;
	target.style.display = "none";
	document.cookie="OpenDivs=none";
	} else {
	image.src=onimage;
	target.style.display = "";
	document.cookie="OpenDivs="+overlayId;
	}
	//if (otherDiv.style.display == "") {
	//otherDiv.style.display = "none";
	//otherImage.src=otheroffimage;
	// }
	}
}
