//Specify the slider's width (in pixels)
var sliderwidth="220px"
//Specify the slider's height
var sliderheight="181px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=1
//configure background color:
slidebgcolor="#030C25"

//Specify the slider's images
var topbottomslide=new Array()
var finalslide=''
topbottomslide[0]='<p><strong>Testimonial 1</strong></p>'
topbottomslide[1]='<p>&ldquo;I can easily say that Roger is the most<br />hospitable I have had the pleasure to<br />stay with. from a friendly welcome<br />when arriving at the unsociable hour of<br />1am off our flight, to our regular<br />evening chats around the breakfast bar<br />before heading out for a meal, the<br />whole stay was relaxed, interesting, and<br />enjoyable from start to finish.&rdquo;</p>'
topbottomslide[2]='<p>&ldquo;Room was very comfortable and very<br />quiet to guarantee a good night&rsquo;s sleep,<br />and the pool was perfect for relaxing in<br />the sun.&rdquo;</p>'
topbottomslide[3]='<p>&ldquo;We actually got engaged while staying<br />with Roger and I am glad we got to<br />share the moment with him. I am<br />extremely grateful for the perfect day out<br />he arrangedfor us to celebrate, with a<br />scenic tour of a vineyard&rsquo;s grounds,<br />followed by wine, cheese, and<br />chocolate tasting&rdquo;</p>'
topbottomslide[4]='<p>&ldquo;I look forward to visiting Cape Town<br />again soon when I will defintetly stay at<br />Roger and Mary&rsquo;s Guest House&rdquo;</p>'
topbottomslide[5]='<p>&ldquo;And I hope I get to take him up on his<br />offer of a guided tour of Namibia at<br />some point in the future. Definetly<br />recommend a stay at West Beach<br />Guest House&rdquo;</p>'

topbottomslide[6]='<p><strong>Testimonial 2</strong></p>'
topbottomslide[7]='<p>&ldquo;Roger and Mary are the perfect hosts.<br />Theit motto is for guests to feel at<br />&ldquo;home from home&rdquo;, and their hospitality<br />certainly lives up to their motto. Roger<br />offers guests tailor-made breakfasts as<br />well as a plethora of local knowledge<br />about where to go andwhat to do. We<br />went on one of Roger&rsquo;s tours to<br />Lourensford Wine estate and we had an<br />amazing time there. Roger provided us<br />with fool-proof personalised maps to<br />ensure we got the most out of our trips&rdquo;</p>'
topbottomslide[8]='<p>&ldquo;West Beach Guest House itself is<br />alovely home and we were able to use<br />this as our base to exploe the Western<br />Cape.We were also able to have<br />relaxing days at West Beach by the pool<br />or taking a stroll to the beach where we<br />ran, paddled, and had some<br />sundowners!&rdquo;</p>'
topbottomslide[9]='<p>&ldquo;We feel we made friends with Roger<br />and Mary and would have no hesitation<br />in highly recommending their home and<br />hospitality to any potential guests.<br />Thanks again to Roger and Mary for<br />their hospitality and hope we can visit<br />again soon&rdquo;</p>'

topbottomslide[10]='<p><strong>Testimonial 3</strong></p>'
topbottomslide[11]='<p>&ldquo;This Guest House is well located in a<br />safe and friendly area. I found very open<br />and helpful hosts in Roger and Mary<br />who were more than happy to guide me<br />on the most interesting places to vist in<br />and around Cape Town and further<br />afield throughout South Africa</p>'
topbottomslide[12]='<p>A wonderful place to start your African<br />Adventures. Roger cooks a great<br />breakfast to boot!&rdquo;</p>'

topbottomslide[13]='<p><strong>Testimonial 4</strong></p>'
topbottomslide[14]='<p>&ldquo;What a delight to stay with Roger and<br />Mary and thank you ever so much for<br />trying to make me feel at home. The<br />room was very comfortable and I<br />enjoyed being able to have a nice warm<br />bubble-bath in the evenings.</p>'
topbottomslide[15]='<p>Thank you for the very special breakfasts<br />and SCRUMPTIOUS Sunday dinner. The<br />meals you made Roger are truly Master<br />Chef quality!</p>'
topbottomslide[16]='<p>It was such a blessing to get to know<br />you and enjoy your very pleasant and<br />generous personalties - you are great<br />hosts.&rdquo;</p>'
topbottomslide[17]='<p></p>'
topbottomslide[18]='<p></p>'
topbottomslide[19]='<p></p>'



//Specify gap between each image (use HTML):
var imagegap=" "

//Specify pixels gap between each slideshow rotation (use integer):
var slideshowgap=0


////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
topbottomslide='<div>'+topbottomslide.join(imagegap)+'</div>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-9000px;left:0px;">'+topbottomslide+'</span>')
var actualheight=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=topbottomslide
actualheight=document.all? cross_slide.offsetHeight : document.getElementById("temp").offsetHeight
cross_slide2.style.top=actualheight+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(topbottomslide)
ns_slide.document.close()
actualheight=ns_slide.document.height
ns_slide2.top=actualheight+slideshowgap
ns_slide2.document.write(topbottomslide)
ns_slide2.document.close()
}
toptime=setInterval("slidetop()",30)
}
window.onload=fillup

function slidetop(){
if (iedom){
if (parseInt(cross_slide.style.top)>(actualheight*(-1)+8))
cross_slide.style.top=parseInt(cross_slide.style.top)-copyspeed+"px"
else
cross_slide.style.top=parseInt(cross_slide2.style.top)+actualheight+slideshowgap+"px"

if (parseInt(cross_slide2.style.top)>(actualheight*(-1)+8))
cross_slide2.style.top=parseInt(cross_slide2.style.top)-copyspeed+"px"
else
cross_slide2.style.top=parseInt(cross_slide.style.top)+actualheight+slideshowgap+"px"

}
else if (document.layers){
if (ns_slide.top>(actualheight*(-1)+8))
ns_slide.top-=copyspeed
else
ns_slide.top=ns_slide2.top+actualheight+slideshowgap

if (ns_slide2.top>(actualheight*(-1)+8))
ns_slide2.top-=copyspeed
else
ns_slide2.top=ns_slide.top+actualheight+slideshowgap
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')

if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0;"></div>')
write('<div id="test3" style="position:absolute;left:0;top:0px;"></div>')
write('</div></div>')
}

else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}

document.write('</td></table>')
}
}
		
