

/* FLASH Include */
function ShowFlash(url, width, height){//일반
        document.write(' <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="quality" value="high">');
        document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
        document.write('</object>');
}

function ShowFlash2(url, width, height){//투명
        document.write(' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" allowScriptAccess="sameDomain" width="' + width + '" height="' + height + '" VIEWASTEXT>');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="quality" value="high">');
		document.write('<param name="wmode" value="transparent">');
		document.write('<param name="allowScriptAccess" value="sameDomain">');
        document.write('<embed src="' + url + '" wmode="opaque" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" allowScriptAccess="sameDomain"></embed>');
        document.write('</object>');
}

 


function MM_goToURL() {
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

/*즐겨찾기 추가 */
function myFavorite() { 
window.external.AddFavorite('http://www.e-ch.co.kr', '오락지존 E채널') 
}

//서버시간 쿠키 가져오기 

function getCookie(Name) {
 var search = Name + "=";

 if (document.cookie.length > 0) {
  offset = document.cookie.indexOf(search);
  if (offset != -1) {
   offset += search.length;
   end = document.cookie.indexOf(";", offset);
   if (end == -1) end = document.cookie.length;
    return unescape(document.cookie.substring(offset, end));
  }
 }
 return "";
}

//POST 팝업창
function post_popup(){
	window.open('../n_member/post.asp','postPOP','width=400,height=400,menubar=no,status=no,toolbar=no,titlebar=no,location=no,scrollbar=yes');
	
}






