var HOMEPAGE = "http://www.sportsseoul.com"; //addLoadEvent(function() { var data ={}; data.repage = document.referrer; data.npage = location.href; //console.log('ref = ' + data.repage + ' // href = ' + data.npage); $.ajax({ url: "http://www.sportsseoul.com/news/site_log/" , crossDomain: true , dataType: "jsonp" , type: 'POST' , data: data }); //}); document.write("
\n"); document.write("
\n"); // 기본 document.write("
\n"); document.write("

\"스포츠서울\"/

\n"); // 31주년 //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"); // 우측 키워드 document.write("
\n"); //document.write(""); document.write("
\n"); document.write("
\n"); document.write("
\n"); document.write("\n"); $(document).ready(function() { if($('#SS_slides').find('iframe').length >= 2) { $('#SS_slides').slidesjs({ play:{ active:false, auto:true, effect:"slide", interval:5000, pauseOnHover:true }, navigation:{ active:false }, pagination:{ active:false }, effect:{ slide:{ speed:700 } }, width: 500, height: 300, start:1 }); } // 서브 도메인일때, '뉴스' 메뉴에 마우스 오버시 동작 //if(location.href !="http://www.sportsseoul.com" || location.href !="http://www.sportsseoul.com/"){ if(location.href.indexOf("http://www.sportsseoul.com") < 0 || location.href.indexOf("http://www.sportsseoul.com/") < 0){ // 운세일때 서브메뉴 감추기 if((document.location.href).indexOf("fortune.sportsseoul.com") >= 0 || (document.location.href).indexOf("sportsseoul.fortunade.com") >= 0) { $(".submenuWrap").css("height", "0px"); $(".top_news_menu").hide(); } else { $(".submenuWrap").css("height", "6px"); $(".top_news_menu").hide(); $("#main-menu > li").hover(function(){ var main_idx = $("#main-menu > li").index(this); // 뉴스 if(main_idx == 0){ $(".submenuWrap").css("height", "22px"); $(".top_news_menu").show(); } }, function(){ var main_idx = $("#main-menu > li").index(this); if(main_idx > 0){ // 뉴스 $(".submenuWrap").css("height", "6px"); $(".top_news_menu").hide(); } }); $(".top_news_menu > ul").hover(function(){ }, function(){ $(".submenuWrap").css("height", "6px"); $(".top_news_menu").hide(); }); } } // 페이지 진입 시 해당 메뉴 색 변경 if((document.location.href).indexOf("holic.sportsseoul.com") >= 0) { var main_menu_li_a_eq = 4; $($("#main-menu > li").get(5)).find('a').css('color','#0766a8'); } else { if((document.location.href).indexOf("www.sportsseoul.com") >= 0) { var path = $(location).attr('pathname').split("/"); if(path[1] == 'poll') { $($("#main-menu > li > a").get(5)).css('color','#0766a8'); } else if(path[1] == 'race') { $($("#main-menu > li > a").get(6)).css('color','#0766a8'); } else if(path[1] == 'news') { $($("#main-menu > li > a").get(0)).css('color','#0766a8'); } } if((document.location.href).indexOf("comic.sportsseoul.com") >= 0) { $($("#main-menu > li > a").get(1)).css('color','#0766a8'); } if((document.location.href).indexOf("vod.sportsseoul.com") >= 0) { $($("#main-menu > li > a").get(2)).css('color','#0766a8'); } if((document.location.href).indexOf("photo.sportsseoul.com") >= 0) { $($("#main-menu > li > a").get(3)).css('color','#0766a8'); } if((document.location.href).indexOf("fortune.sportsseoul.com") >= 0) { $($("#main-menu > li > a").get(9)).css('color','#0766a8'); } } }); function shopclick(){ //console.log( 'Debug Objects1: '+location.href ); //console.log( 'Debug Objects2: http://www.ss7m.com/' ); var send_data = {repage:location.href,npage:'http://shopping.sportsseoul.com/'}; $.post("http://www.sportsseoul.com/news/site_log/", send_data ); //var openNewWindow = window.open("about:blank"); //openNewWindow.location.href ='http://www.ss7m.com/'; window.open('http://shoptteum.com/'); } document.write(" \n"); // 서브메뉴 감추기 if((document.location.href).indexOf("comic.sportsseoul.com") >= 0) { // 만화 document.write("
\n"); } else if((document.location.href).indexOf("fortune.sportsseoul.com") >= 0 || (document.location.href).indexOf("sportsseoul.fortunade.com") >= 0) { // 운세 document.write("
\n"); } else { document.write("
\n"); } document.write("
    \n"); document.write("
  • 뉴스
  • \n"); // kakao 1boon document.write("
  • \"icon\"
  • \n"); document.write("
  • 만화
  • \n"); // 영상 document.write("
  • 영상
  • \n"); // 포토 document.write("
  • 포토
  • \n"); // 걸픽 //document.write("
  • \"new\"
  • \n"); document.write("
  • 걸픽
  • \n"); // 홀릭 document.write("
  • \"icon\"
  • \n"); // POll document.write("
  • Poll
  • \n"); // 게임쿠폰 document.write("
  • 게임쿠폰
  • \n"); // 포스트시즌 //document.write("
  • 포스트시즌 \"new\"
  • \n"); // 리우 //document.write("
  • \"new\"
  • \n"); document.write("
\n"); document.write("
    \n"); // 스리런 //document.write("
  • \n"); //document.write("
  • 스리런
  • \n"); // toto365(픽스타) - 2017.04.03 종료 //document.write("
  • toto365
  • \n"); // The Seoul Awards //document.write("
  • \"icon\"
  • \n"); // 아임플레이 document.write("
  • 아임플레이
  • \n"); // 운세 document.write("
  • 운세 \"new\"
  • \n"); // Spoon Feed //document.write("
  • \n"); document.write("
  • \"icon\"
  • \n"); //document.write("
  • 쇼핑
  • \n"); document.write("
\n"); document.write("\n"); document.write(" \n"); document.write(" \n"); document.write("
\n"); document.write("
\n"); function mv_page() { var today = new Date(); var ss_hour = today.getHours(); if(ss_hour >= 0 && ss_hour < 1) { alert("서비스 점검중 입니다."); } else { document.location.href = "http://holic.sportsseoul.com"; } }document.write(" "); function top_banner() { var obj = $('.container').html(); $('#TOP_BANNER_SLIDE').html(obj); } top_banner(); document.write(" "); function top_keywords_fn() { var obj = $('#top_keywords_data').html(); $('.search_wordWrap').html(obj); } top_keywords_fn(); var keyword_id = 0; function chg_keywords(id) { for(var i=0; i<2; i++) { if(i != id) { var disp = "none"; } else { var disp = ""; } document.getElementById("top_keywords_" + i).style.display = disp; } } $("#keyword_P").on( "click", function() { if(keyword_id == 0) keyword_id = 1; else keyword_id--; chg_keywords(keyword_id); }); $("#keyword_N").on( "click", function() { if(keyword_id == 1) keyword_id = 0; else keyword_id++; chg_keywords(keyword_id); }); chg_keywords(keyword_id);