/*
//This script is available to use for any purpose as long as these lines of comment existed.
//This script is created by Axile on his free time at home and will work with IE6, FF1.5, and 
//probably with Netscape 8, Opera 8.5
*/

function fixMenu(show){
	var tbl, submenu, mainmenu;
	var padding;
	padding = "0";
	switch(show)
	{	
		case "MainMenu":{
			mainmenu = "tblnav";
			tbl = "<table id='" + mainmenu + "' cellspacing='0' cellpadding='0' border='0'>";
			tbl = tbl + "<tr>";
			tbl = tbl + "<td align='left' valign='bottom' class='topmenu'>";
			tbl = tbl + "<a href='index.aspx'>";
			tbl = tbl + "Home";
			tbl = tbl + "</a>";
			tbl = tbl + "</td>";
			tbl = tbl + "</tr>";
			tbl = tbl + "</table>";
			break;
		}
		case "MainMenu1":{
			mainmenu = "tblnav1";
			tbl = "<table id='" + mainmenu + "' cellspacing='0' cellpadding='0' border='0'>";
			tbl = tbl + "<tr>";
			tbl = tbl + "<td align='left' valign='bottom' class='topmenu'>";
			tbl = tbl + "<a href='services.aspx'>";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "Services";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "</a>";
			tbl = tbl + "</td>";
			tbl = tbl + "</tr>";
			tbl = tbl + "</table>";
			break;
		}
		case "MainMenu2":{
			mainmenu = "tblnav2";
			tbl = "<table id='" + mainmenu + "' cellspacing='0' cellpadding='0' border='0'>";
			tbl = tbl + "<tr>";
			tbl = tbl + "<td align='left' valign='bottom' class='topmenu'>";
			tbl = tbl + "<a href='news.aspx'>";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "News";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "</a>";
			tbl = tbl + "</td>";
			tbl = tbl + "</tr>";
			tbl = tbl + "</table>";
			break;
		}
		case "MainMenu3":{
			mainmenu = "tblnav3";
			tbl = "<table id='" + mainmenu + "' cellspacing='0' cellpadding='0' border='0'>";
			tbl = tbl + "<tr>";
			tbl = tbl + "<td align='left' valign='bottom' class='topmenu'>";
			tbl = tbl + "<a href='testimonials.aspx'>";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "Testimonials";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "</a>";
			tbl = tbl + "</td>";
			tbl = tbl + "</tr>";
			tbl = tbl + "</table>";
			break;
		}
		case "MainMenu4":{
			mainmenu = "tblnav4";
			tbl = "<table id='" + mainmenu + "' cellspacing='0' cellpadding='0' border='0'>";
			tbl = tbl + "<tr>";
			tbl = tbl + "<td align='left' valign='bottom' class='topmenu'>";
			tbl = tbl + "<a href='enquiry.aspx'>";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "Contact Us";
			tbl = tbl + "<img src='images/minitransparent.gif' border='0' width='" + padding + "' height='1'>";
			tbl = tbl + "</a>";
			tbl = tbl + "</td>";
			tbl = tbl + "</tr>";
			tbl = tbl + "</table>";
			break;
		}
	}
	dt.write(tbl);
}
function writefooter1(imode){
	if(imode=="0"){
		dt.write("<div class='news' align='center' style='padding:5px; font-size:10px' class='footer'>Website content is Copyright &copy; N G Weight Gaining Healthcare Pte Ltd.<br>All Rights Reserved. Website designed & developed by <a href='http://www.elveslab.com' target='_blank'>Elveslab</a></div>");
	}
}
function explode(imgurl){
	window.open("enlargeme.htm?e="+imgurl,"Big","location=0,resizable=1,width=30,height=30");
}
function gotolink(i){
	var arr = new Array("services3.html","services2.html","services1.html");
	document.location.href = arr[i];
}

