Presidents Letter '
//tickercontents[2]='
Click here to read the latest newsletter from our society President, Prof S Sellars. read more
ENT/SAAA Congress 2010
To view Presentations read more ' tickercontents[2]='
Latest News '
var tickerwidth="350px"
var tickerheight="200px"
var fontcss="font: 12px arial; color:#2A2929"
var tickdelay=4500 //delay btw messages
var highlightspeed=4 //2 pixels at a time.
var highlightcolor=""
var backdroptextcolor="#E1E1E1"
////Do not edit pass this line////////////////
document.write('')
document.write('Find out all the latest news within the SAHNOS Community by clicking here. read more
')
document.write('')
document.write(' ')
var currentmessage=0
var clipbottom=1
function changetickercontent(){
msgheight=clipbottom=crosstick.offsetHeight
crosstick.style.clip="rect("+msgheight+"px auto auto 0px)"
crosstickbg.innerHTML=tickercontents[currentmessage]
crosstick.innerHTML=tickercontents[currentmessage]
highlightmsg()
}
function highlightmsg(){
//var msgheight=crosstick.offsetHeight
if (clipbottom>0){
clipbottom-=highlightspeed
crosstick.style.clip="rect("+clipbottom+"px auto auto 0px)"
beginclip=setTimeout("highlightmsg()",20)
}
else{
clipbottom=msgheight
clearTimeout(beginclip)
if (currentmessage==tickercontents.length-1) currentmessage=0
else currentmessage++
setTimeout("changetickercontent()",tickdelay)
}
}
function start_ticking(){
crosstickbg=document.getElementById? document.getElementById("highlighterbg") : document.all.highlighterbg
crosstick=document.getElementById? document.getElementById("highlighter") : document.all.highlighter
crosstickParent=crosstick.parentNode? crosstick.parentNode : crosstick.parentElement
if (parseInt(crosstick.offsetHeight)>0)
crosstickParent.style.height=crosstick.offsetHeight+'px'
else
setTimeout("crosstickParent.style.height=crosstick.offsetHeight+'px'",100) //delay for Mozilla's sake
changetickercontent()
}
if (document.all || document.getElementById)
window.onload=start_ticking
|
||||||||||||||
|
||||||||||||||
|