function latestLinksVisibility(sortBy) {
		var a = document.getElementById("congressDailyLatest");
		var b = document.getElementById("hotlineLatest");
		var c = document.getElementById("nationaljournalLatest");
		var d = document.getElementById("allPubsLatest");
		var e = document.getElementById("sortByPubLink");
		var f = document.getElementById("sortByDateLink");
		
		if( (d.style.display == 'none' || d.style.display == '') && sortBy == "date"){
			a.style.display = b.style.display = c.style.display = 'none';
			d.style.display = 'block';
			e.style.cursor = 'pointer';
e.style.textDecoration = 'underline';
f.style.textDecoration = 'none';
			f.style.cursor = 'default';
			
		}else if (sortBy == "pub"){
			a.style.display = b.style.display = c.style.display = 'block';
			d.style.display = 'none';
			e.style.cursor= 'default';
e.style.textDecoration = 'none';
f.style.textDecoration = 'underline';
			f.style.cursor= 'pointer';
		}
    }


	function jump(form){
		var myindex=form.menu.selectedIndex;
		if(form.menu.options[myindex].value != "0") {
			window.open(form.menu.options[myindex].value, target="_self");
		}
	}   

function expandEarlybird(){
	$("div#earlybird p.subsequentitems").toggle();
	
	if (document.getElementById("expandEarlybirdLink").innerHTML == "- Collapse to see less"){
		document.getElementById("expandEarlybirdLink").innerHTML = "+ Expand to read more";
	} else {
		document.getElementById("expandEarlybirdLink").innerHTML = "- Collapse to see less";
	}
}
