//$("p.imgs>img").css("width","80px").css("margin-left","15px");
$(document).ready(function(){
        $("div#bigImage").hide();
        $(".imgs img").click(function(){
	if($("div#bigImage img").length==0){
		var tmpImg=$('<img  src="'+$(this).attr("src")+'"/>');
                //var tmpImg=$('<img style="display:none;" src="'+$(this).attr("src")+'"/>');
                $("div#bigImage").hide();
		$("div#bigImage").append(tmpImg).show('slow',function(){$('img#exit').show();});
		
                //$("div#hide").css("display","block");
                //tmpImg.show('slow');
		//tmpImg.click(function(){$('img#exit').hide();$("div#bigImage").hide('slow',function(){$("div#bigImage").empty();});});
		$('img#exit').click(function(){$('img#exit').hide();$("div#bigImage").hide('slow',function(){$("div#bigImage").empty();});});
	}
});
});