//Specify the marquee's width (in pixels)
var marqueewidth="200px"
//Specify the marquee's height
var marqueeheight="250px"
//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='<font face="Arial" color="#002D55" size="2"><b><p style="margin-left: 7px"><a target="_blank" href="http://www.kfupm.edu.sa/ee/eenews.htm#Deriche_ResearchAward"><font color="#002D55">Dr. Deriche won KFUPM Best Research Award 2008-09</a><p>&nbsp</p><p style="margin-left: 7px"><a target="_blank" href="http://www.kfupm.edu.sa/ae/new.htm"><font color="#002D55">News at Aerospace Engineering</a><p>&nbsp</p><p style="margin-left: 7px"><a target="_blank" href="http://www.kfupm.edu.sa/che/news.htm"><font color="#002D55">News at Chemical Engineering</a><p>&nbsp</p><p style="margin-left: 7px"><a target="_blank" href="openings.htm"><font color="#002D55">Faculty Positions Available</a><p>&nbsp</p><p style="margin-left: 7px"><p style="margin-left: 7px"><a target="_blank" href="http://www.kfupm.edu.sa/ce/news.htm"><font color="002D55">News at Civil Engineering</a><p>&nbsp</p><p style="margin-left: 7px"><a target="_blank" href="http://www.kfupm.edu.sa/ee/eenews.htm"><font color="002D55">News at Electrical Engineering</a><p>&nbsp</p><p style="margin-left: 7px"><a target="_blank" href="http://www.kfupm.edu.sa/me/news.htm"><font color="002D55">News at Mechanical Engineering</a></font>'

//var marqueecontent='<p style="margin-left: 5px"><font color="#002D55"><WORKSHOP ON: Measuring Research Performance <br>The Deanship of Scientific Research is pleased to announce a workshop on Measuring Research Performance to be held on March 8 and 9, 2009.</a>'

//var marqueecontent='<p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"> DSR extends a warm welcome to two of its new staff members; Mr. Eltayeb and Mr. Abdul-Rahman.</a> </font></p><p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"> Deadline for receiving conference attendance requests for the academic year 2008-2009 is Wednesday, May 27, 2009 ( 3 Jamada-2, 1430 H).</a> </font></p>  <p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none" target="_self" href="http://www.kfupm.edu.sa/dsr/events-reg/rpm/e-mail.html"><b>	WORKSHOP ON:&nbsp; Measuring Research Performance</b> <br> The Deanship of 		Scientific Research is pleased to announce a workshop on Measuring 		Research Performance to be held on March 8 and 9, 2009.</a></font></p>'
//var marqueecontent='<p align = "justify"><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"> DSR extends a warm welcome to two of its new staff members; Mr. Eltayeb and Mr. Abdul-Rahman.</a> </font></p><p align = "justify"><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"> Deadline for receiving conference attendance requests for the academic year 2008-2009 is Wednesday, May 27, 2009 ( 3 Jamada-2, 1430 H).</a> </font></p>  <p align = "justify"><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none" target="_self" href="http://www.kfupm.edu.sa/dsr/events-reg/rpm/e-mail.html"><b>	WORKSHOP ON:&nbsp; Measuring Research Performance</b> <br> The Deanship of 		Scientific Research is pleased to announce a workshop on Measuring 		Research Performance to be held on March 8 and 9, 2009.</a></font></p>'
		

//<p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"> DSR extends a warm welcome to two of its new staff members; Mr. Eltayeb and Mr. Abdul-Rahman.</a> </font></p>
var p1= '<p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"> Deadline for receiving conference attendance requests for the academic year 2008-2009 is Wednesday, May 27, 2009 ( 3 Jamada-2, 1430 H).</a> </font></p>'

var workshop = '<br><font face="Arial Unicode MS" size = "2"><center><b><u>Workshops</u></b></center></font><p align = "left"><font face="Arial Unicode MS"><a href="conference_nov09.htm" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none" target="_self" href=""><b>Research Team Leadership - Developing Capacity for Research Team Leadership</b>, to be held on November 15 and 16, 2009.</a></font></p><br>'

