var dropShadowZindex=1;$.fn.dropShadow=function(a){var b=$.extend({left:0,top:0,blur:2,opacity:0.5,color:"black",swap:false},a);var c=$([]);this.not(".dropShadow").each(function(){var n=$(this);var h=[];var e=(b.blur<=0)?0:b.blur;var m=(e==0)?b.opacity:b.opacity/(e*8);var o=(b.swap)?dropShadowZindex:dropShadowZindex+1;var d=(b.swap)?dropShadowZindex+1:dropShadowZindex;var p;if(this.id){p=this.id+"_dropShadow"}else{p="ds"+(1+Math.floor(9999*Math.random()))}$.data(this,"shadowId",p);$.data(this,"shadowOptions",a);n.attr("shadowId",p).css("zIndex",o);if(n.css("position")!="absolute"){n.css({position:"relative",zoom:1})}bgColor=n.css("backgroundColor");if(bgColor=="rgba(0, 0, 0, 0)"){bgColor="transparent"}if(bgColor!="transparent"||n.css("backgroundImage")!="none"||this.nodeName=="SELECT"||this.nodeName=="INPUT"||this.nodeName=="TEXTAREA"){h[0]=$("<div></div>").css("background",b.color)}else{h[0]=n.clone().removeAttr("id").removeAttr("name").removeAttr("shadowId").css("color",b.color)}h[0].addClass("dropShadow").css({height:n.outerHeight(),left:e,opacity:m,position:"absolute",top:e,width:n.outerWidth(),zIndex:d});var l=(8*e)+1;for(k=1;k<l;k++){h[k]=h[0].clone()}var k=1;var g=e;while(g>0){h[k].css({left:g*2,top:0});h[k+1].css({left:g*4,top:g*2});h[k+2].css({left:g*2,top:g*4});h[k+3].css({left:0,top:g*2});h[k+4].css({left:g*3,top:g});h[k+5].css({left:g*3,top:g*3});h[k+6].css({left:g,top:g*3});h[k+7].css({left:g,top:g});k+=8;g--}var f=$("<div></div>").attr("id",p).addClass("dropShadow").css({left:n.position().left+b.left-e,marginTop:n.css("marginTop"),marginRight:n.css("marginRight"),marginBottom:n.css("marginBottom"),marginLeft:n.css("marginLeft"),position:"absolute",top:n.position().top+b.top-e,zIndex:d});for(k=0;k<l;k++){f.append(h[k])}n.after(f);c=c.add(f);$(window).resize(function(){try{f.css({left:n.position().left+b.left-e,top:n.position().top+b.top-e})}catch(i){}});dropShadowZindex+=2});return this.pushStack(c)};$.fn.redrawShadow=function(){this.removeShadow();return this.each(function(){var a=$.data(this,"shadowOptions");$(this).dropShadow(a)})};$.fn.removeShadow=function(){return this.each(function(){var a=$(this).shadowId();$("div#"+a).remove()})};$.fn.shadowId=function(){return $.data(this[0],"shadowId")};$(function(){var a="<style type='text/css' media='print'>";a+=".dropShadow{visibility:hidden;}</style>";$("head").append(a)});$(document).ready(function(){$("div#enewsContinueLink").dropShadow()});
