function ActiveX(objects){
	var objects = document.getElementById(objects);
	if(navigator.appName == "Microsoft Internet Explorer"){
		document.write(objects.text);
		objects.id = "";
	}
}


function FlashMainbody(Ftrans,wid,hei) {
	mainbody = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='"+ wid +"' height='"+ hei +"'>";
	mainbody += "<param name='movie' value='"+ Ftrans +"'>";
	mainbody += "<param name='quality' value='high'>";
	mainbody += "<param name='wmode' value='transparent'>";
	mainbody += "<param name='menu' value='false'>";
	mainbody += "<embed src='"+ Ftrans +"' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+ wid +"' height='"+ hei +"'></embed>"
	mainbody += "</object>";

	//document.body.innerHTML = mainbody;
	document.write(mainbody);
	return;
}
host = location.hostname;

/****** menu 링크 *****************/
function menu1() { location.href = "http://" + host + "/sub_011.php"; }
function menu2() { location.href = "http://" + host + "/sub_021.php"; }
function menu3() { location.href = "http://" + host + "/sub_031.php"; }
function menu4() { location.href = "http://" + host + "/sub_041.php"; }


/******* 회사소개 링크 *****************/

function menu1sub1() { location.href = "http://" + host + "/sub_011.php"; }
function menu1sub2() { location.href = "http://" + host + "/sub_012.php"; }
function menu1sub3() { location.href = "http://" + host + "/sub_013.php"; }
function menu1sub4() { location.href = "http://" + host + "/sub_016.php"; }
function menu1sub5() { location.href = "http://" + host + "/sub_017.php"; }
function menu1sub6() { location.href = "http://" + host + "/sub_014.php"; }
function menu1sub7() { location.href = "http://" + host + "/sub_015.php"; }

/******* 서비스 링크 예전것 ****************
function menu2sub1() { location.href = "http://" + host + "/sub_021.php"; }
function menu2sub2() { location.href = "http://" + host + "/sub_022.php"; }
function menu2sub3() { location.href = "http://" + host + "/sub_023.php"; }
function menu2sub4() { location.href = "http://" + host + "/sub_024.php"; }*/



/******* 서비스 링크 080924 수정 *****************/
function menu2sub1() { location.href = "http://" + host + "/sub_022.php"; }
function menu2sub2() { location.href = "http://" + host + "/sub_025.php"; }
function menu2sub3() { location.href = "http://" + host + "/sub_021.php"; }
function menu2sub4() { location.href = "http://" + host + "/sub_023.php"; }
function menu2sub5() { location.href = "http://" + host + "/sub_024.php"; }




/******* 서비스신청 링크 *****************/

function menu3sub1() { location.href = "http://" + host + "/sub_031.php"; }
function menu3sub2() { location.href = "http://" + host + "/sub_032.php"; }
function menu3sub3() { location.href = "http://" + host + "/sub_033.php"; }



/******* 고객센터 링크 *****************/

function menu4sub1() { location.href = "http://" + host + "/sub_041.php"; }
function menu4sub2() { location.href = "http://" + host + "/sub_042.php"; }
function menu4sub3() { location.href = "http://" + host + "/sub_043.php"; }
function menu4sub4() { location.href = "http://" + host + "/sub_044.php"; }


/******* 제품 링크 *****************/

function menu5sub1() { location.href = "http://" + host + "/sub_061.php"; }
function menu5sub2() { location.href = "http://" + host + "/sub_062.php"; }
function menu5sub3() { location.href = "http://" + host + "/sub_063.php"; }

function getUrl(url)
{
host = location.hostname;
document.fm.movie = url;
}

