//Kellogg 
function main() { //Kellogg
	document.location.href="/index.asp"; }


function kgLogout (){
	document.location.href="/member/flashLogout.asp"; 
}

function kgReload (){
	document.location.reload();
}

//¸ÞÀÎ

function evt_go() {
	//Æ®·¡Å·ÄÚµå Ãß°¡ 20100729 memoon
	document.location.href="/include/tracking_proc.asp?st=0&ad=mainflash&ty=990&url=http://cornfrost.kellogg.co.kr/event/20100707/index.asp";
	//document.location.href="http://cornfrost.kellogg.co.kr/event/20100707/index.asp";
}

function goCamp() {//Ä¶·Î±× ¾î¸°ÀÌ ¿µ¾î Ä·ÇÁ
	window.open('http://www.momspace.co.kr/event/mission_story.asp?bbs_div=13');}
function goRoom() {//ÄÌ·Î±× ¿µ¾ç»ó´ã½Ç
	window.open('http://www.momspace.co.kr/college/college_clinic.asp');}
//function event1() {//½ÅÁ¦Ç° Ãâ½Ã
//	window.open('http://www.momspace.co.kr/college/college_clinic.asp');}
//}
function event1() {//½ÅÁ¦Ç° Ãâ½Ã Ã½½º¹ÂÁ÷¹Ú½º
	window.open('http://www.kellogg.co.kr/product/chex/');
}
function event2() {//½ÅÁ¦Ç° Ãâ½Ã ½ºÆä¼È K
	getProduct20();
}
function event3() {//
	window.open('http://crunchynut.kellogg.co.kr/');
}
function event4() {// È£¹Ú°ú°í±¸¸¶
	window.open('http://grainstory.kellogg.co.kr/');
}
 


/* ¿ÞÂÊ Äü¸Þ´º */
function englishcamp() { //ÇÒ¸»Àº ÇÏÀÚ
	getProduct6();
}
function counsel() { //ÄÌ·Î±× ¿µ¾ç»ó´ã½Ç
	goRoom();
}
function musicBox() { //¹ÂÁ÷¹Ú½º ÇÁ·Î¸ð¼Ç
	//document.location.href="http://www.kellogg.co.kr/event/event_view.asp?flag=ing&seq=98&flag=ing"; 
	alert('ÀÌº¥Æ®°¡ Á¾·áµÇ¾ú½À´Ï´Ù.');
}
function Toygo() { //ÅäÀÌ½ºÅä¸® ÇÁ·Î¸ð¼Ç
	document.location.href="http://www.kellogg.co.kr/event/event_view.asp?flag=ing&seq=105";
}
function Tonigo() { //ÅäÀÌ½ºÅä¸® ÇÁ·Î¸ð¼Ç 01.07.07
	document.location.href="http://cornfrost.kellogg.co.kr/event/20100707/index.asp";
}
function nutrition() { //¿µ¾çÇ¥½ÃÁ¦
	menu0801();
}


/* 100707 left_quick */
function evt_quick(idx){
		if (idx == 1){
			document.location.href="http://cornfrost.kellogg.co.kr/event/20100707/index.asp";
		}
		if (idx == 2){
			document.location.href="http://www.kellogg.co.kr/event/event_view.asp?flag=ing&seq=105";
		}
		if (idx == 3){
			document.location.href="http://www.kellogg.co.kr/nutrition/nutrition01.asp";
		}
}
/* //100707 left_quick */


//¸ÞÀÎ Á¦Ç°
document.write('<span id="cornflake1" href="#"></span>');
function getProduct0() {//ÄÜÇª·¹ÀÌÅ©
	//window.open('');
	//alert('ÄÜÇª·¹ÀÌÅ©');
	var popobj = document.getElementById("cornflake1");
	popobj.href = "/products/layerpopup.asp?pop=cornflake";
	hs.htmlExpand(popobj, { objectType: 'ajax', outlineType : null, align: 'center', preserveContent: false, width:488, height:965} );
	}
function getProduct1() {//ÈÄ¸£Æ®¸µ
	window.open('/product/cocopops/product.asp');}
function getProduct2() {//ÄÚÄÚÆË½º
	window.open('/product/cocopops/product.asp');}
function getProduct3() {//Ã½½ºÃÊÄÚº°°ú´Þ
	window.open('/product/chex/product.asp');}
function getProduct4() {//Ã½½ºÃÊÄÚ¹ÂÁ÷¹Ú½º
	window.open('/product/chex/product.asp');}
function getProduct5() {//Ã½½ºÃÊÄÚ
	window.open('/product/chex/product.asp');}
function getProduct6() {//ÄÜÇª·Î½ºÆ®
	window.open('http://cornfrost.kellogg.co.kr');}
function getProduct7() {//ÄÜÇª·Î½ºÆ®ºòÆË
	window.open('http://cornfrost.kellogg.co.kr/');}
