// JAVASCRIPT FACIL  ··· http://www.javascriptfacil.com


function movstar(a,time){
movx=setInterval("mov("+a+")",time)
}
function movover(){
clearInterval(movx)
}
function mov(a){
scrollx=Subnoticia.document.body.scrollLeft
scrolly=Subnoticia.document.body.scrollTop
scrolly=scrolly+a
Subnoticia.window.scroll(scrollx,scrolly)
}
function o_down(theobject){
object=theobject
while(object.filters.alpha.opacity>50){
object.filters.alpha.opacity+=-10}
}
function o_up(theobject){
object=theobject
while(object.filters.alpha.opacity<100){
object.filters.alpha.opacity+=10}
}
function wback(){
if(Subnoticia.history.length==0){window.history.back()}
else{Subnoticia.history.back()}
}

// 2

function movstar2(a,time){
movx2=setInterval("mov2("+a+")",time)
}
function movover2(){
clearInterval(movx2)
}
function mov2(a){
scrollx2=Subnoticia2.document.body.scrollLeft
scrolly2=Subnoticia2.document.body.scrollTop
scrolly2=scrolly2+a
Subnoticia2.window.scroll(scrollx2,scrolly2)
}
function o_down2(theobject){
object2=theobject
while(object2.filters.alpha.opacity>50){
object2.filters.alpha.opacity+=-10}
}
function o_up2(theobject){
object2=theobject
while(object2.filters.alpha.opacity<100){
object2.filters.alpha.opacity+=10}
}
function wback2(){
if(Subnoticia2.history.length==0){window.history.back()}
else{Subnoticia2.history.back()}
}

function movstar3(a,time){
movx3=setInterval("mov3("+a+")",time)
}
function movover3(){
clearInterval(movx3)
}
function mov3(a){
scrollx3=Subnoticia3.document.body.scrollLeft
scrolly3=Subnoticia3.document.body.scrollTop
scrolly3=scrolly3+a
Subnoticia3.window.scroll(scrollx3,scrolly3)
}
function o_down3(theobject){
object3=theobject
while(object3.filters.alpha.opacity>50){
object3.filters.alpha.opacity+=-10}
}
function o_up3(theobject){
object3=theobject
while(object3.filters.alpha.opacity<100){
object3.filters.alpha.opacity+=10}
}
function wback3(){
if(Subnoticia3.history.length==0){window.history.back()}
else{Subnoticia3.history.back()}
}