 var LeftMenu = [
	["Main",
		["Home", "/index.htm"],
		["Author", "/cv.htm"],
		["Feedback", "/feedback.htm"],
	],
	["Engineering Mathes", 
			["vector calculus", "/cources/vc.htm"],
			["Complex Variables", "/cources/cv.htm"],
			["Ordinary Differential Equs", "/cources/ode.htm"],
			["Partial Differential Equs", "/cources/pde.htm"],
			["Linear Algebra", "/cources/la.htm"],
			["Numerical Mathematics", "/cources/nm.htm"],
			["Transformation Analysis", "/cources/trans.htm"],
			["Special Functions", "/cources/sf.htm"],
			["Descriptive Geometry", "/cources/dg.htm"],
			["Probability and Statistics", "/cources/pstat.htm"],
			["Operation Research", "/cources/or.htm"],
	],
	["Publications",
			["Research Interest", "/cources/interest.htm"],
			["List of Papers", "/cources/publications.htm"],
			["Computed Mathematics", "/cources/rmath.htm"],
			["Machine Theory", "/cources/rmc.htm"],
			["Speed Drives", "/cources/rdrv.htm"],
			["Renewable Energy", "/cources/rre.htm"],
	],
];


///////////////////////////////////////////////////////////////////////////////
document.write("<table class=\"PageT\" cellpadding=0 cellspacing=0>");
	document.write("<tr>");
		document.write("<td nowrap valign=top class=\"LeftCell\">");
			document.write("<table cellpadding=0 cellspacing=0 width=100%>");
				document.write("<tr>");
					document.write("<td>");
						ShowLeftMenu();
					document.write("</td>	");
				document.write("</tr>	");
				document.write("<tr><td nowrap height=70></td></tr>");
			document.write("</table>");
		document.write("</td>");
		document.write("<td width=\"100%\" height=\"100%\">");
			document.write("<table width=\"100%\" height=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
				document.write("<tr><td align=center height=15 nowrap></td></tr>");
				document.write("<tr>");
					document.write("<td class=\"MidCell\">");
						document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"  codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0\" height=\"70\" width=\"350\" VIEWASTEXT id=ShockwaveFlash1>");
							document.write("<param name=\"SRC\" value=\"/images/banner.swf\">");
							document.write("<param name=\"wmode\" value=\"transparent\">");
							document.write("<embed src=\"/images/banner.swf\" pluginspage=\"http://www.macromedia.com/shockwave/download/\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" height=\"70\" width=\"350\">");
						 document.write("</object>");
						document.write("<table align=center>");
							document.write("<tr>");
							document.write("<FORM action=\"/lib_search.htm\" method=get>");
								document.write("<td><STRONG> Site Search: </STRONG></td>");
								document.write("<td><INPUT id=KW name=KW size=30></td>");
								document.write("<td><INPUT type=submit class=\"GoBtn\" value=\"\"></td>");
							document.write("</FORM>");
							document.write("</tr>");
						document.write("</table>");
					document.write("</td>");
				document.write("</tr>");
				document.write("<tr>");
					document.write("<td class=\"BodyA\">");
						document.write("<div class=\"BodyC\">");

function ShowLeftMenu()
{
	for(var i=0;i<LeftMenu.length;i++)
	{
		var MM = LeftMenu[i];
		if( MM == null) continue;
		document.write("<li class=\"CatH\"> "+ MM[0] +" </li>");
		for(var j=1; j<MM.length;j++)
		{
			var SM = MM[j];
			if( SM == null) continue;
			document.write("<li class=\"LinkLI\"><a class=\"Link\" href=\"" + SM[1] + "\">" + SM[0] + "</a></li>");
		}	
	}
}

	/////////////////////  Link select & go //////////////
function go_to1()
{
    var myindex=form1.sel1.selectedIndex
if( form1.sel1.options[myindex].value !="")    window.open(form1.sel1.options[myindex].value,"main","");
}

function check1()
{
    var myindex=form1.sel1.selectedIndex
   if( form1.sel1.options[myindex].value =="")   go1.style.display = "none"
   else  go1.style.display = ""
   
}

function go_to2()
{
    var myindex=form2.sel2.selectedIndex
if( form2.sel2.options[myindex].value !="")    window.open(form2.sel2.options[myindex].value,"main","");
}

function check2()
{
    var myindex=form2.sel2.selectedIndex
   if( form2.sel2.options[myindex].value =="")   go2.style.display = "none"
   else  go2.style.display = ""
   
}

function go_to3()
{
    var myindex=form3.sel3.selectedIndex
if( form3.sel3.options[myindex].value !="")    window.open(form3.sel3.options[myindex].value,"main","");
}

function check3()
{
    var myindex=form3.sel3.selectedIndex
   if( form3.sel3.options[myindex].value =="")   go3.style.display = "none"
   else  go3.style.display = ""
 
}

function go_to4()
{
    var myindex=form4.sel4.selectedIndex
if( form4.sel4.options[myindex].value !="")    window.open(form4.sel4.options[myindex].value,"main","");
}

function check4()
{
    var myindex=form4.sel4.selectedIndex
   if( form4.sel4.options[myindex].value =="")   go4.style.display = "none"
   else  go4.style.display = ""
 
}

	///////////////////////////////

