var pausecontent=new Array()





pausecontent[0]='<span class="highlights"><b><u>Emergency Services</u></b><br>Emergency Visa / Emergency passport, Attestation, Transportation of ashes, renewal of passport in case of loss and damage of passport and the life certificates will be handled by the High Commission/ Consulate General of India directly. Emergency services are offered by Indian High Commission Ottawa, Consulate General of India Toronto & Consulate General of Vancouver. Applicants are requested to check their respective website for emergency service hours. Applicants are informed that they will be required to carry documents to provide reason of emergency at time of emergency service. The emergency service visa fee is posted on IHC Ottawa, CGI Toronto & CGI Vancouver&#8217;s</span><br><span class="scrollertext"></span><br/><br/>'

pausecontent[1]='<span class="highlights">With effect from 6th December 2010, our helpline number has changed to <b>Toll free number 18775998071,</b> reachable from any province in Canada.</span><br><span class="scrollertext"></span><br/><br/>'
pausecontent[2]='<span class="highlights">Calgary center shifting to new location<br/><br/>Our office in Calgary will close at 2:30 pm on Saturday i.e.22<sup>nd</sup> Jan 2011 instead of 7 pm, as we are shifting to new location, we regret for the inconvenience. Applicants who wish to collect their passports & submit their surrender certificate applications can do so between 8:00am -2:30 pm on 22nd Jan 2011. We will be observing regular office hours from our new office at Unit 927, 5075 Falcon Ridge Blvd NE, Calgary, Alberta T3J 3K9 from Monday i.e. 24<sup>th</sup> Jan 2011.</span><br><span class="scrollertext"></span><br/><br/>'
pausecontent[2]='<span class="highlights">OCI - Overseas Citizenship of India. <br/><br/>Effective 9<sup>th</sup> May 2011 applicants applying for OCI (Overseas Citizenship of India) & OCI miscellaneous services will have to pay their OCI fee charges in Canadian dollars; applicants are suggested to visit <a href="http://in.vfsglobal.ca/oci.aspx">http://in.vfsglobal.ca/oci.aspx</a> for the details. </span><br><span class="scrollertext"></span><br/><br/>'
pausecontent[3]='<span class="highlights">Potential Canada Post Service Disruption<br><br>Effective 15<sup>th</sup> June 2011 there is disruption in postal service impacting mail delivery. Applicants using Canada Post might face delays, applicants using Canada Post return envelopes are requested to arrange alternate pick up courier or they can collect their shipments in person.<span class="scrollertext"></span><br/><br/>'
pausecontent[4]='<span class="highlights">Photograph facility<br><br>Applicants applying for visa and other consular services at Brampton & Surrey centers can now get their photograph clicked inside the application center at automated photo booth.<br/><br/><b>Helpline number</b><br/><br/><b>Helpline no 18775998071 will be unavailable on 4th June 2011 between 5:30 PM - 6 PM EST i.e. 2:30 PM - 3 PM Pacific Time.</b> <span class="scrollertext"></span><br/><br/>'


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()}, 400)
}
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
}