function getProduct8() {//ÄÜÇª·Î½ºÆ®¶óÀÌÆ®½´°Å
	window.open('http://cornfrost.kellogg.co.kr/');}
function getProduct9() {//°î¹°ÀÌ¾ß±â°ËÀºÄá
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct10() {//°î¹°ÀÌ¾ß±âÇö¹Ì
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct11() {//°î¹°ÀÌ¾ß±â¿À°î
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct12() {//°î¹°ÀÌ¾ß±â°ËÀºÂü±ú
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct13() {//º£¸®
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct14() {//Ä«Ä«¿À
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct15() {//±Í¸®
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct16() {//Åë¹Ð
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct17() {//Ä¥°îÅ©·¡Ä¿
	window.open('http://grainstory.kellogg.co.kr/');}
function getProduct18() {//¿Ãºê·£ÇÃ·¯½º
	window.open('/product/allbran/info/info.asp');}
function getProduct19() {//¿Ãºê·£Çª·¹ÀÌÅ©
	window.open('/product/allbran/info/info.asp');}
function getProduct20() {//½ºÆä¼ÈK
	window.open('http://specialk.kellogg.co.kr/specialk/specialinfo.asp');	}
function getProduct21() {//¾Æ¸óµåÇª·¹ÀÌÅ©
	window.open('/product/almond/product.asp');}
function getProduct22() {//´º¾Æ¸óµåÈÄ¸£Ã÷³ÊÆ®
	window.open('/product/almond/product.asp');}
function getProduct23() {//°î¹°ÀÌ¾ß±âÈ£¹Ú°í±¸¸¶
	window.open('http://grainstory.kellogg.co.kr/');}

//Å¾ Header
function login() { //·Î±×ÀÎ
	menu0601(); }
	function logout() { //·Î±×¾Æ¿ô
		kgLogout(); }
function join() { //È¸¿ø°¡ÀÔ
	menu0602(); }
	function infor() { //È¸¿øÁ¤º¸¼öÁ¤
		menu0604(); }
function idpw() { //ID/PW Ã£±â
	menu0603(); }
function notice() { //°øÁö»çÇ×
	menu0701(); }
function cqa() { //°í°´¹®ÀÇ
	menu0702(); }
function sitemap() { //»çÀÌÆ®¸Ê
	menu0705(); }



//ÄÌ·Î±× ¼Ò°³
function menu01() { //
	menu0101();  }
function menu0101() { //±â¾÷ÀÌ³ä
	document.location.href="/company/principle.asp"; }
function menu0102() { //È¸»ç °³¿ä
	document.location.href="/company/companyinfo.asp"; }
function menu0103() { //È¸»ç ¿¬Çõ
	document.location.href="/company/history.asp"; }
function menu0104() { //ÀÎÀç Ã¤¿ë
	document.location.href="/company/recruit.asp"; }
	function menu010401() { //º¹¸®ÈÄ»ý
	document.location.href="/company/welfare.asp"; }
	function menu010402() { //ºÎ¼­¼Ò°³
	document.location.href="/company/organization.asp"; }
	function menu010403() { //Ã¤¿ë°ø°í
	document.location.href="/company/recruit.asp"; }
function menu0105() { //Á¦Á¶°øÁ¤
	document.location.href="/company/process.asp"; }
function menu0106() { //¿À½Ã´Â ±æ
	document.location.href="/company/location.asp"; }

//ÄÌ·Î±× Á¦Ç°
function menu02() { //
	menu0201();  }
function menu0201() { //½Ã¸®¾ó
	document.location.href="/products/serial.asp"; }
	function menu020101() {
		document.location.href="/products/serial.asp?lcode=tab_1_1#tab_1_1";}
		//showTab('tab_1_1');}
	function menu020102() {
		document.location.href="/products/serial.asp?lcode=tab_1_2#tab_1_2";}
		//showTab('tab_1_2');}
	function menu020103() {
		document.location.href="/products/serial.asp?lcode=tab_2_1#tab_2_1";}
		//showTab('tab_2_1');}
	function menu020104() {
		document.location.href="/products/serial.asp?lcode=tab_2_2#tab_2_2";}
		//showTab('tab_2_2');}
	function menu020105() {
		document.location.href="/products/serial.asp?lcode=tab_3_1#tab_3_1";}
		//showTab('tab_3_1');}
	function menu020106() {
		document.location.href="/products/serial.asp?lcode=tab_4_1#tab_4_1";}
		//showTab('tab_4_1');}
	function menu020107() {
		document.location.href="/products/serial.asp?lcode=tab_4_2#tab_4_2";}
		//showTab('tab_4_2');}
	function menu020108() {
		document.location.href="/products/serial.asp?lcode=tab_4_3#tab_4_3";}
		//showTab('tab_4_3');}
	function menu020109() {
		document.location.href="/products/serial.asp?lcode=tab_4_4#tab_4_4";}
		//showTab('tab_4_4');}
function menu0202() { //°Ç°­½º³¼
	document.location.href="/products/healthsnack.asp"; }


//ÄÌ·Î±× ³îÀÌÅÍ
function menu03() { //ÄÌ·Î±× ³îÀÌÅÍ
	document.location.href="/playground/gameroom.asp"; 
	
	}
function menu0301() { //ÄÌ·Î±× ³îÀÌÅÍ
	GamePop('block');
	}
function menu0302() { //ÄÌ·Î±× ³îÀÌÅÍ
	GamePop('bomb');
	}
function menu0303() { //ÄÌ·Î±× ³îÀÌÅÍ
	GamePop('puzzle');
	}
function menu0304() { //ÄÌ·Î±× ³îÀÌÅÍ
	GamePop('star');
	}


//ÀÌº¥Æ®
function menu04() { //ÀÌº¥Æ®
	menu0501(); }
function menu0401() { //ÁøÇàÁßÀÎ ÀÌº¥Æ®
	document.location.href="/event/event.asp?flag=ing"; }
function menu0402() { //Áö³­ ÀÌº¥Æ®
	document.location.href="/event/event.asp?flag=end"; }
function menu0403() { //´çÃ·ÀÚ ¹ßÇ¥
	document.location.href="/event/event_prize.asp"; }


//È¸¿ø°¡ÀÔ
function menu06() { //·Î±×ÀÎ
	menu0601(); }
function menu0601() { //·Î±×ÀÎ
	document.location.href="/member/member_login.asp"; }
function menu0602() { //È¸¿ø°¡ÀÔ
	document.location.href="/member/member_contract.asp"; }
function menu0603() { //ID/PW Ã£±â
	document.location.href="/member/member_idpwfind.asp"; }
function menu0604() { //È¸¿ø°¡ÀÔ¼öÁ¤
	document.location.href="/member/member_modify.asp"; }
function menu0605() { //È¸¿øÅ»Åð
	document.location.href="/member/member_joinout.asp"; }


//°í°´¼¾ÅÍ
function menu07() { //°øÁö»çÇ×
	menu0701(); }
function menu0701() { //°øÁö»çÇ×
	document.location.href="/customer/notice_list.asp"; }
function menu0702() { //°í°´¹®ÀÇ
	document.location.href="/customer/qna.asp"; }
function menu0703() { //°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
	document.location.href="/customer/privacy.asp"; }
function menu0704() { //ÀÌ¿ë¾à°ü
	document.location.href="/customer/agreement.asp"; }
function menu0705() { //»çÀÌÆ®¸Ê
	document.location.href="/customer/sitemap.asp"; }

//¿µ¾çÇ¥½ÃÁ¦
function menu0801() { // Àü¸é¿µ¾çÇ¥½ÃÁ¦
	document.location.href="/nutrition/nutrition01.asp"; }
function menu0802() { // ¿µ¾ç¼Ò±âÁØÄ¡ 
	document.location.href="/nutrition/nutrition02.asp"; }
function menu0803() { // ¿µ¾çÇ¥½ÃÀÐ´Â¹ý
	document.location.href="/nutrition/nutrition03.asp"; }
function menu0804() { // Á¦Ç°º°¿µ¾çÇ¥½Ã
	document.location.href="/nutrition/nutrition04.asp"; }
function menu0805() { // FAQ
	document.location.href="/nutrition/nutrition05.asp"; }


/* ÇªÅÍ */////////
function Kellogg() { //kellogg's ·Î°í
	main();}
function policy() { //°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
	menu0703();}
function proposal() { //°ÇÀÇÇÔ
	menu0704();}


/* ÈÑ¹Ð¸®»çÀÌÆ® */////////
function momspace() { //¸¾½ºÆäÀÌ½º
	window.open('http://www.momspace.co.kr/ ');}
function cornfrost() { //ÄÜÇª·Î½ºÆ®
	window.open('http://cornfrost.kellogg.co.kr');}
function grainstory() { //°î¹°ÀÌ¾ß±â
	window.open('http://grainstory.kellogg.co.kr/');}
function specialk() { //½ºÆä¼Èk
	window.open('http://specialk.kellogg.co.kr/ ');}
function chex() { //Ã½½ºÃÊÄÚ
	window.open('/product/chex/ ');}
function allbran() { //¿Ãºê·£
	window.open('/product/allbran/');}
function cocopops() { //ÄÚÄÚÆË½º
	window.open('/product/cocopops/');}
function almond() { //¾Æ¸óµåÇª·¹ÀÌÅ©
	window.open('http://crunchynut.kellogg.co.kr/ ');}
