// JavaScript Document

//Specify the marquee's width (in pixels)
var marqueewidth="130px"
//Specify the marquee's height
var marqueeheight="160px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
m1 = '<a href="testimonials.htm">&quot;Many companies have tried applications and business process outsourcing. We&acute;ve gone a step further and tried R&D outsourcing, with MGL as a strategic partner &quot; - <em>Irfan Ali</em>, President,  <strong>CommWorks/3Com</strong></a> <br><br>';

m2 = '<a href="testimonials.htm">&quot;MGL&acute;s technology agnostic approach to IT solutions and our shared values of operational excellence and customer service has helped build this relationship from the ground up.&quot;  - <em>Robert Reeg</em>, VP - System Development, <strong>Mastercard</strong></a> <br><br>';

m3 = '<a href="testimonials.htm">&quot;MGL has stepped to challenges and demonstrated the ability to respond to our customer needs and resolve issues in a timely manner&quot;  - <em>Kim Scott</em>, Director - <strong>Lucent Technologies</strong></a> <br><br>';

m4 = '<a href="testimonials.htm">&quot;MGL team has delighted us by setting up a complex system testing lab in India in a very short time, with minimum documentation and very little distraction for the US team&quot;  - <em>Scott Doremus</em>, Director - Wireline Product Testing Group, <strong>CommWorks/3Com Company</strong> </a> <br><br><br>';

m5 = '<a href="testimonials.htm">&quot;The Project started with very tight deadlines and in each case MGL was able to meet the aggressive delivery schedule with a high quality product&quot; - <em>Nanea Reeves</em>, <strong>VP Enabling Technologies, Jamdat Mobile Inc.</strong> (acquired since by Electronic Arts Inc.)</a> <br><br><br>';

m6 = '<a href="testimonials.htm">&quot;The MGL team has been prompt and effective in providing analysis, design and programming services both onsite and from India. They are very knowledgeable about our requirements and have responded quickly to our business needs.&quot; - <em>John Grgurina</em>, Jr, President, <strong>PacAdvantage</strong></a> <br><br><br>';

m7 = '<a href="testimonials.htm">&quot;Thank you for your extraordinary effort to make this delivery on time, and for your commitment to our mutual success.&quot; - <em>Asif Naseem</em>, CTO & COO, <strong>GoAhead Software Inc.</strong></a> <br><br><br>';

  var marqueecontent = m1+m2+m3+m4+m5+m6+m7;


////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div class="midtext" style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}
