function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
el.className = 'navblueon';
}
}
function SwitchMenu2(obj){
if(document.getElementById){
var el = document.getElementById(obj);
el.className = 'navblue';
}
}
function showSubNav(obj){
var subnav;
var thisobj;
if(document.getElementById){
thisobj = "document.getElementById('" + obj + "Menu')";
}
else if(document.all){
thisobj = "document.all['" + obj + "Menu']";
}
subnav = eval(thisobj);
if (subnav){
subnav.style.visibility = 'visible';	
}
}
function hideSubNav(obj){
var subnav;
var thisobj;
if(document.getElementById){
thisobj = "document.getElementById('" + obj + "Menu')";
}
else if(document.all){
thisobj = "document.all['" + obj + "Menu']";
}
subnav = eval(thisobj);
if (subnav){
subnav.style.visibility = 'hidden';	
}
}

var arSubNav = new Array();
var mywidth=5;
arSubNav[0] = new Array("td1",100,100);
arSubNav[1] = new Array("td2",165,175);
arSubNav[2] = new Array("td3",174,550,"Dynamic Web Designing","webdes.html","Software Development","softdev.html","Logo Designing","logodes.html","Networking","networking.html","Web Hosting","webhosting.html");
arSubNav[3] = new Array("td4",450,109,"Request for Proposal","reqproposals.html","Careers","careers.html","Samples","samples.html");
arSubNav[4] = new  Array("td5",50,195,"Introduction","aboutus.html","Quality Policy","qualpol.html","Contact Us","contactus.html");
arSubNav[5] = new Array("td6",91,109);
function writeSubNav(bgc, rbgc, textcolor, rtextcolor, linecolor, bordercolor){
if ((document.all) || (document.getElementById)){
var j = 0;
var subnav = "";
for (j = 0; j < arSubNav.length; j++){
subnav += "<div id=\"" + arSubNav[j][0] + "Menu\" style=\"z-index:999;position: absolute; filter: Alpha(Opacity=100); cursor: hand; left: " + arSubNav[j][1] + "; width: " + 
arSubNav[j][2] + ";  visibility: hidden\" onmouseover=\"showSubNav('" + arSubNav[j][0] + "'); SwitchMenu('" + arSubNav[j][0] + "');\" onmouseout=\"hideSubNav('" + arSubNav[j][0] + "'); SwitchMenu2('" + arSubNav[j][0] + "')\">";
subnav += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"40%\">";
if (j==3){ mywidth=353; }
if (j==4) {mywidth=100;}


subnav +="<td width=\"100%\" height=\"1\" bgcolor=\"295c90\"><img src=\"images/spacer.gif\" width=\"" + mywidth +"\" height=\"1\"></td>";
subnav += "<tr>";
for (i=3; i < arSubNav[j].length-1; i=i+2){
subnav +="<td width=\"100%\" height=\"1\" bgcolor=\"ffffff\"><img src=\"images/spacer.gif\" width=\"1\" height=\"1\"></td>";
subnav +="<td width=\"100%\" height=\"2\" bgcolor=\"f8f8f8\"><img src=\"images/spacer.gif\" width=\"1\" height=\"2\"></td>";
subnav += "<td  width=\"100%\" height=\"20\" align=\"center\" bgcolor=\"" + bgc + "\" class=\"+ subnavblueon + \" onClick=\"document.location.href='" + arSubNav[j][i+1] + "'\" onmouseover=\"this.bgColor='" + rbgc + "';this.style.color='" + rtextcolor+ "';\" onmouseout=\"this.bgColor='" + bgc + "';this.style.color='" + textcolor + "'\" style=\"color: " + textcolor + "\" nowrap><div style=\"padding-left:0px;\"><img src=\"/images/spacer.gif\" width=\"10\" height=\"1\"><img src=\"images/tiny_blarrow.gif\">&nbsp;&nbsp;" + arSubNav[j][i] + "</a></div></td>";
subnav +="<td width=\"100%\" height=\"5\" bgcolor=\"FFFFFF\"><img src=\"images/spacer.gif\" width=\"1\" height=\"5\"></td>";
}

subnav +="<td width=\"100%\" height=\"0\" bgcolor=\"FFFFFF\"><img src=\"images/spacer.gif\" width=\"0\" height=\"0\"></td>";
subnav += "</tr>";

subnav += "</table>";
subnav += "</div>";

}
document.write(subnav);
}
}