$(document).ready(function() {
				$('a.survol').cluetip({tracking: true});
			});
			$(function() {	
				$("#viewer").imageScroller( {
					next:"btn1",
					prev:"btn2",
					frame:"viewerFrame",
					width:50,
					child:"img",
					auto:false
				});
			});
			$(function() {
			    $("a.navigation").each(function() {
			    	var $my_anchor = $(this);
					var old_href = $my_anchor.attr('href');
					$my_anchor.attr('href',old_href+'#linkheader');
				});
			});
			function changeTo(newId) {
				document.getElementById('iimg').src="media/images/plan_0"+newId+".jpg";
				document.getElementById('curseur').src="media/images/curseur0"+newId+".png";
			}
function showMore(switchid,id,replacetext) {
	swchlog = document.getElementById(switchid);
	swchlog.innerHTML = "<h2 onclick=\"hideMore('"+switchid+"','"+id+"','"+replacetext+"');\" style=\"background:url(./images/vershaut.png) no-repeat right;\">"+replacetext+"<\/h2>";
	divch = document.getElementById(id);
	divch.className = 'text-opened';
	return false;
}

function hideMore(switchid,id,replacetext) {
	swchlog = document.getElementById(switchid);
	swchlog.innerHTML = "<h2 onclick=\"showMore('"+switchid+"','"+id+"','"+replacetext+"');\" style=\"background:url(./images/versbas.png) no-repeat right;\">"+replacetext+"<\/h2>";
	divch = document.getElementById(id);
	divch.className = 'text-closed';
	return false;
}
function OpenPopup(FileName,Width,Height)
{
window.open(FileName,"Popup","width="+Width+",height="+Height+",top=120,left=120,directories=no,menubar=no,toolbar=no,location=no,status=yes,resizable=no,scrollbars=yes");
}
