/*
 * @overview Jigu Javascript Framework for Mobile, v0.1
 * Copyright (c) 2009 Front-end Technology Center, Daum Communications.
 * 
 * $Version : 0.1 $
 * $Date : 2010-07-02 16:39 $
 * $Revision : 16 $
 * $Build : 24 $
 * 
 * Project site: http://play.daumcorp.com/display/ftst/Jigu+Javascript+Framework
 * Licensed under Daum Common License : http://dna.daumcorp.com/forge/docs/daum-license-1.0.txt
 */
(function(){if(!window.daum||!window.daum.extend){var a=window.daum={};a.extend=function(d,e,c){var b=c!==undefined?c:true,f;for(f in e){if(!d[f]||b){d[f]=e[f]}}return d}}else{return}a.extend(a,{version:"0.1m_r16",Array:{},Browser:{ua:navigator.userAgent.toLowerCase(),init:function(){this.iemobile=this.ua_contains(["msie","!opera"]);this.polaris=this.ua_contains("polaris")||this.ua_contains("natebrowser");this.chrome=this.ua_contains("chrome");this.webkit=this.ua_contains("applewebkit");this.opera=this.ua_contains("opera");this.android=this.ua_contains("android");this.safari=this.ua_contains("safari");this.iphone=this.ua_contains(["iphone","!ipod"]);this.ipad=this.ua_contains("ipad");this.ipod=this.ua_contains("ipod");this.webviewer=this.ua_contains(["wv","lg"])||this.ua_contains("uzard")||this.ua_contains("opera mini");this.dolfin=this.ua_contains("dolfin");this.xperiax1=this.ua_contains("sonyerricssonx1i");this.uiwebview=(this.iphone||this.ipad||this.ipod)&&this.webkit&&this.ua_contains("!safari");this.osversion=this.getOsVersion();return},ua_contains:function(d){var b=(typeof d=="string")?new Array(d):d,c=0;b.each(function(e){c+=(e.substr(0,1)=="!")?a.Browser.ua.indexOf(e.substr(1))===-1:a.Browser.ua.indexOf(e)>-1});return b.length===c},getOsVersion:function(){var b=0;try{if(this.iphone||this.ipad||this.ipod){b=this.ua.match(/os ([\w|\.|-|_]+) like/g)[0].replace(/^os /,"").replace(/ like$/,"")}else{if(this.android){b=this.ua.match(/android ([\w|\.|-]+);/g)[0].replace(/^android /,"").replace(/;$/,"")}}}catch(c){}return b}},Element:{},Event:{},Function:{},Fx:{},Number:{},Object:{isArray:function(b){return(a.Object.getType(b)==="Array")},isBoolean:function(b){return(a.Object.getType(b)==="Boolean")},isFunction:function(b){return(a.Object.getType(b)==="Function")},isString:function(b){return(a.Object.getType(b)==="String")},isNumber:function(b){return(a.Object.getType(b)==="Number")},isObject:function(b){return(a.Object.getType(b)==="Object")},getType:function(b){return Object.prototype.toString.call(b).toString().match(/\[object\s(\w*)\]$/)[1]},toJSON:function(b){return a.toJSON(b)}},String:{},createElement:function(h,g){var m,b="",k=a.HTMLStack,f,c,j,l;if(!g){m=a.String.startsWith(h,"<")?h:("<"+h+"></"+h+">")}else{for(i in g){b+=i+'="'+g[i]+'" '}m="<"+h+" "+b+"></"+h+">"}try{k.innerHTML=m;f=k.removeChild(k.firstChild);if(f.nodeType!==1){throw ({message:"shit browser!"})}else{return f}}catch(d){c=m.match(/\w+/).toString().toLowerCase();j={tbody:["<table>","</table>"],tr:["<table><tbody>","</tbody></table>"],td:["<table><tbody><tr>","</tr></tbody></table>"],option:["<select>","</select>"]};if(j[c]){k.innerHTML=j[c][0]+m+j[c][1];l=k.removeChild(k.firstChild);return l.getElementsByTagName(c)[0]}else{return document.createElement(m)}}},loadedScripts:{},loadTimer:{},load:function(f,b,c){if(a.loadedScripts[f]){if(b){b()}return false}var d,e;d=document.createElement("script");d.type="text/javascript";for(e in c){if(c.hasOwnProperty(e)){d.setAttribute(e,c[e])}}d.src=f;a.$T("head")[0].appendChild(d);if(!b){return false}d.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete"){if(!a.loadedScripts[f]){a.loadedScripts[f]=true;b()}}return};d.onload=function(){if(!a.loadedScripts[f]){a.loadedScripts[f]=true;b()}return};if(a.Browser.opera){a.loadTimer[f]=window.setInterval(function(){if(/loaded|complete/.test(document.readyState)){window.clearInterval(a.loadTimer[f]);if(!a.loadedScripts[f]){b()}}},10)}return true},urlParameter:function(){for(var f={},e=[],c=location.search.substr(1).split("&"),d=0,b=c.length;d<b;d+=1){e=c[d].split("=");f[e[0]]=e[1]}return f}(),getParam:function(b){return this.urlParameter[b]||null},useHTMLPrototype:function(){a.HTMLFragment=(document.createDocumentFragment)?document.createDocumentFragment():document.createElement("div");a.HTMLPrototype=document.createElement("div");a.HTMLStack=document.createElement("div");a.HTMLPrototype.id="daum_html_prototype";a.HTMLStack.id="daum_html_stack";a.HTMLFragment.appendChild(a.HTMLPrototype);a.HTMLFragment.appendChild(a.HTMLStack);a.HTMLPrototype.style.position=a.HTMLStack.style.position="absolute";a.HTMLPrototype.style.left=a.HTMLStack.style.left=a.HTMLPrototype.style.top=a.HTMLStack.style.top="-10000px";return true}(),toJSON:function(b){return JSON.stringify(b)},xmlToObject:function(d){var b=d.documentElement,c=function(k){for(var n={},o=a.getChildElements(k),g,m,h=0,e=o.length;h<e;h+=1){g=o[h].nodeName;m=(a.getChildElements(o[h]).length>0)?c(o[h]):(o[h].firstChild==null)?"":o[h].firstChild.nodeValue;if(n[g]!=undefined||k.getElementsByTagName(g).length>1){if(n[g]==undefined){n[g]=[]}n[g].push(m)}else{n[g]=m}for(var f=0;f<o[h].attributes.length;f+=1){n[g+"@"+o[h].attributes[f].nodeName]=(o[h].attributes[f].nodeValue||"").toString()}}return n};return c(b)},jsonToObject:function(b){return JSON.parse(b)},$:function(b){return typeof b=="string"?document.getElementById(b):b},$A:function(d){if(!d){return[]}if(d instanceof Array&&!a.Browser.op){return d}var f=(typeof d=="string"&&(a.ie||a.op))?d.split(""):d,b;try{b=Array.prototype.slice.call(f)}catch(h){for(var g=0,b=[],c=d.length;g<c;g+=1){b.push(d[g])}}return b},$C:function(b,d){var c=a.$(b);return(c!==null)?a.Element.getElementsByClassName(c,d):null},$E:function(c){var b=a.$(c);if(b){a.extendMethods(b,a.Element,false);b.addEvent=a.methodize(a.Event.addEvent);b.removeEvent=a.methodize(a.Event.removeEvent)}return b},$F:function(d){var f=a.$(d)||document.getElementsByName(d)[0],c,g,b;if(!f||(f.tagName!=="INPUT"&&f.tagName!=="SELECT"&&f.tagName!=="TEXTAREA")){return""}if(f.type=="radio"||f.type=="checkbox"){for(c=0,g=document.getElementsByName(f.name),b=new Array();c<g.length;c+=1){if(g[c].checked){b.push(g[c].value)}}b=(f.type=="radio")?b[0]:b}else{if(f.type=="select-multiple"){for(c=0,g=a.Element.getChildElements(f),b=new Array();c<g.length;c+=1){if(g[c].selected){b.push(g[c].value)}}}else{if(f.value){b=f.value}}}return b},$T:function(b,c){return(c||document).getElementsByTagName(b)},documentLoaded:false,extendMethods:function(d,e,c){var b=c!==undefined?c:true,f;for(f in e){if(!d[f]||b){if(typeof(e[f])=="function"){d[f]=a.methodize(e[f])}}}return d},methodize:function(c){if(navigator.userAgent.toLowerCase().indexOf("opera")>-1){var b=a.$A(arguments);return function(d){return c.apply(null,[this].concat(d))}}else{return function(){return c.apply(null,[this].concat(a.$A(arguments)))}}},nativeExtend:function(){var c=[[a.Object,Object],[a.String,String.prototype],[a.Number,Number.prototype],[a.Array,Array.prototype],[a.Function,Function.prototype]],d,b=c.length;for(d=0;d<b;d+=1){a.extendMethods(c[d][1],c[d][0],false)}},random:function(c,b){return Math.floor(Math.random()*(b-c+1)+c)}})})();daum.extend(daum.Array,{compact:function(c){if(!c){return[]}for(var e=0,d=[],b=c.length;e<b;e+=1){if(!(c[e]===null||typeof(c[e])==="undefined")){d.push(c[e])}}return d},each:function(c,e){if(Array.prototype.forEach){return c.forEach(e)}for(var d=0,b=c.length;d<b;d+=1){e(c[d],d)}},indexOf:function(){if([].indexOf){return function(b,c){return b.indexOf(c)}}else{return function(c,e){for(var d=0,b=c.length;d<b;d+=1){if(c[d]===e){return d}}return -1}}}(),contains:function(b,c){return b.indexOf(c)>-1},copy:function(c){for(var d=0,f=[],e,b=c.length;d<b;d+=1){if(c[d].constructor==c.constructor){f[d]=daum.Array.copy(c[d])}else{if(typeof(c[d])=="object"){if(typeof(c[d].valueOf())=="object"){f[d]=c[d].constructor();for(e in c[d]){f[d][e]=c[d][e]}}else{f[d]=c[d].constructor(c[d].valueOf())}}else{f[d]=c[d]}}}return f},map:function(e,h){if(typeof Array.prototype.map==="function"&&Array.prototype.map.toString().indexOf("native")>0){return e.map(h)}for(var c=[],g=0,d=e.length;g<d;g+=1){c[g]=h(e[g],g)}return c},size:function(b){return daum.Array.compact(b).length},uniq:function(c){var d=[],e;for(var e=0,d=[],b=c.length;e<b;e+=1){daum.Array.contains(d,c[e])||d.push(c[e])}return d},getFirst:function(b){return b[0]},getLast:function(b){return b[b.length-1]}});daum.extend(daum.Browser,{getWindowSize:function(){var a=(document.documentElement.clientWidth||document.body.clientWidth||1003)-2,b=(document.documentElement.clientHeight||document.body.clientHeight||650)-2;return{width:a,height:b}},getScrollOffsets:function(){return{left:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,top:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop}},setCookie:function(c,e,a){var f=new Date(),b="";if(a){f.setDate(f.getDate()+a);b="expires="+f.toGMTString()+";"}document.cookie=c+"="+escape(e)+"; path=/;"+b},getCookie:function(c){var b=c+"=",d=document.cookie+";",e=d.indexOf(b),a;if(e!=-1){a=d.indexOf(";",e);return unescape(d.substring(e+b.length,a))}return},delCookie:function(a){document.cookie=a+"=;expires=Fri, 31 Dec 1987 23:59:59 GMT;"}});daum.extend(daum.Element,{cleanBlankNodes:function(b){var c=daum.$(b),a=c.firstChild;try{do{if(a.nodeType===3&&!/\S/.test(a.nodeValue)){c.removeChild(a)}}while(a=a.nextSibling)}catch(c){}return c},getChildElements:function(d){var c=daum.$(d).firstChild,b=[];try{do{if(c.nodeType===1){b.push(c)}}while(c=c.nextSibling)}catch(f){}return b},getElementsByClassName:function(f,c){if(document.getElementsByClassName.toString().indexOf("native")>0){return daum.$A(f.getElementsByClassName(c))}var g=f==document||f==document.body||f==window;if(g||f.id){return daum.$$((g?"":"#"+f.id+" ")+"."+daum.String.trim(c).replace(/\s+/g,"."))}for(var b=daum.$(f).getElementsByTagName("*"),e=[],d=0,a=b.length;d<a;d+=1){if(daum.Element.hasClassName(b[d],c)){e.push(b[d])}}return(e.length>0)?e:[]},getFirstChild:function(a){var b=daum.$(a).firstChild;while(b&&b.nodeType!==1){b=b.nextSibling}return b},getLastChild:function(b){var a=daum.$(b).lastChild;while(a&&a.nodeType!==1){a=a.previousSibling}return a},getNext:function(b){var a=daum.$(b).nextSibling;while(a&&a.nodeType!==1){a=a.nextSibling}return a},getPrev:function(a){var b=daum.$(a).previousSibling;while(b&&b.nodeType!==1){b=b.previousSibling}return b},getParent:function(a){return daum.$(a).parentNode},getCoords:function(b,c,k){var f=c||false,l=daum.$(k)||false,g=daum.$(b),m=g.offsetWidth,d=g.offsetHeight,j={left:0,top:0,right:0,bottom:0},a;while(g){j.left+=g.offsetLeft||0;j.top+=g.offsetTop||0;g=g.offsetParent;if(f){if(g){if(g.tagName=="BODY"){break}a=daum.Element.getStyle(g,"position");if(a!=="static"){break}}}if(l&&l==g){break}}j.right=j.left+m;j.bottom=j.top+d;return j},getCoordsTarget:function(b,a){return daum.Element.getCoords(b,false,a)},getStyle:function(d,f,c){var h=daum.$(d),a,g,b,j=c||f;if(f.toLowerCase()=="float"){b=(daum.Browser.ie)?"styleFloat":"cssFloat"}else{b=f}if(h.currentStyle){g=(b.indexOf("-")!==-1)?b.replace(/[\-](.)/g,function(k,e){return e.toUpperCase()}):b;a=h.currentStyle[g]}else{g=(/[A-Z]/.test(j))?j.replace(/([A-Z])/g,function(k,e){return"-"+e.toLowerCase()}):j;a=document.defaultView.getComputedStyle(h,null).getPropertyValue(g)}return a},hasClassName:function(c,b){var e=daum.String.trim(daum.$(c).className).replace(/\s+/g," ").split(" "),d=daum.String.trim(b).replace(/\s+/g," ").split(" "),a=true;daum.Array.each(d,function(f){a=daum.Array.contains(e,f)&&a});return a},visible:function(a){var b=daum.$(a);return !(b.offsetWidth===0&&b.offsetHeight===0)},show:function(a,c){var b=daum.$(a);b.style.display=c||"block";return b},hide:function(a){var b=daum.$(a);b.style.display="none";return b},toggle:function(a,c){var b=daum.$(a);return(daum.Element.visible(b))?daum.Element.hide(b):daum.Element.show(b,c||"block")},addClassName:function(b,a){var c=daum.$(b);if(daum.Element.hasClassName(c,a)){return c}c.className=(daum.String.trim(c.className)==="")?a:c.className+" "+a;return c},removeClassName:function(b,a){return daum.Element.replaceClassName(b,a,"")},replaceClassName:function(b,d,g){var c=daum.$(b),a=[],f=daum.String.trim(daum.$(b).className).replace(/\s+/g," ").split(" ");daum.Array.each(f,function(e){e===d?g&&a.push(g):a.push(e)});c.className=a.join(" ");return c},setOpacity:function(a,c){var b=daum.$(a);b.style.filter="alpha(opacity="+c*100+")";b.style.opacity=b.style.MozOpacity=b.style.KhtmlOpacity=c;return b},setLeft:function(a,c,b){return daum.Element.setStyleProperty(a,"left",c,b)},setTop:function(a,c,b){return daum.Element.setStyleProperty(a,"top",c,b)},setWidth:function(b,a,c){return daum.Element.setStyleProperty(b,"width",a,c)},setHeight:function(b,a,c){return daum.Element.setStyleProperty(b,"height",a,c)},setPosition:function(a,c,d,b){daum.Element.setStyleProperty(a,"left",c,b);return daum.Element.setStyleProperty(a,"top",d,b)},setSize:function(c,a,b,d){daum.Element.setStyleProperty(c,"width",a,d);return daum.Element.setStyleProperty(c,"height",b,d)},setStyleProperty:function(b,a,g,d){var f=daum.$(b),c;if(d||false){c=(isNaN(parseInt(f.style[a])))?parseInt(f["offset"+(a.replace(/^(.)/g,function(h,e){return e.toUpperCase()}))])+g:parseInt(f.style[a])+g}else{c=g}f.style[a]=daum.String.px(c);return f},setLeftByOffset:function(a,b){return daum.Element.setLeft(a,b,true)},setTopByOffset:function(a,b){return daum.Element.setTop(a,b,true)},setWidthByOffset:function(a,b){return daum.Element.setWidth(a,b,true)},setHeightByOffset:function(a,b){return daum.Element.setHeight(a,b,true)},setPositionByOffset:function(b,a,c){return daum.Element.setPosition(b,a,c,true)},setSizeByOffset:function(b,a,c){return daum.Element.setSize(b,a,c,true)},posHide:function(a){var b=daum.$(a);daum.Element.setPosition(b,-10000,-10000);return b},setCssText:function(){return(daum.Browser.ie)?function(b,a){b.style.cssText=a}:function(b,a){b.setAttribute("style",a)}}(),setStyle:function(c,d,b){if(b){return daum.Element.setStyleProperty(c,d,b,false)}var g=daum.$(c),a=g.style,f;if(d.length<1){return g}if(daum.Object.isString(d)){a.cssText+=";"+d}else{if(daum.Object.isObject(d)){for(f in d){a[(f=="float"||f=="cssFloat")?(undefined==a.styleFloat?"cssFloat":"styleFloat"):f]=d[f]}}}return g},destroy:function(b){var a="__daumGB",d=daum.$(a),c=daum.$(b);if(c.id===a){return}if(!d){d=daum.createElement("div",{id:a,style:"display:none;"});document.body.appendChild(d)}d.appendChild(c);d.innerHTML="";c=null}});daum.extend(daum.Event,{observer:[],EVENTID:0,crossEvent:function(){var a={};if(!!document.addEventListener){a.add=function(c){var b=c.type;if(b.toLowerCase()=="mousewheel"&&daum.Browser.ff){b="DOMMouseScroll"}c.src.addEventListener(b,c.handler,c.isCapture)};a.remove=function(c){var b=c.type;if(b.toLowerCase()=="mousewheel"&&daum.Browser.ff){b="DOMMouseScroll"}c.src.removeEventListener(b,c.handler,c.isCapture)}}else{a.add=function(c){var b=c.type;if(b.toLowerCase()=="dommousescroll"){b="mousewheel"}c.src.attachEvent("on"+b,c.handler)};a.remove=function(c){var b=c.type;if(b.toLowerCase()=="dommousescroll"){b="mousewheel"}c.src.detachEvent("on"+b,c.handler)}}return a}(),addEvent:function(e,h,j,d){var a=daum.$(e),g=false,c=-1,b=daum.Event.EVENTID++,f={src:a,type:h,handler:j,isCapture:d||false};daum.Event.observer[b]=f;daum.Event.crossEvent.add(f);return b},removeEvent:function(e,d,c,b){var a=daum.Event.observer;if(!!e&&!d&&!c){daum.Event.crossEvent.remove(a[e]);delete daum.Event.observer[e]}else{var g=daum.$(e);daum.Event.crossEvent.remove({src:g,type:d,handler:c,isCapture:b||false});for(var f in a){if(a[f].src===g&&a[f].type===d&&a[f].handler===c&&a[f].isCapture===(b||false)){delete daum.Event.observer[f];break}}}},stopObserving:function(a){if(daum.Event.observer[a]){daum.Event.removeEvent(a)}},hasObserver:function(e,c){if(typeof e==="number"){return !!daum.Event.observer[e]}else{var b=false,a=daum.Event.observer;for(var d in a){if(a[d].src===e&&a[d].type===c){b=true;break}}return b}},stopEvent:function(a){daum.Event.stopPropagation(a);daum.Event.preventDefault(a);return false},preventDefault:function(b){var a=b||window.event;if(a.preventDefault){a.preventDefault()}else{a.returnValue=false}return false},stopPropagation:function(b){var a=b||window.event;if(a.stopPropagation){a.stopPropagation()}else{a.cancelBubble=true}},GC:function(){if(daum.Browser.ie){return function(){for(var a in daum.Event.observer){var b=daum.Event.observer[a].src;if(b&&b.ownerDocument){try{!b.offsetParent&&daum.Event.stopObserving(a)}catch(b){daum.Event.stopObserving(a)}}}}}else{return function(){for(var a in daum.Event.observer){var c=daum.Event.observer[a].src,b=false;if(c&&c.ownerDocument){if(!c.offsetParent){do{if(c===document.body){b=true;break}}while(c=c.parentNode);!b&&daum.Event.stopObserving(a)}}}}}},getElement:function(a){var b=a||window.event;return b.srcElement||b.target}});daum.extend(daum.Function,{bind:function(d){var e=d,b=daum.$A(arguments),a,c;b.shift();a=b.shift();c=function(){return e.apply(a,b.concat(daum.$A(arguments)))};c.__Binded=true;return c},bindAsEventListener:function(d){var e=d,b=daum.$A(arguments),a,c;b.shift();a=b.shift();c=function(f){return e.apply(a,[f||window.event].concat(b))};c.__Binded=true;return c},interval:function(d,a,c){var b=(c)?daum.Function.bind(d,c):d;return window.setInterval(b,a)},timeout:function(d,a,c){var b=(c)?daum.Function.bind(d,c):d;return window.setTimeout(b,a)},callBack:function(e){var d=e,b=daum.$A(arguments),c,a;b.shift();c=b.shift();return function(){b=b.concat(daum.$A(arguments));a=d.apply(null,b);c.apply(null,b);return a}},callFore:function(d){var c=d,a=daum.$A(arguments),b;a.shift();b=a.shift();return function(){a=a.concat(daum.$A(arguments));b(a);return c(a)}},inherit:function(e,d,a){var b=function(){},g;b.prototype=d.prototype;e.prototype=new b(),e.prototype.constructor=e;e.prototype.parent=(d.prototype.parent||[]).concat(d);e._parent=d;g=e.prototype.parent.length;e.prototype.$super=function(){this.constructor.prototype.parent[--g].apply(this,arguments);g=g==0?this.constructor.prototype.parent.length:g};if(a){daum.Function.members(e,a)}return e},members:function(c,d){var b,a=c._parent||c;for(var b in d){c.prototype[b]=(typeof(d[b])=="function")?(a.prototype[b])?(function(e,f){if(f.toString().indexOf("this.$super(")>-1){return function(){this.$prev_super=this.$super;this.$super=function(){this.$super=this.$prev_super;return a.prototype[e].apply(this,arguments)};return f.apply(this,arguments)}}return function(){return f.apply(this,arguments)}})(b,d[b]):(function(e,f){if(f.toString().indexOf("this.$super(")>-1){throw new Error(e+" function is not defined in "+c)}return function(){return f.apply(this,arguments)}})(b,d[b]):d[b]}return c},method:function(d,c,a){var b=d._parent||d;d.prototype[c]=(typeof(a)=="function")?(b.prototype[c])?(function(e,f){return function(){this.$super=function(){return b.prototype[e].apply(this,arguments)};return f.apply(this,arguments)}})(c,a):(function(e,f){return function(){this.$super=function(){return true};return f.apply(this,arguments)}})(c,a):a;return d}});daum.createFunction=function(d,a){var c="return function(",b;for(b=0;b<d.length;b++){c+=""+d[b]+","}c=c.replace(/,$/,"");c=c+"){"+a+"}";return(new Function(c))()};daum.extend(daum.Fx,{running:{},parse:function(e,c,d){if(c==="opacity"&&daum.ie){e=e===undefined?1:e}else{if(e==="transparent"||e.startsWith("rgba")){e="rgb(255,255,255)"}else{if(e==="auto"){e=daum.String.px(d["scroll"+c.charAt(0).toUpperCase()+c.substr(1)])}}}var a=parseFloat(e),b=e.toString().replace(/^\-?[\d\.]+/,"");return{value:isNaN(a)?b:a,unit:isNaN(a)?b.startsWith("rgb")||b.startsWith("#")?"color":"":b}},normalize:function(a){var h={},g,j=(typeof a==="object")?"":a,c,f=document.createElement("div"),e=("borderStyle backgroundColor borderBottomColor borderBottomWidth borderLeftColor borderLeftWidth borderRightColor borderRightWidth borderSpacing borderTopColor borderTopWidth bottom color fontSize fontWeight height left letterSpacing lineHeight marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth opacity outlineColor outlineOffset outlineWidth paddingBottom paddingLeft paddingRight paddingTop right textIndent top width wordSpacing zIndex").split(" "),d=e.length,b;f.innerHTML='<div style="'+j+'"></div>';c=f.childNodes[0];if(""===j){for(b in a){c.style[b]=a[b].toString()}}while(d--){if(g=c.style[e[d]]){h[e[d]]=this.parse(g,e[d])}}return h},s:function(b,a,d){return b.substr(a,d||1)},stop:function(a,b){clearInterval(this.running[a.id]);delete daum.Fx.running[a.id];b&&b(a);a.id=a.id.toString().startsWith("__t")?"":a.id},color:function(b,g,k){var e=2,d,h,f,l=[],a=[];while(d=3,h=arguments[e-1],e--){if(this.s(h,0)==="r"){h=h.match(/\d+/g);while(d--){l.push(~~h[d])}}else{if(h.length===4){h="#"+this.s(h,1)+this.s(h,1)+this.s(h,2)+this.s(h,2)+this.s(h,3)+this.s(h,3)}while(d--){l.push(parseInt(this.s(h,1+d*2,2),16))}}}while(d--){f=~~(l[d+3]+(l[d]-l[d+3])*k);a.push(f<0?0:f>255?255:f)}return"rgb("+a.join(",")+")"},animate:function(g,n,o){var f=daum.$(g),a=o||{},k=this.normalize(n),h=f.currentStyle?f.currentStyle:getComputedStyle(f,null),c,j={},d=+new Date,b=(a.duration&&a.duration<=10?a.duration*1000:a.duration)||700,m=d+b,e,l=a.easing||function(q,p,s,r){return -s*(q/=r)*(q-2)+p};f.id=(!f.id)?"__t"+ +new Date+daum.random(1,10000):f.id;if(daum.ie6){f.style.zoom="1"}if(this.running[f.id]){clearInterval(this.running[f.id]);delete daum.Fx.running[f.id]}for(c in k){j[c]=this.parse(h[c],c,f)}if(daum.toJSON(j)===daum.toJSON(k)){this.stop(f,a.callback);return}e=setInterval(function(){var q=+new Date;for(c in k){try{f.style[c]=k[c].unit==="color"?daum.Fx.color(j[c].value,k[c].value,l(q-d,0,1,b)):l(q-d,j[c].value,k[c].value-j[c].value,b).toFixed(3)+k[c].unit}catch(p){f.style[c]=k[c].value;delete k[c]}if(c==="opacity"&&daum.ie){f.style.filter="alpha(opacity="+f.style[c]*100+")"}}if(q>m){for(c in k){f.style[c]=k[c].unit==="color"?daum.Fx.color(j[c].value,k[c].value,1):k[c].value+k[c].unit}this.stop(f,a.callback)}}.bind(this),13);this.running[f.id]=e},scrollTo:function(e,l){var d=daum.$E(e),a=l||{},f=(daum.ie)?document.documentElement.scrollTop:window.pageYOffset,c=+new Date,h=d.getCoords()["top"]+((a.offset)?a.offset:0),b=a.duration||700,j=c+b,g=a.easing||function(n,m,p,o){return -p*(n/=o)*(n-2)+m},k=setInterval(function(){var m=+new Date;window.scrollTo(0,g(m-c,f,h-f,b));if(m>j){window.scrollTo(0,h);clearInterval(k)}},13)}});daum.extend(daum.Number,{px:function(a){return daum.String.px(a)},fillZero:function(e,a){var d=a||0,b=e.toString();if(d<b.length){return b}while(b.length<d){b="0"+b}return b},toInt:function(b,a){return daum.String.toInt(b,a)},toFloat:function(a){return daum.String.toFloat(a)}});daum.extend(daum.String,{trim:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replaceAll:function(){return function(b,a,c){if(a.constructor==RegExp){return b.replace(new RegExp(a.toString().replace(/^\/|\/$/gi,""),"gi"),c)}return b.split(a).join(c)}}(),byteLength:function(b){var a=0;daum.$A(b.toString()).each(function(c){a+=(escape(c).length>3)?2:1});return a},cutString:function(d,a,c){var f=c||"",e=a-f.length,h=0,g="",b;daum.$A(d.toString()).each(function(j){b=(escape(j).length>3)?2:1;h+=b;e-=b;if(e>=0){g+=j}});return(a>=h)?d:g+=f},isEmpty:function(a){return(!a||a.length===0)},px:function(b){var a=parseInt(b);return(!isNaN(a))?a+"px":b},removeCR:function(a){return(a)?daum.String.replaceAll(a,/\n|\r/,""):null},toInt:function(b,a){return parseInt(b,a||10)},toFloat:function(a){return parseFloat(a)},startsWith:function(b,a){return b.indexOf(a)===0},endsWith:function(b,c){var a;return(a=b.length-c.length)>=0&&b.lastIndexOf(c)===a},escapeHTML:function(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")},unescapeHTML:function(a){return daum.String.stripTags(a).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'")},stripTags:function(a){return a.replace(/<\w+(\s+("[^"]*"|'[^']*'|[^>])+)?>|<\/\w+>/gi,"")}});daum.Ajax=function(a){this.options={url:"",method:"get",async:true,timeout:5000,paramString:"",encoding:"utf-8",onsuccess:function(){},onfailure:function(){},onloading:function(){},ontimeout:function(){},headers:{},link:"ignore"};daum.extend(this.options,a||{});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(a){try{this.XHR=new ActiveXObject("Microsoft.XMLHTTP")}catch(a){this.XHR=null}}}}if(!this.XHR){return false}this.running=false},request:function(c,b){if(this.running){if(this.options.link==="cancel"){this.abort()}else{return}}this.setOptions(b);var a=c||this.options.url;if(this.options.paramString.length>0&&this.options.method=="get"){a=a+((a.indexOf("?")>0)?"&":"?")+this.options.paramString}this.open(a)},open:function(b){this.running=true;if(this.options.async){this.XHR.onreadystatechange=daum.Function.bindAsEventListener(this.stateHandle,this)}this.options.timer=daum.Function.timeout(this.abort,this.options.timeout,this);this.XHR.open(this.options.method,b,this.options.async);var c=this.options.headers;for(var a in c){this.XHR.setRequestHeader(a,c[a])}this.XHR.send(this.options.paramString);if(!this.options.async){this.stateHandle()}},abort:function(){if(this.XHR&&this.running){this.XHR.abort();this.callTimeout();this.running=false}},stateHandle:function(a){switch(this.XHR.readyState){case 4:window.clearTimeout(this.options.timer);this.options.timer=null;if(this.XHR.status==200||this.XHR.status==304){this.callSuccess()}else{if(this.XHR.status>=400){this.callFailure(this.XHR.status)}}this.running=false;break;case 1:this.callLoading();break}},callSuccess:function(){this.options.onsuccess(this.XHR)},callFailure:function(){this.options.onfailure(this.XHR)},callLoading:function(){this.options.onloading(this.XHR)},callTimeout:function(){this.options.ontimeout(this.XHR)},setOptions:function(a){daum.extend(this.options,a||{});this.options.method=this.options.method.toLowerCase();this.setHeader("charset",this.options.encoding);if(this.options.method=="post"){this.setHeader("Content-Type","application/x-www-form-urlencoded")}},setHeader:function(a,b){if(typeof a==="object"){daum.extend(this.options.headers,a||{},true)}else{this.options.headers[a]=b}return this},getHeader:function(a){return this.XHR.getResponseHeader(a)}};daum.Ajax.xmlToObject=function(a){return daum.xmlToObject(a)};daum.Ajax.jsonToObject=function(a){return daum.jsonToObject(a)};daum.Template=function(a){this.template=a};daum.Template.prototype={evaluate:function(a){return this.template.replace(/#\{([A-Z_][\dA-Z_]*(?:\.[A-Z_][\dA-Z_]*)*)?\}/ig,function(d,e){var b=e?e.split("."):"";var c=a||"";while(b.length){c=c[b.shift()];if(c===undefined||c===null){return""}}return c})},toElement:function(a){return daum.createElement(this.evaluate(a))}};
/*
 * Sizzle CSS Selector Engine - v1.0
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var q=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,j=0,d=Object.prototype.toString,o=false;var b=function(E,u,B,w){B=B||[];var e=u=u||document;if(u.nodeType!==1&&u.nodeType!==9){return[]}if(!E||typeof E!=="string"){return B}var C=[],D,z,H,G,A,t,s=true,x=p(u);q.lastIndex=0;while((D=q.exec(E))!==null){C.push(D[1]);if(D[2]){t=RegExp.rightContext;break}}if(C.length>1&&k.exec(E)){if(C.length===2&&f.relative[C[0]]){z=g(C[0]+C[1],u)}else{z=f.relative[C[0]]?[u]:b(C.shift(),u);while(C.length){E=C.shift();if(f.relative[E]){E+=C.shift()}z=g(E,z)}}}else{if(!w&&C.length>1&&u.nodeType===9&&!x&&f.match.ID.test(C[0])&&!f.match.ID.test(C[C.length-1])){var I=b.find(C.shift(),u,x);u=I.expr?b.filter(I.expr,I.set)[0]:I.set[0]}if(u){var I=w?{expr:C.pop(),set:a(w)}:b.find(C.pop(),C.length===1&&(C[0]==="~"||C[0]==="+")&&u.parentNode?u.parentNode:u,x);z=I.expr?b.filter(I.expr,I.set):I.set;if(C.length>0){H=a(z)}else{s=false}while(C.length){var v=C.pop(),y=v;if(!f.relative[v]){v=""}else{y=C.pop()}if(y==null){y=u}f.relative[v](H,y,x)}}else{H=C=[]}}if(!H){H=z}if(!H){throw"Syntax error, unrecognized expression: "+(v||E)}if(d.call(H)==="[object Array]"){if(!s){B.push.apply(B,H)}else{if(u&&u.nodeType===1){for(var F=0;H[F]!=null;F++){if(H[F]&&(H[F]===true||H[F].nodeType===1&&h(u,H[F]))){B.push(z[F])}}}else{for(var F=0;H[F]!=null;F++){if(H[F]&&H[F].nodeType===1){B.push(z[F])}}}}}else{a(H,B)}if(t){b(t,e,B,w);b.uniqueSort(B)}return B};b.uniqueSort=function(s){if(c){o=false;s.sort(c);if(o){for(var e=1;e<s.length;e++){if(s[e]===s[e-1]){s.splice(e--,1)}}}}return s};b.matches=function(e,s){return b(e,null,null,s)};b.find=function(y,e,z){var x,v;if(!y){return[]}for(var u=0,t=f.order.length;u<t;u++){var w=f.order[u],v;if((v=f.match[w].exec(y))){var s=RegExp.leftContext;if(s.substr(s.length-1)!=="\\"){v[1]=(v[1]||"").replace(/\\/g,"");x=f.find[w](v,e,z);if(x!=null){y=y.replace(f.match[w],"");break}}}}if(!x){x=e.getElementsByTagName("*")}return{set:x,expr:y}};b.filter=function(B,A,E,u){var t=B,G=[],y=A,w,e,x=A&&A[0]&&p(A[0]);while(B&&A.length){for(var z in f.filter){if((w=f.match[z].exec(B))!=null){var s=f.filter[z],F,D;e=false;if(y==G){G=[]}if(f.preFilter[z]){w=f.preFilter[z](w,y,E,G,u,x);if(!w){e=F=true}else{if(w===true){continue}}}if(w){for(var v=0;(D=y[v])!=null;v++){if(D){F=s(D,w,v,y);var C=u^!!F;if(E&&F!=null){if(C){e=true}else{y[v]=false}}else{if(C){G.push(D);e=true}}}}}if(F!==undefined){if(!E){y=G}B=B.replace(f.match[z],"");if(!e){return[]}break}}}if(B==t){if(e==null){throw"Syntax error, unrecognized expression: "+B}else{break}}t=B}return y};var f=b.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")}},relative:{"+":function(y,e,x){var v=typeof e==="string",z=v&&!/\W/.test(e),w=v&&!z;if(z&&!x){e=e.toUpperCase()}for(var u=0,t=y.length,s;u<t;u++){if((s=y[u])){while((s=s.previousSibling)&&s.nodeType!==1){}y[u]=w||s&&s.nodeName===e?s||false:s===e}}if(w){b.filter(e,y,true)}},">":function(x,s,y){var v=typeof s==="string";if(v&&!/\W/.test(s)){s=y?s:s.toUpperCase();for(var t=0,e=x.length;t<e;t++){var w=x[t];if(w){var u=w.parentNode;x[t]=u.nodeName===s?u:false}}}else{for(var t=0,e=x.length;t<e;t++){var w=x[t];if(w){x[t]=v?w.parentNode:w.parentNode===s}}if(v){b.filter(s,x,true)}}},"":function(u,s,w){var t=j++,e=r;if(!/\W/.test(s)){var v=s=w?s:s.toUpperCase();e=n}e("parentNode",s,t,u,v,w)},"~":function(u,s,w){var t=j++,e=r;if(typeof s==="string"&&!/\W/.test(s)){var v=s=w?s:s.toUpperCase();e=n}e("previousSibling",s,t,u,v,w)}},find:{ID:function(s,t,u){if(typeof t.getElementById!=="undefined"&&!u){var e=t.getElementById(s[1]);return e?[e]:[]}},NAME:function(t,w,x){if(typeof w.getElementsByName!=="undefined"){var s=[],v=w.getElementsByName(t[1]);for(var u=0,e=v.length;u<e;u++){if(v[u].getAttribute("name")===t[1]){s.push(v[u])}}return s.length===0?null:s}},TAG:function(e,s){return s.getElementsByTagName(e[1])}},preFilter:{CLASS:function(u,s,t,e,x,y){u=" "+u[1].replace(/\\/g,"")+" ";if(y){return u}for(var v=0,w;(w=s[v])!=null;v++){if(w){if(x^(w.className&&(" "+w.className+" ").indexOf(u)>=0)){if(!t){e.push(w)}}else{if(t){s[v]=false}}}}return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(s,e){for(var t=0;e[t]===false;t++){}return e[t]&&p(e[t])?s[1]:s[1].toUpperCase()},CHILD:function(e){if(e[1]=="nth"){var s=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2]=="even"&&"2n"||e[2]=="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(s[1]+(s[2]||1))-0;e[3]=s[3]-0}e[0]=j++;return e},ATTR:function(v,s,t,e,w,x){var u=v[1].replace(/\\/g,"");if(!x&&f.attrMap[u]){v[1]=f.attrMap[u]}if(v[2]==="~="){v[4]=" "+v[4]+" "}return v},PSEUDO:function(v,s,t,e,w){if(v[1]==="not"){if(q.exec(v[3]).length>1||/^\w/.test(v[3])){v[3]=b(v[3],null,null,s)}else{var u=b.filter(v[3],s,t,true^w);if(!t){e.push.apply(e,u)}return false}}else{if(f.match.POS.test(v[0])||f.match.CHILD.test(v[0])){return true}}return v},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){e.parentNode.selectedIndex;return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(t,s,e){return !!b(e[3],t).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toUpperCase()==="BUTTON"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(s,e){return e===0},last:function(t,s,e,u){return s===u.length-1},even:function(s,e){return e%2===0},odd:function(s,e){return e%2===1},lt:function(t,s,e){return s<e[3]-0},gt:function(t,s,e){return s>e[3]-0},nth:function(t,s,e){return e[3]-0==s},eq:function(t,s,e){return e[3]-0==s}},filter:{PSEUDO:function(x,t,u,y){var s=t[1],v=f.filters[s];if(v){return v(x,u,t,y)}else{if(s==="contains"){return(x.textContent||x.innerText||"").indexOf(t[3])>=0}else{if(s==="not"){var w=t[3];for(var u=0,e=w.length;u<e;u++){if(w[u]===x){return false}}return true}}}},CHILD:function(e,u){var x=u[1],s=e;switch(x){case"only":case"first":while((s=s.previousSibling)){if(s.nodeType===1){return false}}if(x=="first"){return true}s=e;case"last":while((s=s.nextSibling)){if(s.nodeType===1){return false}}return true;case"nth":var t=u[2],A=u[3];if(t==1&&A==0){return true}var w=u[0],z=e.parentNode;if(z&&(z.sizcache!==w||!e.nodeIndex)){var v=0;for(s=z.firstChild;s;s=s.nextSibling){if(s.nodeType===1){s.nodeIndex=++v}}z.sizcache=w}var y=e.nodeIndex-A;if(t==0){return y==0}else{return(y%t==0&&y/t>=0)}}},ID:function(s,e){return s.nodeType===1&&s.getAttribute("id")===e},TAG:function(s,e){return(e==="*"&&s.nodeType===1)||s.nodeName===e},CLASS:function(s,e){return(" "+(s.className||s.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(w,u){var t=u[1],e=f.attrHandle[t]?f.attrHandle[t](w):w[t]!=null?w[t]:w.getAttribute(t),x=e+"",v=u[2],s=u[4];return e==null?v==="!=":v==="="?x===s:v==="*="?x.indexOf(s)>=0:v==="~="?(" "+x+" ").indexOf(s)>=0:!s?x&&e!==false:v==="!="?x!=s:v==="^="?x.indexOf(s)===0:v==="$="?x.substr(x.length-s.length)===s:v==="|="?x===s||x.substr(0,s.length+1)===s+"-":false},POS:function(v,s,t,w){var e=s[2],u=f.setFilters[e];if(u){return u(v,t,s,w)}}}};var k=f.match.POS;for(var m in f.match){f.match[m]=new RegExp(f.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var a=function(s,e){s=Array.prototype.slice.call(s,0);if(e){e.push.apply(e,s);return e}return s};try{Array.prototype.slice.call(document.documentElement.childNodes,0)}catch(l){a=function(v,u){var s=u||[];if(d.call(v)==="[object Array]"){Array.prototype.push.apply(s,v)}else{if(typeof v.length==="number"){for(var t=0,e=v.length;t<e;t++){s.push(v[t])}}else{for(var t=0;v[t];t++){s.push(v[t])}}}return s}}var c;if(document.documentElement.compareDocumentPosition){c=function(s,e){if(!s.compareDocumentPosition||!e.compareDocumentPosition){if(s==e){o=true}return 0}var t=s.compareDocumentPosition(e)&4?-1:s===e?0:1;if(t===0){o=true}return t}}else{if("sourceIndex" in document.documentElement){c=function(s,e){if(!s.sourceIndex||!e.sourceIndex){if(s==e){o=true}return 0}var t=s.sourceIndex-e.sourceIndex;if(t===0){o=true}return t}}else{if(document.createRange){c=function(u,s){if(!u.ownerDocument||!s.ownerDocument){if(u==s){o=true}return 0}var t=u.ownerDocument.createRange(),e=s.ownerDocument.createRange();t.selectNode(u);t.collapse(true);e.selectNode(s);e.collapse(true);var v=t.compareBoundaryPoints(Range.START_TO_END,e);if(v===0){o=true}return v}}}}(function(){var s=document.createElement("div"),t="script"+(new Date).getTime();s.innerHTML="<a name='"+t+"'/>";var e=document.documentElement;e.insertBefore(s,e.firstChild);if(!!document.getElementById(t)){f.find.ID=function(v,w,x){if(typeof w.getElementById!=="undefined"&&!x){var u=w.getElementById(v[1]);return u?u.id===v[1]||typeof u.getAttributeNode!=="undefined"&&u.getAttributeNode("id").nodeValue===v[1]?[u]:undefined:[]}};f.filter.ID=function(w,u){var v=typeof w.getAttributeNode!=="undefined"&&w.getAttributeNode("id");return w.nodeType===1&&v&&v.nodeValue===u}}e.removeChild(s);e=s=null})();if(document.querySelectorAll){(function(){var e=b,t=document.createElement("div");t.innerHTML="<p class='TEST'></p>";if(t.querySelectorAll&&t.querySelectorAll(".TEST").length===0){return}b=function(x,w,u,v){w=w||document;if(!v&&w.nodeType===9&&!p(w)){try{return a(w.querySelectorAll(x),u)}catch(y){}}return e(x,w,u,v)};for(var s in e){b[s]=e[s]}t=null})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var e=document.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}f.order.splice(1,0,"CLASS");f.find.CLASS=function(s,t,u){if(typeof t.getElementsByClassName!=="undefined"&&!u){return t.getElementsByClassName(s[1])}};e=null})()}function n(s,x,w,B,y,A){var z=s=="previousSibling"&&!A;for(var u=0,t=B.length;u<t;u++){var e=B[u];if(e){if(z&&e.nodeType===1){e.sizcache=w;e.sizset=u}e=e[s];var v=false;while(e){if(e.sizcache===w){v=B[e.sizset];break}if(e.nodeType===1&&!A){e.sizcache=w;e.sizset=u}if(e.nodeName===x){v=e;break}e=e[s]}B[u]=v}}}function r(s,x,w,B,y,A){var z=s=="previousSibling"&&!A;for(var u=0,t=B.length;u<t;u++){var e=B[u];if(e){if(z&&e.nodeType===1){e.sizcache=w;e.sizset=u}e=e[s];var v=false;while(e){if(e.sizcache===w){v=B[e.sizset];break}if(e.nodeType===1){if(!A){e.sizcache=w;e.sizset=u}if(typeof x!=="string"){if(e===x){v=true;break}}else{if(b.filter(x,[e]).length>0){v=e;break}}}e=e[s]}B[u]=v}}}var h=document.compareDocumentPosition?function(s,e){return s.compareDocumentPosition(e)&16}:function(s,e){return s!==e&&(s.contains?s.contains(e):true)};var p=function(e){return e.nodeType===9&&e.documentElement.nodeName!=="HTML"||!!e.ownerDocument&&e.ownerDocument.documentElement.nodeName!=="HTML"};var g=function(e,y){var u=[],v="",w,t=y.nodeType?[y]:y;while((w=f.match.PSEUDO.exec(e))){v+=w[0];e=e.replace(f.match.PSEUDO,"")}e=f.relative[e]?e+"*":e;for(var x=0,s=t.length;x<s;x++){b(e,t[x],u)}return b.filter(v,u)};window.Sizzle=b})();if(!daum.Browser.webkit){JSON=undefined}if(!this.JSON){this.JSON={}}(function(){function f(n){return n<10?"0"+n:n}if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf()}}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+string+'"'}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key)}if(typeof rep==="function"){value=rep.call(holder,key,value)}switch(typeof value){case"string":return quote(value);case"number":return isFinite(value)?String(value):"null";case"boolean":case"null":return String(value);case"object":if(!value){return"null"}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length;for(i=0;i<length;i+=1){partial[i]=str(i,value)||"null"}v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]";gap=mind;return v}if(rep&&typeof rep==="object"){length=rep.length;for(i=0;i<length;i+=1){k=rep[i];if(typeof k==="string"){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}else{for(k in value){if(Object.hasOwnProperty.call(value,k)){v=str(k,value);if(v){partial.push(quote(k)+(gap?": ":":")+v)}}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}";gap=mind;return v}}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i;gap="";indent="";if(typeof space==="number"){for(i=0;i<space;i+=1){indent+=" "}}else{if(typeof space==="string"){indent=space}}rep=replacer;if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify")}return str("",{"":value})}}if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j;function walk(holder,key){var k,v,value=holder[key];if(value&&typeof value==="object"){for(k in value){if(Object.hasOwnProperty.call(value,k)){v=walk(value,k);if(v!==undefined){value[k]=v}else{delete value[k]}}}}return reviver.call(holder,key,value)}text=String(text);cx.lastIndex=0;if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})}if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")");return typeof reviver==="function"?walk({"":j},""):j}throw new SyntaxError("JSON.parse")}}}());// jigu default initialization


/*!
 * Jigu Initialization
 *  more information: http://play.daumcorp.com/display/ftst/Jigu+Initialization
 */
/* @ cc_on _d = document; eval(‘var document = _d’) @*/
(function(){
	if(!document.getElementsByClassName){document.getElementsByClassName = daum.methodize(daum.Element.getElementsByClassName);}
	if(String.prototype.trim){daum.String.trim = function(s){return s.trim();};}
	if(!window.$) window.$ = daum.$;	
	if(!window.$A) window.$A = daum.$A;
	if(!window.$E) window.$E = daum.$E;
	if(!window.$T) window.$T = daum.$T;
	if(!window.$C) window.$C = daum.$C;
	if(window.Sizzle) window.$$ = daum.$$ = window.Sizzle;
	daum.extend(daum, daum.Event);
	daum.extend(daum, daum.Browser);
	daum.extend(daum, daum.Element);
	if(daum.Event.GC!=undefined){window.JiguEventGC = daum.Function.interval(daum.Event.GC, 60000, daum.Event);}
	daum.Event.addEvent(window, "load", function(){ daum.documentLoaded = true; });
	daum.nativeExtend();
	daum.Browser.init();
	if(!window.console){window.console={debug:function(){},log:function(){}}}else{if(!window.console.log){window.console.debug=window.console.log=function(){}}else{if(!window.console.debug){window.console.debug=function(){for(var b=0,a=arguments.length;b<a;b++){window.console.log(arguments[b])}}}}};
	return true;
})();

