// JavaScript Document
var pausecontent=new Array()
pausecontent[0]='<h2>BBM</h2>A minimum pass of 35% in the PUC or its equivalent level, an entrance test is conducted<div style="text-align:right"><a href="programs-management-bbm.html" title="Acharya&rsquo;s - BBM Program" class="black_link">ReadMore...</a></div>'
pausecontent[1]='<h2>BCA</h2>Any student who has passed JODC or Diploma in Engg (of three year duration of Govt of Karnataka)<div style="text-align:right"><a href="programs-management-bca.html" title="Acharya&rsquo;s - BCA Program" class="black_link">ReadMore...</a></div>'
pausecontent[2]='<h2>B.Com</h2>A minimum pass of 35% in the PUC or its equivalent level, an entrance test is conducted<div style="text-align:right"><a href="programs-management-BCom.html" title="Acharya&rsquo;s - BCOM Program" class="black_link">ReadMore...</a></div>'
pausecontent[3]='<h2>MBA</h2>Case Study, Seminars, Live projects, Workshops, Industrial visits in addition to regular class<div style="text-align:right"><a href="programs-management-mba.html" title="Acharya&rsquo;s - MBA Program" class="black_link">ReadMore...</a></div>'
pausecontent[4]='<h2>MBA+PGDM</h2>To add value to the learning process of the students of ALRI, a one year PGDM course<div style="text-align:right"><a href="programs-management-mba+pgdm.html" title="Acharya&rsquo;s - MBA + PGDM Program" class="black_link">ReadMore...</a></div>' 
pausecontent[5]='<h2>MBA-IIP</h2>Graduates in any discipline from any recognized University with an aggregate 40% marks<div style="text-align:right"><a href="programs-management-mba-IIP.html" title="Acharya&rsquo;s - MBA - IIP Program" class="black_link">ReadMore...</a></div>'
pausecontent[6]='<h2>PGDM</h2>PGDM is equivalent to MBA, Recognized by AICTE, Ministry of HRD, Govt of India, New Delhi<div style="text-align:right"><a href="programs-management-pgdm.html" title="Acharya&rsquo;s - PGDM Program" class="black_link">ReadMore...</a></div>'
pausecontent[7]='<h2>MHA</h2>Provide scientific management approach and adequate managerial tools to improve<div style="text-align:right"><a href="Program-Management-MHA.html" title="Acharya&rsquo;s - MHA Program" class="black_link">ReadMore...</a></div>'


var pausecontent1=new Array()
pausecontent1[0]='<h2>B.Sc. Bio-Technology/ Genetics/ Microbiology</h2>Pass in 10+2 / equivalent with Chemistry & Biology<div style="text-align:right"><a href="LifeScience-BSc.html" title="Acharya&rsquo;s - BSC LifeScience Program" class="black_link">ReadMore...</a></div>'
pausecontent1[1]='<h2>M.Sc. Bio-Technology</h2>Degree with 50% aggregate marks(45 % for Sc and ST) in all the three optional subjects<div style="text-align:right"><a href="LifeScience-MScBioTechnology.html" title="Acharya&rsquo;s - MSC BioTechnology Program" class="black_link">ReadMore...</a></div> '
pausecontent1[2]='<h2>M.Sc.App.Genetics</h2>Graduate in science with minimum of 50% marks in aggregate of all the optional subjects<div style="text-align:right"><a href="LifeScience-MScAppGenetics.html" title="Acharya&rsquo;s - MSC Applied Genitics Program" class="black_link">ReadMore...</a></div>'


var pausecontent2=new Array()
pausecontent2[0]='<h2>BPT</h2>Pass in 10+2 with 45% aggregate in Physics, Chemistry and Biology. 40% aggregate<div style="text-align:right"><a href="HealthScience-BPT.html" title="Acharya&rsquo;s - BPT HealthScience Program" class="black_link">ReadMore...</a></div>'
pausecontent2[1]='<h2>MPT</h2>BPT / B.Sc. Physiotherapy with an aggregate of 50%<div style="text-align:right"><a href="HealthScience-MPT.html" title="Acharya&rsquo;s - MPT HealthScience Program" class="black_link">ReadMore...</a></div>'
pausecontent2[2]='<h2>B.Sc.MLT</h2>Pass in 10+2 with Physics,Chemistry and Biology as optional subjects.Diploma in MLT<div style="text-align:right"><a href="HealthScience-B.Sc.MLT.html" title="Acharya&rsquo;s - BSC MLT HealthScience Program" class="black_link">ReadMore...</a></div>'
pausecontent2[3]='<h2>B.Sc.MIT</h2>Pass in 10+2 with Physics,Chemistry and Biology as optional subjects.Diploma in MLT<div style="text-align:right"><a href="#" title="Acharya&rsquo;s - BSC MIT Program" class="black_link">ReadMore...</a></div>'
pausecontent2[4]='<h2>B.Sc.Nursing</h2>Pass in 10+2 with English and Physics,Chemsitry and Biology with an aggregate of 45% in PCB. <div style="text-align:right"><a href="HealthScience-B.Sc.Nursing.html" title="Acharya&rsquo;s - BSC Nursing Program" class="black_link">ReadMore...</a></div>'
pausecontent2[5]='<h2>M.Sc.Nursing</h2>Minimum of one year experience after obtaining B.Sc. Nursing in a hospital or in a nursing<div style="text-align:right"><a href="HealthScience-M.Sc.Nursing.html" title="Acharya&rsquo;s - MSC Nursing Program" class="black_link">ReadMore...</a></div>'
pausecontent2[6]='<h2>GNM</h2>Pass in PUC / PDC / XII / 10+2 / JOC or equivalent in any group.<div style="text-align:right"><a href="HealthScience-GNM.html" title="Acharya&rsquo;s - GNM Health Science Program" class="black_link">ReadMore...</a></div>'
pausecontent2[7]='<h2>MHA</h2>Graduates from any discipline from any recognized University  with an aggregate of 50%.<div style="text-align:right"><a href="HealthScience-MHA.html" title="Acharya&rsquo;s - MHA HealthScience Program" class="black_link">ReadMore...</a></div>'



/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
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 class="innerDiv" style="position: absolute; width: 100%; visibility: hidden" id="'+divId+'3">'+content[2]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

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))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2)
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) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}


// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

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)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

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"
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
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){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingTop"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top")
else
return 0
}
