jQuery.fn.shadow=function(){var $this=$(this);if($this.length>0){var shadowID=$this.attr("id")+"-shadow";var oWidth=$this.outerWidth();var oHeight=$this.outerHeight();var imagePath="images/";$this.wrap("<div id=\""+shadowID+"\" style=\"width: "+(oWidth+10)+"px; height: "+(oHeight+10)+"px; \"></div>");$this.after("<div style=\"width: "+(oWidth+10)+"px; height: 10px;overflow: hidden;\"><div style=\"width: "+oWidth+"px; height: 10px; background-image: url("+imagePath+"shadow-bottom.jpg); background-repeat: x-repeat;float: left;\"></div><div style=\"width: 10px; height: 10px;background-image: url("+imagePath+"shadow-corner.jpg); float: left;\"></div></div>");$this.wrap("<div style=\"width: "+(oWidth+10)+"px; height: "+oHeight+"px;\"></div>");$this.after("<div style=\"width: 10px; height: "+oHeight+"px; float:left; background-image: url("+imagePath+"shadow-right.jpg); background-repeat: y-repeat;\"></div>");$this.css("float","left")}};