$(function(){
				$('.lexique').click(function(){
					$(this)
						.next()
						.toggle('fast')
						.siblings('.display')
						.hide('fast');
				}).next().hide();
			});
$(function(){
				$('.lexiqueall').click(function(){
					$(this)
						.next()
						.siblings('.display', '.lexique')
						.toggle('fast');
				});
			});
jQuery(document).ready(function(){
				$('div.chr,div.entnb,div.entname,div.entdesc').hide();
				$('div.chrASCII,div.entnbASCII').hide();
$(function(){
				$('h3.displaytab, img.zoom').click(function(){
					$(this)
						.next()
						.hide('fast')
						.siblings('div.chr,div.entnb,div.entname,div.entdesc,div.chrASCII,div.entnbASCII')
						.toggle('fast');
				}).next().hide();
			});
$("img.zoom").bind("click", function() {
						var src = ($(this).attr("src") === "http://www.feedjy.com/images/zoom+.png")
						? "http://www.feedjy.com/images/zoom-.png" 
						: "http://www.feedjy.com/images/zoom+.png";
						$(this).attr("src", src);
					});			
});
function encodez() {
	var obj = document.getElementById('encoder');
	var unencoded = obj.value;
	obj.value = encodeURIComponent(unencoded);
}
function decodez() {
	var obj = document.getElementById('encoder');
	var encoded = obj.value;
	obj.value = decodeURIComponent(encoded.replace(/\+/g,  " "));
}


