/* 2009.11.19 ¼º¼ö¿µ */
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;

/* 2009.11.19 ¼º¼ö¿µ */
function ShowFlash(url, width, height){
        document.write('<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="' + width + '" height="' + height + '" VIEWASTEXT>');
        document.write('<param name="allowScriptAccess" value="sameDomain">');
        document.write('<param name="movie" value="' + url + '">');
        document.write('<param name="menu" value="false">');
        document.write('<param name="scale" value="exactfit">');
        document.write('<param name="quality" value="high">');
		document.write('<param name="_cx" value="5080">');
		document.write('<param name="_cy" value="5080">');
		document.write('<param name="EmbedMovie" value="false">');
		document.write('<param name="SeamlessTabbing" value="false">');
        document.write('<param name="wmode" value="transparent">');
        document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
        document.write('</object>');
}

function tab_img_change(t){
	   for(var i = 1; i <= 2; i++) {
		 img = document.getElementById('tab_btn'+i);
		 img.src = "/img/main/tab"+i+"_off.gif";
		  eval("document.getElementById('tab_view"+i+"')").style.display="none";

		 if ( t == i ) {
		  img.src = "/img/main/tab"+i+"_on.gif";
		  eval("document.getElementById('tab_view"+i+"')").style.display="";
		 }
	   }
	}

function tab2_img_change(t){
	   for(var i = 3; i <= 4; i++) {
		 img = document.getElementById('tab2_btn'+i);
		 img.src = "/img/main/tab"+i+"_off.gif";
		  eval("document.getElementById('tab2_view"+i+"')").style.display="none";

		 if ( t == i ) {
		  img.src = "/img/main/tab"+i+"_on.gif";
		  eval("document.getElementById('tab2_view"+i+"')").style.display="";
		 }
	   }
	}

/* top navigation */
function gom1(){
	document.location.href="http://www.ubosys.com/home/index.php"; // Ã¹ÆäÀÌÁö
}
function gom2(){
	document.location.href="http://www.ubosys.com/home/company_01.php"; // È¸»ç¼Ò°³
}
function gom3(){
	document.location.href="http://www.ubosys.com/home/business_02.php"; // »ç¾÷ºÐ¾ß
}
function gom4(){
	document.location.href="http://www.ubosys.com/home/partner_01.php"; // ÆÄÆ®³Ê
}
function gom5(){
	document.location.href="http://www.ubosys.com/home/bbs/write.php?bo_table=solution_01"; // °í°´Áö¿ø
}
//function gomail(){
//	document.location.href="mailto:sbjang22@wizian.co.kr";
//}

/* first page */
function gom1sub1(){
	document.location.href="http://www.ubosys.com/home/index.php"; // Ã¹ÆäÀÌÁö
}

/* company */
function gom2sub1(){
	document.location.href="http://www.ubosys.com/home/company_01.php"; // CEO ÀÎ»ç¸»
}
function gom2sub2(){
	document.location.href="http://www.ubosys.com/home/company_02.php"; // ¿¬Çõ
}
function gom2sub3(){
	document.location.href="http://www.ubosys.com/home/company_04.php"; // Á¶Á÷µµ
}
function gom2sub4(){
	document.location.href="http://www.ubosys.com/home/company_07.php"; // Ã£¾Æ¿À½Ã´Â ±æ
}
//function gom2sub5(){
//	document.location.href="http://www.ubosys.com/home/company_03.php"; // ºñÀü
//}
//function gom2sub6(){
//	document.location.href="http://www.ubosys.com/home/company_06.php"; // Ã¤¿ë¾È³»
//}
//function gom2sub7(){
//	document.location.href="http://www.ubosys.com/home/bbs/board.php?bo_table=project_01"; // ¼öÇàÇÁ·ÎÁ§Æ®
//}



/* business */
function gom3sub1(){
	document.location.href="http://www.ubosys.com/home/business_01.php"; // U-Smart Vil
}
function gom3sub2(){
	document.location.href="http://www.ubosys.com/home/business_02.php"; // R & D
}
function gom3sub3(){
	document.location.href="http://www.ubosys.com/home/business_03.php"; // °Ç¼³°ü¸®
}
function gom3sub4(){
	document.location.href="http://www.ubosys.com/home/business_04.php"; // I T O
}
//function gom3sub5(){
//	document.location.href="http://www.ubosys.com/home/business_05.php"; // ºÎ°¡¼­ºñ½º
//}

/* partner */
function gom4sub1(){
	document.location.href="http://www.ubosys.com/home/partner_01.php"; // °í°´»ç
}
function gom4sub2(){
	document.location.href="http://www.ubosys.com/home/partner_02.php"; // Á¦ÈÞ»ç
}
// function gom4sub3(){
//	document.location.href="http://www.ubosys.com/home/partner_03.php";
// }

/* contact us */
function gom5sub1(){
	document.location.href="http://www.ubosys.com/home/bbs/write.php?bo_table=solution_01"; // ¼Ö·ç¼Ç ¹®ÀÇ
}
function gom5sub2(){
	document.location.href="http://www.ubosys.com/home/bbs/board.php?bo_table=notice_01"; // °øÁö»çÇ×
}
function gom5sub3(){
	document.location.href="http://www.ubosys.com/home/bbs/board.php?bo_table=faq_01"; // ÀÚÁÖÇÏ´Â Áú¹®/´äº¯
}
function gom5sub4(){
	document.location.href="http://www.ubosys.com/home/support_04.php"; // »çÀÌÆ®¸Ê
}

/* partner box 
function gomplaygo1(){
	document.location.href="mailto:ssy432@yahoo.co.kr";
}
function gomplaygo2(){
	document.location.href="http://www.ubosys.com/home/partner_07.php";
}

function gombox1(){
	document.location.href="http://www.ubosys.com/home/partner_02.php";
}
function gombox2(){
	document.location.href="http://www.ubosys.com/home/solution03.php";
}
function gombox3(){
	document.location.href="http://www.ubosys.com/home/solution04.php";
}
function gombox4(){
	document.location.href="http://www.ubosys.com/home/solution05.php";
}
*/
