function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i\ \ \ \ \ "); } //¿ìÆí¹øÈ£¼±Åà function pop_post(post,addr){ window.open("/common/post_pop.jsp?postbox="+post+"&addrbox="+addr,"post","width=402,height=230,history=no,resizable=no,status=no,scrollbars=yes,menubar=no"); } //up and down var oldMenu = ''; function upndown( a ) { if( oldMenu != a ) { if( oldMenu!='' ) { oldMenu.style.display = 'none'; } a.style.display = 'block'; oldMenu = a; } else { a.style.display = 'none'; oldMenu = ''; } } //////////ÁֹιøÈ£ check [S]/////////////////////////////////////////////////////////////////////////// function chkresno(resno) { var jumin_ok = "N"; // ÁֹιøÈ£ÀÇ ÇüÅÂ¿Í 7¹øÂ° ÀÚ¸®(¼ºº°) À¯È¿¼º °Ë»ç fmt = /^\d{6}-[1234]\d{6}$/; if (!fmt.test(resno)) { alert("À߸øµÈ Áֹεî·Ï¹øÈ£ÀÔ´Ï´Ù."); jumin_ok = "N"; return jumin_ok; } // ³¯Â¥ À¯È¿¼º °Ë»ç birthYear = (resno.charAt(7) <= "2") ? "19" : "20"; birthYear += resno.substr(0, 2); birthMonth = resno.substr(2, 2) - 1; birthDate = resno.substr(4, 2); birth = new Date(birthYear, birthMonth, birthDate); if ( birth.getYear() % 100 != resno.substr(0, 2) || birth.getMonth() != birthMonth || birth.getDate() != birthDate) { alert("À߸øµÈ Áֹεî·Ï¹øÈ£ÀÔ´Ï´Ù."); jumin_ok = "N"; return jumin_ok; } // Check Sum ÄÚµåÀÇ À¯È¿¼º °Ë»ç buf = new Array(13); for (i = 0; i < 6; i++) buf[i] = parseInt(resno.charAt(i)); for (i = 6; i < 13; i++) buf[i] = parseInt(resno.charAt(i + 1)); multipliers = [2,3,4,5,6,7,8,9,2,3,4,5]; for (i = 0, sum = 0; i < 12; i++) sum += (buf[i] *= multipliers[i]); if ((11 - (sum % 11)) % 10 != buf[12]) { alert("À߸øµÈ Áֹεî·Ï¹øÈ£ÀÔ´Ï´Ù."); jumin_ok = "N"; return jumin_ok; } //alert("Á¤»óÀûÀÎ Áֹεî·Ï¹øÈ£ÀÔ´Ï´Ù."); jumin_ok = "Y"; return jumin_ok; } //////////ÁֹιøÈ£ check [E]/////////////////////////////////////////////////////////////////////////// var MoveLayerTimer2 = ""; var ScrollSpeed2 = 50; //·¹ÀÌ¾î º¸¿©ÁÖ±â function showLayer(layername){ layername.style.display = 'block'; } function closeLayer(layername){ layername.style.display = 'none'; } // getFlash 20090409Ãß°¡ function getFlash(swfName,wt,ht,id){ document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); } function SWFLoader() { var obj = new String; var parameter = new String; var embed = new String; var classId = new String; var codeBase = new String; var pluginSpage = new String; var embedType = new String; var allParameter = new String; var src = new String; var width = new String; var height = new String; var id = new String; var layer = new String; var arg = new String; var altText = new String; var wmode = new String; this.init = function ( w, h, s, a ) { width = w; height = h; src = s; arg = a; wmode = 'transparent'; classId = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'; codeBase = 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0'; pluginSpage = 'http://www.macromedia.com/go/getflashplayer'; embedType = 'application/x-shockwave-flash'; parameter += "\n"; parameter += ""; parameter += "\n"; parameter += "\n"; parameter += "\n"; parameter += "\n"; } this.parameter = function ( param, value ) { parameter += "\n"; } this.wmode = function ( value ) { wmode = value; } this.id = function ( value ) { id = value; } this.alt = function ( value ) { altText = value; } this.layer = function ( value ) { if(value == undefined) { layer = ""; } else { layer = value; } } this.show = function () { obj = '\n'+ parameter + '\n'+ '\n' + '\n' + parameter + '\n'+ '\n' + '
' + altText + '
\n' + '\n' + '
\n' + '\n' + '
'; if(layer == "") { document.write(obj); }else{ var div = document.getElementById( layer); div.style.display = ""; div.innerHTML = obj; } } }