jQuery(document).ready(function(){	
	$('a.zoom').livequery('click', function(event) {
		return hs.expand(this);
		return false;
	    });
		
	$(".zoom").click(
		function(){
		return hs.expand(this);
		return false;
		});
	
	$(".refresh").click(
		function(){
		document.location=document.URL;
		return false;
		});
	
	$('a.show').livequery('click', function(event) {
		$("."+$(this).attr("obj")).toggle();
		return false;
	    });
	
	$('a.hidload').click(function(){
		$("."+$(this).attr('obj')).empty();
		$("."+$(this).attr('obj')).append('Loading...');
		$("."+$(this).attr('obj')).load("http://"+window.location.hostname+"/load"+$(this).attr("href"));
		$("."+$(this).attr('hide')).hide();
		return false;
		});
	
	$('a.hidload').livequery('click', function(event) {
		$("."+$(this).attr('obj')).empty();
		$("."+$(this).attr('obj')).append('Loading...');
		$("."+$(this).attr('obj')).load("http://"+window.location.hostname+"/load"+$(this).attr("href"));
		$("."+$(this).attr('hide')).hide();
		return false;
	    });
	
	
	var imfff=document.URL;
	imfff=imfff.replace("http://","").replace(document.domain,"");
	$(".h_m1 a[href='"+imfff+"']").parent("li").css("background","#999");
});

