<!-- Written by: Kristian Theqvist / 2003 -->

<!-- Begin


// Picture Group Indexing
// 0 = map and info
// 1 = lampi ja rhodot
// 2 = puutarha kukkii
// 3 = kalliolta puutarhaan
// 4 = on the stairs 
// 5 = suo talvella
// 6 = puutarha talvella
// 7 = map of Europe
// 8 = puutarhan atsaleat


// Number of pictures for each plant
NumberOfPics = new Array();
NumberOfPics[0] = '1';
NumberOfPics[1] = '1';
NumberOfPics[2] = '1';
NumberOfPics[3] = '1';
NumberOfPics[4] = '1';
NumberOfPics[5] = '1';
NumberOfPics[6] = '1';
NumberOfPics[7] = '1';
NumberOfPics[8] = '1';

// Large Picture Names
LargePic = new Array();
LargePic[0] = new Array();
LargePic[1] = new Array();
LargePic[2] = new Array();
LargePic[3] = new Array();
LargePic[4] = new Array();
LargePic[5] = new Array();
LargePic[6] = new Array();
LargePic[7] = new Array();
LargePic[8] = new Array();

LargePic[0][0] = 'garden_map_800_fi.gif';
LargePic[0][1] = 'garden_map_1024_fi.gif';
LargePic[0][2] = 'garden_map_1152_fi.gif';
LargePic[0][3] = 'garden_map_1280_fi.gif';

LargePic[1][0] = 'lampi_ja_rhodot.jpg';

LargePic[2][0] = 'puutarhan_pohjois-osa.jpg';

LargePic[3][0] = 'kalliolta_puutarhaan.jpg';

LargePic[4][0] = 'on_the_stairs.jpg';

LargePic[5][0] = 'suo_talvella.jpg';

LargePic[6][0] = 'puutarha_talvella.jpg';

LargePic[7][0] = 'map_of_garden_europe.jpg';

LargePic[8][0] = 'puutarhan_atsaleat.jpg';

// Small Picture Names
SmallPic = new Array();
SmallPic[0] = new Array();
SmallPic[1] = new Array();
SmallPic[2] = new Array();
SmallPic[3] = new Array();
SmallPic[4] = new Array();
SmallPic[5] = new Array();
SmallPic[6] = new Array();
SmallPic[7] = new Array();
SmallPic[8] = new Array();

SmallPic[0][0] = 'garden_map_small.gif';
SmallPic[0][1] = 'garden_map_small.gif';
SmallPic[0][2] = 'garden_map_small.gif';
SmallPic[0][3] = 'garden_map_small.gif';

SmallPic[1][0] = 'lampi_ja_rhodot_small.jpg';

SmallPic[2][0] = 'puutarhan_pohjois-osa_small.jpg';

SmallPic[3][0] = 'kalliolta_puutarhaan_small.jpg';

SmallPic[4][0] = 'on_the_stairs_small.jpg';

SmallPic[5][0] = 'suo_talvella_small.jpg';

SmallPic[6][0] = 'puutarha_talvella_small.jpg';

SmallPic[7][0] = 'map_of_garden_europe_small.jpg';

SmallPic[8][0] = 'puutarhan_atsaleat_small.jpg';

// Large Picture Texts
PicText = new Array();
PicText[0] = new Array();
PicText[1] = new Array();
PicText[2] = new Array();
PicText[3] = new Array();
PicText[4] = new Array();
PicText[5] = new Array();
PicText[6] = new Array();
PicText[7] = new Array();
PicText[8] = new Array();

PicText[0][0] = 'garden_map_text_fi.html';
PicText[1][0] = 'lampi_ja_rhodot_text_fi.html';
PicText[2][0] = 'puutarha_kukkii_text_fi.html';
PicText[3][0] = 'kalliolta_puutarhaan_text_fi.html';
PicText[4][0] = 'on_the_stairs_text_fi.html';
PicText[5][0] = 'suo_talvella_text_fi.html';
PicText[6][0] = 'puutarha_talvella_text_fi.html';
PicText[7][0] = 'map_of_garden_europe_text_fi.html';
PicText[8][0] = 'puutarhan_atsaleat_text_fi.html';

// Counters
PicCounter = new Array();
PicCounter[0] = 0;
PicCounter[1] = 0;
PicCounter[2] = 0;
PicCounter[3] = 0;
PicCounter[4] = 0;
PicCounter[5] = 0;
PicCounter[6] = 0;
PicCounter[7] = 0;
PicCounter[8] = 0;

// Show the selected large picture
// Size 1280 LargePic 3 changed to size 1152 LargePic 2 on 16.1.2006
function ShowPic(PicGroup) {
var width = screen.width;
Counter = PicCounter[PicGroup];
eval("document.pic" + PicGroup + ".src = " + "'" + SmallPic[PicGroup][Counter] + "'"); 
if (PicGroup > '0') {eval("parent.frames[1].document.mainpic.src = " + "'" + LargePic[PicGroup][Counter] + "'")}
else
  if (width<='800') {eval("parent.frames[1].document.mainpic.src = " + "'" + LargePic['0']['0'] + "'");}
  else {
	 if (width<='1024') {eval("parent.frames[1].document.mainpic.src = " + "'" + LargePic['0']['1'] + "'");}
	 else {
	 	  if (width<='1152') {eval("parent.frames[1].document.mainpic.src = " + "'" + LargePic['0']['2'] + "'");}
		  else
		  	  {eval("parent.frames[1].document.mainpic.src = " + "'" + LargePic['0']['2'] + "'");}
}}
eval("parent.frames[2].window.location.replace" + "('" + PicText[PicGroup][Counter] + "')");
}

//  End -->
