// JavaScript Document



/***********************************************
* AnyLink Vertical Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array( )
menu1[0]='<a href="http://www.javascriptkit.com">VINOY </a>'
menu1[1]='<a href="http://www.freewarejava.com">SANJIT</a>'
menu1[2]='<a href="http://codingforums.com">Coding Forums</a>'
menu1[3]='<a href="http://www.cssdrive.com">CSS Drive</a>'
menu1[4]='<a href="http://tools.dynamicdrive.com/imageoptimizer/">Image Optimizer</a>'


//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="history.html"> <p class="blue"> History </p></a>'
menu2[1]='<a href="corporateprofile.html"> <p class="blue"> Corporate Profile </p></a>'
menu2[2]='<a href="vision.html"> <p class="blue">Vision</p></a>'
menu2[3]='<a href="managementteam.html"> <p class="blue">Management Team</p></a>'
menu2[4]='<a href="boardofdirector.html"> <p class="blue">Board of Directors</p></a>'
//menu2[5]='<a href="infrastructure.html"> <p class="blue">Infrastructure </p></a>'
menu2[6]='<a href="achievements.html"> <p class="blue">Achievements </p></a>'
//menu2[7]='<a href="differentiators.html"> <p class="blue">Differentiators </p></a>'
//menu2[8]='<a href="bluestargroup.html"> <p class="blue">Blue Star Group </p></a>'
menu2[7]='<a href="testimonials.html"><p class="blue">Testimonials </p></a>'
menu2[9]='<a href="engagementmodels.html"> <p class="blue">Engagement Models</p> </a>'

var menu3=new Array()
menu3[0]='<a href="careers.html"> <p class="blue">Job Opportunities </p></a>'
menu3[1]='<a href="employeespeak.html"> <p class="blue"> Employee Speak</p></a>'
menu3[2]='<a href="funnfrolic.html"> <p class="blue"> Fun-N-Frolic </p></a>'
menu3[3]='<a href="employeecare.html"> <p class="blue"> Employee Care Services</p></a>'
menu3[4]='<a href="learningdevelopment.html"> <p class="blue">Learning & Development </p></a>'
//menu3[5]='<a href="touroffun.html"> <p class="blue"> Fun images </p></a>'
//menu3[6]='<a href="peopleatwork.html"> <p class="blue"> People at Work </p></a>'
menu3[7]='<a href="faqs.html"> <p class="blue">FAQs </p></a>'
menu3[8]='<a href="benefits.html"> <p class="blue">Benefits </p></a>'

var menu4=new Array()
menu4[0]='<a href="investorupdates.html"><p class="blue">Investor Updates</p></a>'
menu4[1]='<a href="investorcontacts.html"> <p class="blue">Investor Contacts</p></a>'
menu4[2]='<a href="financialresults.html"><p class="blue">Financial Results </p></a>'
menu4[4]='<a href="shares.html"><p class="blue">Shares </p></a>'
menu4[3]='<a href="corporategovernace.html"><p class="blue">Corporate Governance </p></a>'
menu4[5]='<a href="chairmanspeech.html"><p class="blue">Chairman\'s Speech </p></a>'
//menu4[6]='<a href="corporategovernace.html"><p class="blue">Corporate Governance </p></a>'

var menu5=new Array()
menu5[0]='<a href="pressrelease.html"><p class="blue">Press Releases </p></a>'
menu5[1]='<a href="newsclippings.html "><p class="blue">News Clippings </p></a>'
menu5[2]='<a href="mediakit.html"><p class="blue">Media Kit </p></a>'
menu5[3]='<a href="events.html"><p class="blue">Events </p></a>'
//menu5[4]='<a href="presscontacts.html"><p class="blue">Press Contacts </p></a>'
//menu5[3]='<a href="emaialerts.html"><p class="blue">e-mail Alerts </p></a>'

var menu6=new Array()
menu6[0]='<a href="partnerships.html"><p class="blue">Overview</p></a>'
menu6[1]='<a href="alliances.html"><p class="blue">Alliances </p></a>'
menu6[2]='<a href="joinallianceprogram.html"><p class="blue"> Join Alliance  Program </p></a>'

var menu7=new Array()
menu7[0]='<a href="casestudies.html"><p class="blue">Case Studies </p></a>'
menu7[1]='<a href="whitepapers.html"><p class="blue">White Papers</p></a>'
menu7[2]='<a href="brochures.html"><p class="blue">Brochures</p></a>'
menu7[3]='<a href="ipprotection.html"><p class="blue">IP Protection</p></a>'
menu7[4]='<a href="techbytes.html"><p class="blue">TechBytes</p></a>'

var menu8=new Array()
menu8[0]='<a href="enterpriseservices.html"><p class="blue">Overview</p></a>'
menu8[1]='<a href="microsoftsolutions.html"><p class="blue">Microsoft Solutions</p></a>'
menu8[2]='<a href="oracleebusiness.html"><p class="blue">Oracle eBusiness</p></a>'
menu8[3]='<a href="businessintelligence.html"><p class="blue">Business Intelligence</p></a>'
menu8[4]='<a href="consulting.html"><p class="blue">Consulting</p></a>'
menu8[5]='<a href="adm-services.html"><p class="blue">ADM Services</p></a>'
menu8[6]='<a href="contentmanagmentsolutions.html"><p class="blue">Content Management</p></a>'

var menu9=new Array()
menu9[0]='<a href="productservices.html"><p class="blue">Overview </p></a>'
menu9[1]='<a href="isvservices.html"><p class="blue">ISV Services </p></a>'
menu9[2]='<a href="productengineering.html "><p class="blue">Product Engineering</p></a>'
menu9[3]='<a href="healthsciences.html"><p class="blue">Health Sciences</p></a>'
menu9[4]='<a href="telecom.html"><p class="blue">Telecom</p></a>'
menu9[5]='<a href="competencies.html"><p class="blue">Competency Centers</p></a>'

var menu10=new Array()
menu10[0]='<a href="travelhospitality.html"><p class="blue">Overview</p></a>'
//menu10[1]='<a href="mobility.html"><p class="blue">Mobility</p></a>'
menu10[2]='<a href="distribution-technology-services.html"><p class="blue">Distribution Technology</p></a>'
menu10[3]='<a href="travel-isv-services.html"><p class="blue">Travel ISV Services</p></a>'
//menu10[4]='<a href="mobility.html"><p class="blue">Mobility</p></a>'
//menu10[3]='<a href="frameworks.html"><p class="blue">Frameworks</p></a>'

var menu11=new Array()
//menu11[0]='<a href="functionalTesting.html"><p class="blue">Functional Testing</p></a>'
//menu11[1]='<a href="performanceBenchmarking.html"><p class="blue">Performance</p></a>'
menu11[0]='<a href="independenttestingservices.html"><p class="blue">Overview</p></a>'
menu11[2]='<a href="testingservices.html"><p class="blue">Testing Services </p></a>'
menu11[3]='<a href="processimprovement.html"><p class="blue">Process Improvement</p></a>'

				
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var horizontaloffset=30 //horizontal offset of menu from default location. (0-5 is a good value)

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all
if(ns6){
	document.write('<div id="dropmenudiv2" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
	}
if (ie4&&!ns6){
document.write('<div id="dropmenudiv" style="visibility:hidden;width: 160px" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')
}

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x-obj.offsetWidth < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move menu up?
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either? (position at top of viewable window then)
edgeoffset=dropmenuobj.y
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6){
dropmenuobj.innerHTML=what.join("")}
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
if(ns6){
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv2") : dropmenudiv
}else if(ie4&&!ns6){
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
}
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
	
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

/***********************************************
* AnyLink Vertical Menu-  END
***********************************************/

