/* 
    Theme Name: Prathyusha Institute of Technology and Management ( PITAM ).
	Website Url: http://wwww.prathyusha.edu.in
	Description: iTech India Pvt Ltd website design - April 2010.
	Version: 1.0
	Author: MuthamilSelvan S (MSM38), iTech India Pvt Ltd
	Author URL: http://www.iTech-India.com/
	*/

// JavaScript Document

//Specify the marquee's width (in pixels)
var marqueewidth="280px"
//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):

var marqueecontent='<span ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="pdf/SchoolCampaignCompetition11.doc" target="_blank"  class=\"marquee\"><strong>"PROYOGA -PRATHYUSHA&acute;S YOUNG SCIENTIST TALENT HUNT -2011"</a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="http://www.prathyusha.edu.in/adm2012/"  class=\"marquee\"><strong>Online admission 2012</a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="pdf/Labview11.pdf"  target="_blank" class=\"marquee\"><strong>Dept of Electronics & Communication Engineering organizing A NATIONAL LEVEL WORKSHOP ON "APPLICATIONS OF SIGNAL PROCESSING USING LABVIEW"  on 28.11.11 to 02.12.11</strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="pdf/AEEICB-2012.pdf"  target="_blank" class=\"marquee\"><strong>Dept of Electronics & Communication Engineering organizing A "International Conference AEEICB 2012 on Advances Electrical & Electronics Information, Communication  and Bio-Informatics on 24<sup>th</sup> and 25<sup>th</sup> January 2012" - LAST DATE OF SUBMISSION OF PAPER EXTENDED TO 15<sup>th</sup>DECEMBER 2011</strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="pdf/AEEICB-2012.pdf"  target="_blank" class=\"marquee\"><strong>Dept of Electronics & Communication Engineering organizing A "International Conference AEEICB 2012 on Advances Electrical & Electronics Information, Communication  and Bio-Informatics on 24<sup>th</sup> and 25<sup>th</sup> January 2012" - LAST DATE OF SUBMISSION OF PAPER EXTENDED TO 15<sup>th</sup>DECEMBER 2011</strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="pdf/Conferencebrochure-11.pdf"  target="_blank" class=\"marquee\"><strong>Dept of Computer Science and Engineering organizing A NATIONAL CONFERENCE "Emerging Trends in Informatics and Computing" on 15<sup>th</sup> and 16</sup>th</sup> December 2011 </strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="#" class=\"marquee\"><strong>75 Students Placed in the "On Campus Interview" held on 12.09.2011 by "HCL Technologies" </strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="http://www.dominusmachinus.com" target="_blank" class=\"marquee\"><strong>"Dept of Mechanical Engineering organizing A National level Technical Symposium on 17.09.2011"</strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="#" class=\"marquee\"><strong>"68 Students Placed in the "On Campus Interview" held on 05.09.2011 by Infosys Technology Services"</strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="pdf/MANMEETBROCHURE2011.pdf" target="_blank"  class=\"marquee\"><strong>"Dept of Management Studies (MBA) organizing A National level Management Meet on 16.09.2011"</strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="#"  class=\"marquee\"><strong>PITAM INDUCTION DAY 2011 ON 24.08.2011</strong></a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="http://veeralive.com/pitxel/"  target="_blank" class=\"marquee\">Dept of CSE cordially invites you to the National Level Technical Symposium "PITXEL" on 30<sup>th</sup> August 2011</a></p ><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="http://xpyke2011.prathyusha.edu.in"  target="_blank" class=\"marquee\">"Dept of IT cordially invites you to the National Level Technical Symposium "XPYKE2011" on 19<sup>th</sup> August 2011</a></p ><p ><img src=\"images/Arrow.png" border=\"0\" >&nbsp;<a href="pdf/Studentsplacementphotos11.pdf"  target="_blank" class=\"marquee\">Our college Students placed on 2011</a></p><p ><img src=\"images/Arrow.png" border=\"0\" >&nbsp;<a href="pdf/lateralRegistration2011/LateralApplication2011.pdf"  target="_blank" class=\"marquee\">Downloadable Registration Form for Admission" To BE/BTech Degree Programmes By Lateral Entry 2011-12 PDF FORM</a> </p><p ><img src=\"images/Arrow.png" border=\"0\" >&nbsp;<a href="pdf/lateralRegistration2011/LateralApplication2011.doc"  target="_blank" class=\"marquee\">Downloadable Registration Form for Admission" To BE/BTech Degree Programmes By Lateral Entry 2011-12 WORD DOC</a> </p><p ><img src=\"images/Arrow.png" border=\"0\" valign=\"top\" >&nbsp;<a href="pdf/ANTIRAGGINGCOMMITTEE.pdf" target="_blank" class=\"marquee\">Anti Ragging Committee info - PITAM</a></p ></span>'


////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()",25)
}
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 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>')
}
}
}
