// Slideshow

var num=0;

imgArray = [
  ['01.jpg','Pattaya Bus Terminal North Road Pattaya', 'Pattaya Bus Terminal North Road Pattaya. Busses serve Bangkok, Suvarnabhumi Airport, Hua Hin, Koh Samui and Mukdahan.'],
  ['02.jpg','Pattaya Bus Terminal North Road Pattaya', 'Arrival Terminal at Pattaya Bus Terminal North Road Pattaya.<BR><BR><A CLASS="InfoLink" HREF="http://www.pattayabus.com/" TARGET="_blank">Company\'s Website</A>.'],
  ['03.jpg','Pattaya Bus Terminal North Road Pattaya', 'Here you have to buy your ticket to Ekamai, Morchit, Hua Hin, Koh Samui and the yellow bus to Mukdahan.'],
  ['04.jpg','Pattaya Bus Terminal North Road Pattaya', 'The ticket to the Airport you have to buy at the Bell Travel Service office on the right side of the Terminal Area.'],
  ['05.gif','Pattaya Bus Terminal North Road Pattaya', 'Departure time to and from Suvarnabhumi Airport with Buses from Bell Travel Service.<BR><BR><A CLASS="InfoLink" HREF="http://www.belltravelservice.com/" TARGET="_blank">Company\'s Website</A>.'],
  ['06.jpg','Pattaya Bus Terminal North Road Pattaya', 'The Roong Reuang Coach terminal has a large waiting area.'],
  ['07.jpg','Pattaya Bus Terminal North Road Pattaya', 'Toilets are at the building on the back.'],
  ['08.jpg','Pattaya Bus Terminal North Road Pattaya', 'The terminal has a small restaurant.'],
  ['09.jpg','Pattaya Bus Terminal North Road Pattaya', 'The buses are waiting in front of the waiting area. Check the large Display for departure time and Bus number.'],
  ['10.jpg','Pattaya Bus Terminal North Road Pattaya', 'The arriving buses stops in front of the ticket area.'],
  ['11.jpg','Pattaya Bus Terminal North Road Pattaya', 'The Baht Buses are waiting at the entry to the terminal. A large display informs about the fares, about 20 Bahts.']
]

function slideshow(slide_num) {
  document.getElementById('SlideShow').src=imgArray[slide_num][0];
  document.getElementById('SlideShow').alt=imgArray[slide_num][1];
  document.getElementById('PictureText').innerHTML=imgArray[slide_num][2];
}

function slideshowUp() {
  num++;
  num = num % imgArray.length;
  slideshow(num);
}

function slideshowBack() {
  num--;
  if (num < 0) {num=imgArray.length-1;}
  num = num % imgArray.length;
  slideshow(num);
}

// Hide Statusbar Message
function hidestatus(){
window.status='NightWalker\'s Picture Show';
return true;
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
document.onmouseover=hidestatus;
document.onmouseout=hidestatus;

// Copyright

function CopyRightNote(){
todayC = new Date();
yearC = todayC.getFullYear();
document.write("Copyright&nbsp;&copy;&nbsp;2003&nbsp;-&nbsp;" + yearC + "&nbsp;NightWalker &amp; Rainbow Production&nbsp;&nbsp;Last&nbsp;update:&nbsp;" + document.lastModified);
}

// Go back to calling page

function GoBack() {
document.write('<A HREF="javascript:history.back()"><IMG SRC="back.gif" WIDTH="13" HEIGHT="9" BORDER="0" TITLE="Page back" STYLE="padding-left:3px;padding-right:4px;">Back</a>');
}

// change images

function changeImage(FileName)
{
  mainimage = new Image;
  mainimage.src = FileName;
  document.getElementById('PictureShow').src = mainimage.src;
}
