//If using image buttons as controls, Set image buttons' image preload here true
//(use false for no preloading and for when using no image buttons as controls):
var preload_ctrl_images=true;

//And configure the image buttons' images here:
var previmg='left.gif';
var stopimg='stop.gif';
var playimg='play.gif';
var nextimg='right.gif';

var slides=[]; //FIRST SLIDESHOW
//configure the below images and descriptions to your own. 
slides[0] = ["1.jpg"];
slides[1] = ["2.jpg"];
slides[2] = ["3.jpg"];
slides[3] = ["4.jpg"];
slides[4] = ["5.jpg"];
slides[5] = ["6.jpg"];

//above slide show uses only the defaults
slides.no_descriptions=1; //use for no descriptions displayed
slides.pause=1;
slides.random=1;
slides.width=750;
slides.height=100;
slides.delay=6000;
//slides.image_controls=1


//Notes:
//slides#.target will set a target for a slide group, will be overridden by slides#[#][3], if present
//slides#.specs will set new window specifications for a slide group, will be overridden by slides#[#][4], if present
//slides#.fadecolor will set fading images background color, defaults to white
//slides#.no_controls will set a slide show with no controls
//slides#.random will set a random slide sequence on each page load
//slides#.delay=3000 will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
//slides#.jumpto=1 will display added controls to jump to a particular image by its number
//slides#.no_added_linebreaks=1; use for no added line breaks in formatting of texts and controls

//use below to create a customized onclick event for linked images in a given show:
//slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"

/***********************************************
* Swiss Army Image slide show script  - © John Davenport Scheuer: http://home.comcast.net/~jscheuer1/
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
***********************************************/



// Get today's current date.
var now = new Date();

// Array list of days.
var days = new Array('Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai');

// Array list of months.
var months = new Array('Tammikuun','Helmikuun','Maaliskuun','Huhtikuun','Toukokuun','Kesäkuun','Heinäkuun','Elokuun','Syyskuun','Lokakuun','Marraskuun','Joulukuun');

// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "" : "")+ now.getDate();

// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
today =  months[now.getMonth()] + " " +
         date + ", " +
         (fourdigits(now.getYear())) ;

// Print out the data.
