// ´Ù½Ãº¸±â ±¸ºÐ
function mainTop(A) {
	document.write('<h1><a href="http://www.imbc.com/broad/tv/drama/jewel/index.html" title="º¸¼®ºñºö¹ä"><b>º¸¼®ºñºö¹ä</b></a></h1>');
	if(A != "vod"){
		number = Math.floor(Math.random()*4)+1;
		document.body.style.background="url(http://img.imbc.com/broad/tv/drama/jewel/images/sub_skin"+number+".jpg) no-repeat center 150px";
		document.write('<div class="lnb">');
		writeSwf('http://swf.imbc.com/broad/tv/drama/dramatop/dramaTop.swf?Dcode=jewel',705,108,false);
		document.write('</div>');	
	} else {
		document.body.style.background="url(http://img.imbc.com/broad/tv/drama/jewel/images/sub_skin_vod.jpg) no-repeat center 150px";
	}
}

// ÁÂÃø¸Þ´º
function snb() {
	document.write('<div class="leftMenu">');
	document.write('<div style="position:absolute; left:-8px;; top:0">');
	writeSwf('http://swf.imbc.com/broad/tv/drama/jewel/swf/subMenu.swf',180,650,false);
	document.write('</div>');
	document.write('<div class="mb_5 pt_670">');
	fDramaProgramGo();
	document.write('</div>');
	document.write('<div class="w_131 m_0a">');
	writeMyFav('DRAMA00004155');
	document.write('</div>');
	document.write('</div>');
}
