/*****************
* Location_Check
******************/
function locationCheck(depth1, depth2) {
	var returnPram = ""
	var oneDepthName = new Array();
	var twoDepthName = new Array();

	var home = "<a href='/company/main/companyMain.asp' class='location_tit'>Home</a>";

	oneDepthName[1] = "<a href='/company/cinema/power.asp' class='location_tit'>Cinema Service</a>";
	oneDepthName[2] = "<a href='/movie/movie/movieOnScreen.asp' class='location_tit'>Movie</a>";
	oneDepthName[3] = "<a href='/movie/dvd/dvdVideoOnRelease.asp' class='location_tit'>DVD & Video</a>";
	oneDepthName[4] = "<a href='/movie/search/movieSearch.asp' class='location_tit'>Movie Search</a>";
	oneDepthName[5] = "<a href='/movie/news/newsNoticeList.asp' class='location_tit'>News</a>";

	if(depth1 == "1") {
		twoDepthName[1] = "<font class='location_tit_on'>Power</font>";
		twoDepthName[2] = "<font class='location_tit_on'>History</font>";
		twoDepthName[3] = "<font class='location_tit_on'>Structure</font>";
		twoDepthName[4] = "<font class='location_tit_on'>Partners</font>";

		returnPram = home + " : " + oneDepthName[depth1] + " : " + twoDepthName[depth2];
	} 
	else if (depth1 == "2") {
		twoDepthName[1] = "<font class='location_tit_on'>On Screen</font>";
		twoDepthName[2] = "<font class='location_tit_on'>Coming Soon</font>";
		twoDepthName[3] = "<font class='location_tit_on'>Line Up Movie</font>";

		returnPram = home + " : " + oneDepthName[depth1] + " : " + twoDepthName[depth2];
	}
	else if (depth1 == "3") {
		twoDepthName[1] = "<font class='location_tit_on'>On Release</font>";
		twoDepthName[2] = "<font class='location_tit_on'>Line Up DVD & Video</font>";

		returnPram = home + " : " + oneDepthName[depth1] + " : " + twoDepthName[depth2];
	}
	else if (depth1 == "4") {
		twoDepthName[1] = "<font class='location_tit_on'>Movie Search</font>";

		returnPram = home + " : " + oneDepthName[depth1] + " : " + twoDepthName[depth2];
	}
	else if (depth1 == "5") {
		twoDepthName[1] = "<font class='location_tit_on'>Movie News</font>";
		twoDepthName[2] = "<font class='location_tit_on'>Press</font>";

		returnPram = home + " : " + oneDepthName[depth1] + " : " + twoDepthName[depth2];
	}
	else if (depth1 == "6") {
		twoDepthName[0] = "<font class='location_tit_on'>Sitemap</font>";

		returnPram = home + " : " + twoDepthName[depth2];
	}
	else if (depth1 == "7") {
		twoDepthName[0] = "<font class='location_tit_on'>Contact Us</font>";

		returnPram = home + " : " + twoDepthName[depth2];
	}
	else if (depth1 == "8") {
		twoDepthName[0] = "<font class='location_tit_on'>½Ã³ª¸®¿À ÀÀ¸ð</font>";

		returnPram = home + " : " + twoDepthName[depth2];
	}

	return returnPram ;
}


/****************
* Location_View
*****************/
var zoneFront ="";
var zoneBack ="";

zoneFront+="<table border=0 cellspacing=0 cellpadding=0>";
zoneFront+="    <tr>";
zoneFront+="		<td class='location_tit_off'>";

zoneBack+="			</td>";
zoneBack+="		</tr>";
zoneBack+="		<tr><td height=10></td></tr>";
zoneBack+="</table>";

document.write(zoneFront + locationCheck(depth1, depth2) + zoneBack);


