// JavaScript Document
function show_hide (id) {
	if ( document.getElementById(id).style.display == 'none' ) {
		document.getElementById(id).style.display = '';
		document.getElementById('link_'+id).style.display = 'none';
	}
	else {
		document.getElementById(id).style.display = 'none';
		document.getElementById('link_'+id).style.display = '';
	}
}



function switch_id ( id1, id2 ) {
	if ( div1 = document.getElementById(id1)) {
		div1.id = id2;
	}
	else {
		document.getElementById(id2).id = id1;
	}
}




function over(style) {
	style.cursor='pointer';
}

function out(style) {
	style.cursor='default';
}

function swapImages(obj,ce,cu_ce){
	var src = obj.src;
	var new_src;
	
	new_src = src.replace(ce,cu_ce);
	
	obj.src = new_src;
}