var bro = retBrowser(); function retBrowser() { var ua=navigator.userAgent.toLowerCase(); if ((typeof document.implementation!='undefined')&&(typeof document.implementation.createDocument!='undefined')&&(typeof HTMLDocument!='undefined')) { HTMLElement.prototype.removeNode=function(){ this.parentNode.removeChild(this); } return 'mozilla'; } else if (ua.indexOf("firefox")!=-1) { return 'firefox'; } else if ( ua.indexOf("safari")!=-1) { return 'safari'; } else if (typeof window.opera!='undefined') { return 'opera'; } else if (navigator.platform.indexOf("Mac")!=-1) { return 'mac'; } else { return 'ie'; } } //URI 인코딩 헤더 설정 function setEncHeader(oj){ var contentTypeUrlenc = 'application/x-www-form-urlencoded; charset=UTF-8'; if(!window.opera){ oj.setRequestHeader('Content-Type',contentTypeUrlenc); } else { if((typeof oj.setRequestHeader) == 'function') oj.setRequestHeader('Content-Type',contentTypeUrlenc); } return oj } function uriEncode(data){ if(data!=""){ var encdata = ''; var datas = data.split('&&'); for(i=1;i