	
		$(document).ready(function(){
			
			// old scroll
			if( document.getElementById("divScrollTextCont") ){ scrolltextInit(); }
			
			// $(".switch_list DIV.switch_panel").css('display', 'none');
			
			// remove old scroll
			$("DIV#txt_scroll").remove();
			
			// new scroll			
			$('#divText').jScrollPane({dragMaxHeight:13, showArrows:true, scrollbarWidth:15});


			$(".switch_list A").click(function(){
			
				if( $(this).next().css('display') == 'block' ){
					
					// show explanation
					$(this).next().css('display', 'none');
					
				}
				else {			
					
					// hide all
					$(".switch_list DIV.switch_panel").css('display', 'none');
					
					// show explanation
					$(this).next().css('display', 'block');
					
					// mark clicked point
					var rand_no		= Math.random();
					rand_no 		= rand_no * 100000;
					tmp_href 		= 'tmp_'+rand_no;
					$(this).after('<a name="'+tmp_href+'"></a>');
					
					// re init panel
					$('#divText').jScrollPane({dragMaxHeight:13, showArrows:true, scrollbarWidth:15});
					
					// scroll to new tmp href
					var $pane 		= $('#divText');
					var $panetop 	= parseInt($pane.offset().top);
					offset_top 		= $("a[name="+tmp_href+"]").offset().top;
					$pane[0].scrollTo(offset_top - $panetop - 10);

				}
				
				return false;
				
			});
			
			$("#divText").css({
				visibility: 'visible'
			})

			
		});
