/* º»»ç ÇÃ·¡½¬¸Þ´º ¸µÅ© Á¤ÀÇ */

function menu_RS(d1,d2,d3)
{
	//alert(d1+","+d2+","+d3);
	if(d1 == '1') { // ¹®´Ü¿­ÀÇi½ºÆÝÁö ----------------------
		if(d2 == '1') { // i½ºÆÝÁö¼Ò°³
				this.location.href="/isponge/introduce.asp";
		} else if(d2 == '2') { // ¹®´Ü¿­¼±»ý´Ô
				this.location.href="/isponge/teacher.asp";
		} else if(d2 == '3') { // ±³À°ÀÌ³ä
				this.location.href="/isponge/education.asp";
		} else if(d2 == '4') { // BI¼Ò°³
				this.location.href="/isponge/bi.asp";
/*		} else if(d2 == '5') { // ÀÌ´ÞÀÇ¸í¿¹Àü´ç    d3 => tab ¹øÈ£
				if(d3=='1')
				{
					this.location.href="/isponge/Best.asp?tabNo=1";
				}
				else if(d3=='2')
				{
					this.location.href="/isponge/Best.asp?tabNo=2";
				}
				else if(d3=='3')
				{
					this.location.href="/isponge/Best.asp?tabNo=3";
				}
				else
				{
					this.location.href="/isponge/Best.asp?tabNo=0";
				}*/
		} else if(d2 == '5') { // i½ºÆÝÁöÈ«º¸°ü
			if(d3 == '1') { // ¹æ¼ÛÈ«º¸°ü
				this.location.href="/isponge/ispongeMovie.asp";
			} else if(d3 == '2') { // ±¤°í
				this.location.href="/isponge/ispongeMovie.asp";
			} else { // d3 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/isponge/ispongeMovie.asp";
			}
		} else if(d2 == '6') { // ±³»ç¸ðÁý
			if(d3 == '1') { // Ã¤¿ë°ø°í
				this.location.href="/isponge/recruitList.asp";
			} else if(d3 == '2') { // ±³»çÁö¿ø
				this.location.href="/isponge/applyGate.asp";
			} else { // d3 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/isponge/recruitList.asp";
			}

		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
			this.location.href="/isponge/introduce.asp";
		}
	} else if(d1 == '2') { // i½ºÆÝÁöÇÁ·Î±×·¥ -----------------------
		if(d2 == '1') { // ±³À°ÇÁ·Î±×·¥
			if(d3 == '1') { // ÇÐ½À°úÁ¤
				this.location.href="/program/programFeature.asp";
			} else if(d3 == '2') { // À¯Ä¡ºÎÇÁ·Î±×·¥
				this.location.href="/program/programFeature2.asp";
			} else if(d3 == '3') { // ÃÊµîºÎÇÁ·Î±×·¥
				this.location.href="/program/programFeature3.asp";
			} else { // d3 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/program/programFeature.asp";
			}

		} else if(d2 == '2') { // ±³Àçº¸±â
			if(d3 == '1') { // À¯Ä¡ºÎ´Ü°èº°ÄÚ½º±³Àç
				this.location.href="/program/courseMaterial.asp";
			} else if(d3 == '2') { // À¯Ä¡ºÎ±³Àç±¸¼º
				this.location.href="/program/courseMaterial3.asp";	
			} else { // d3 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/program/courseMaterial.asp";
			}

		} else if(d2 == '3') { // iºê·Î½´¾î ---------------
				this.location.href="/program/ibrochure.asp";

		} else if(d2 == '4') { // ±³»ç¾ç¼ºÇÁ·Î±×·¥
			if(d3 == '1') { // ±³»ç¾ç¼º°úÁ¤
				this.location.href="/program/teacherTrainning.asp";
			} else if(d3 == '2') { // Ä«¿î¼¿¸µÁ¦µµ
				this.location.href="/program/teacherTrainning.asp";
			} else { // d3 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/program/teacherTrainning.asp";
			}

		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/isponge/teacherTrainning.asp";
		}

	} else if(d1 == '3') { // i½ºÆÝÁö¿ùµå ------------------
		if(d2 == '1'){  // ±âÃÊ¿µ¾îÇÐ½À
			//alert('ÁØºñÁßÀÔ´Ï´Ù.')
			this.location.href="/world/isw_list.asp";
			if(d3 == '1') { // ±âÃÊ ¿µ¾î ÇÐ½À
					this.location.href="/world/isw_list.asp";
			} else if(d3 == '2') { // Ä¿¸®Å§·³
					this.location.href="/world/isw_curriculum.asp";
			}
		} else if(d2 == '2') { // ¾×¼Ç»çÀü
			window.open('/world/sayhi/action/index.asp','','width=700,height=670')
		} else if(d2 == '3') { // ¹Ì¹Ì½º·£µå
				this.location.href="/world/isw_mimis.asp";
		} else if(d2 == '4') { // ¿µ¾î µ¿¿ä
				this.location.href="/world/isw_engsong.asp";
		} else if(d2 == '5') { // ¿µ¾î µ¿È­
				this.location.href="/world/isw_animation.asp";
		} else if(d2 == '6') { // Ç¥ÇöÇÐ½À
				this.location.href="/world/isw_expressionlist.asp";
		}else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/world/isw_list.asp";
		}
	} else if(d1 == '4') { // ÇÐºÎ¸ð¸¶´ç -------------------
		if(d2 == '1') { // ¹®´Ü¿­¼±»ý´ÔÄ®·³
				this.location.href="/parent/teacherColumnList.asp";
		} else if(d2 == '2') { // ÃßÃµµµ¼­
				this.location.href="/parent/recommendList.asp";
		} else if(d2 == '3') { // °¡Á·°Ç°­Ä®·³
				this.location.href="/parent/homehealthList.asp";
		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/parent/teacherColumnList.asp";
		}
	} else if(d1 == '5') { // °³¿ø¾È³» ---------------------
		if(d2 == '1') { // °³¼³ÀýÂ÷¾È³»
				this.location.href="/campusopen/step.asp";
		} else if(d2 == '2') { // °³¼³±âÁØ
				this.location.href="/campusopen/standard.asp";
		} else if(d2 == '3') { // º»»çÁö¿ø»çÇ×
				this.location.href="/campusopen/support.asp";
		} else if(d2 == '4') { // ½Ã¼³±âÁØ
				this.location.href="/campusopen/institution.asp";
		} else if(d2 == '5') { // Àü±¹Ä·ÆÛ½º¾È³»
			if(d3 == '1') { // Àü±¹Ä·ÆÛ½º°Ë»ö
				this.location.href="/campusopen/campusNetwork.asp";
			} else if(d3 == '2') { // ½Å±ÔÄ·ÆÛ½º
				this.location.href="/campusopen/newCampus.asp";
			} else { // d3 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/campusopen/campusNetwork.asp";
			}
		} else if(d2 == '6') { // °³¼³»ó´ã
				this.location.href="/campusopen/inquiry.asp";
		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/campusopen/step.asp";
		}

	} else if(d1 == '6') { // ´º½º¼¾ÅÍ ----------------------
		if(d2 == '1') { // °øÁö»çÇ×
				this.location.href="/center/noticeList.asp";
		} else if(d2 == '2') { // º¸µµÀÚ·á
				this.location.href="/Center/paperList.asp ";
		} else if(d2 == '3') { // i½ºÆÝÁöÇà»ç
				this.location.href="/center/eventList.asp";
		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/center/noticeList.asp";
		}

	} else if(d1 == '7') { // ¸¶ÀÌ½ºÆÝÁö -------------------
		if(d2 == '1') { // ÇÐ»çÀÏÁ¤
				this.location.href="/mypage/school_schedule.asp";
		} else if(d2 == '2') { // ·¹½¼ÇÃ·£
				this.location.href="/mypage/lessonplan.asp";
		} else if(d2 == '3') { // Ãâ¼®Ç¥
				this.location.href="/mypage/attendance.asp";
		} else if(d2 == '4') { // MonthlyReport
				this.location.href="/mypage/monthlyReport.asp";
		} else if(d2 == '5') { // ½Ä´ÜÇ¥
						this.location.href="/mypage/menu_table.asp";
		} else if(d2 == '6') { // °¡Á¤Åë½Å¹®
						this.location.href="/mypage/parents/noteList.asp";
		} else if(d2 == '7') { // ºÎ¸ð´Ô°ø°£
			if(d3 == '1') { // ¼ö³³ÇöÈ²
				this.location.href="/mypage/parents/payment.asp";
			} else if(d3 == '2') { // »ó´ã½ÅÃ»
				this.location.href="/mypage/parents/counselList.asp";
			} else { // d3 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/mysponge/payment.asp";
			}
		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/mypage/school_schedule.asp";
		}

	} else if(d1 == '8') { // È¸¿øÁ¤º¸ ----------------------
		if(d2 == '1') { // È¸¿ø°¡ÀÔ
				this.location.href="/member/main.asp";
		} else if(d2 == '2') { // ·Î±×ÀÎ
				this.location.href="/member/login.asp";
		} else if(d2 == '3') { // ¾ÆÀÌµð/ºñ¹Ð¹øÈ£Ã£±â
				this.location.href="/member/idpwSearch.asp";
		} else if(d2 == '4') { // È¸¿øÁ¤º¸¼öÁ¤
				this.location.href="/member/memberModify.asp";
		} else if(d2 == '5') { // È¸¿øÅ»Åð
				this.location.href="/member/memberOut.asp";
		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/member/main.asp";
		}

	} else if(d1 == '9') { // °í°´¼¾ÅÍ -----------------------
		if(d2 == '1') { // FAQ
				this.location.href="/support/faq.asp";
		} else if(d2 == '2') { // ¹®ÀÇÇÏ±â
				this.location.href="/support/qna.asp";
		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/support/faq.asp";
		}

	} else if(d1 == '10') { // È¸»ç¼Ò°³ -----------------------
		if(d2 == '1') { // È¸»ç°³¿ä
				this.location.href="/company/introduce.asp";
		} else if(d2 == '2') { // CEOÀÎ»ç¸»
				this.location.href="/company/ceoGreeting.asp";
		} else if(d2 == '3') { // È¸»ç¿¬Çõ
				this.location.href="/company/history.asp";
		} else if(d2 == '4') { // »ç¾÷¿µ¿ª
				this.location.href="/company/bizArea.asp";
		} else if(d2 == '5') { // Ã£¾Æ¿À½Ã´Â ±æ
				this.location.href="/company/contactus.asp";
		} else { // d2 ÁöÁ¤¾ÈµÈ °æ¿ì
				this.location.href="/company/introduce.asp";
		}

	} else { // d1 ÁöÁ¤¾ÈµÈ °æ¿ì
			this.location.href="/index.asp";
	}
}

function logout_RS() { // ·Î±×¾Æ¿ô ¹öÆ° Å¬¸¯ ½Ã
	this.location.href="/index.asp";
}

function gohome_RS() { // ·Î°í ¹öÆ° Å¬¸¯ ½Ã
		this.location.href="/index.asp";
}