<!--

/***************************************************************
¼­ºêºñÁê¾ó Ãâ·ÂºÎ
***************************************************************/
function writeSubVisual(section_a,section_b,section_c) {
	str_a = section_a ; str_b = section_b ; str_c = section_c ;
	his_a = "" ; his_b = "" ; his_c = "" ;

	switch (section_a) {
		case "about" :
			his_a = "About CGV CHOICE" ;
			switch (section_b) {
				case "intro" :
					his_b = "¼Ò°³" ;
					break ;
				case "vod" :
					his_b = "CGV CHOICE VOD" ;
					break ;
				case "ppv" :
					his_b = "CGV CHOICE PPV" ;
					break ;
				default : break ;
			}
			break ;
		case "help" :
			his_a = "Help Desk" ;
			switch (section_b) {
				case "faq" :
					his_b = "FAQ" ;
					break ;
				case "counsel" :
					his_b = "1:1 ¹®ÀÇÇÏ±â" ;
					break ;
				case "guide" :
					his_b = "°¡ÀÔ½ÅÃ»¾È³»" ;
					break ;
				default : break ;
			}
			break ;
		case "news" :
			his_a = "News & Event" ;
			switch (section_b) {
				case "notice" :
					his_b = "°øÁö»çÇ×" ;
					break ;
				case "event" :
					his_b = "ÀÌº¥Æ®" ;
					break ;
				case "poll" :
					his_b = "CGV CHOICE POLL" ;
					break ;
				default : break ;
			}
			break ;
		case "my" :
			his_a = "My CGV CHOICE" ;
			switch (section_b) {
				case "program" :
					his_b = "My Program" ;
					break ;
				case "modify" :
					his_b = "È¸¿øÁ¤º¸¼öÁ¤" ;
					break ;
				case "leave" :
					his_b = "Å»ÅðÇÏ±â" ;
					break ;
				default : break ;
			}
			break ;
		case "member" :
			his_a = "Membership" ;
			switch (section_b) {
				case "join" :
					his_b = "È¸¿ø°¡ÀÔ" ;
					break ;
				case "private" :
					his_b = "°³ÀÎÁ¤º¸º¸È£Á¤Ã¥" ;
					break ;
				default : break ;
			}
			break ;
		case "info" :
			his_a = "CGV CHOICE Info" ;
			switch (section_b) {
				case "contact" :
					his_b = "Contact Us" ;
					break ;
				case "channel" :
					his_b = "Ã¤³Î°¡ÀÔ¾È³»" ;
					break ;
				case "sitemap" :
					his_b = "Sitemap" ;
					break ;
				default : break ;
			}
			break ;
		case "search" :
			his_a = "Search" ;
			break ;
		default : break ;
	}

	document.write('<table width="648" cellpadding="0" cellspacing="0" border="0">') ;
	document.write('	<tr>') ;
	document.write('		<td>') ;

	// Sub visual ------------------------------------------------
	document.write('<img src="images/common/visual_'+section_a+'.gif" width="648" height="79" border="0" align="ABSMIDDLE">') ;

	document.write('		</td>') ;
	document.write('	</tr>') ;
	document.write('	<tr>') ;
	document.write('		<td height=20 align=right class=history01 style="padding-top:5px">') ;

	// History map ------------------------------------------------
	if (his_a != "") {
		if (his_b != "") {
			if (his_c != "") {
				document.write('Home > '+his_a+' > '+his_b+' > '+his_c) ;
			} else {
				document.write('Home > '+his_a+' > '+his_b) ;
			}
		} else {
			document.write('Home > '+his_a) ;
		}
	} else {
		document.write('Home') ;
	}

	document.write('			<img src="images/common/blank.gif" width="4" height="1" border="0" align="ABSMIDDLE">') ;
	document.write('		</td>') ;
	document.write('	</tr>') ;
	document.write('	<tr>') ;
	document.write('		<td height=30>') ;

	// Sub title ------------------------------------------------
	if (str_b != "") {
		str_b = "_" + str_b ;
	}
	if (str_c != "") {
		str_c = "_" + str_c ;
	}
	document.write('<img src="images/common/title_s_'+str_a+str_b+str_c+'.gif" border="0" align="ABSMIDDLE">') ;

	document.write('		</td>') ;
	document.write('	</tr>') ;
	document.write('	<tr><td><img src="images/common/line02.gif" width="648" height="4" border="0" align="ABSMIDDLE"></td></tr>') ;

	// Fix margin
	document.write('	<tr><td height=18></td></tr>') ;
	document.write('</table>') ;

}

