// JavaScript Document
bioRay = Array();

function simpleToggle(id) {
	f_id = $(id);
	sh_id = $(id + "_div");
	
	if(sh_id && sh_id.style.display == "none"){
		f_id.style.display = "none";
		sh_id.style.display = "block";
	} else if (sh_id && sh_id.style.display == "none") {
		f_id.style.display = "block";
		sh_id.style.display = "none";
	}
}

function showSub(id) {
	f_id = jQuery('#' + id).attr('rel');
	jQuery('#main_entry').attr({ style: "display:none" });
	jQuery('.sub_entry').attr({ style: "display:none" });
	jQuery('#' + f_id).attr({ style: "display:block" });
}

