(function($,undefined){$.jweAnim2={StarAnim:function(idArr){var n=idArr.length;for(var i=0;i<n;i++){var o=$("#"+idArr[i]);if(o==null||o.length==0||o[0]==null)continue;var oD=o.find("div:first");var offset=o.offset();var wi=parseInt(oD.css("width"));var hi=parseInt(oD.css("height"));var cX=Math.round(offset.left+wi/2);var cY=Math.round(offset.top+hi/2);var type=this.getStarLevel(n);var sN=this.getStarNum(n);new GStar({X:cX,Y:cY,R:wi,rLV:0.2,Type:type,N:sN})}},getStarLevel:function(n){if(n<=3)return 0;else if(n==4)return 1;else if(n==5)return 2;else if(n==6)return 3;else if(n==7)return 4;else if(n>=8)return 5},getStarNum:function(n){if(n<=5)return 3;else if(n<=7)return 2;else return 1}}}(jQuery));