/*
	menuconfig.js (wacom version.)
	Created by M.SARUTA
	korea modify by invader
*/


/* ´ÙÀ½·Î±×ºÐ¼®½ÃÀÛ*/
var script=document.createElement("script");
script.src = "http://log.inside.daum.net/dwi_log/js/dwi.js";
document.getElementsByTagName("head")[0].appendChild(script);
 
_dwiPID="d-4Bd-218";
if(typeof(_dwiCatch) == "function") { _dwiCatch();}
/* ·Î±×ºÐ¼®³¡*/


/* ij±¸±Û·Î±×ºÐ¼®½ÃÀÛ*/

var script=document.createElement("script");
script.src = "http://www.google-analytics.com/urchin.js";
document.getElementsByTagName("head")[0].appendChild(script);
 
_uacct = "UA-1855545-1";
if(typeof(urchinTracker) == "function") { urchinTracker();}
//urchinTracker();




/* ·Î±×ºÐ¼®³¡*/





var imgPath = '/images/menu/';
var loaded = 0;
		btn0_off = new Image();btn0_off.src = imgPath + 'btn_navi_1_off.gif';
		btn0_on = new Image();btn0_on.src = imgPath + 'btn_navi_1_over.gif';
		btn1_off = new Image();btn1_off.src = imgPath + 'btn_navi_2_off.gif';
		btn1_on = new Image();btn1_on.src = imgPath + 'btn_navi_2_over.gif';
		btn2_off = new Image();btn2_off.src = imgPath + 'btn_navi_3_off.gif';
		btn2_on = new Image();btn2_on.src = imgPath + 'btn_navi_3_over.gif';
		btn3_off = new Image();btn3_off.src = imgPath + 'btn_navi_4_off.gif';
		btn3_on = new Image();btn3_on.src = imgPath + 'btn_navi_4_over.gif';
		btn4_off = new Image();btn4_off.src = imgPath + 'btn_navi_5_off.gif';
		btn4_on = new Image();btn4_on.src = imgPath + 'btn_navi_5_over.gif';
		btn5_off = new Image();btn5_off.src = imgPath + 'btn_navi_6_off.gif';
		btn5_on = new Image();btn5_on.src = imgPath + 'btn_navi_6_over.gif';

		btm_home_off = new Image();btm_home_off.src = imgPath + 'btm_home.gif';
		btm_home_on = new Image();btm_home_on.src = imgPath + 'btm_home_on.gif';
		btm_company_off = new Image();btm_company_off.src = imgPath + 'btm_company.gif';
		btm_company_on = new Image();btm_company_on.src = imgPath + 'btm_company_on.gif';
		btm_sitemap_off = new Image();btm_sitemap_off.src = imgPath + 'btm_sitemap.gif';
		btm_sitemap_on = new Image();btm_sitemap_on.src = imgPath + 'btm_sitemap_on.gif';
		btm_contact_off = new Image();btm_contact_off.src = imgPath + 'btm_contact.gif';
		btm_contact_on = new Image();btm_contact_on.src = imgPath + 'btm_contact_on.gif';



loaded = 1;

var menuBg = '#B2B2B2';
var defoultColor = '#B2B2B2';
var focusColor = '#E1E1E1';
var txt_color='#000000'
var mtop = 69;	//·¹ÀÌ¾î ³ôÀÌ°ª


var mObjArray = new Array();
var superPath = "/";
//var superPath = "http://www.wacomdigital.co.kr/";

