var SessFlashConWidth_Default = 300; var SessFlashConHeight_Default = 300; var SessFlashConWidth = 0; var SessFlashConHeight = 0; /* // 받은플콘(공지포함) document.write(''); // 클럽설정플콘 document.write(''); // 플콘보낸 결과 document.write(''); */ /* // 클럽에서 완료되지 않고 이동되었을때는 대비 function Sess_FlashConTimeOut() { SessCtrl.SessionFlashConEnd(); }*/ function Sess_FlashConSendResult(strResult) { if(strResult == "FAILD") alert("플콘보내기를 실패했습니다!\r\n선택하신 회원님이 오프라인 상태입니다"); self.close(); } /* function Sess_FlashConRecv(strResult) { var strArray = strResult.split("#<"); /* 0 : 플콘아이디(고유값) 1 : 보낸회원 아이디 2 : 보낸회원 닉네임 3 : 플콘파일 4 : 코멘트 5 : 플콘보낸시간 */ /* if(strArray.length == 6) { if(sess_place == "openclub") var obj = top.mainFrame.club_body.document.all.flashcon; else var obj = top.document.all.flashcon; if(typeof obj == 'object') { obj.innerHTML = Sess_FlashConMake(false, strArray[3], strArray[1], strArray[2], strArray[4], strArray[5]); obj.style.width = SessFlashConWidth; obj.style.height = SessFlashConHeight; if(sess_place == "openclub") { obj.style.left = (960 / 2) - (SessFlashConWidth / 2) - (960 - top.mainFrame.club_body.document.body.clientWidth); obj.style.top = document.body.scrollTop + (document.body.clientHeight / 2) - (SessFlashConHeight / 2) - 140 - 50; if(parseInt(obj.style.top) < 10) obj.style.top = 10; top.mainFrame.club_body.showSelects(false); setTimeout("Sess_FlashConTimeOut()",30000); } else { obj.style.left = document.body.scrollLeft + (document.body.clientWidth / 2) - (SessFlashConWidth / 2); obj.style.top = document.body.scrollTop + (document.body.clientHeight / 2) - (SessFlashConHeight / 2); showSelects(false); setTimeout("Sess_FlashConTimeOut()",30000); } SessCtrl.SessionFlashConBegin(); } } }*/ /* function Sess_FlashConClub(strResult) { var obj = top.mainFrame.club_body.document.all.flashcon; if(typeof obj == 'object') { obj.innerHTML = Sess_FlashConMake(true, strResult, "", "", "", ""); obj.style.width = SessFlashConWidth; obj.style.height = SessFlashConHeight; obj.style.left = (960 / 2) - (SessFlashConWidth / 2) - (960 - top.mainFrame.club_body.document.body.clientWidth); obj.style.top = document.body.scrollTop + (document.body.clientHeight / 2) - (SessFlashConHeight / 2) - 140 - 50; top.mainFrame.club_body.showSelects(false); SessCtrl.SessionFlashConBegin(); setTimeout("Sess_FlashConTimeOut()",20000); } } */ function Sess_FlashConMake(bClubSet, strFlashConFile, strSendID, strSendNick, strCommnet, strRegDate) { var contents = ""; if(bClubSet) { contents = ''; contents += ''; contents += ''; contents += ''; contents += ''; SessFlashConWidth = SessFlashConWidth_Default; SessFlashConHeight = SessFlashConHeight_Default; } else { var makeIndex = Math.floor(4 * Math.random()); var objcontents = ''; objcontents += ''; objcontents += ''; objcontents += ''; objcontents += ''; switch(makeIndex) { case 0: SessFlashConWidth = SessFlashConWidth_Default + 25; SessFlashConHeight = SessFlashConHeight_Default + 141; contents = ''; contents += ''; contents += ''; contents += ''; contents += ''; contents += '
'; contents += ''; contents += ''; contents += '
 
'+objcontents+'
'; contents += ''; contents += ''; contents += '
'; contents += ''; contents += ''; contents += ''; contents += '
'+strRegDate+'
'+strSendNick+'('+strSendID+')'; contents += '
'+strCommnet+'
'; break; case 1: SessFlashConWidth = SessFlashConWidth_Default + 18; SessFlashConHeight = SessFlashConHeight_Default + 130; contents = ''; contents += ''; contents += ''; contents += ''; contents += ''; contents += ''; contents += '
'; contents += ''; contents += ''; contents += ''; contents += '
 
'+objcontents+'
'; contents += ''; contents += ''; contents += '
'+strRegDate+'
'+strSendNick+'('+strSendID+')'; contents += '
'; contents += ''; contents += ''; contents += '
'; contents += ''+strCommnet+'
'; break; case 2: SessFlashConWidth = SessFlashConWidth_Default + 193; SessFlashConHeight = SessFlashConHeight_Default + 29; contents = ''; contents += ''; contents += ''; contents += ''; contents += ''; contents += ''; contents += '
'+objcontents+''; contents += '
'; contents += ''; contents += ''; contents += ''; contents += ''; contents += '
'+strRegDate+'
'+strSendNick+'('+strSendID+')
'+strCommnet+'
'; contents += ''; contents += ''; contents += '
 
'; break; case 3: SessFlashConWidth = SessFlashConWidth_Default + 48; SessFlashConHeight = SessFlashConHeight_Default + 141; contents = ''; contents += ''; contents += ''; contents += ''; contents += ''; contents += '
'; contents += ''; contents += ''; contents += '
'+objcontents+'
'; contents += ''; contents += ''; contents += '
'+strRegDate+'
'+strSendNick+'('+strSendID+')'; contents += '
'+strCommnet+'
'; break; default: SessFlashConWidth = SessFlashConWidth_Default; SessFlashConHeight = SessFlashConHeight_Default; break; } } return contents; }