function callSubmenu(menuName,subName){
	$(function(){
		//This is SubMenu 
		$(".forthfirstTr td:first").css("width","39px");
		// to set each page submenu..
		
		var subMenuTitle = menuName;
		var slideDivPosition;
		var where;
		CallSiteMap(menuName,subName);
		
		var extraUseState; //Yes or No
		var extraImg;
		var extraText;
		var extraName;
		var extraFrom;
		var extraEm;
		
		var divBox = new Array();
		var divWidth = new Array();
		var divHeight = new Array();
		var divAlign = new Array();
		var divType = new Array();
		var divTopMargin = new Array();

		/*
		....... When you want to add more menu you can put in here....
		Like so:
			subMenuList[next number] = what you want to put in menu..
			subMenuHref[next number] = what you want to put in URL..
			subMenuTarget[next number] = what you want to put in target...
		*/

		switch (menuName)
		{
			case "About" :
				var subMenuList = new Array();
				subMenuList[0] = "Mission Statement";
				subMenuList[1] = "Why KGIBC";
				subMenuList[2] = "KGIC Education Group";
				subMenuList[3] = "Affiliations";
				
				var subMenuHref = new Array();
				subMenuHref[0] = "../about/mission-statement.html";
				subMenuHref[1] = "../about/why-choose-kgibc.html";
				subMenuHref[2] = "../about/kgic-education-group.html";
				subMenuHref[3] = "../about/affiliations.html";

				var subMenuTarget = new Array();
				subMenuTarget[0] = "_self";
				subMenuTarget[1] = "_self";
				subMenuTarget[2] = "_self";
				subMenuTarget[3] = "_self";
				
				switch (subName)
				{
					case "Mission Statement":
						where = 0;
						
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/luc_img.jpg";
						divWidth[0] = 176;
						divHeight[0] = 251;
						divAlign[0] = "left";
						divTopMargin[0] = "20px;";

						var html01 = "	<div id='ex_text'>";
							html01 += "		<div id='ex_img'><img src='../images/ex_img_greeting.gif'></div>";
							html01 += "		<div id='ex_right'>	";
							html01 += "			<div id='ex_maintext'>";
							html01 += "				\"Developing a genuine learning community is not something that grows organically from programs, curricula, or structures, no matter how good these may be. It is the outcome of deeply devoted teachers going the extra mile to instill a sense of inspiration.\"";
							html01 += "			</div>";
							html01 += "			<div id='ex_imgbar'><img src='../images/ex_bar.gif'></div>";
							html01 += "			<div id='ex_subname'>";
							html01 += "				Luc Corijn<br/><em>BM Coordinator,</em>";
							html01 += "			</div>";
							html01 += "			<div id='ex_subtext'>";
							html01 += "				KGIBC-CTC";
							html01 += "			</div>";
							html01 += "		</div>";
							html01 += "	</div>";
						divType[1] = "Text";
						divBox[1] = html01;
						divWidth[1] = 150;
						divHeight[1] = 200;
						divAlign[1] = "right";
						divTopMargin[1] = "30px;";
						break;
					case "Why KGIBC":
						where = 1;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/counsellors01.jpg";
						divWidth[0] = 129;
						divHeight[0] = 96;
						divAlign[0] = "left";
						divTopMargin[0] = "30px;";

						divType[1] = "Image"; // Flash or text or something..	
						divBox[1] = "../images/counsellors02.jpg";
						divWidth[1] = 129;
						divHeight[1] = 96;
						divAlign[1] = "left";
						divTopMargin[1] = "30px;";

						
						break;
					case "KGIC Education Group":
						where = 2;
						
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/kgicgroup.jpg"; //url or html
						divWidth[0] = 262;
						divHeight[0] = 160;
						divAlign[0] = "left";
						divTopMargin[0] = "20px;";
						
						divType[1] = "Image"; // Flash or text or something..
						divBox[1] = "../images/kgic_logo.gif"; //url or html
						divWidth[1] = 140;
						divHeight[1] = 95;
						divAlign[1] = "left";
						divTopMargin[1] = "30px;";

						divType[2] = "text"; // Flash or text or something..
						divBox[2] = "<div style='font-family:Trebuchet MS;font-size:9px;padding:2px 2px 2px 2px;width:140px;background-color:#005023;color:white;'>Your Success is KGIC's Success!</div>"; //url or html
						divWidth[2] = 140;
						divHeight[2] = 20;
						divAlign[2] = "left";
						divTopMargin[2] = "8px;";
						
/*
						divType[3] = "Image"; // Flash or text or something..
						divBox[3] = "../images/ctc_logo.gif"; //url or html
						divWidth[3] = 140;
						divHeight[3] = 95;
						divAlign[3] = "left";
						divTopMargin[3] = "30px;";

						divType[4] = "text"; // Flash or text or something..
						divBox[4] = "<div style='font-family:Trebuchet MS;font-size:9px;padding:2px 2px 2px 2px;width:140px;background-color:#00456a;color:white;'>Leading the way in Teacher Training</div>"; //url or html
						divWidth[4] = 140;
						divHeight[4] = 20;
						divAlign[4] = "left";
						divTopMargin[4] = "8px;";
*/
						break;
					case "Affiliations":
						where = 3;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/toefl.gif"; //url or html
						divWidth[0] = 170;
						divHeight[0] = 90;
						divAlign[0] = "left";
						divTopMargin[0] = "105px;";

						divType[1] = "Image"; // Flash or text or something..
						divBox[1] = "../images/actfl.gif"; //url or html
						divWidth[1] = 170;
						divHeight[1] = 90;
						divAlign[1] = "left";
						divTopMargin[1] = "20px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/pearson.gif"; //url or html
						divWidth[2] = 170;
						divHeight[2] = 90;
						divAlign[2] = "left";
						divTopMargin[2] = "95px;";

						divType[3] = "Image"; // Flash or text or something..
						divBox[3] = "../images/logo-alto.gif"; //url or html
						divWidth[3] = 170;
						divHeight[3] = 90;
						divAlign[3] = "left";
						divTopMargin[3] = "80px;";

						divType[4] = "Image"; // Flash or text or something..
						divBox[4] = "../images/logo-wyse.gif"; //url or html
						divWidth[4] = 170;
						divHeight[4] = 90;
						divAlign[4] = "left";
						divTopMargin[4] = "40px;";

						divType[5] = "Image"; // Flash or text or something..
						divBox[5] = "../images/tesl.gif"; //url or html
						divWidth[5] = 170;
						divHeight[5] = 90;
						divAlign[5] = "left";
						divTopMargin[5] = "60px;";

						divType[6] = "Image"; // Flash or text or something..
						divBox[6] = "../images/logo-teal.gif"; //url or html
						divWidth[6] = 170;
						divHeight[6] = 90;
						divAlign[6] = "left";
						divTopMargin[6] = "255px;";

						divType[7] = "Image"; // Flash or text or something..
						divBox[7] = "../images/ahe.gif"; //url or html
						divWidth[7] = 170;
						divHeight[7] = 90;
						divAlign[7] = "left";
						divTopMargin[7] = "65px;";

						divType[8] = "Text"; // Flash or text or something..
						divBox[8] = "<a href='http://cambridgecentre.net/ca020/' alt='Cambridge Exam Centre CA020' target='_blank'><img src='http://cambridgecentre.net/buttons/ca020.jpg' border='0' width='280' height='67' /></a>"; //url or html
						divWidth[8] = 280;
						divHeight[8] = 67;
						divAlign[8] = "left";
						divTopMargin[8] = "65px;";

						divType[9] = "Image"; // Flash or text or something..
						divBox[9] = "../images/logo-pctia.gif"; //url or html
						divWidth[9] = 170;
						divHeight[9] = 90;
						divAlign[9] = "left";
						divTopMargin[9] = "90px;";

						//divType[10] = "Image"; // Flash or text or something..
						//divBox[10] = "../images/logo-lclc.gif"; //url or html
						//divWidth[10] = 170;
						//divHeight[10] = 90;
						//divAlign[10] = "left";
						//divTopMargin[10] = "60px;";

						//divType[11] = "Image"; // Flash or text or something..
						//divBox[11] = "../images/logo-cec.gif"; //url or html
						//divWidth[11] = 170;
						//divHeight[11] = 90;
						//divAlign[11] = "left";
						//divTopMargin[11] = "140px;";
						break;
				}
				
				break;

			case "Admissions" :
				var subMenuList = new Array();
				subMenuList[0] = "Entry Requirements";
				subMenuList[1] = "Fees";
				subMenuList[2] = "Start Dates";
				subMenuList[3] = "Policies";
				subMenuList[4] = "Medical Insurance";
				subMenuList[5] = "Visa Information";
				subMenuList[6] = "Register";
				
				var subMenuHref = new Array();
				subMenuHref[0] = "../admissions/entry-requirements.html";
				subMenuHref[1] = "../pdf/2012_KGIBC-CTC_Fee_Info.pdf";
				subMenuHref[2] = "../admissions/startdate.html";
				subMenuHref[3] = "../admissions/policies.html";
				subMenuHref[4] = "../admissions/medical-insurance.html";
				subMenuHref[5] = "../admissions/visa-information.html";
				subMenuHref[6] = "../admissions/register.html";
				//subMenuHref[6] = "#";

				var subMenuTarget = new Array();
				subMenuTarget[0] = "_self";
				subMenuTarget[1] = "_self";
				subMenuTarget[2] = "_self";
				subMenuTarget[3] = "_self";
				subMenuTarget[4] = "_self";
				subMenuTarget[5] = "_self";
				subMenuTarget[6] = "_self";
				//subMenuTarget[6] = "_blank";

				switch (subName)
				{
					case "Entry requirements":
						where = 0;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/temp.gif"; //url or html
						divWidth[0] = 262;
						divHeight[0] = 160;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						break;
					case "Fees":
						where = 1;
						extraUseState = "No";
						break;
					case "Start dates":
						where = 2;
						extraUseState = "No";
						break;
					case "Policies":
						where = 3;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/policy.jpg"; //url or html
						divWidth[0] = 262;
						divHeight[0] = 160;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						break;
					case "Medical Insurance":
						where = 4;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/medical.jpg"; //url or html
						divWidth[0] = 262;
						divHeight[0] = 349;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						break;
					case "Visa Information":
						where = 5;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/visa.jpg"; //url or html
						divWidth[0] = 238;
						divHeight[0] = 160;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						break;
					case "Register":
						where = 6;
						extraUseState = "No";
						break;
				}

				$(".paragraph").css("padding","0px");
				//slideDivPosition = "368px";


				break;
				case "Programs" :
				var subMenuList = new Array();
				subMenuList[0] = "Business Management";
				/*TOOK.OUT subMenuList[1] = "Hotel Management"*/;
				subMenuList[2] = "Interpreting and Translation";
				
				subMenuList[3] = "Powerspeaking and Modern Media";
				subMenuList[4] = "IELTS";
				subMenuList[5] = "TOEFL iBT";
				subMenuList[6] = "FCE Cambridge";
				subMenuList[7] = "Advanced Business Management";
				/*TOOK.OUT subMenuList[8] = "Advanced Hotel Management";*/
				subMenuList[9] = "EPT";
				subMenuList[10] = "TESOL";
				subMenuList[11] = "TESOL for Children";
				subMenuList[12] = "TESOL for Middle School";
				subMenuList[13] = "TESOL Integrated";
				subMenuList[14] = "TESOL Advanced";
				subMenuList[15] = "BIT-K";
				
				var subMenuHref = new Array();
				subMenuHref[0] = "../programs/business-management.html";
				/*TOOK.OUT subMenuHref[1] = "../programs/hotel-management.html";*/
				subMenuHref[2] = "../programs/interpreting-translation.html";
				subMenuHref[3] = "../programs/power-speaking.html";
				subMenuHref[4] = "../programs/ielts.html";
				subMenuHref[5] = "../programs/toefl.html";
				subMenuHref[6] = "../programs/cambridge-fce-english.html";
				subMenuHref[7] = "../programs/business-management-co-op.html";
				/*TOOK.OUT subMenuHref[8] = "../programs/hotel-management-co-op.html";*/
				subMenuHref[9] = "../programs/english-preparation-for-teachers.html";
				subMenuHref[10] = "../programs/tesol.html";
				subMenuHref[11] = "../programs/tesol-c.html";
				subMenuHref[12] = "../programs/tesol-m.html";
				subMenuHref[13] = "../programs/tesol-i.html";
				subMenuHref[14] = "../programs/tesol-a.html";
				subMenuHref[15] = "../programs/business-interpreting-and-translation-korean.html";

				var subMenuTarget = new Array();
				subMenuTarget[0] = "_self";
				subMenuTarget[1] = "_self";
				subMenuTarget[2] = "_self";
				subMenuTarget[3] = "_self";
				subMenuTarget[4] = "_self";
				subMenuTarget[5] = "_self";
				subMenuTarget[6] = "_self";
				subMenuTarget[7] = "_self";
				subMenuTarget[8] = "_self";
				subMenuTarget[9] = "_self";
				subMenuTarget[10] = "_self";
				subMenuTarget[11] = "_self";
				subMenuTarget[12] = "_self";
				subMenuTarget[13] = "_self";
				subMenuTarget[14] = "_self";
				subMenuTarget[15] = "_self";

				switch (subName)
				{
					case "Business Management":
						where = 0;
						//extraUseState = "Yes";
						extraText = "\"I learned about the cultural business in Canada, how to do business in Canada and how to succeed in the Global Market.  Before I started my program at KGIBC my business mind was focused locally, now I think globally.  They opened my mind to the \"world\" of business. In BM you meet new students from all over the world from different cultures and you can learn a lot from that.  I think KGIBC is a very serious institution where the staff cares a lot about your improvement. \"";
						extraName = "J. Gonzales";
						extraFrom = "Mexico";
						//extraEm = "\"Before I started my program at KGIBC, my business mind was focused locally, now I think globally!\"";

						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/top_bm.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";

						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "Peer teaching is an important aspect of <br/>the KGIBC-CTC experience</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/bm_s.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";

						break;
					/*TOOK.OUT case "Hotel Management":
						where = 1;
						extraUseState = "Yes";
						
						extraText = "I learned about general hotel management in my HM course.  I learned about human recourses, bar and beverage, accounting, sales and marketing.  We study specific business vocabulary about the hotel industry and we get experience through our practicum.  My teacher has a lot of work experience in the hotel industry.  One of my teachers was a hotel manager.  Sometimes he tells the class about his personal experiences in the hotel industry.  He always teaches in a way that is easy for us to understand.  He has a lot of knowledge and we can learn a lot about the hotel industry.  Someone who wants to study hotel management should enroll in the program without hesitation.";
						extraName = "S. Lee";
						extraFrom = "Korea";
						extraEm = "\"We can study specific business vocabulary about the hotel industry and we can get the experience through our practicum\"";

						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/hmdp.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";

						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "Learn the skills necessary to succeed in the hospitality industry.</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/hmdp_s.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";

						break;*/
					
					case "Interpreting and Translation":
						where = 2;
						extraUseState = "Yes";
						extraImg = "testimonials/itdp-k.jpg";
						extraText = "I have been taught how to translate English into Korean and Korean into English as well.  When I read English articles I could not translate into Korean properly even though I already understood the meaning.  I was also not able to make English sentences naturally.  Through this program, I could solve these 2 problems.  This program is so intensive and students get so many English skills!  Also, I have many opportunities to interpret between a native English speaking teacher and a Korean teacher about academic topics.  IT has helped me to improve my listening and speaking skills.";
						extraName = "H. Youm";
						extraFrom = "Korea";
						extraEm = "\"This program has given me the opportunity to use the skills I learned in class, make new friends, and use English in a native English speaking environment\"";
						
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/IT-K.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";

						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "IT-K student works on her translation skills.</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/itdp-k_s.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";

						break;
					
					case "Powerspeaking and Modern Media":
						where = 3;
						extraUseState = "Yes";
						extraImg = "testimonials/toeic.jpg";
						extraText = "There is no better way to point out your mistakes than watching them on TV.  In PMM, we get the chance to be critical of ourselves while analyzing our body language, gestures, speech content and speaking skills.  It is a challenge for us, not only as students, but as humans, watching our mistakes and trying to work on them.  More than speech improvement, PMM focuses on daily issues regarding the media and communication, which is fascinating.  After PMM, you’ll start to see the world with critical eyes.";
						extraName = "F. Rangel de Aquino";
						extraFrom = "Brazil";
						extraEm = "\"At the beginning of the course on my first practice test I got 730. In the last week of the course I got 195!\"";
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/pmm.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						
						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "Modern media in the classroom.</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						
						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/pmm.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";
						
						break;
					case "IELTS":
						where = 4;
						extraUseState = "Yes";
						//extraImg = "testimonials/toeic.jpg";
						//extraText = "This program is really intense and it is not like other ESL courses.  You study more professionally and you learn lots of vocabulary that is used in the news and in serious daily subjects.  When you increase your vocabulary knowledge you feel more comfortable and confident when you speak.  Also, you improve your grammar knowledge. At the beginning of the course in my first practice test I got 730.  But in the last week of the course I got 915. If you follow the teacher’s advice, I guarantee you that your score will improve by at least 100 points!";
						//extraName = "H. Balic";
						//extraFrom = "Turkey";
						//extraEm = "\"At the beginning of the course on my first practice test I got 730. In the last week of the course I got 195!\"";

						//divType[0] = "Image"; // Flash or text or something..
						//divBox[0] = "../images/toeic.jpg"; //url or html
						//divWidth[0] = 248;
						//divHeight[0] = 214;
						//divAlign[0] = "left";
						//divTopMargin[0] = "40px;";

						//divType[1] = "text"; // Flash or text or something..
						//divBox[1] = "<div id='p_banner'>"; //url or html
						//divBox[1] += "Learn with others</div>";
						//divWidth[1] = 245;
						//divHeight[1] = 50;
						//divAlign[1] = "left";
						//divTopMargin[1] = "0px;";

						//divType[2] = "Image"; // Flash or text or something..
						//divBox[2] = "../images/testimonials/toeic_s.jpg"; //url or html
						//divWidth[2] = 122;
						//divHeight[2] = 155;
						//divAlign[2] = "center";
						//divTopMargin[2] = "40px;";
						
						//divType[3] = "text"; // Flash or text or something..
						//divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						//divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						//divBox[3] += "</div>";
						//divWidth[3] = 0;
						//divHeight[3] = 0;
						//divAlign[3] = "right";
						//divTopMargin[3] = "20px;";

						break;
					case "TOEFL iBT":
						where = 5;
						extraUseState = "Yes";
						extraImg = "testimonials/tofel.jpg";
						extraText = "The most important thing I have learned is how to find the answers in the reading using scanning and skimming methods.  In the TOEFL test we don’t have the opportunity to spend a lot of time reading the lecture, so, the teacher helps us to use the best method so we can find the answers easily and reduce our time.  Another thing I have learned is vocabulary.  The TOEFL Test helps us to develop our skills but, to develop all of the skills properly we have to understand “what they are talking about”.  The teacher also gives us plenty of exercises with clear examples.  The technique she uses is to understand the vocabulary from the text and sentences; we look for synonyms, definitions and follow up with a quiz the next day.";
						extraName = "Laura R.";
						extraFrom = "Mexico";
						extraEm = "\"The teacher helps us to use the best method so we can find the answer easily and reduce our time\"";

						
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/tofel.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";

						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "Put yourself to the test</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/tofel_s.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";

						break;
					case "FCE Cambridge":
						where = 6;
						extraUseState = "Yes";
						
						extraText = "After taking FCE for two months I can see an overall improvement in my English Skills. I wasn’t especially good at reading, I had a hard time skimming pages and finding the main idea of an article. Now I can read more easily and faster than before. FCE is a totally different kind of test.  You can’t choose the answer; you have to have the knowledge so it helps us improve our English.";
						extraName = "S.Lee";
						extraFrom = "Korea";
						extraEm = "\"The teacher helps us to use the best method so we can find the answer easily and reduce our time\"";


						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/cambridge.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						
						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "Clear instructions from a qualified teacher</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						
						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/fce.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";
						

						break;
					case "Advanced Business Management":
						where = 7;
						extraUseState = "Yes";
						extraImg = "testimonials/abmdp_s.jpg";
						extraText = "The idea of studying in another country was something that I had always wanted to do, but the reality of traveling half way across the world made me nervous.  However, thanks to the friendly instructors and friends I made from around the world at KGIBC, my anxiety quickly disappeared.  The Advanced Business Management Program has helped me improve my English, learn about Canadian business, and enjoy one of the most beautiful cities in the world:  Vancouver!  I am now enjoying the 6 month work portion of Advanced BM.  This program has given me the opportunity to use the skills I learned in class, make new friends, and use English in a native English speaking environment!";
						extraName = "H. Yaglica";
						extraFrom = "Turkey";
						extraEm = "\"The teacher helps us to use the best method so we can find the answer easily and reduce our time\"";


						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/abmdp.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						
						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "Learn from and work with <br/>real business professionals.</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						
						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/abmdp_s.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";
						

						break;
					/*TOOK.OUT case "Advanced Hotel Management":
						where = 8;
						extraUseState = "Yes";
						extraImg = "testimonials/abmdp_s.jpg";
						extraText = "If you study this program at KGIBC, you can not only get a Certificate or Diploma, but you can also get experience every day from your teachers, other international students and field trips.  In addition, this is one of the most famous tourist cities in Canada and it gives you many real ideas about tourism (hotels, city events and restaurants).  I think it is very important to know if you want to study hotel management.  Each class is not easy, but it is worth it to join and study here.  Also, you can not forget about the Coop internship after your course has finished.  You can study and learn many things through this internship.";
						extraName = "K. Kato";
						extraFrom = "Japan";
						extraEm = "\"The teacher helps us to use the best method so we can find the answer easily and reduce our time\"";


						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/ahmdp.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 214;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						
						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='p_banner'>"; //url or html
						divBox[1] += "Hands on experience that prepares you <br/>for the real world.</div>";
						divWidth[1] = 245;
						divHeight[1] = 50;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						
						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/testimonials/ahmdp.jpg"; //url or html
						divWidth[2] = 122;
						divHeight[2] = 155;
						divAlign[2] = "center";
						divTopMargin[2] = "40px;";
						
						divType[3] = "text"; // Flash or text or something..
						divBox[3] = "<div style='width:190px;position:relative;float:right;'>"; //url or html
						divBox[3] += "<div id='extraname'>"+extraName+"<div><div id='extrafrom'>"+extraFrom+"</div><div id='extrabar'><img src='../images/extrabar.jpg'></div><div id='extracontent'>"+ extraText +"</div>";
						divBox[3] += "</div>";
						divWidth[3] = 0;
						divHeight[3] = 0;
						divAlign[3] = "right";
						divTopMargin[3] = "20px;";
						
						break;*/
						case "EPT":
						where = 9;

						
						break;

						case "TESOL":
						where = 10;

						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/tesol.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 372;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						break;

						case "TESOL for Children":
						where = 11;

						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/tesol-c.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 372;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						break;

						case "TESOL for Middle School":
						where = 12;
						
						break;

						case "TESOL Intergrated":
						where = 13;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/tesol-m.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 165;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						break;

						case "TESOL Advanced":
						where = 14;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/tesol-a.jpg"; //url or html
						divWidth[0] = 248;
						divHeight[0] = 165;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						break;

						case "BIT-K":
						where = 15;						
						break;
				}
				break;

				case "Location" :
				var subMenuList = new Array();
				subMenuList[0] = "Vancouver";
				subMenuList[1] = "Toronto";
				subMenuList[2] = "Victoria";
				
				var subMenuHref = new Array();
				subMenuHref[0] = "../locations/vancouver-campus.html";
				subMenuHref[1] = "../locations/toronto-campus.html";
				subMenuHref[2] = "../locations/victoria-campus.html";

				var subMenuTarget = new Array();
				subMenuTarget[0] = "_self";
				subMenuTarget[1] = "_self";
				subMenuTarget[2] = "_self";

				switch (subName)
				{
					case "Vancouver":
						where = 0;
						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/top_vancouver.jpg"; //url or html
						divWidth[0] = 282;
						divHeight[0] = 180;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='l_banner'>"; //url or html
						divBox[1] += "Home of the 2010 Winter Olympic Games</div>"
						divWidth[1] = 282;
						divHeight[1] = 180;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/sub_van01.jpg"; //url or html
						divWidth[2] = 165;
						divHeight[2] = 107;
						divAlign[2] = "center";
						divTopMargin[2] = "20px;";
							
						divType[3] = "Image"; // Flash or text or something..
						divBox[3] = "../images/sub_van02.jpg"; //url or html
						divWidth[3] = 165;
						divHeight[3] = 107;
						divAlign[3] = "center";
						divTopMargin[3] = "20px;";

						divType[4] = "Image"; // Flash or text or something..
						divBox[4] = "../images/sub_van03.jpg"; //url or html
						divWidth[4] = 165;
						divHeight[4] = 107;
						divAlign[4] = "center";
						divTopMargin[4] = "20px;";

					break;

					case "Toronto":
						where = 1;

						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/toronto.jpg"; //url or html
						divWidth[0] = 282;
						divHeight[0] = 180;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='l_banner'>"; //url or html
						divBox[1] += "Toronto is Canada’s largest and most multicultural city </div>"
						divWidth[1] = 282;
						divHeight[1] = 180;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/toronto-school.jpg"; //url or html
						divWidth[2] = 165;
						divHeight[2] = 107;
						divAlign[2] = "center";
						divTopMargin[2] = "20px;";
							
						
					break;

					case "Victoria":
						where = 2;

						divType[0] = "Image"; // Flash or text or something..
						divBox[0] = "../images/victoria.jpg"; //url or html
						divWidth[0] = 282;
						divHeight[0] = 180;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
						divType[1] = "text"; // Flash or text or something..
						divBox[1] = "<div id='l_banner'>"; //url or html
						divBox[1] += "Victoria – BC’s charming capital city</div>"
						divWidth[1] = 282;
						divHeight[1] = 180;
						divAlign[1] = "left";
						divTopMargin[1] = "0px;";

						divType[2] = "Image"; // Flash or text or something..
						divBox[2] = "../images/victoria-school-01.jpg"; //url or html
						divWidth[2] = 165;
						divHeight[2] = 107;
						divAlign[2] = "center";
						divTopMargin[2] = "20px;";
							
						divType[3] = "Image"; // Flash or text or something..
						divBox[3] = "../images/victoria-school-02.jpg"; //url or html
						divWidth[3] = 165;
						divHeight[3] = 107;
						divAlign[3] = "center";
						divTopMargin[3] = "20px;";

					break;

				}
				
				break;
				case "Co-op/Practicum":
				var subMenuList = new Array();
				subMenuList[0] = "Introduction";
				subMenuList[1] = "Co-op";
				subMenuList[2] = "Practicum";
				subMenuList[3] = "For Employer";
				
				var subMenuHref = new Array();
				subMenuHref[0] = "../co-op/overview.html";
				subMenuHref[1] = "../co-op/co-op.html";
				subMenuHref[2] = "../co-op/practicum.html";
				subMenuHref[3] = "../co-op/employer.html";

				var subMenuTarget = new Array();
				subMenuTarget[0] = "_self";
				subMenuTarget[1] = "_self";
				subMenuTarget[2] = "_self";
				subMenuTarget[3] = "_self";

				var quickLinkHtml = "";
				quickLinkHtml += "	<div id='qBack'>";
				quickLinkHtml += "		<div id='qContent'>";
				quickLinkHtml += "		<div id='qTitle'>QUICK LINKS</div><ul>";
				//quickLinkHtml += "		<li><a href='../files/sample_resume.doc' target='_blank'>> Sample resume</a></li>";
				quickLinkHtml += "		<li><a href='../files/Practicum_student_handbook.pdf' target='_blank'>> Practicum student handbook</a></li>";
				//quickLinkHtml += "		<li><a href='../files/practicum_agreement.pdf' target='_blank'>> Practicum agreement</a></li>";
				quickLinkHtml += "		<li></li>";
				quickLinkHtml += "		<li><a href='../files/Co-op Student Handbook ABM Jan 2011.pdf' target='_blank'>> Co-op student handbook for ABM</a></li>";
				//quickLinkHtml += "		<li><a href='../files/co-op_agreement.doc' target='_blank'>> Co-op Agreement</a></li>";
				//quickLinkHtml += "		<li><a href='../files/co-op_workreport.doc' target='_blank'>> Co-op work report</a></li></ul></div></div>";
				quickLinkHtml += "</ul>"
				
				var quickLinkHtml_E = "";
				quickLinkHtml_E += "	<div id='qBack_E'>";
				quickLinkHtml_E += "		<div id='qContent_E'>";
				quickLinkHtml_E += "		<div id='qTitle_E'>QUICK LINKS</div>";
				quickLinkHtml_E += "		<ul><li><a href='../files/Co-op Student Employer Handbook_3.pdf' target='_blank'>> Co-op employer guide</a></li>";
				//quickLinkHtml_E += "		<li><a href='../files/Co-op Student Evaluation Form AHMDP.doc' target='_blank'>> Co-op student evaluation for AHM</a></li>";
				//quickLinkHtml_E += "		<li><a href='../files/Co-op Student Evaluation Form ABMDP.doc' target='_blank'>> Co-op student evaluation for ABM</a></li>";

				quickLinkHtml_E += "		<li><a href='../files/Practicum Host Guide Jan 2011.pdf' target='_blank'>> Practicum host guide</a></li>";
				//quickLinkHtml_E += "		<li><a href='../files/Practicum Evaluation Form - HMDP.doc' target='_blank'>> Practicum student evaluation for HM</a></li>";
				//quickLinkHtml_E += "		<li><a href='../files/Practicum Evaluation Form - BMDP,IOMDP.doc' target='_blank'>> Practicum student evaluation for BM</a></li>";
				//quickLinkHtml_E += "		<li><a href='../files/Practicum Evaluation Form - BMDP,IOMDP.doc' target='_blank'>> Practicum student evaluation for IOM</a></li>";
				quickLinkHtml_E += "		</ul></div></div>";
				switch (subName)
				{
					
					case "Introduction":
						where = 0;
						
						
						divType[0] = "text"; // Flash or text or something..
						divBox[0] = quickLinkHtml; //url or html
						divWidth[0] = 282;
						divHeight[0] = 180;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
						
					break;

					case "Co-op":
						where = 1;

						divType[0] = "text"; // Flash or text or something..
						divBox[0] = quickLinkHtml; //url or html
						divWidth[0] = 282;
						divHeight[0] = 190;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
					break;

					case "Practicum":
						where = 2;

						divType[0] = "text"; // Flash or text or something..
						divBox[0] = quickLinkHtml; //url or html
						divWidth[0] = 282;
						divHeight[0] = 190;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
					break;

					case "For Employer":
						where = 3;

						divType[0] = "text"; // Flash or text or something..
						divBox[0] = quickLinkHtml_E; //url or html
						divWidth[0] = 282;
						divHeight[0] = 180;
						divAlign[0] = "left";
						divTopMargin[0] = "40px;";
					break;

					case "Jobs":
						where = 4;
					break;

				}

				break;

				
				case "Download":
				var subMenuList = new Array();
				subMenuList[0] = "Forms";
				
				var subMenuHref = new Array();
				subMenuHref[0] = "../download/download.html";

				var subMenuTarget = new Array();
				subMenuTarget[0] = "_self";

				switch (subName)
				{
					case "Forms":
						where = 0;
					break;
				}
		}

		slideDivPosition = 351 + (subMenuList.length * 21.14); //slide div position calculation .
		
		

		if (subMenuList.length == subMenuHref.length && subMenuHref.length == subMenuTarget.length)
		{
			var subMenuStr = "<ul><h1>"+subMenuTitle+"</h1>";
			for (var i = 0; i < subMenuList.length; i++)
			{
				if (where == i)
				{
					subMenuStr += "<li id='tar'>"+subMenuList[i]+"</li>";	
				}	
				else
				{
					subMenuStr += "<li><a href='"+subMenuHref[i]+"' target='"+subMenuTarget[i]+"'> "+subMenuList[i]+"</a></li>";
				}
			}

			subMenuStr += "</ul>";
							
			$(".SubMenus").html(subMenuStr);
			$("#sub_box").html(subMenuStr);
		}
		else
		{
			alert("error!");
		}
		
		var RightImages = "";
		if (divBox.length > 0)
		{
			for (var b = 0; b < divBox.length ; b++ )
			{
				var w = divWidth[b] + 6;
				var h = divHeight[b] + 6;
				var getContent = ""; 
				var style = "";
				if (divType[b] == "Image")
				{
					getContent = "<img src='../images/"+divBox[b]+"' style='border:1px solid silver;'>";
					style = "style='width:"+w+"px;height:"+h+"px;border:1px solid silver;background-color:white;'";
				}
				else if (divType[b] == "Flash")
				{
					getContent = "<embed>...</embed>";
					style = "style='width:"+w+"px;height:"+h+"px;border:1px solid silver;background-color:white;'";
				}
				else
				{
					getContent = divBox[b];
				}

				RightImages += "<div id='imagesbox' style='text-align:"+divAlign[b]+";margin-top:"+divTopMargin[b]+";'>";
				RightImages += "	<div "+style+">";
				RightImages += "		<div style='margin-top:2px;margin-left:2px;'>";
				RightImages +=				getContent;
				RightImages += "		</div>";
				RightImages += "	</div>";
				RightImages += "</div>";
			}
		}

		$("#right_box").html(RightImages);
		
		//Affiliations Each Website Link
		$("#imagesbox img[src$='toefl.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.ets.org','_blank');
			});
		$("#imagesbox img[src$='actfl.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.actfl.org','_blank');
			});
		$("#imagesbox img[src$='pearson.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.pearsonlongman.com','_blank');
			});
		$("#imagesbox img[src$='logo-alto.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.altonet.org','_blank');
			});
			
		$("#imagesbox img[src$='logo-wyse.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.aboutwysetc.org','_blank');
			});
		$("#imagesbox img[src$='tesl.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.tesl.ca','_blank');
			});
		$("#imagesbox img[src$='logo-teal.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.bcteal.org/','_blank');
			});
		$("#imagesbox img[src$='ahe.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.ei-ahla.org','_blank');
			});
		$("#imagesbox img[src$='logo-pctia.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.pctia.bc.ca/','_blank');
			});
		$("#imagesbox img[src$='logo-lclc.gif']")
			.css("cursor","pointer")
			.click(function(){
				window.open('http://www.languagescanada.ca/','_blank');
			});
				
	});
}
