// JavaScript Document

var root = "http://" + document.location.host;

function home(){
	location.href = root + "/";
}

function sitemap(){
	location.href = root + "/sitemap";
}

function contactus(){
	location.href = "mailto:hhsung78@hanbat.ac.kr&cc=skykong2144@hanbat.ac.kr";
}

function hanbat(){
 window.open('http://hanbat.ac.kr/');
}


function exhome(){
	window.open('http://ipsi.hanbat.ac.kr/');
}


function search(){

	$('form#total-search').submit();
	//location.href = "";
}


//function sitemap(){

 //alert('준비중입니다.');
//}

/*----------------회사소개----------------*/


// CEO인사말 //
function sub01_01(){
	location.href = root + "/ceo";
}

// 회사개요 //
function sub01_02(){
	location.href = root + "/outline";
}

// 회사연혁 //
function sub01_03(){
	location.href = root + "/history";
}

// VISION //
function sub01_04(){
	location.href = root + "/vision";
}

// MISSION //
function sub01_05(){
	location.href = root + "/mission";
}


/*----------------회사소개----------------*/
// SENSOR //

function sub02_01(){
	location.href = root + "/sensor";
}

// Communication //
function sub02_02(){
	location.href = root + "/com";
}

// LED //
function sub02_03(){
	location.href = root + "/led";
}

// SYSTEM //
function sub02_04(){
	location.href = root + "/system";
}



/*--------------고객지원------------------*/

// Q&A //
function sub03_01(){
	location.href = root + "/contact";
}

// 다운로드 //
function sub03_02(){
	location.href = root + "/down";
}

// CONTACT  //
function sub03_03(){
	location.href = root + "/map";
}

// 찾아오시는길 //
function sub03_04(){
	location.href = root + "/notice";
}

// 회사NEWS-공지사항 //
function sub03_05(){
	location.href = root + "/sub03/sub03_05.php";
}



/*--------------홍보센터------------------*/

// 뉴스센터 //
function sub04_01(){
	location.href = root + "/sub04/sub04_01.php";
}

// 회사소식 //
function sub04_02(){
	location.href = root + "/sub04/sub04_02.php";
}

// 패밀리 사이트 //
function sub04_03(){
	location.href = root + "/sub04/sub04_03.php";
}



/*-----------SITEMAP---------------------*/
// SITEMAP //

function sub05_01(){
	location.href = root + "/sub05/sitemap.php";
}

