// JavaScript Document

/*
Cross browser Marquee script- Â© Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width (in pixels)
var marqueewidth1="846px"
//Specify the marquee's height
var marqueeheight1="35px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed1=2
//configure background color:
var marqueebgcolor1=""
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit1=1

//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent1='<nobr><b><a href="contactgen.html" style="text-decoration:none;"><font size = "4" ><font color="#3B3B3B">&nbsp;&nbsp;LATEST SEARCH: We are currently seeking a qualified Steward/ess-Masseur(ese) for a private yacht travelling world wide. &nbsp;&nbsp;&nbsp;&nbsp; Captains Mates and Engineers &nbsp;&nbsp;&nbsp;&nbsp; Chefs and Stewards and Stewardesses &nbsp;&nbsp;+++&nbsp;&nbsp;Feel confident with the right choice - over 25 years of experience placing crew worldwide.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Candidates are carefully screened and come from a range of nationalities and professions.</font></font></a></b></nobr>'


////NO NEED TO EDIT BELOW THIS LINE////////////
marqueespeed1=(document.all)? marqueespeed1 : Math.max(1, marqueespeed1-1) //slow speed down by 1 for NS
var copyspeed1=marqueespeed1
var pausespeed1=(pauseit1==0)? copyspeed1: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp1" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent1+'</span>')
var actualwidth1=''
var cross_marquee1, ns_marquee1

function populate1(){
if (iedom){
cross_marquee1=document.getElementById? document.getElementById("iemarquee1") : document.all.iemarquee1
cross_marquee1.style.left=parseInt(marqueewidth1)+8+"px"
cross_marquee1.innerHTML=marqueecontent1
actualwidth1=document.all? temp1.offsetWidth : document.getElementById("temp1").offsetWidth
}
else if (document.layers){
ns_marquee1=document.ns_marquee1.document.ns_marquee12
ns_marquee1.left=parseInt(marqueewidth1)+8
ns_marquee1.document.write(marqueecontent1)
ns_marquee1.document.close()
actualwidth1=ns_marquee1.document.width
}
lefttime=setInterval("scrollmarquee1()",20)
}

function scrollmarquee1(){
if (iedom){
if (parseInt(cross_marquee1.style.left)>(actualwidth1*(-1)+8))
cross_marquee1.style.left=parseInt(cross_marquee1.style.left)-copyspeed1+"px"
else
cross_marquee1.style.left=parseInt(marqueewidth1)+8+"px"

}
else if (document.layers){
if (ns_marquee1.left>(actualwidth1*(-1)+8))
ns_marquee1.left-=copyspeed1
else
ns_marquee1.left=parseInt(marqueewidth1)+8
}
}

if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth1+';height:'+marqueeheight1+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth1+';height:'+marqueeheight1+';background-color:'+marqueebgcolor1+'" onMouseover="copyspeed1=pausespeed1" onMouseout="copyspeed1=marqueespeed1">')
write('<div id="iemarquee1" style="position:absolute;left:0px;top:5px;bottom:5px;padding-bottom:5px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth1+' height='+marqueeheight1+' name="ns_marquee1" bgColor='+marqueebgcolor1+'>')
write('<layer name="ns_marquee12" left=0 top=5 bottom=5 onMouseover="copyspeed1=pausespeed1" onMouseout="copyspeed1=marqueespeed1"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}

