//Start of the Script to make DYNAMIC HEADING
//with our client lists, made by SMS June14, 2004

/* -- TABLE NUMBER ONE -- */
var myImg = new Array("'logo.gif'","'comnep.gif'","'nav.gif'");
with (document)
{
	writeln("<table width='780' border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='orange' height='46'>");
	writeln("<tr>");
	writeln("<td width=75 height=46><img alt='ComputerNepal Logo' src="+myImg[0]+"></td>");
	writeln("<td width='344' height='46'><img border='0' src="+myImg[1]+"></td>");
	writeln("<td width='351' height='46'>");
	writeln("<IMG SRC="+myImg[2]+" WIDTH=163 HEIGHT=59 BORDER=0 ALIGN='right' USEMAP='#nav1_Map'>");
	writeln("<MAP NAME='nav1_Map'>");
	writeln("<AREA SHAPE='rect' ALT='Home' COORDS='3, 4, 50, 53' HREF='index.html'>");
	writeln("<AREA SHAPE='rect' ALT='Ourservices' COORDS='110, 4, 157, 51' HREF='ourservices.html'>");
	writeln("<AREA SHAPE='rect' ALT='Teamworking' COORDS='56, 4, 105, 53' HREF='teamworking.html'>");
	writeln("</MAP>");
	write("</td>");
	write("<td align='right' bgcolor='white'><embed src='fclock.swf' height='64' width='64'><noembed>Flash not supported</noembed></td>");
	write("</tr></table>");
}

/*-- BEGIN OF MENU BAR -- */

var imgbg = "'images/back.gif'";
var mylink = new Array("aboutus.htm","download.htm","mysuperlink.htm","tipsofweek1.htm","cn_na.htm","cn_na.htm");
var mymsg = new Array("About Us","Downloads","SuperLinks","Tips of the Week","Problem Solving","Turorials");

with (document)
{
	write("<table width='780' height='22' border='1' class='tbl_menu' style='border-collapse: collapse;' bordercolor='#BBBBBB' cellpadding='0' cellspacing='0'>");
	write("<tr align='center'>");
	write("<td class='tbl_menu' background="+imgbg+" width='24'>&nbsp;</td>");
	for(var x=0;x<6;x++){
		write("<td class='tbl_menu' ");
		write("onmouseout='mouseOff(this);' ");
		//write("onmouseover='mouseOn(this, &qout;"+mymsg[x]+"&quot,1); return true;'");
		write("	background="+imgbg+">");
		write("<a class='ahead' href='"+mylink[x]+"'>"+mymsg[x]+"</a>");
		write("</td>");
	}
	var mon,now,time;
	mon=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
	now=new Date();
	time="<nobr>"+" "+mon[now.getMonth()]+" "+now.getDate()+"</nobr>";
	write("<td class='tbl_menu' background="+imgbg+"><b>"+time+"</b></td>");
	write("<td width='4%' class='tbl_menu' background="+imgbg+">&nbsp;");
	write("</td></tr></table>");
}
// End of the script
