<!--
function go_opn() {
	window.open('/login/l_03_01.php',"opn_pop",'status=yes,scrollbars=yes,width=363 ,height=270');
}
function cancel_opn() {
	window.open('/login/l_04_01.php',"opn_pop",'status=yes,scrollbars=yes,width=363 ,height=270');
}

function go_id() {
	window.open('/join/l_01_id.php',"opn_pop",'status=yes,scrollbars=yes,width=363 ,height=180');
}
function go_add() {
	window.open('/join/l_01_add.php',"opn_pop",'status=yes,scrollbars=yes,width=363 ,height=180');
}
function go_product(url) {
	window.open(url,"제품소개", "toolbar=no,menubar=no,width=840,height=725");
}

function go_search(search_text)
{
	if (search_text == "제품명을 입력하세요" | search_text == "")
	{
		alert("제품명을 입력하세요");
		document.getElementById("top_pdsearch").value = "";
		document.getElementById("top_pdsearch").focus();
	}
	else
	{
		encode_search_text = encodeURIComponent(search_text);

		window.open("http://www.vitzrotech.com/product/searchProduct.php?product_name="+encode_search_text,"제품검색", "toolbar=no,menubar=no,width=840,height=750");
	}
}

function pdsearch_focusing(status) {
	tgt = document.getElementById("top_pdsearch");

	if (status == "in")
	{
		if (tgt.value == "제품명을 입력하세요")
		{
			tgt.value = "";
		}
	}
	else if (status == "out")
	{
		if (tgt.value == "")
		{
			tgt.value = "제품명을 입력하세요";
		}
	}
}

function family_go()
{
	fmObj = document.getElementById("footsel");

	if (fmObj.value != "")
	{
		window.open(fmObj.value);
	}
}

//-->


//sub_flash
function displayFlash(gubun) {
	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1000" height="209">');
	document.write('<param name="movie" value="/images/common/'+gubun+'.swf">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="/images/common/'+gubun+'.swf" quality="high" pluginspage="//www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="1000" height="209"></embed>');
	document.write('</object>');
}

//leftmenu_flash
function leftFlash(left) {
	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="208" height="335">');
	document.write('<param name="movie" value="/images/common/'+left+'.swf">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="/images/common/'+left+'.swf" quality="high" pluginspage="//www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="208" height="335"></embed>');
	document.write('</object>');
}
