jQuery(document).ready(function(){
	var url = document.location.href;
	var panel_show = '';
	if(url.indexOf('#index')==-1){
		$('#panel1').show();
		$('#panel2').hide();
		panel_show = 'panel1';
	}else{
		$('#panel1').hide();
		$('#panel2').show();
		panel_show = 'panel2';
	}
	$('#show_list').click(function(){
		if(panel_show=='panel2'){
			$('#panel1').show();
			$('#panel2').hide();
			panel_show = 'panel1';
		}else{
			$('#panel1').hide();
			$('#panel2').show();
			panel_show = 'panel2';
		} 
	});
});
/*
//zoom
function show_hint(str,x,y,out){
	$(".show_hint").remove();
	$("<div class='show_hint'>"+str+"</div>").appendTo("body");
	$(".show_hint").css("left",x);
	$(".show_hint").css("top",y);
	$(".show_hint").show();
	if(out!=1){
		$(".show_hint").fadeOut(5000,function(){
			$(".show_hint").remove();
		})
	}
}

$(function(){
  $('#zooming img').zoom1().click(function(){
    $(this).zoom2().fadeIn().click(function(){
      $(this).hide(); return false; })
    .end().parent().addClass('red'); return false; });
});
*/