// JavaScript Document
		var sp = new Spry.Widget.SlidingPanels('slidingpanel');
		
		function changeButtonCurrentStatus(){
		
			backele = window.document.getElementById('spmenubackA');
			backele.style.backgroundPosition = "0 0";
			backele.style.cursor = "auto";
			nextele = window.document.getElementById('spmenunextA');
			nextele.style.backgroundPosition = "0 0";
			nextele.style.cursor = "auto";
			
			if(sp.getContentPanelIndex(sp.currentPanel) == 0){
				backele.style.backgroundPosition = "0 -20px";
				backele.style.cursor = "default";
			}
			if(sp.getContentPanelIndex(sp.currentPanel) == (sp.getContentPanels().length - 1)){
				nextele.style.backgroundPosition = "0 -20px";
				nextele.style.cursor = "default";
			}
		}
		changeButtonCurrentStatus();
