bplist00
_WebSubresources_WebMainResource
_WebResourceData^WebResourceURL_WebResourceResponse_WebResourceMIMETypeO? function NCP_pupop(user_id, user_pw)
{
document.write("
");
var form = eval("document.ncpForm");
form.user_id.value = user_id;
form.user_pw.value = user_pw;
PopUp("", "ncp", 400, 284);
form.target = "ncp";
form.method = "post";
form.action = "/member/pop_realname.asp";
form.submit();
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&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 1){
alert(n+' : ϸ (ϸ Ȯ ) " . " 1̻ ϴ.');
return false;
}
return true;
}
function FileExtCheck2(obj) {//ϸ Ȯڿ Ư ˻, ħǥ 2 ̻ Ǿ ˻
var t = obj.value;
var strFn;
var strFn2;
var re;
var dotCnt = 0;
if((t.lastIndexOf(".jpg")==-1) && (t.lastIndexOf(".gif")==-1) && (t.lastIndexOf(".JPG")==-1) && (t.lastIndexOf(".GIF")==-1)) {
alert("ε JPG ǴGIF մϴ. ");
return false;
}
//ϸ Ư ˻
strFn = t.substring(t.lastIndexOf("\\")+1, t.length);//Ȯ ϸ
strFn2 = strFn.substring(0, strFn.indexOf("."));//Ȯ ϸ
re = /!|@|#|\$|%|\^|&|\*|\+|\?|\.|\,/;
if(re.test(strFn2)){
alert("ϸ Ưڸ ϴ.");
return false;
}
for(i=0; i 1){
alert('ϸ (ϸ Ȯ ) " . " 1̻ ϴ.');
return false;
}
return true;
}
function CenterLayer(strObj){// ̾ ߾ӿ ġ
var obj = eval("document.all."+strObj);
var _x = (document.body.clientWidth-908)/2;
var _y = (document.body.clientHeight+500)/2;
obj.style.posLeft=_x;
//document.layers["divCalendar"].style.posTop=_y;
}
function cardchk(type,idx,cp,tb,url) {
if (type=="A")
{
location.href="Cardchk.asp?idx=" + idx + "&cp=" + cp + "&tb=" + tb + "&url=" + url;
}
if (type=="B")
{
alert("߱ó Ǿϴ.");
return;
}
}
// ε
function UpLoadOpenWin(form, elem, path){
var url = "/pub/fileUpload.asp?frmName="+form+"&elem="+elem+"&path="+path;
var top = screen.height/2 - 75;
var left = screen.width/2 - 200;
var win = window.open(url, "uploadWin", "width=340, height=200, top="+top+", left="+left);
win.focus();
}
// ÷
function DeleteFile(frmName, elem, directory, filename){
if(filename.length==0){
alert(" ϴ!.");
return false;
} else{
if(confirm(filename + " Ͻðڽϱ?")){
var url = "/pub/fileDel.asp?frmName="+frmName+"&elem="+elem+"&directory="+directory+"&filename="+filename;
window.open(url,'deleteWin','location=no, directories=no,resizable=no,status=no,toolbar=no,menubar=no, width=300,height=200,left=0, top=0, scrollbars=no');
}
}
}
// º
function OpenCalendar(frmName, elem){
var url = "/pub/calendar.asp?frmName="+frmName+"&elem="+elem;
var top = screen.height/2 - 75;
var left = screen.width/2 - 200;
var win = window.open(url, "uploadWin", "width=300, height=200, top="+top+", left="+left);
win.focus();
}
function UpLoadOpenWin2(path, elem){// ε
var url = "/pub/fileUp.asp?path="+path+"&element="+elem;
var top = screen.height/2 - 75;
var left = screen.width/2 - 200;
var win = window.open(url, "uploadWin", "width=340, height=200, top="+top+", left="+left);
win.focus();
}
function DelFile(path, elem){
var fn = eval("frmW."+elem).value;
if(fn != ""){
if(confirm(fn+" ϰڽϱ?")){
var url = "/pub/fileDel.asp?path="+path+"&fn="+fn+"&element="+elem;
df.location.href=url;
}
}else{
alert(" ϴ.");
return;
}
}
// *************************************************************
// ߰κ
// *************************************************************
function isNull(elem, msg){
if(elem.value.Trim() == ""){
alert(msg + " Էּ.");
elem.value = "";
elem.focus();
return true;
} else{
return false;
}
}
// ̹ ° ڵ ũǴ â
function showPicture(src) {
var imgObj = new Image();
imgObj.src = src;
var wopt = "scrollbars=no,status=no,resizable=no";
wopt += ",width=" + imgObj.width;
wopt += ",height=" + imgObj.height;
var wbody = " ";
wbody += "