function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&id.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function OpenWin3(previewcnt) {
    var winProperties1 = "directories=no,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=no,width=640,height=540";
    win = window.open( previewcnt, "win1", winProperties1);
} 

function goLastProgURL(strUrl)
{
	if (strUrl != "0")
	{
		if (strUrl.lastIndexOf("::") > 0)
		{
			strMoveUrl = strUrl.split("::");
			window.open(strMoveUrl[0],"LastProgWin","toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,width=750,height=577");
		}
		else
		{
			window.location.href = strUrl;			
		}
	}
}
document.write("<div id=Layer1 style='position:absolute; left:8px; top:1115px; width:182px; height:116px; z-index:1'>");
document.write("<table width=95% border=0 cellspacing=0 cellpadding=0>");
document.write("  <tr>");
document.write("    <td align=left>");
fDramaProgramGo();
document.write("    </td>");
document.write("  </tr>");
document.write("   <tr height='10'><td></td></tr>");
document.write("   <tr>");
document.write("     <td align=center>");
writeMyFav('DRAMA00002828');
document.write("</td>");
document.write("   </tr>");
document.write("</table>");
document.write("</div>");
document.write("<div id=Layer2 style='position:absolute; left:0px; top:350px; width:219px; height:709px; z-index:2'>");
writeSwf("http://swf.imbc.com/broad/tv/drama/gungs/images/gungs_subsub_menu.swf",200,750,false);
document.write("</div>");
document.write("<TABLE WIDTH=200 BORDER=0 CELLPADDING=0 CELLSPACING=0>");
document.write("              <TR> ");
document.write("                <TD><a href=http://www.imbc.com/broad/tv/drama/gungs/index.html><IMG SRC=http://img.imbc.com/broad/tv/drama/gungs/images/bon_img3_01.jpg ALT= WIDTH=200 HEIGHT=164 border=0></a></TD>");
document.write("              </TR>");
document.write("              <TR> ");
document.write("                <TD><IMG SRC=http://img.imbc.com/broad/tv/drama/gungs/images/bon_img3_02.jpg WIDTH=200 HEIGHT=589 ALT=></TD>");
document.write("              </TR>");
document.write("              <TR> ");
document.write("                <TD><IMG SRC=http://img.imbc.com/broad/tv/drama/gungs/images/blank.gif WIDTH=200 HEIGHT=300 ALT=></TD>");
document.write("              </TR>");
document.write("            </TABLE>");