/***************************************************************
¼­ºêºñÁê¾ó Ãâ·ÂºÎ (vod)
***************************************************************/
function writeSubVisual_vod(section_a,section_b,section_c) {
	str_a = section_a ; str_b = section_b ; str_c = section_c ;
	his_a = "" ; his_b = "" ; his_c = "" ;

	switch (section_a) {
		case "vod" :
			his_a = "VOD" ;
			switch (section_b) {
				case "vod" :
					his_b = "VOD ¼­ºñ½º¶õ" ;
					break ;
				case "program" :
					his_b = "VOD ÇÁ·Î±×·¥" ;
					break ;
				case "movie" :
					his_b = "¿µÈ­" ;
					break ;
				/*case "drama" :
					his_b = "µå¶ó¸¶" ;
					break ;*/
				case "kids" :
					his_b = "Å°Áî" ;
					break ;
				case "edu" :
					his_b = "±³À°" ;
					break ;
				case "special" :
					his_b = "½ºÆä¼È" ;
					break ;
				case "adult" :
					his_b = "¼ºÀÎ" ;
					break ;
				default : break ;
			}
			break ;
		case "vod_local" :
			his_a = "VOD" ;
			switch (section_b) {
				case "week" :
					his_b = "±ÝÁÖÀÇ ÇÁ·Î±×·¥" ;
					break ;
				case "vote" :
					his_b = "ÃßÃµ ÇÁ·Î±×·¥" ;
					break ;
				case "month" :
					his_b = "ÀÌ´ÞÀÇ ÇÁ·Î±×·¥" ;
					break ;
				case "coming" :
					his_b = "Coming Soon" ;
					break ;
				case "guide" :
					his_b = "ÀÌ¿ë¾È³»" ;
					break ;
				default : break ;
			}
			break ;
		case "ppv" :
			his_a = "PPV" ;
			switch (section_b) {
				case "ppv" :
					his_b = "PPV ¼­ºñ½º¶õ" ;
					break ;
				case "program" :
					his_b = "PPV ÇÁ·Î±×·¥" ;
					break ;
				case "movie" :
					his_b = "¿µÈ­" ;
					break ;
				/*case "drama" :
					his_b = "µå¶ó¸¶" ;
					break ;*/
				case "kids" :
					his_b = "Å°Áî" ;
					break ;
				case "edu" :
					his_b = "±³À°" ;
					break ;
				case "special" :
					his_b = "½ºÆä¼È" ;
					break ;
				case "adult" :
					his_b = "¼ºÀÎ" ;
					break ;
				default : break ;
			}
			break ;
		case "ppv_local" :
			his_a = "PPV" ;
			switch (section_b) {
				case "schedule" :
					his_b = "Æí¼ºÇ¥" ;
					break ;
				case "week" :
					his_b = "±ÝÁÖÀÇ ÇÁ·Î±×·¥" ;
					break ;
				case "month" :
					his_b = "ÀÌ´ÞÀÇ ÇÏÀÌ¶óÀÌÆ®" ;
					break ;
				case "coming" :
					his_b = "Coming Soon" ;
					break ;
				case "guide" :
					his_b = "ÀÌ¿ë¾È³»" ;
					break ;
				default : break ;
			}
			break ;
		case "vodppv" :
			his_a = "VOD & PPV" ;
			break ;
		default : break ;
	}

	document.write('<table width="100%" cellpadding="0" cellspacing="0" border="0">') ;
	document.write('	<tr>') ;
	document.write('		<td height=20 align=right class=history01 style="padding-top:5px">') ;

	// History map ------------------------------------------------
	if (his_a != "") {
		if (his_b != "") {
			if (his_c != "") {
				document.write('Home > '+his_a+' > '+his_b+' > '+his_c) ;
			} else {
				document.write('Home > '+his_a+' > '+his_b) ;
			}
		} else {
			document.write('Home > '+his_a) ;
		}
	} else {
		document.write('Home') ;
	}

	document.write('			<img src="images/common/blank.gif" width="4" height="1" border="0" align="ABSMIDDLE">') ;
	document.write('		</td>') ;
	document.write('	</tr>') ;
	document.write('</table>') ;

}

/***************************************************************
¼­ºê¸Þ´º Å¸ÀÌÆ²
***************************************************************/
function writeMenuTitle(section_a,section_b,section_c) {
	document.write('<img src="images/common/title_l_'+section_a+'.gif" border="0" align="ABSMIDDLE">') ;
}

