(function(window){var Fishingtree={},$=window.jQuery||window.$||null,_this=Fishingtree;window.Fishingtree=window.Fishingtree||Fishingtree;Fishingtree.version="0.0.1";Fishingtree.Utils=function(){return this.Utils;};Fishingtree.Utils.prototype={extend:function(destination,source){for(var property in source){if(source.hasOwnProperty(property)){destination[property]=source[property];}}return destination;},strLoop:function(str,callback){var strArr=str.split("");strArr.forEach(function(val,index){if(callback){callback(val,index);}});}};Fishingtree.FormatUtils=function(){return this.FormatUtils;};Fishingtree.FormatUtils.prototype={comma:function(num,splitNum){splitNum=splitNum||3;var arr=(""+num).split(""),tlen=arr.length,clen=Math.ceil(tlen/splitNum);for(var i=1;i=60){ss=this.addZero(cs%60);}else{ss=this.addZero(cs);}if(cm>=60){sm=this.addZero(cm%60);}else{sm=this.addZero(cm);}sh=this.addZero(ch);sh=this.currencyFormat(sh);return{"hour":sh,"minute":sm,"second":ss,"hms":sh+":"+sm+":"+ss};},addZero:function(num){return(parseInt(num)<10)?"0"+num:""+num;}};Fishingtree.StringUtils=function(){return this.StringUtils;};Fishingtree.StringUtils.prototype={getBytes:function(str){var bytes=0,c;str=""+str;for(var i=0;ibytes){rtn+=replaceStr||"...";break;}}return rtn;}};Fishingtree.NumberUtils=function(){return this.NumberUtils;};Fishingtree.NumberUtils.prototype={randomRange:function(min,max){return Math.floor(Math.random()*(max-min+1))+min;},randomRangeArr:function(min,max,leng){if(leng>(max-min)){throw new Error("randomRangeArr >> 구하고자 하는 수량이 ( 최대 - 최소 ) 값 보다 큽니다.");}var temp=[],rtn=[],idx,i;for(i=min;i