function viewContents(idx)
{
viewContentsLayer(idx, 0, 0) ;
return;
//뷰창오픈을 레이어로 변경. 2019.01
//windowOpenCenter('/contents/view.htm?idx=' + idx, 'contentsView_Applefile', '1150', '850', 'scrollbars=1');
}
function close_main_center_banner()
{
set_cookie("cookie_main_center_banner", "ok", "24");
$("#div_main_center_banner").get(0).style.display = "none";
}
function close_main_center_banner2()
{
set_cookie("cookie_main_center_banner2", "ok", "24");
$("#div_main_center_banner2").get(0).style.display = "none";
}
function request_bunus_point(flag_authentic)
{
if(!m_id)
{
alert("로그인후 이용하세요.");
return;
}
if(flag_authentic == "0")
{
movePage('/member/nameCheck.htm');
}
else
alert("실명인증을 하시시고도 보너스 포인트 지급을 받지 못하셨다면\n\n고객센터로 문의 주세요.");
}
//메인 로긴시 배너 스왑
var is_main_page = true;
function main_center_banner_swap()
{
$("#div_main_center_banner").get(0).style.display = "none";
$("#div_main_center_banner2").get(0).style.display = "";
$("#kumho_new_link").get(0).href = "http://www.sient.co.kr/kumho_new/event.asp?medium=348100&Userid=" + m_id;
}
//지식인 링크걸기 이벤트
function Mission_URL_Check(fm)
{
if(fm.M_url.value=="") alert("답변주소를 입력하세요.");
else
{
fm.action="qna_event_check.html";
fm.target="hiddenAction";
fm.submit();
}
}
//메인 쿠키
function Check_User_cookieId()
{
cookie_Id="";
cookie_check="";
if(cookie_check&&cookie_Id)
{
mainLoginForm.m_id.style.background='#fff';
mainLoginForm.m_id.value=cookie_Id;
mainLoginForm.idSave.value=1;
$("#idSave_image").get(0).src = "/images/img/check_box_on.gif";
}
}
function fc_site_log(area_info){
if(area_info != ""){
$.ajax({
type : "POST",
url : "/log/main_click_log.php",
data : "area=" + area_info,
cache : false,
success : function(obj){
return true;
},
error : function(obj){
return true;
}
});
}
}