var HOMEPAGE = "http://www.sportsseoul.com"; var ss_user_id = ""; var ss_user_nm = ""; if( (document.location.href).indexOf('pdf.sportsseoul.com') >= 0) { if(ss_user_id == "") { alert("로그인 후 이용하실 수 있습니다."); document.location.href = "https://www.sportsseoul.com/login?retUrl=" + encodeURIComponent("http://pdf.sportsseoul.com"); } } //console.log( 'Debug Objects1(이전): '+document.referrer ); //console.log( 'Debug Objects2(현재): '+location.href ); //URL복사 소스 function is_ie() { if(navigator.userAgent.toLowerCase().indexOf("chrome") != -1) return false; if(navigator.userAgent.toLowerCase().indexOf("msie") != -1) return true; if(navigator.userAgent.toLowerCase().indexOf("windows nt") != -1) return true; return false; } function copy_to_clipboard(str) { if( is_ie() ) { window.clipboardData.setData("Text", str); alert("복사되었습니다."); return; } prompt("Ctrl+C를 눌러 복사하세요.", str); } function CreateBookmarkLink(url, title) { if (window.sidebar && window.sidebar.addPanel) { // FF ver 23 이하. window.sidebar.addPanel(title, url, ''); } else { if (window.external && ('AddFavorite' in window.external)) { // IE window.external.AddFavorite(url, title); } else { // Others alert('확인을 클릭하신 후 주소창에서 를 누르시면 즐겨찾기에 등록됩니다.'); } } } function setHomepage(url) { document.body.style.behavior = 'url(#default#homepage)'; document.body.setHomePage(url); /* else if (window.sidebar) { if (window.netscape) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { //alert("this action was aviod by your browser,if you want to enable,please enter about:config in your address line,and change the value of signed.applets.codebase_principal_support to true"); } } //var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch); //prefs.setCharPref('browser.startup.homepage', url); } */ } // 즐겨찾기 function SSFB_addfav(){ window.external.AddFavorite('http://www.sportsseoul.com/', '스포츠서울 www.sportsseoul.com'); } // pdf function go_pdf(uid, unm) { document.pdf_frm.action = "http://pdf.sportsseoul.com"; document.pdf_frm.method = "post"; document.pdf_frm.userid.value = uid; document.pdf_frm.usernm.value = unm; document.pdf_frm.submit(); } document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write("\n"); document.write(""); document.write(""); /* document.write("\n"); */ document.write("
\n"); document.write("
\n"); document.write(" \n"); if(ss_user_id == "") { document.write("
    \n"); document.write("
  • PDF보기
  • \n"); document.write("
  • \n"); document.write("
  • 회원가입
  • \n"); document.write("
  • \n"); document.write("
  • 로그인
  • \n"); document.write("
  • \n"); document.write("
  • \"페이스북\"
  • \n"); document.write("
  • \n"); document.write("
  • \"트위터\"
  • \n"); document.write("
\n"); } else { document.write("
    \n"); document.write("
  • PDF보기
  • \n"); document.write("
  • \n"); document.write("
  • MYPAGE
  • \n"); document.write("
  • \n"); document.write("
  • 로그아웃
  • \n"); document.write("
  • \n"); document.write("
  • \"페이스북\"
  • \n"); document.write("
  • \n"); document.write("
  • \"트위터\"
  • \n"); document.write("
\n"); } document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write(" \n"); document.write(" \n"); document.write("
\n"); function comming() { alert("서비스 준비중 입니다."); }