var pausecontent=new Array()

pausecontent[0]='<span class="highlights">Testimonial 1:</span><br /><span class="scrollertext">I and my family are extremely grateful for your timely intervention and help in getting the Visas on time.<br/>Now we can travel with peace of mind, Thanks mainly to you.<br/>Much appreciate your customer friendliness and focus to help a genuine traveler in need.<br/>If there is any survey conducted by VFS Global or Emirates Airlines on DPVCs customer support facility, please do let me know as I wish to leave a few remarks<br/><b>Warm Regards Nagesh.<br/>Nagesh Mallikarjun <br/>Wipro Technologies <br/>Zurich Financial Services</b><br/><br/></span>'
pausecontent[1]='<span class="highlights">Testimonial 2:</span><br /><span class="scrollertext">"<em>I have travelled around the world for fifty years, this is one of the best visa centre I have visited.</em<br/>Mr.Akhtar Ali (Arjuna Awardees - Former National & Indian Davis Cup Coach).<br/></span>'
pausecontent[2]='<span class="highlights">Testimonial 3:</span><br /><span class="scrollertext">I wish to convey my appreciation for the services provided by DVAC. My Organization uses DVAC services for our Corporate and individual requirements and found the services excellent.DVAC handles our visa cases competently with a professional approach. They are efficient and of quality service excellent with prompt and timely responses including personal attention by Mr Abid himself many a times.I am happy to recommend DVAC to our Corporate Customer, individual travelling and all those who wish to visit Dubai for availing their services. I am confident that the aspirations of prospective applicants shall be met successfully through efficient and high quality customer service from DVAC.I sincerely Wish them the very best in all their current and future endeavors.<br/><b>Sincerely<br/>Navzar Bengalli<br/>Regional Manager (AP) <br/>Mercury Travels Ltd <br/>Secunderabad</b><br/><br/></span>'
pausecontent[3]='<span class="highlights">Testimonial 4:</span><br /><span class="scrollertext">May be this is the right opportunity for me to THANK YOU so much for the  outstanding services  you and your team  have delivered over the last 5 years in obtaining visas for our  clients and never letting us down on not even a single occasion. <br/>In addition to great service,  I&#39;ve noticed  that each one of your team member is dedicated towards their responsibilities and  go out of the way  to see that the job is done for the client exceeding the expectations while enabling them to  return POSITIVELY  on their next  travel making it "if its travel to Dubai, Visa through DVPC only". <br/>Keep up the good work and all the very best to you and your team to see the flag flies high always!!!.<br/><b>With Warm Regards,<br/>Dr.RANGANATH  K. B.<br/>General Manager<br/>Travelexpress Limited, <br/>Hyderabad </b><br/><br/></span>'
//pausecontent[4]='<span class="highlights">Testimonial 5:</span><br />I am pleased with DVPC services all the time, the time sense, professionalism is simply impressive.<br/><br/>Thanks to the VFS for facilitating such a professional services and thanks to Emirates for DVPC thought.<br/><br/><b>Janardhan Sambaraju<br/>Asst Manager <br/>Apollo Health Street Ltd <br/>Apollo Hospitals Group<br/>Hyderabad</b></span>'


function pausescroller(content, divId, divClass, delay){
this.content=content 
this.tickerid=divId 
this.delay=delay 
this.mouseoverBol=0 
this.hiddendivpointer=1 
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) 
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) 
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) 
setTimeout(function(){scrollerinstance.initialize()}, 500)
}
pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) 
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}

pausescroller.prototype.animateup=function(){
var scrollerinstance=this
if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){
this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px"
this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px"
setTimeout(function(){scrollerinstance.animateup()}, 50)
}
else{
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv=this.hiddendiv
this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.top=this.visibledivtop+"px"
div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px"
}

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) 
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ 
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) 
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}