//Á¦Ç°¼Ò°³
mObjArray[0] = new mItem(150,0);
mObjArray[0].label[0] = new lItem("Intuos3",superPath + "product/Intuos_intro.html","_self");
mObjArray[0].label[1] = new lItem("Graphire4",superPath + "product/graphire4/graphire4.html","_self");
mObjArray[0].label[2] = new lItem("Bamboo",superPath + "product/bamboo/bamboo_main.html","_self");
mObjArray[0].label[3] = new lItem("¾×Á¤ÅÂºí¸´",superPath + "product/Cintiq_intro.html","_self");
mObjArray[0].label[4] = new lItem("±³À°¿ë ÆÑÅ°Áö",superPath + "product/education_pack.html","_self");
// mObjArray[0].label[4] = new lItem("BizTablet",superPath + "product/biztablet_intro.html","_self");
//Á¦Ç°»ç¿ë
mObjArray[1] = new mItem(150,1);
mObjArray[1].label[0] = new lItem("ÅÂºí¸´ÀÇ ±âº»",superPath + "technical/wacom_technical1.html","_self");
mObjArray[1].label[1] = new lItem("ÆÁ & Æ®¸¯",superPath + "technical/wacom_technical_photoshop.html","_self");
mObjArray[1].label[2] = new lItem("¼º°ø»ç·Ê",superPath + "technical/wacom_technical3_graphic_list.html","_self");
mObjArray[1].label[3] = new lItem("ÀÎÅÍºä",superPath + "technical/wacom_technical4_interview_list01.html","_self");
mObjArray[1].label[4] = new lItem("Æ©Åä¸®¾ó ÄÜÅ×½ºÆ®",superPath + "technical/contest/wacom_contest_main.php","_self");
//°í°´Áö¿ø
mObjArray[2] = new mItem(150,2);
mObjArray[2].label[0] = new lItem("Á¦Ç°µî·Ï",superPath + "support/wacom_support4.html","_self");
mObjArray[2].label[1] = new lItem("±¸ÀÔ Àü ¹®ÀÇ»çÇ×",superPath + "support/wacom_support1.html","_self");
mObjArray[2].label[2] = new lItem("Á¦Ç°¹®ÀÇ»çÇ×",superPath + "support/wacom_support1.php","_self");
mObjArray[2].label[3] = new lItem("A/S ¾È³»",superPath + "support/wacom_support3.html","_self");

//´Ù¿î·Îµå
mObjArray[3] = new mItem(150,3);
mObjArray[3].label[0] = new lItem("µå¶óÀÌ¹ö´Ù¿î·Îµå",superPath + "download/wacom_download1.php","_self");
mObjArray[3].label[1] = new lItem("»ç¿ëÀÚ ¸Å´º¾ó",superPath + "download/wacom_download3.html","_self");
//mObjArray[3].label[2] = new lItem("ÀÌ¹ÌÁö(Á¦Ç°,·Î°í)",superPath + "download/wacom_download4.html","_self");
mObjArray[3].label[2] = new lItem("ºê·Î¼Å",superPath + "download/wacom_download5.html","_self");

//Á¦Ç°±¸ÀÔ
mObjArray[4] = new mItem(150,4);
mObjArray[4].label[0] = new lItem("¿ÍÄÞe½ºÅä¾î","http://www.buywacom.co.kr","_blank");
mObjArray[4].label[1] = new lItem("ÃÑÆÇ",superPath + "purchase/wacom_purchase02_01.html","_self");
mObjArray[4].label[2] = new lItem("Ã¼Çè¸ÅÀå",superPath +"purchase/wacom_purchase03_01.html","_self");
mObjArray[4].label[3] = new lItem("°øÀÎ´ë¸®Á¡",superPath +"purchase/wacom_purchase04_01_01.html","_self");
mObjArray[4].label[4] = new lItem("´ëÇü¸¶Æ®/»ç¹«¿ëÇ°Á¡",superPath +"purchase/wacom_purchase05_01.html","_self");
//mObjArray[4].label[3] = new lItem("µðÁöÅÐÇÁ¶óÀÚ",superPath +"purchase/wacom_purchase2.html","_self");


//È¸»ç¼Ò°³
mObjArray[5] = new mItem(150,5);
mObjArray[5].label[0] = new lItem("º»»ç¼Ò°³",superPath +"company/wacom_company1.html","_self");
mObjArray[5].label[1] = new lItem("ÀÎ»ç¸»",superPath + "company/wacom_company2.html","_self");
mObjArray[5].label[2] = new lItem("»ç¾÷°³¿ä",superPath +"company/wacom_company3.html","_self");
mObjArray[5].label[3] = new lItem("¿ÍÄÞ´º½º",superPath +"company/news/wacom_company4_list01.html","_self");
mObjArray[5].label[4] = new lItem("¾ð·Ð±â»ç¸ðÀ½",superPath +"company/news/wacom_news_list01.html","_self");
mObjArray[5].label[5] = new lItem("Ã£¾Æ¿À½Ã´Â±æ",superPath +"contact/contact_index.html","_self");


function mItem(width,x) {
	this.label = new Array();
	var space = 95;
	var first = 122;
	this.width = width;	//·¹ÀÌ¾î ³ÐÀÌ°ª
	this.left = first+space*x+1*x;	//·¹ÀÌ¾î xÃà À§Ä¡(Á¦Ç°¼Ò°³¿¡¼­ width+1°ªÀ» ´õÇÑ °ª)
	//this.left = x;
}


function lItem(lName,url,target){
	if(!lName && !url && !target) this.layer= false;
	else{
		this.layer= true;	
		this.name = lName;	//sub menu
		this.href = url;	//url
		this.target = target;	
	}
}

