티스토리 수익 글 보기

티스토리 수익 글 보기

function getObject(target){try{switch(typeof target){case”undefined”:return null;case”object”:return target;default:return document.getElementById(target)}}catch(e){return null}}function HTTPRequest(){switch(arguments.length){case 0:break;case 1:this.url=arguments[0];break;default:case 3:this[“async”]=arguments[2];case 2:this.method=arguments[0],this.url=arguments[1],this.charset=arguments[2]}try{this._request=new XMLHttpRequest}catch(e){for(var objectNames=[“MSXML2.XMLHTTP.5.0″,”MSXML2.XMLHTTP.4.0″,”MSXML2.XMLHTTP.3.0″,”MSXML2.XMLHTTP”,”Microsoft.XMLHTTP”],i=0;i\r\n”;for(pname in params)params.hasOwnProperty(pname)&&(html+=’\r\n’);for(pname in html=(html=(html=(html=(html=html+”“}else tag=daum.String.startsWith(cond,”<")?cond:"<"+cond+">“;try{if(stack.innerHTML=tag,1!==(ret=stack.removeChild(stack.firstChild)).nodeType)throw{message:”shit browser!”};return ret}catch(e){return(cond={tbody:[““,”
“],tr:[““,”
“],td:[““,”
“],option:[““]})[ret=tag.match(/\w+/).toString().toLowerCase()]?(stack.innerHTML=cond[ret][0]+tag+cond[ret][1],stack.removeChild(stack.firstChild).getElementsByTagName(ret)[0]):document.createElement(ret)}},loadedScripts:{},loadTimer:{},load:function(jsurl,onsuccess,options){if(daum.loadedScripts[jsurl])return onsuccess&&onsuccess(),!1;var p,s=document.createElement(“script”);for(p in s.type=”text/javascript”,options)options.hasOwnProperty(p)&&s.setAttribute(p,options[p]);return s.src=jsurl,daum.$T(“head”)[0].appendChild(s),!!onsuccess&&(s.onreadystatechange=function(){“loaded”!=this.readyState&&”complete”!=this.readyState||daum.loadedScripts[jsurl]||(daum.loadedScripts[jsurl]=!0,onsuccess())},s.onload=function(){daum.loadedScripts[jsurl]||(daum.loadedScripts[jsurl]=!0,onsuccess())},!0)},urlParameter:function(){for(var t,r={},a=location.search.substr(1).split(“&”),i=0,l=a.length;i
‘,tgt=parseEl.childNodes[0],””===st)for(p in style)tgt.style[p]=style[p].toString();for(;i–;)(v=tgt.style[props[i]])&&(rules[props[i]]=this.parse(v,props[i]));return rules},s:function(str,p,c){return str.substr(p,c||1)},stop:function(el,callback){clearInterval(this.running[el.id]),delete daum.Fx.running[el.id],callback&&callback(el),el.id=el.id.toString().startsWith(“__t”)?””:el.id},color:function(source,target,pos){for(var j,c,tmp,i=2,v=[],r=[];j=3,c=arguments[i-1],i–;)if(“r”===this.s(c,0))for(c=c.match(/\d+/g);j–;)v.push(~~c[j]);else for(4===c.length&&(c=”#”+this.s(c,1)+this.s(c,1)+this.s(c,2)+this.s(c,2)+this.s(c,3)+this.s(c,3));j–;)v.push(parseInt(this.s(c,1+2*j,2),16));for(;j–;)r.push((tmp=~~(v[j+3]+(v[j]-v[j+3])*pos))<0?0:255daum.HTMLPrototype.offsetWidth)){_str.push(suff);break}_str.push(s.charAt(i))}return daum.HTMLFragment.appendChild(daum.HTMLPrototype),_str.join(“”)},escape:function(s,flag){return flag?daum.String.escapeHTML(s):daum.String.unescapeHTML(s)},escapeHTML:function(s){return s.replace(/&/g,”&”).replace(//g,”>”).replace(/”/g,”"”).replace(/’/g,”'”)},unescapeHTML:function(s){return daum.String.stripTags(s).replace(/</g,”<").replace(/>/g,">“).replace(/&/g,”&”).replace(/"/g,'”‘).replace(/'/g,”‘”)},toHTML:function(s){return daum.String.unescapeHTML(s)},stripTags:function(s){return s.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,””)},stripTag:function(s){return daum.String.stripTags(s)}}),daum.Ajax=function(_options){this.options={url:””,method:”get”,”async”:!0,timeout:5e3,paramString:””,encoding:”utf-8″,onsuccess:function(){},onfailure:function(){},onloading:function(){},ontimeout:function(){},onabort:function(){},headers:{},link:”ignore”},daum.extend(this.options,_options||{}),this.init()},daum.Ajax.prototype={init:function(){if(window.XMLHttpRequest)this.XHR=new XMLHttpRequest;else if(window.ActiveXObject)try{this.XHR=new ActiveXObject(“Msxml2.XMLHTTP”)}catch(e){try{this.XHR=new ActiveXObject(“Microsoft.XMLHTTP”)}catch(e){this.XHR=null}}if(!this.XHR)return!1;this.running=!1},request:function(url1,options){if(this.running){if(“cancel”!==this.options.link)return;this.abort()}this.setOptions(options);options=url1||this.options.url;0+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,done=0,toString=Object.prototype.toString,hasDuplicate=!1,Sizzle=function(selector,context,results,seed){results=results||[];var origContext=context=context||document;if(1!==context.nodeType&&9!==context.nodeType)return[];if(selector&&”string”==typeof selector){var m,checkSet,extra,parts=[],prune=!0,contextXML=isXML(context);for(chunker.lastIndex=0;null!==(m=chunker.exec(selector));)if(parts.push(m[1]),m[2]){extra=RegExp.rightContext;break}if(1“:function(checkSet,part,isXML){var isPartStr=”string”==typeof part;if(isPartStr&&!/\W/.test(part)){part=isXML?part:part.toUpperCase();for(var parent,i=0,l=checkSet.length;i+match[3]},nth:function(elem,i,match){return+match[3]==i},eq:function(elem,i,match){return+match[3]==i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter)return filter(elem,i,match,array);if(“contains”===name)return 0<=(elem.textContent||elem.innerText||"").indexOf(match[3]);if("not"===name){for(var not=match[3],i=0,l=not.length;i“,(root=document.documentElement).insertBefore(form,root.firstChild),document.getElementById(id)&&(Expr.find.ID=function(match,context,isXML){if(“undefined”!=typeof context.getElementById&&!isXML)return(isXML=context.getElementById(match[1]))?isXML.id===match[1]||”undefined”!=typeof isXML.getAttributeNode&&isXML.getAttributeNode(“id”).nodeValue===match[1]?[isXML]:undefined:[]},Expr.filter.ID=function(elem,match){var node=”undefined”!=typeof elem.getAttributeNode&&elem.getAttributeNode(“id”);return 1===elem.nodeType&&node&&node.nodeValue===match}),root.removeChild(form),(id=document.createElement(“div”)).appendChild(document.createComment(“”)),0dl.clientHeight?diff.height=contentScreentHeight-dl.clientHeight:(diff.width=8,diff.height=dl.clientHeight-contentScreentHeight+35),pos.y=Math.min(screen.availHeight-contentScreentHeight-top-50,0),pos.x=Math.min(screen.availWidth-contentScreentWidth-left-30,0),(pos.x||pos.y)&&($tx.chrome||win.moveBy(pos.x,pos.y),win.resizeTo(fixedWidth,300)),setTimeout(function(){win.resizeBy(0,diff.height+heightOffset)},20)):setTimeout(function(){var obj=(obj=fixedWidth)||document.getElementsByTagName(“HTML”)[0],doc=document.getElementsByTagName(“HTML”)[0],clientW=doc.clientWidth||doc.scrollWidth,doc=doc.clientHeight||doc.scrollHeight,clientW=(obj.offsetWidth||obj.scrollWidth)-clientW,obj=(obj.offsetHeight||obj.scrollHeight)-doc;(clientW||obj)&&win.resizeBy(clientW,obj)},100)},getDate:function(format,gap){var d=new Date,fullYear=(d=gap?new Date(d.getTime()+864e5*gap):d).getFullYear(),month=d.getMonth()+1,date=d.getDate();switch(format){case”fullDate”:return fullYear+(month<10?"0"+month:month)+date;case"fullYear":return fullYear;case"month":return month;case"date":return date}},on:function(elem,type,fn){elem.addEventListener?elem.addEventListener(type,fn,!1):elem.attachEvent&&elem.attachEvent("on"+type,function(){var event=window.event;event.target||(event.target=event.srcElement||document),fn.call(elem,event)})},data:function(elem,name,data){return data===undefined?elem.dataset?elem.dataset[name]:elem.getAttribute("data-"+name):(elem.dataset?elem.dataset[name]=data:elem.setAttribute("data-"+name,data),data)}}}(),!function(){function Standardizer(){}Standardizer.prototype.namespace="Eolin.Application.Framework",Standardizer.prototype.name="Eolin Standardizer",Standardizer.prototype.verion="1.0",Standardizer.prototype.copyright="Copyright © 2005, Tatter & Company. All rights reserved.",Standardizer.prototype.isIE=0<=navigator.userAgent.indexOf("MSIE"),Standardizer.prototype.isFirefox=0<=navigator.userAgent.indexOf("Firefox"),Standardizer.prototype.isSafari=0<=navigator.userAgent.indexOf("Safari"),Standardizer.prototype.isOpera=!Standardizer.prototype.isIE&&0<=navigator.userAgent.indexOf("Opera"),Standardizer.prototype.isMozilla=!Standardizer.prototype.isIE&&!Standardizer.prototype.isFirefox&&!Standardizer.prototype.isSafari&&!Standardizer.prototype.isOpera&&0<=navigator.userAgent.indexOf("Mozilla"),Standardizer.prototype.addEventListener=function(object){object.addEventListener||(object.addEventListener=function(type,listener,useCapture){this.attachEvent("on"+type,listener)})},Standardizer.prototype.removeEventListener=function(object){object.removeEventListener||(object.removeEventListener=function(type,listener,useCapture){this.detachEvent("on"+type,listener)})},Standardizer.prototype.event=function(event){if(window.event){if((event=window.event).target)return event;event.srcElement&&(event.target=event.srcElement),event.preventDefault==undefined&&(event.preventDefault=function(){this.returnValue=!1})}return event},Standardizer.prototype.getScrollTop=function(){return(this.isSafari?document.body:document.documentElement).scrollTop},Standardizer.prototype.getScrollLeft=function(){return(this.isSafari?document.body:document.documentElement).scrollLeft},(window.STD=new Standardizer).addEventListener(window)}(),!function(){function PageMaster(){this._status=null,this._messages=[],this._requests=[],this._holders=[],this._timer=null,window.addEventListener("load",PageMaster.prototype._onLoad,!1),window.addEventListener("beforeunload",PageMaster.prototype._onBeforeUnload,!1)}PageMaster.prototype.namespace="Eolin.Application.Framework",PageMaster.prototype.name="Eolin Page Master",PageMaster.prototype.verion="1.0",PageMaster.prototype.copyright="Copyright © 2005, Tatter & Company. All rights reserved.",PageMaster.prototype.message="아직 처리중인 작업이 있습니다.",PageMaster.prototype._onLoad=function(event){PM._status=document.createElement("div"),PM._status.style.position="absolute",PM._status.style.color="white",PM._status.style.backgroundColor="navy",PM._status.style.margin="0px",PM._status.style.paddingLeft="10px",PM._status.style.paddingRight="10px",STD.addEventListener(window),window.addEventListener("scroll",PageMaster.prototype._updateStatus,!1),window.addEventListener("resize",PageMaster.prototype._updateStatus,!1)},PageMaster.prototype._showStatus=function(){PM._status.parentNode!=document.body&&(document.body.appendChild(this._status),this._updateStatus())},PageMaster.prototype._hideStatus=function(){PM._status.parentNode==document.body&&document.body.removeChild(PM._status)},PageMaster.prototype._updateStatus=function(){PM._status.parentNode==document.body&&(PM._status.style.top=(STD.isSafari?document.body:document.documentElement).scrollTop+"px",PM._status.style.left=(STD.isSafari?document.body:document.documentElement).scrollLeft+document.documentElement.clientWidth-PM._status.offsetWidth+"px"),PM.updateMessages()},PageMaster.prototype.showMessage=function(message,align,valign,timeout){if("string"!=typeof message||0==message.length)return-1;align==undefined&&(align="center"),valign==undefined&&(valign="middle"),timeout==undefined&&(timeout=3e3);var oMessage=document.createElement("div"),message=(oMessage.innerHTML=message,oMessage.style.position="absolute",oMessage.style.color="white",oMessage.style.backgroundColor="green",oMessage.style.margin="0px",oMessage.style.paddingLeft="10px",oMessage.style.paddingRight="10px",oMessage._align=align,oMessage._valign=valign,document.body.appendChild(oMessage),this._messages.push(oMessage)-1);return this.updateMessages(),window.setTimeout("PM._hideMessage("+message+")",timeout),message},PageMaster.prototype._hideMessage=function(index){for(document.body.removeChild(this._messages[index]),this._messages.splice(index,1,null);0aVersion2.length)for(var i=0;iaVersion2[i])return 1}return 0}var isOpera=-1‘,!1}}function requestHttp(uri){try{var oHttp=createHttp();return oHttp.open(“GET”,uri+”&time=”+(new Date).getTime(),!1),oHttp.send(“”),isSafari||isOpera?oHttp.responseXML.firstChild.firstChild.nextSibling.firstChild.nodeValue:oHttp.responseXML.selectSingleNode(“/response/error”).text}catch(e){window.status=e.messge}}function requestHttpText(uri){var oHttp=createHttp();return oHttp.open(“GET”,uri+”&time=”+(new Date).getTime(),!1),oHttp.send(“”),oHttp.responseText}function requestHttpXml(uri){var oHttp=createHttp();return oHttp.open(“GET”,uri+”&time=”+(new Date).getTime(),!1),oHttp.send(“”),oHttp.responseXML}function requestPost(uri,content){var oHttp=createHttp();return oHttp.open(“POST”,uri+”&time=”+(new Date).getTime(),!1),oHttp.setRequestHeader(“Content-Type”,”application/x-www-form-urlencoded”),oHttp.send(content+”&time=”+(new Date).getTime()),oHttp.responseXML.selectSingleNode(“/response/error”).text}function requestPostText(uri,content){var oHttp=createHttp();return oHttp.open(“POST”,uri+”&time=”+(new Date).getTime(),!1),oHttp.setRequestHeader(“Content-Type”,”application/x-www-form-urlencoded”),oHttp.send(content),oHttp.responseText}function setRequestBody(elementName,elementValue,boundary){var body=””;return(body+=”–“+boundary+”\r\n”)+(‘Content-Disposition: form-data; name=”‘+elementName+'”\r\n\r\n’)+(elementValue+”\r\n”)}function isNull(field,message){return 0==field.value.length&&(alert(message+”\t”),field.focus(),!0)}var tatterImagePopup=null;function open_img(url){try{var left=Math.floor((screen.availWidth-250)/2),top=Math.floor((screen.availHeight-100)/2);try{tatterImagePopup.close()}catch(e){}(tatterImagePopup=window.open(“”,””,”width=250, height=100, left=”+left+”, top=”+top+”, scrollbars=no, resizable=yes”)).document.open(“text/html”,”replace”),tatterImagePopup.document.location=”#”,tatterImagePopup.document.write(‘\r\n\r\n\t\r\n\t\t\r\n\t\t :: View :: \r\n\t\t\r\n\t\t