var pausecontent=new Array()
pausecontent[0]='<br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html\">Read more</A></p>'
pausecontent[1]='Shop-Ease becomes&nbsp; the registered vendor for India Explosives Limited ( Gomia - Jharkhand)<br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html\">Read more</A></p>'
pausecontent[2]='We are proud to announce to get the supermarket related orders for fixtures and shopping carts for military canteen depot<br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html\">Read more</A></p>'
pausecontent[3]='Shop-ease enterprises caters the needs of IT sector for internal material handling by providing smarter solutions with minimum investment .<br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html\">Read more</A></p>'
pausecontent[4]='<p class="na b"><A HREF="news.html#bagged-the-order-for-mahindra-retails-mom-and-me-shopping-carts">Bagged The Order For Mahindra Retails " Mom and Me" Shopping Carts </A></p><br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#bagged-the-order-for-mahindra-retails-mom-and-me-shopping-carts\">Read more</A></p>'
pausecontent[5]='<p class="na b"><A HREF="news.html#catering-varied-fields-successfully">Catering Varied Fields Successfully</A></p><br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#catering-varied-fields-successfully\">Read more</A></p>'
pausecontent[6]='<p class="na b"><A HREF="news.html#bagged-the-order-from-diesl">Bagged the order from DIESL </A></p>Bagged the supply order&nbsp; for India\'s Leading logistics service provider DIESL - A Tata Enterprise. for supply of shopping carts and material...<br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#bagged-the-order-from-diesl\">Read more</A></p>'
pausecontent[7]='Ongoing Tie up process with India\'s Leading Kidswear Chain Stores" Gini and Jony" for supplying attractive Kids shopping carts<br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#bagged-the-order-from-diesl\">Read more</A></p>'
pausecontent[8]='<p class="na b"><A HREF="news.html#tie-up-with-drive-india-enterprises-india">Tie Up With Drive India Enterprises India</A></p><br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#tie-up-with-drive-india-enterprises-india\">Read more</A></p>'
pausecontent[9]='<p class="na b"><A HREF="news.html#platform-trolleys">Platform Trolleys</A></p><br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#platform-trolleys\">Read more</A></p>'
pausecontent[10]='Completion of Ongoing turnkey&nbsp; project for " Sankalp" Super shop Chain of 10 stores in PCMC- Pune<br />&nbsp;<br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#platform-trolleys\">Read more</A></p>'
pausecontent[11]='<p class="na b"><A HREF="news.html#successful-order-from-oberoi-realty">Successful Order From Oberoi Realty</A></p><br><br><p CLASS=\"rd a txr fr f2 pa4 lh2 p21\"><A HREF=\"news.html#successful-order-from-oberoi-realty\">Read more</A></p>'

function pausescroller(content, divId, divClass, delay){
this.content=content
this.tickerid=divId
this.delay=delay 
this.mouseoverBol=0 
this.hiddendivpointer=1 
if(content[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>')
else
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[0]+'</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=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
}
