nShow=function(b,c,a){this.parentId=b;this.containerId=c;this.srcImgLoader=typeof a!="undefined"?a:"/images/ajax-loader-small.gif";this.option={code:"",parentClass:""};this.prevClickedElem=this.xhr=null;this.prevClickedContent=""}; nShow.prototype={start:function(b,c){if(typeof c!="undefined")this.option=c;typeof this.option.parentClass!=""&&$("#"+this.parentId).attr("class",this.option.parentClass);if(typeof b==="string")$("#"+this.parentId).effect("slide",{direction:"right"},750);else{if(this.xhr!=null){this.xhr.abort();this.xhr=null;$(this.prevClickedElem).html(this.prevClickedContent)}var a=$(b.target);this.prevClickedElem=a;this.prevClickedContent=a.html();b=a.attr("id").split("-");var d=$('<img src="'+this.srcImgLoader+ '" alt="" />'),e=this;this.xhr=$.ajax({type:"post",url:"/ajax.php",data:"p="+this.option.code+"&detail="+b[1],dataType:"html",cache:false,beforeSend:function(){a.html(d)},success:function(f){$("#"+e.containerId).html(f);setTimeout(function(){$("#"+e.parentId).effect("slide",{direction:"right"},750);a.html(e.prevClickedContent)},400)}});d=null;delete d}}};