/***************************************************************
¼­ºê¸Þ´º
***************************************************************/
function writeSubMenu(section_a,section_b,section_c) {
	menuitem = new Array() ;

	switch (section_a) {
		case "about" :
			menuitem = [
					["intro" , "01" , "javascript:goSection('about','intro');"] ,
					["vod" , "02" , "javascript:goSection('about','vod');"] ,
					["ppv" , "03" , "javascript:goSection('about','ppv');"]
				];
			break ;
		case "help" :
			menuitem = [
					["faq" , "01" , "javascript:goSection('help','faq');"] ,
					["counsel" , "02" , "javascript:goSection('help','counsel');"] ,
					["guide" , "03" , "javascript:goSection('help','guide');"]
				];
			break ;
		case "news" :
			menuitem = [
					["notice" , "01" , "javascript:goSection('news','notice');"] ,
					["event" , "02" , "javascript:goSection('news','event');"] ,
					["poll" , "03" , "javascript:goSection('news','poll');"]
				];
			break ;
		case "my" :
			menuitem = [
					["program" , "01" , "javascript:goSection('my','program');"] ,
					["modify" , "02" , "javascript:goSection('my','modify');"] ,
					["leave" , "03" , "javascript:goSection('my','leave');"]
				];
			break ;
		case "member" :
			menuitem = [
					["join" , "01" , "javascript:goSection('member','join');"] ,
					["private" , "02" , "javascript:goSection('member','private');"]
				];
			break ;
		case "info" :
			menuitem = [
					["contact" , "01" , "javascript:goSection('info','contact');"] ,
					["channel" , "02" , "javascript:goSection('info','channel');"] ,
					["sitemap" , "03" , "javascript:goSection('info','sitemap');"]
				];
			break ;
		case "search" :
			section_a = "info" ;
			menuitem = [
					["contact" , "01" , "javascript:goSection('info','contact');"] ,
					["channel" , "02" , "javascript:goSection('info','channel');"] ,
					["sitemap" , "03" , "javascript:goSection('info','sitemap');"]
				];
			break ;
		default : break ;
	}

	document.write('<table width="180" cellpadding="0" cellspacing="0" border="0">') ;

	for (i=0 ; i<menuitem.length ; i++) {
		if (menuitem[i][0] == section_b) {
			document.write('	<tr>') ;
			document.write('		<td><a href="'+menuitem[i][2]+'"><img src="images/common/menu_'+section_a+menuitem[i][1]+'_on.gif" border="0" align="ABSMIDDLE"></a></td>') ;
			document.write('	</tr>') ;
		} else {
			document.write('	<tr>') ;
			document.write('		<td><a href="'+menuitem[i][2]+'"><img src="images/common/menu_'+section_a+menuitem[i][1]+'_off.gif" border="0" align="ABSMIDDLE"') ;
			document.write('onmouseover=this.src="images/common/menu_'+section_a+menuitem[i][1]+'_on.gif"') ;
			document.write('onmouseout=this.src="images/common/menu_'+section_a+menuitem[i][1]+'_off.gif"></a></td>') ;
			document.write('	</tr>') ;
		}
		document.write('	<tr><td height=1 bgcolor=#DFE5ED></td></tr>') ;
	}

	document.write('	<tr><td height=20></td></tr>') ;
	document.write('</table>') ;
}

