//Specify the slider's width (in pixels)
var sliderwidth="560px"
//Specify the slider's height
var sliderheight="98px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=3
//configure background color:
slidebgcolor="#5D090A"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
//leftrightslide[0]='<a href="javascript:void(0);" onclick="showPreviewPic(\'images/gallery_bigpic.jpg\', 0, 100, 500);"><img src="images/gallery1.jpg" alt="" width="108" height="151" /></a>'
//leftrightslide[1]='<a href="javascript:void(0);" onclick="showPreviewPic(\'images/gal_01big.jpg\', 0, 100, 500, \'Caption 1\');"><img src="images/gal_01.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[1]='<a href="images/gal_01big.jpg" rel="lightbox[gallery]" title=""><img src="images/gal_01.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[2]='<a href="images/gal_07big.jpg" rel="lightbox[gallery]" title="Early morning at Eastern Beach"><img src="images/gal_07.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[3]='<a href=""images/gal_03big.jpg" rel="lightbox[gallery]" title="Buffalo City has a rich heritage and dicerse cultures"><img src="images/gal_03.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[4]='<a href=""images/gal_04big.jpg" rel="lightbox[gallery]" title="Buffalo Citys coastline boasts excellent fishing and is a short drive from the Wild Coast"><img src="images/gal_04.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[5]='<a href=""images/gal_05big.jpg" rel="lightbox[gallery]" title="Sport in Buffalo City - its always a winner"><img src="images/gal_05.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[6]='<a href=""images/gal_06big.jpg" rel="lightbox[gallery]" title="Sport in Buffalo City - its always a winner"><img src="images/gal_06.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[7]='<a href=""images/gal_08big.jpg" rel="lightbox[gallery]" title="The Strandloper Trail extends from Kei Mouth to East London, along some of the most scenic coastline in the country"><img src="images/gal_08.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[8]='<a href="images/gal_09big.jpg" rel="lightbox[gallery]" title="Horse-rising near Chintsa is a favourite pastime of the equestrian set"><img src="images/gal_09.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[9]='<a href="images/gal_10big.jpg" rel="lightbox[gallery]" title="The Blue Lagoon Hotel overlooks the beautiful Nahoon estuary"><img src="images/gal_10.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[10]='<a href="images/gal_11big.jpg" rel="lightbox[gallery]" title="Early evening at the East London harbour is a relaxed spot for a sundowner or a meal"><img src="images/gal_11.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[11]='<a href=""images/gal_12big.jpg" rel="lightbox[gallery]" title="The Smartie Train is a popular attraction at the East London Zoo"><img src="images/gal_12.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[12]='<a href=""images/gal_13big.jpg" rel="lightbox[gallery]" title="he aint heavy - he my brother." Enjoying the camaraderie of the Surfers marathon"><img src="images/gal_13.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[13]='<a href="images/gal_14big.jpg" rel="lightbox[gallery]" title="Cheetahs love a good view at the Lion Park, 5 minutes from EL on the N6 to Stutterheim"><img src="images/gal_14.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[14]='<a href="images/gal_15big.jpg" rel="lightbox[gallery]" title="A white lion cub at the Lion Park"><img src="images/gal_15.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[15]='<a href="images/gal_16big.jpg" rel="lightbox[gallery]" title="A summer evening stroll on Nahoon Beach."><img src="images/gal_16.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[16]='<a href="images/gal_17big.jpg" rel="lightbox[gallery]" title="A spectacular display of everlastings at the top of "Hog 1" at Hogsback"><img src="images/gal_17.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[17]='<a href="images/gal_18big.jpg" rel="lightbox[gallery]" title="The statue of Steve Biko stands outside the City Hall in Oxford Street."><img src="images/gal_18.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[18]='<a href="images/gal_19big.jpg" rel="lightbox[gallery]" title="The statue of "Multicultural Man" by scuptor Francisco Perilli, donated by the Italian people, stands on the Esplanade as a symbol of the common humanity of all nations."><img src="images/gal_19.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[19]='<a href="images/gal_20big.jpg" rel="lightbox[gallery]" title="The seaside suburb of Gonubie, seen from the air."><img src="images/gal_20.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[20]='<a href="images/gal_16big.jpg" rel="lightbox[gallery]" title="A summer evening stroll on Nahoon Beach."><img src="images/gal_16.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[21]='<a href="images/gal_22big.jpg" rel="lightbox[gallery]" title="Visitors can get up close and personal with the elephants at Inkwenkwezi Private Game Reserve."><img src="images/gal_22.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[22]='<a href="images/gal_23big.jpg" rel="lightbox[gallery]" title="The monument to the 19th century German settlers stands on the citys seafront."><img src="images/gal_23.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[23]='<a href="images/gal_24big.jpg" rel="lightbox[gallery]" title="The East London Museum is well-known for its variety of creative displays."><img src="images/gal_24.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[24]='<a href="images/gal_25big.jpg" rel="lightbox[gallery]" title="The East London Museum is well-known for its variety of creative displays."><img src="images/gal_25.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[25]='<a href="images/gal_26big.jpg" rel="lightbox[gallery]" title="Hogsback provides a wonderland of romantic getaways, close enough for a day-drive from Buffalo City."><img src="images/gal_26.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[26]='<a href="images/gal_27big.jpg" rel="lightbox[gallery]" title="Hogsback provides a wonderland of romantic getaways, close enough for a day-drive from Buffalo City."><img src="images/gal_27.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[27]='<a href="images/gal_28big.jpg" rel="lightbox[gallery]" title="The Arboretum at Hogsback is a favourite family picnic spot for residents and day-trippers."><img src="images/gal_28.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[28]='<a href="images/gal_29big.jpg" rel="lightbox[gallery]" title="The Mpofu Game Reserve near Peddie offers spectacular scenery and excellent game viewing."><img src="images/gal_29.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[29]='<a href="images/gal_30big.jpg" rel="lightbox[gallery]" title="Nahoon Beach is a favourite family haunt throughout the year."><img src="images/gal_30.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[30]='<a href="images/gal_31big.jpg" rel="lightbox[gallery]" title="Buffalo City has been the proud host of the international Ironman 70.3 triathlon for the past two years."><img src="images/gal_31.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[31]='<a href="images/gal_32big.jpg" rel="lightbox[gallery]" title="Summertime in Buffalo City - its a splash!"><img src="images/gal_32.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[32]='<a href="images/gal_33big.jpg" rel="lightbox[gallery]" title="The East London Esplanade is attracting increasing investor interest."><img src="images/gal_33.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[33]='<a href="images/gal_34big.jpg" rel="lightbox[gallery]" title="Upmarket residences dominate the famous Gonubie Point, with the river mouth in the background."><img src="images/gal_34.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[34]='<a href="images/fullsize/2.jpg" rel="lightbox[gallery]" title="Play the West Bank Golf Course where you can see the sea from every fairway."><img src="images/thumb/2.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[35]='<a href="images/fullsize/3.jpg" rel="lightbox[gallery]" title="The Mercedes Benz ride-on, ride-off loading facility in the EL harbour is state-of-the-art."><img src="images/thumb/3.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[36]='<a href="images/fullsize/4.jpg" rel="lightbox[gallery]" title="The Orient Beach and Quanza Pools provide a safe environment for a day of family fun."><img src="images/thumb/4.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[37]='<a href="images/fullsize/5.jpg" rel="lightbox[gallery]" title="The East London Aquarium is a popular seafront attraction for both local families and visitors."><img src="images/thumb/5.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[38]='<a href="images/fullsize/6.jpg" rel="lightbox[gallery]" title="Patrons can enjoy a lunch or drink while literally overlooking the waves at La Terrazza."><img src="images/thumb/6.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[39]='<a href="images/fullsize/7.jpg" rel="lightbox[gallery]" title="The recently-refurbished Osner Hotel is one of the best-known landmarks of the East London city seafront."><img src="images/thumb/7.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[40]='<a href="images/fullsize/8.jpg" rel="lightbox[gallery]" title="The Holiday Inn is a one-minute walk from one of the citys best surfing beaches."><img src="images/thumb/8.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[41]='<a href="images/fullsize/9.jpg" rel="lightbox[gallery]" title="The Premier Groups seafront Regent Hotel is set to expand in 2010 with the opening of an International Convention Centre."><img src="images/thumb/9.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[42]='<a href="images/fullsize/10.jpg" rel="lightbox[gallery]" title="East Londons Buffalo Park has hosted many international cricket matches, including during the World Cup and 2009 Indian Premier League."><img src="images/thumb/10.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[43]='<a href="images/fullsize/11.jpg" rel="lightbox[gallery]" title="The East London Golf Club successfully hosted the Africa Open Golf Tournament in 2009."><img src="images/thumb/11.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[44]='<a href="images/fullsize/12.jpg" rel="lightbox[gallery]" title="The Phillip Kahts Stadium provides a high-quality venue for competitive softball."><img src="images/thumb/12.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[45]='<a href="images/fullsize/13.jpg" rel="lightbox[gallery]" title="Bunkers Hill boasts a modern hockey Astroturf that has played hosts to national and international events."><img src="images/thumb/13.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[46]='<a href="images/fullsize/14.jpg" rel="lightbox[gallery]" title="The Nahoon Estuary Nature Reserve is a favourite haunt for birders or those who may appreciate an hour away from the bustle of suburbia."><img src="images/thumb/14.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[47]='<a href="images/fullsize/15.jpg" rel="lightbox[gallery]" title="East London boasts a number of pristine estuaries that provide an opportunity for daily recreation to city-dwellers and visitors."><img src="images/thumb/15.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[48]='<a href="images/fullsize/16.jpg" rel="lightbox[gallery]" title="The beautiful Gonubie estuary is home to resident fish eagles and other wildlife."><img src="images/thumb/16.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[49]='<a href="images/fullsize/17.jpg" rel="lightbox[gallery]" title="The white lions of Inkwenkwezi Private Game Reserve can be viewed close-up in organized game drives."><img src="images/thumb/17.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[50]='<a href="images/fullsize/18.jpg" rel="lightbox[gallery]" title="The King of the Beasts enjoys his lunch at Inkwenkwezi Private Game Reserve."><img src="images/thumb/18.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[51]='<a href="images/fullsize/19.jpg" rel="lightbox[gallery]" title="The Big Five can all be viewed within half an hours drive from the city centre."><img src="images/thumb/19.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[52]='<a href="images/fullsize/20.jpg" rel="lightbox[gallery]" title="Crawfords Cabins at Chintsa is a popular holiday and conferencing venue that overlooks the beach."><img src="images/thumb/20.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[53]='<a href="images/fullsize/21.jpg" rel="lightbox[gallery]" title="Michaelas Restaurant at Chintsa commands spectacular sea views, and is one of the most popular upmarket eateries of the region."><img src="images/thumb/21.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[54]='<a href="images/fullsize/22.jpg" rel="lightbox[gallery]" title="The Joan Harrison Swimming Pool complex provides a high-quality venue for national aquatic events."><img src="images/thumb/22.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[55]='<a href="images/fullsize/23.jpg" rel="lightbox[gallery]" title="Buffalo City boasts some of the best schools in the country, and has produced leaders in all sectors of national life."><img src="images/thumb/23.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[56]='<a href="images/fullsize/24.jpg" rel="lightbox[gallery]" title="The Jan Smuts Athletics Stadium is one of the fastest tracks in the country, and has now installed floodlights that enable night-events to be televised."><img src="images/thumb/24.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[57]='<a href="images/fullsize/25.jpg" rel="lightbox[gallery]" title="The socio-economic challenges of the area are most evident in the informal settlement of Duncan Village."><img src="images/thumb/25.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[58]='<a href="images/fullsize/26.jpg" rel="lightbox[gallery]" title="The historic Grand Prix Circuit of East London is a venue for national and international competitive racing."><img src="images/thumb/26.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[59]='<a href="images/fullsize/27.jpg" rel="lightbox[gallery]" title="The Cove Rock Country Estate provides an idyllic outdoor lifestyle on the Sunshine Coast, close to East London and its amenities."><img src="images/thumb/27.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[60]='<a href="images/fullsize/28.jpg" rel="lightbox[gallery]" title="The centre of Bhisho, the administrative and political capital of the Eastern Cape Province."><img src="images/thumb/28.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[61]='<a href="images/fullsize/29.jpg" rel="lightbox[gallery]" title="The Rooikrantz Dam near King Williams Town is stocked with both black bass and trout to test the fresh-water angler."><img src="images/thumb/29.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[62]='<a href="images/fullsize/30.jpg" rel="lightbox[gallery]" title="The Maden Dam is the home of the Frontier Acclimatisation Society, the oldest fly-fishing club in Africa."><img src="images/thumb/30.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[63]='<a href="images/fullsize/31.jpg" rel="lightbox[gallery]" title="The Mngqesha Great Place near Dimbaza is the seat of the King of the amaRharhabe, (Ah!) Maxhoba Sandile."><img src="images/thumb/31.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[64]='<a href="images/fullsize/32.jpg" rel="lightbox[gallery]" title="The Tsholomnqa River is one of the pristine estuaries of the Sunshine Coast, providing a wide range of recreational opportunities."><img src="images/thumb/32.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[65]='<a href="images/fullsize/33.jpg" rel="lightbox[gallery]" title="The tidal wetlands of the Tsholomnqa River provide a rich habitat for a wide variety of coastal bird-life."><img src="images/thumb/33.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[66]='<a href="images/fullsize/34.jpg" rel="lightbox[gallery]" title="The famous Cove Rock is a fascinating geological formation that has special historical  significance for the amaNdlambe people."><img src="images/thumb/34.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[67]='<a href="images/fullsize/35.jpg" rel="lightbox[gallery]" title="The Areena Riverside Resort lies alongside the tidal Kwelera River, and provides a value-for-money family holiday destination."><img src="images/thumb/35.jpg" alt="" width="110" height="98" /></a>'
leftrightslide[68]='<a href="images/fullsize/36.jpg" rel="lightbox[gallery]" title="The Footprints Café at Nahoon Point has excellent displays of different aspects of the areas history, with a highlight being the oldest early modern human fossil footprints in the world."><img src="images/thumb/36.jpg" alt="" width="110" height="98" /></a>'


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

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


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

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
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=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+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(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"

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

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

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+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:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;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>')
}
}
		
