
function right(somevar){
	document.getElementById('imageright').src = somevar;
}

function showDiv(divid) {
   if (document.layers) document.layers[divid].visibility="show";
   else document.getElementById(divid).style.visibility="visible";
}
function hideDiv(divid) {
   if (document.layers) document.layers[divid].visibility="hide";
   else document.getElementById(divid).style.visibility="hidden";
}

function toggle(show) {
	YAHOO.util.Dom.setStyle(YAHOO.util.Dom.getElementsByClassName('newslisting', 'div', document.body), 'visibility', 'hidden'); 
	YAHOO.util.Dom.setStyle(show, 'visibility', 'visible'); 
}	
	
shown = '0';

function showmenu(blocknum) {
	
	shownv = ('smenu' + (shown));
	unhid = ('smenu' + (blocknum));

	if( document.getElementById ) {
		//if (shown != 0){
			document.getElementById(shownv).style.display = "none";
		//}
		document.getElementById(unhid).style.display = "block"; 
		shown = blocknum;
	}
}