/***************************************************************
¼­ºê¸Þ´º (vod)
***************************************************************/
function writeSubMenu_vod(section_a,section_b,section_c) {
	menuitem = new Array() ;
	submenuitem = new Array() ;

	switch (section_a) {
		case "vod" :
			menuitem = [
					["vod" , "01" , "javascript:goSection('vod','vod');"] ,
					["program" , "02" , "javascript:goSection('vod','program');"] ,
					["movie" , "03" , "javascript:goSection('vod','movie');"] ,
					/*["drama" , "04" , "javascript:goSection('vod','drama');"] ,*/
					["kids" , "05" , "javascript:goSection('vod','kids');"] ,
					["edu" , "06" , "javascript:goSection('vod','edu');"] ,
					["special" , "07" , "javascript:goSection('vod','special');"] ,
					["adult" , "08" , "javascript:goSection('vod','adult');"]
				];
			break ;
		case "vod_local" :
			menuitem = [
					["week" , "01" , "javascript:goSection('vod_local','week');"] ,
					["vote" , "02" , "javascript:goSection('vod_local','vote');"] ,
					["month" , "03" , "javascript:goSection('vod_local','month');"] ,
					["coming" , "04" , "javascript:goSection('vod_local','coming');"] ,
					["guide" , "05" , "javascript:goSection('vod_local','guide');"]
				];
			break ;
		case "ppv" :
			menuitem = [
					["ppv" , "01" , "javascript:goSection('ppv','ppv');"] ,
					["program" , "02" , "javascript:goSection('ppv','program');"] ,
					["movie" , "03" , "javascript:goSection('ppv','movie');"] ,
					["adult" , "08" , "javascript:goSection('ppv','adult');"]
				];
			break ;
		case "ppv_local" :
			menuitem = [
					["schedule" , "01" , "javascript:goSection('ppv_local','schedule');"] ,
					["week" , "02" , "javascript:goSection('ppv_local','week');"] ,
					["month" , "03" , "javascript:goSection('ppv_local','month');"] ,
					["coming" , "04" , "javascript:goSection('ppv_local','coming');"] ,
					["guide" , "05" , "javascript:goSection('ppv_local','guide');"]
				];
			break ;

		case "vodppv" : // vod ppv ÀÎ °æ¿ì
			menuitem_vod = [
					["week" , "01" , "javascript:goSection('vodppv','vod_week');"] ,
					["vote" , "02" , "javascript:goSection('vodppv','vod_vote');"] ,
					["month" , "03" , "javascript:goSection('vodppv','vod_month');"] ,
					["coming" , "04" , "javascript:goSection('vodppv','vod_coming');"] ,
					["guide" , "05" , "javascript:goSection('vodppv','vod_guide');"]
				];
			menuitem_ppv = [
					["schedule" , "01" , "javascript:goSection('vodppv','ppv_schedule');"] ,
					["week" , "02" , "javascript:goSection('vodppv','ppv_week');"] ,
					["month" , "03" , "javascript:goSection('vodppv','ppv_month');"] ,
					["coming" , "04" , "javascript:goSection('vodppv','ppv_coming');"] ,
					["guide" , "05" , "javascript:goSection('vodppv','ppv_guide');"]
				];

			document.write('<table width="180" cellpadding="0" cellspacing="0" border="0">') ;
			document.write('	<tr>') ;
			document.write('		<td><img src="images/common/title_l_vodppv_vod.gif" border="0" align="ABSMIDDLE"></td>') ;
			document.write('	</tr>') ;
			for (i=0 ; i<menuitem_vod.length ; i++) {
				document.write('	<tr>') ;
				document.write('		<td><a href="'+menuitem_vod[i][2]+'"><img src="images/common/menu_vod_local'+menuitem_vod[i][1]+'_off.gif" border="0" align="ABSMIDDLE"') ;
				document.write('onmouseover=this.src="images/common/menu_vod_local'+menuitem_vod[i][1]+'_on.gif"') ;
				document.write('onmouseout=this.src="images/common/menu_vod_local'+menuitem_vod[i][1]+'_off.gif"></a></td>') ;
				document.write('	</tr>') ;
				document.write('	<tr><td height=1 bgcolor=#DFE5ED></td></tr>') ;
			}
			document.write('	<tr><td height=10></td></tr>') ;
			document.write('	<tr>') ;
			document.write('		<td><img src="images/common/title_l_vodppv_ppv.gif" border="0" align="ABSMIDDLE"></td>') ;
			document.write('	</tr>') ;
			for (i=0 ; i<menuitem_ppv.length ; i++) {
				document.write('	<tr>') ;
				document.write('		<td><a href="'+menuitem_ppv[i][2]+'"><img src="images/common/menu_ppv_local'+menuitem_ppv[i][1]+'_off.gif" border="0" align="ABSMIDDLE"') ;
				document.write('onmouseover=this.src="images/common/menu_ppv_local'+menuitem_ppv[i][1]+'_on.gif"') ;
				document.write('onmouseout=this.src="images/common/menu_ppv_local'+menuitem_ppv[i][1]+'_off.gif"></a></td>') ;
				document.write('	</tr>') ;
				document.write('	<tr><td height=1 bgcolor=#DFE5ED></td></tr>') ;
			}
			document.write('	<tr><td height=20></td></tr>') ;
			document.write('</table>') ;
			return false ;
			break ;

		default : break ;
	}

	document.write('<table width="180" cellpadding="0" cellspacing="0" border="0">') ;

	for (i=0 ; i<menuitem.length ; i++) {
		if (menuitem[i][0] == section_b) {
			document.write('	<tr>') ;
			document.write('		<td><a href="'+menuitem[i][2]+'"><img src="images/common/menu_'+section_a+menuitem[i][1]+'_on.gif" border="0" align="ABSMIDDLE"></a></td>') ;
			document.write('	</tr>') ;
			document.write('	<tr><td height=1 bgcolor=#DFE5ED></td></tr>') ;
			for (j=0 ; j<submenuitem.length ; j++) {
				if (submenuitem[j][0] == section_c) {
					document.write('	<tr>') ;
					document.write('		<td><a href="'+submenuitem[j][2]+'"><img src="images/common/menu_'+section_a+menuitem[i][1]+submenuitem[j][1]+'_on.gif" border="0" align="ABSMIDDLE"></a></td>') ;
					document.write('	</tr>') ;
					document.write('	<tr><td height=1 background="images/common/line03.gif"></td></tr>') ;
				} else {
					document.write('	<tr>') ;
					document.write('		<td><a href="'+submenuitem[j][2]+'"><img src="images/common/menu_'+section_a+menuitem[i][1]+submenuitem[j][1]+'_off.gif" border="0" align="ABSMIDDLE"') ;
					document.write('onmouseover=this.src="images/common/menu_'+section_a+menuitem[i][1]+submenuitem[j][1]+'_on.gif"') ;
					document.write('onmouseout=this.src="images/common/menu_'+section_a+menuitem[i][1]+submenuitem[j][1]+'_off.gif"></a></td>') ;
					document.write('	</tr>') ;
					document.write('	<tr><td height=1 background="images/common/line03.gif"></td></tr>') ;
				}
			}
		} else {
			if ((section_a == "vod" && menuitem[i][0] == "program") || (section_a == "ppv" && menuitem[i][0] == "program")) {
				document.write('	<tr>') ;
				document.write('		<td><img src="images/common/menu_'+section_a+menuitem[i][1]+'_off.gif" border="0" align="ABSMIDDLE"></td>') ;
				document.write('	</tr>') ;
				document.write('	<tr><td height=1 bgcolor=#DFE5ED></td></tr>') ;
			} else {
				document.write('	<tr>') ;
				document.write('		<td><a href="'+menuitem[i][2]+'"><img src="images/common/menu_'+section_a+menuitem[i][1]+'_off.gif" border="0" align="ABSMIDDLE"') ;
				document.write('onmouseover=this.src="images/common/menu_'+section_a+menuitem[i][1]+'_on.gif"') ;
				document.write('onmouseout=this.src="images/common/menu_'+section_a+menuitem[i][1]+'_off.gif"></a></td>') ;
				document.write('	</tr>') ;
				document.write('	<tr><td height=1 bgcolor=#DFE5ED></td></tr>') ;
			}
		}
	}

	document.write('	<tr><td height=20></td></tr>') ;
	document.write('</table>') ;
}

