// ·¹ÀÌ¾î ÆË¾÷°ü·Ã
/*
function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  } 
}

function na_preload_img()
{ 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length-1; i++) {
    document.preloadlist[top+i] = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function na_change_img_src(name, nsdoc, rpath, preload)
{ 
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';

  cookie_str = document.cookie;
  cookie_str.toString();

  pos_start  = cookie_str.indexOf(name);
  pos_end    = cookie_str.indexOf('=', pos_start);

  cookie_name = cookie_str.substring(pos_start, pos_end);

  pos_start  = cookie_str.indexOf(name);
  pos_start  = cookie_str.indexOf('=', pos_start);
  pos_end    = cookie_str.indexOf(';', pos_start);
  
  if (pos_end <= 0) pos_end = cookie_str.length;
  cookie_val = cookie_str.substring(pos_start + 1, pos_end);
  if (cookie_name == name && cookie_val  == "done")
    return;

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}

function closeLayerXbox() { 

	document.all['divpop'].style.visibility = "hidden";
}
*/
// ·¹ÀÌ¾î ÆË¾÷°ü·Ã
function setCookie( name, value, expiredays ) { // ÆË¾÷ ¿À´ÃÇÏ·ç ¾Èº¸±â
	var today = new Date();
	today.setDate( today.getDate() + expiredays );
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + today.toGMTString() + ";";
}

function closeWin() { // ÆË¾÷´Ý±â
	if(document.frm.popupCheck.checked) {
		setCookie( "golfy_100318", "done" , 1); // ( ÄíÅ°°ª, ±â°£, 1)
	}
		document.all['divpop'].style.visibility = "hidden";		
}

// °Ô½ÃÆÇ °ü·Ã
function ChangeList(set) {
	if(set == "notice") {
		document.getElementById("noticeTB").style.display = ""
		document.getElementById("newsTB").style.display = "none"
	}
	else {
		document.getElementById("noticeTB").style.display = "none"
		document.getElementById("newsTB").style.display = ""
	}
}

// µ¿¿µ»ó °ü·Ã
function video_play(url) {
	MediaPlayer.Open(url);
}

function newWin(url) {
	window.open(url,"OPEN","width=660,height=550,scrollbars=yes,resizable=yes")
}

function mmsChange(replacemmsSource){
	if(navigator.appName == "Netscape") { 
		document.MediaPlayer.SetFileName(replacemmsSource); 
	} else { 
		document.MediaPlayer.FileName = replacemmsSource; 
	}
	return;
}

var bWin32IE;
if ((navigator.userAgent.indexOf("IE") != "-1") && (navigator.userAgent.length > 1)) {
	bWin32IE = true;
} else {
	bWin32IE = false;
}

function play(){
	if (bWin32IE == true) {
		document.MediaPlayer.play();
	} else {
		document.MediaPlayer.Play();
	}
}


function stop(){
	if (bWin32IE == true) {
		document.MediaPlayer.stop();
	} else {
		document.MediaPlayer.Stop();
		document.MediaPlayer.SetCurrentPosition(0);
	}
}

function cs(){   
	if (bWin32IE == true) {   
		document.MediaPlayer.stop();
	} else {   
		document.MediaPlayer.stop();
	}   
}   

function full(){   
	if (bWin32IE == true) {   
		document.MediaPlayer.DisplaySize = 3;   
		document.MediaPlayer.Play();   
	} else {   
		document.MediaPlayer.SetDisplaySize(3);   
		document.MediaPlayer.Play();   
	}   
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