var awards= '<p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><b><center><u>Winners of the 2008-2009 Excellence in Research Award </b></u><br><br></a><a href = "http://faculty.kfupm.edu.sa/CHEM/belali/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/bassam.JPG" width="40" height="43" align="left"><b>Dr. Bassam El-Ali</b>  Chemistry Department<br><br><br> <b></a><a href = "http://faculty.kfupm.edu.sa/ICS/salah/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/salah.bmp" width="40" height="43" align="left">Dr. Khaled Salah</b>  Information & Computer Science Department <br> <br><b></a><a href = "http://faculty.kfupm.edu.sa/phys/kuhaili/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/kuhail.JPG" width="40" height="43" align="left">Dr. Mohammad Al-Kuhaili</b> <br>Physics Department <br><br><br><b></a><a href = "http://faculty.kfupm.edu.sa/ee/mderiche/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/deriche.bmp" width="40" height="43" align="left">Dr. Mohamed Deriche</b>  Electrical Engineering Department <br><br><b></a><a href = "http://faculty.kfupm.edu.sa/math/messaoud/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/messaoudi1.JPG" width="40" height="43" align="left"> Dr. Salim Messaoudi </b>Maths Department <br><br><br><b></a><a href = "http://www.kfupm.edu.sa/me/faculty/shuja.htm" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/DrShuja2.JPG" width="40" height="40" align="left">Dr. Shahzada Shuja</b>  Mechanical Engineering Department </a> </font></p><br>'

var mawards= '<p><br><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><b><center><u>Winners of the 2008-2009 Al-Marrai Excellence in Research Award </b></u><br><br><b></a><a href = "http://faculty.kfupm.edu.sa/ee/naffouri" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/Naffouri.bmp" width="40" height="43" align="left"> Dr. tareq Al-Naffouri </b>Electrical Engineering Department <br><br><b></a><a href = "http://faculty.kfupm.edu.sa/CHEM/shaikh/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/ashraf.bmp" width="40" height="40" align="left">Dr. Shaikh Asrof Ali </b> Chemistry Department </a> </font></p>'

var dawards= '<p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><b><center><u>Winners of the 2007-2008 Distinguished University Professor Award  </b></u><br><br><b></a><a href = "http://faculty.kfupm.edu.sa/EE/mtaher" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/maati.bmp" width="40" height="43" align="left">Dr. Muhammed AbuElMaatti</b><br>Electrical Engineering Department </a><br><br><b></a><a href = "http://www.kfupm.edu.sa/me/faculty/yilbas.htm" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/DrYilbas.jpg" width="40" height="40" align="left"><font face="Arial Unicode MS">Dr. Bekir Sami Yilbas </b> <br>Mechanical Engineering Department </a> </font></font></p>'

var dawards2= '<p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><b><center><u>Winners of the 2008-2009 Distinguished University Professor Award  </b></u><br><br><b></a><a href = "http://www.kfupm.edu.sa/me/faculty/zubair.htm" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/DrZubair.jpg" width="40" height="43" align="left"> Dr. Syed M. Zubair</b><br>Mechanichal Engineering Department  </a> </font></p>'

var projectaward= '<p><br><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><b><center><u>Winners of the 2008-2009 Best Project Award  </b></u><br><b></a><br><a href = "http://faculty.kfupm.edu.sa/phys/magondal/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/gondal.jpg" width="40" height="43" align="left"> Dr. Mohammad Ashraf Gondal  <br></b>Physics Department </a><br><a href = "http://faculty.kfupm.edu.sa/math/messaoud/" id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><img border="1" src="images/messaoudi1.JPG" width="40" height="43" align="left"> <b>Dr. Salim Messaoudi <br></b>Maths Department </a> </font></p>'

var rdeadlines= '<p><font face="Arial Unicode MS"><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"><b><center><u> Research Proposal Submission Deadlines</b></u></center><b></a><a id="divNewsObjectlink" style="FONT-SIZE: 12px; COLOR: #000000; TEXT-DECORATION: none"></b><br><p dir="ltr" align="justify">KFUPM Internal Proposals, Sabbatical Bookwriting, Arabic Book Translation and Social Grant Proposals <b>(Saturday, October 10 2009 - Shawwal 21,1430 H )</b></p>   <br> <p dir="ltr" align="justify">Junior faculty Research Grant Proposal <b>(Saturday, October 10, 2009 - Shawwal 21,1430 H )</b></p> <br>  <p dir="ltr" align="justify">SABIC/Fast Track Proposals&nbsp; <b>(Saturday, October 17, 2009 - Shawwal 28,1430 H )</b></p></a> </font></p><br>'


var marqueecontent = workshop+dawards2+dawards+awards+projectaward+mawards

		
		
////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()",20)
}
// 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>')
}
}
}

