function FlashMainbody(Ftrans,wd,hi)
{
	var txt = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='"+wd+"'height='"+hi+"'>";
    txt += "<param name='movie' value='"+Ftrans+"'>";
    txt += "<param name='quality' value='high'>";
	txt += "<param name='wmode' value='transparent'>";
    txt += "<embed src='"+Ftrans+"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+wd+"' height='"+hi+"'></embed>";
	txt += "</object>";

	document.write(txt);
}

function index(a, b)
{
	location.href = "/";
}

function introduce(a, b)
{
	var menu = isNaN(a) ? 0 : parseInt(a)-1;
	location.href = "/introduce/index.php";
}

function collection(a, b)
{
	var menu = isNaN(a) ? 0 : parseInt(a)-1;
	location.href = "/collection/index.php";
}

function community(a, b)
{
	var menu_list = new Array(
		"/board/list.php?f_table=notice",
		"/board/list.php?f_table=qna",
		"/board/list.php?f_table=photographer",
		"/board/list.php?f_table=afternote"
	);
	var menu = isNaN(a) ? 0 : parseInt(a)-1;
	location.href = menu_list[menu];
}

function reservation(a, b)
{
	var menu = isNaN(a) ? 0 : parseInt(a);
	location.href = "/reservation/";
}

function contact(a, b)
{
	var menu = isNaN(a) ? 0 : parseInt(a)-1;
	location.href = "/contact/";
}

