document.write("
"); document.write(""); var _USE_; //특정 스크립트를 구분해서 쓴다 //브라우저를 확인 var n4 = (document.layers)?true:false; var e4 = (document.all)?true:false; ////////////////////////////////////////////////// if (location.hostname != "write.mfile.co.kr") { var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-37358983-2']); _gaq.push(['_setDomainName', window.location.hostname.replace(/([a-zA-Z0-9]+.)/,"")]); _gaq.push(['_setAllowLinker', true]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); } //----------------------------------------------------------------------------// // 금칙어 체크 var noUsingStr = new Array('새끼','개새끼','소새끼','병신','지랄','씨팔','십팔','니기미','찌랄','지랄','쌍년','쌍놈','빙신','좆까','니기미','좆같은게','잡놈','벼엉신','바보새끼','씹새끼','씨발','씨바','씨팔','시벌','씨벌','떠그랄','좆밥','쉐이','등신','싸가지','미친놈','미친넘','찌랄','죽습니다','씨밸넘','사기','노모','야동','강간','filenori','파일노리','파일 노리','mypot','마이팟','bigfile'); function basicFuncBanString(obj){ for(var i=0;i < noUsingStr.length;i++){ if(obj.value.indexOf(noUsingStr[i])!=-1){ alert('등록에 제한된 단어가 포함 되어 있습니다.'); //obj.focus(); return false; } } return true; } //----------------------------------------------------------------------------// function hidestatus(){ window.status='' return true; } function returnEventFalse(){ event.returnValue = false; } if(_USE_!=1){ if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) document.onmouseover=hidestatus; document.onmouseout=hidestatus; //document.oncontextmenu = returnEventFalse; //document.ondragstart = returnEventFalse; //document.onselectstart = returnEventFalse; } //document.domain = "_CHILD_DOMAIN"; /* function keyDown(){ var keyValue = event.keyCode; var notKey = new Array('18','122','17'); //alt , F11 Ctrl if(keyValue=='17'){ alert('Ctrl키는 사용하실 수 없습니다. '); return false; } if(in_array(keyValue,notKey)){ event.keyCode = ""; return false; } return true; } document.onkeydown= keyDown; */ function $(getid){ return document.getElementById(getid); } //배열에 값이 있는지 검사 function in_array(Val,Arr){ for(var i=0;i