/***************************************************************
¼­ºêÅ¸ÀÌÆ² Ãâ·ÂºÎ (vod)
***************************************************************/
function writeSubTitle_vod(section_a,section_b,section_c,section_d) {
	str_a = section_a ; str_b = section_b ; str_c = section_c ; str_d = section_d ;
	his_a = "" ; his_b = "" ; his_c = "" ; his_d = "" ;

	document.write('<table width="648" cellpadding="0" cellspacing="0" border="0">') ;
	document.write('	<tr>') ;
	document.write('		<td height=30>') ;

	// Sub title ------------------------------------------------
	if(str_d != ""){
        str_a = str_d;
    }else{
        str_a = str_a;
    }
	if (str_b != "") {
	    str_b = "_" + str_b ;
	}
	if (str_c != "") {
		str_c = "_" + str_c ;
	}
	document.write('<img src="images/common/title_s_'+str_a+str_b+str_c+'.gif" border="0" align="ABSMIDDLE">') ;

	document.write('		</td>') ;
	document.write('	</tr>') ;
	document.write('	<tr><td><img src="images/common/line02.gif" width="648" height="4" border="0" align="ABSMIDDLE"></td></tr>') ;

	// Fix margin
	document.write('	<tr><td height=18></td></tr>') ;
	document.write('</table>') ;

}

/***************************************************************
¸ÞÀÎÅ¸ÀÌÆ² Ãâ·ÂºÎ (index)
***************************************************************/

//-->
