// JavaScript Document
var marqueewidth=175
var marqueeheight=350
var mspd=1
var pauseit=10
var marqueecontent='<div  style="padding-left:25px;"><hr><img src="../imag/galeria_ch/5.jpg" > <a href="http://www.plasycoed.com.ar/pag_en/galeria.asp?foto=5" class="foot" target="_self">The visitors can see a big collection of tradicional welsh dish clothes. </a><hr><img src="../imag/galeria_ch/6.jpg" > <a href="http://www.plasycoed.com.ar/pag_en/galeria.asp?foto=6" class="foot" target="_self">.</a><hr><img src="../imag/galeria_ch/7.jpg" > <a href="http://www.plasycoed.com.ar/pag_en/galeria.asp?foto=7" class="foot" target="_self">Old  baul wher the family’s grandmother brought her properties from Wales when she was 10 years old.</a><hr><img src="../imag/galeria_ch/8.jpg" > <a href="http://www.plasycoed.com.ar/pag_en/galeria.asp?foto=8" class="foot" target="_self">Seeing of the living room of the hotel.</a><hr><img src="../imag/galeria_ch/9.jpg" > <a href="http://www.plasycoed.com.ar/pag_en/galeria.asp?foto=9" class="foot" target="_self">Old family’s clock.</a><hr><div>'
mspd=(document.all)? mspd : Math.max(1, mspd-1)
var copyspeed=mspd
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=marqueeheight+8
cross_marquee.innerHTML=marqueecontent
actualheight=cross_marquee.offsetHeight
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=marqueeheight+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
lefttime=setInterval("scrollmarquee()",40)
}

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed
else
cross_marquee.style.top=marqueeheight+8
}
else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=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=mspd">')
write('<div id="iemarquee" style="position:absolute;left:0;top:0;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=mspd"></layer>')
write('</ilayer>')
}
}
}
