// JavaScript Document

var glbMenuOffline=0;
var glbMenuOnline=0;
var glbMenuDigital=0;
var glbMenuCredit=0;
var glbMenuBio=0;
var glbMenuDms=0;
var glbMenueProcure=0;
var glbMenuWeb=0;

var glbMenuInnerTextOffline="";
var glbMenuInnerTextOnline="";
var glbMenuInnerTextDigital="";
var glbMenuInnerTextCredit="";
var glbMenuInnerTextBio="";
var glbMenuInnerTextDms="";
var glbMenuInnerTexteProcure="";
var glbMenuInnerTextWeb="";
function closeOtherMenu(tempSubSideMenu)
{

tempSubSideMenu.name=="offline"?(glbMenuOffline==0?glbMenuOffline=1:glbMenuOffline=0):document.getElementById("offline").innerHTML=glbMenuInnerTextOffline;
tempSubSideMenu.name=="online"?(glbMenuOnline==0?glbMenuOnline=1:glbMenuOnline=0):document.getElementById("online").innerHTML=glbMenuInnerTextOnline;
tempSubSideMenu.name=="digital"?(glbMenuDigital==0?glbMenuDigital=1:glbMenuDigital=0):document.getElementById("digital").innerHTML=glbMenuInnerTextDigital;
tempSubSideMenu.name=="credit"?(glbMenuCredit==0?glbMenuCredit=1:glbMenuCredit=0):document.getElementById("credit").innerHTML=glbMenuInnerTextCredit;
tempSubSideMenu.name=="bio"?(glbMenuBio==0?glbMenuBio=1:glbMenuBio=0):document.getElementById("bio").innerHTML=glbMenuInnerTextBio;
tempSubSideMenu.name=="dms"?(glbMenuDms==0?glbMenuDms=1:glbMenuDms=0):document.getElementById("dms").innerHTML=glbMenuInnerTextDms;
tempSubSideMenu.name=="eProcure"?(glbMenueProcure==0?glbMenueProcure=1:glbMenueProcure=0):document.getElementById("eProcure").innerHTML=glbMenuInnerTexteProcure;
tempSubSideMenu.name=="web"?(glbMenuWeb==0?glbMenuWeb=1:glbMenuWeb=0):document.getElementById("web").innerHTML=glbMenuInnerTextWeb;


/*
tempSubSideMenu.name=="offline"?tempSubSideMenu.name:glbMenuOffline=0;
tempSubSideMenu.name=="online"?tempSubSideMenu.name:glbMenuOnline=0;
tempSubSideMenu.name=="digital"?tempSubSideMenu.name:glbMenuDigital=0;
tempSubSideMenu.name=="credit"?tempSubSideMenu.name:glbMenuCredit=0;
tempSubSideMenu.name=="bio"?tempSubSideMenu.name:glbMenuBio=0;
tempSubSideMenu.name=="dms"?tempSubSideMenu.name:glbMenuDms=0;
tempSubSideMenu.name=="eProcure"?tempSubSideMenu.name:glbMenueProcure=0;
tempSubSideMenu.name=="web"?glbMenuWeb=1:glbMenuWeb=0;
*/
/*
tempSubSideMenu.name=="offline"?tempSubSideMenu.name:document.getElementById("offline").innerHTML=glbMenuInnerTextOffline;
tempSubSideMenu.name=="online"?tempSubSideMenu.name:document.getElementById("online").innerHTML=glbMenuInnerTextOnline;
tempSubSideMenu.name=="digital"?tempSubSideMenu.name:document.getElementById("digital").innerHTML=glbMenuInnerTextDigital;
tempSubSideMenu.name=="credit"?tempSubSideMenu.name:document.getElementById("credit").innerHTML=glbMenuInnerTextCredit;
tempSubSideMenu.name=="bio"?tempSubSideMenu.name:document.getElementById("bio").innerHTML=glbMenuInnerTextBio;
tempSubSideMenu.name=="dms"?tempSubSideMenu.name:document.getElementById("dms").innerHTML=glbMenuInnerTextDms;
tempSubSideMenu.name=="eProcure"?tempSubSideMenu.name:document.getElementById("eProcure").innerHTML=glbMenuInnerTexteProcure;
tempSubSideMenu.name=="web"?tempSubSideMenu.name:document.getElementById("web").innerHTML=glbMenuInnerTextWeb;glbMenuWeb=0;
*/
}
function sideSubMenu(tempSubSideMenu)
{
	if(tempSubSideMenu.name=="offline")
	{
		if(glbMenuOffline==0)
		{
			var tbl="";
			tbl=tbl + "<table  cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">Customized Software</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\">Income-Tax Based Softwares</td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">&nbsp;&nbsp;XPERTAX MAIN</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">&nbsp;&nbsp;XPERTAX ETDS</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">&nbsp;&nbsp;XPERTAX FBT</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "</table>";
			//glbMenuInnerTextOffline=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenuOffline=1;
		}
		else if(glbMenuOffline==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTextOffline;
			//glbMenuOffline=0;
		}		
	}
	
	else if(tempSubSideMenu.name=="online")
	{
		if(glbMenuOnline==0)
		{
			var tbl="";
			tbl=tbl + "<table cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.onlineitr.com';\" style=\"color:#993333; text-decoration: none;\">Return Forms</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">PKI Solutions</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "</table>";
			//glbMenuInnerTextOnline=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenuOnline=1;
		}
		else if(glbMenuOnline==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTextOnline;
			//glbMenuOnline=0;
		}		
	}
	else if(tempSubSideMenu.name=="digital")
	{
		if(glbMenuDigital==0)
		{
			var tbl="";
			tbl=tbl + "<table cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunesign.com/TarunEsign.htm';\" style=\"color:#993333; text-decoration: none;\">Digital Signature Certificate</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "</table>";

			//glbMenuInnerTextDigital=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenuDigital=1;
		}
		else if(glbMenuDigital==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTextDigital;
			//glbMenuDigital=0;
		}			
	}
	else if(tempSubSideMenu.name=="credit")
	{
		if(glbMenuCredit==0)
		{
			var tbl="";


			tbl=tbl + "<table cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunesign.com/creditRating/creditRating.htm';\" style=\"color:#993333; text-decoration: none;\">SSI/SME</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:alert('Comming Soon');\" style=\"color:#993333; text-decoration: none;\">Individual</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:alert('Comming Soon');\" style=\"color:#993333; text-decoration: none;\">Employee</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:alert('Comming Soon');\" style=\"color:#993333; text-decoration: none;\">Associate</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "</table>";
			//glbMenuInnerTextCredit=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenuCredit=1;
		}
		else if(glbMenuCredit==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTextCredit;
			//glbMenuCredit=0;
		}		
	}
	else if(tempSubSideMenu.name=="bio")
	{
		if(glbMenuBio==0)
		{
			var tbl="";
			tbl=tbl + "<table cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td  height=\"20\" nowrap=\"nowrap\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.mantratec.com';\" style=\"color:#993333; text-decoration: none;\">Fingerprint Recognition</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" nowrap=\"nowrap\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.mantratec.com';\" style=\"color:#993333; text-decoration: none;\">Face Recognition</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" nowrap=\"nowrap\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.mantratec.com';\" style=\"color:#993333; text-decoration: none;\">Keystroke Recognition</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" nowrap=\"nowrap\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.mantratec.com';\" style=\"color:#993333; text-decoration: none;\">Multimode-Biometrics<br>Recognition</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" nowrap=\"nowrap\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.mantratec.com';\" style=\"color:#993333; text-decoration: none;\">Signature Verification</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "</table>";
			//glbMenuInnerTextBio=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenuBio=1;
		}
		else if(glbMenuBio==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTextBio;
			//glbMenuBio=0;
		}
	}	
	else if(tempSubSideMenu.name=="dms")
	{
		if(glbMenuDms==0)
		{
			var tbl="";
			tbl=tbl + "<table cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">Corporate Solutions</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">Individual Solutions</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "</table>";
			//glbMenuInnerTextDms=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenuDms=1;
		}
		else if(glbMenuDms==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTextDms;
			//glbMenuDms=0;
		}
	}	
	else if(tempSubSideMenu.name=="eProcure")
	{
		if(glbMenueProcure==0)
		{
			var tbl="";
			tbl=tbl + "<table cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunesign.com/eProcurement/eProcurement.htm#eTenderingTG';\" style=\"color:#993333; text-decoration: none;\">e-Tendering</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunesign.com/eProcurement/eProcurement.htm#eAuctionsTG';\" style=\"color:#993333; text-decoration: none;\">e-Auctions</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunesign.com/eProcurement/eProcurement.htm#eCatalogueTG';\" style=\"color:#993333; text-decoration: none;\">eCatalogue/e-Buying</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunesign.com/eProcurement/eProcurement.htm#eRFXTG';\" style=\"color:#993333; text-decoration: none;\">e-RFX</a></td>";
			tbl=tbl + "</tr>";			
			tbl=tbl + "</table>";
			//glbMenuInnerTexteProcure=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenueProcure=1;
		}
		else if(glbMenueProcure==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTexteProcure;
			//glbMenueProcure=0;
		}
	}	
	else if(tempSubSideMenu.name=="web")
	{
		if(glbMenuWeb==0)
		{
			var tbl="";
			tbl=tbl + "<table cellpadding=\"1\" cellspacing=\"1\" width=\"95%\" id=\"menuTbl\" name=\"menuTbl\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"right\"  >";
			tbl=tbl + "<tr>";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">Website Development</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">Domain Registration</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "<tr >";
			tbl=tbl + "<td height=\"20\" onmouseover=\"javascript:this.background='images/button1.gif';\" onmouseout=\"javascript:this.background='';\"><a href=\"javascript:document.location='http://www.tarunsoftwaresltd.com/TarunSoftwaresLTD.htm';\" style=\"color:#993333; text-decoration: none;\">Web Hosting</a></td>";
			tbl=tbl + "</tr>";
			tbl=tbl + "</table>";
			//glbMenuInnerTextWeb=tempSubSideMenu.innerHTML;
			tempSubSideMenu.innerHTML+=tbl;
			//glbMenuWeb=1;
		}
		else if(glbMenuWeb==1)
		{
			tempSubSideMenu.innerHTML=glbMenuInnerTextWeb;
			//glbMenuWeb=0;
		}
	}	
	closeOtherMenu(tempSubSideMenu);
}

