// Script modified by Hans Loepfe, Zurich, Switzerland
// June 20, 2011
// Originally created by Doug Popeney (easyjava@easyjavascipt.com)
// Use to display linked images randomly in a WEB-page.
// Paths to the images, their URLs and the number of images must be defined individually

// 1.define img[]-path, the relative path to the thumbnail for each image.
// 2.define the imglnk[]-path, the relative path to the page containing the full-size image.
// 3.set total imgnbr, the number of images per section. Logically this must be equal for each array per section.
// 4.in variables use underscores instead of hyphens (JAVA interprets Hyphens as 'minus' signs).

// sections:
// full screen panoramas
//**********************

var imgnbr=12;
var randomnumber=Math.random();
var pano_fs=Math.round((imgnbr-1)*randomnumber)+1;

var img_pano_fs=new Array();
//specify random images
img_pano_fs[1]="/2008-Grossmunster-Zurich/p01/IMG71995-72229-HDR2.jpg";
img_pano_fs[2]="/2008-Grossmunster-Zurich/p02/187-8731-8742_2a_flat.jpg";
img_pano_fs[3]="/2008-US-Colorado/p01/IMG94166-94190-Panorama-ext.jpg";
img_pano_fs[4]="/2008-US-Colorado/p02/IMG93833-93872-HDR.jpg";
img_pano_fs[5]="/2008-US-CA-Death-Valley/Zabriskie-Point/p01/IMG108826-108840.jpg";
img_pano_fs[6]="/2011-Zurich-Schipfe/p01/NK1008996-109049-L1-5-Panorama.jpg";
img_pano_fs[7]="/2011-Hirzel-Hoehe/p01/NK109437-109514-HDR-Panorama.jpg";
img_pano_fs[8]="/2011-Zurich-Paradeplatz/p01/P-3star-NK106597-D Panorama-WEB.jpg";
img_pano_fs[9]="/2007-US-AZ-Coyote-Buttes-South/p01/AZ-Coyote-Buttes-South-P05-WEB.jpg";
img_pano_fs[10]="/2007-US-NV-Black-Rock-Desert/p01/NV-Black-Rock-Desert-Geyser-P08-WEB.jpg";
img_pano_fs[11]="/2011-Zurich-Crescent-Moon/NK118653-118692-Panorama-WEB.jpg";
img_pano_fs[12]="2011-Hirzel-Hoehe/p03/NK118928-118967-Panorama-cutout-WEB.jpg";

//specify the corresponding links
var imglnk_pano_fs=new Array();
imglnk_pano_fs[1]="/2008-Grossmunster-Zurich/p01/index.htm";	//Grossmunster inside
imglnk_pano_fs[2]="/2008-Grossmunster-Zurich/p02/index.htm";	//Grossmunster bei Sonne und Schnee
imglnk_pano_fs[3]="/2008-US-Colorado/p01/index.htm";	//US CO Red Mountain
imglnk_pano_fs[4]="/2008-US-Colorado/p02/index.htm";	//US CO Trout Lake
imglnk_pano_fs[5]="/2008-US-CA-Death-Valley/Zabriskie-Point/p01/index.htm";	//US CA Zabriskie Point
imglnk_pano_fs[6]="/2011-Zurich-Schipfe/p01/index.htm";	//Zurich Schipfe
imglnk_pano_fs[7]="/2011-Hirzel-Hoehe/p01/index.htm";	//Hirzel Hoehe
imglnk_pano_fs[8]="/2011-Zurich-Paradeplatz/p01/index.htm";	//175 Jahre Spruengli
imglnk_pano_fs[9]="/2007-US-AZ-Coyote-Buttes-South/p01/index.htm";	//US AZ CBS Paw Hole
imglnk_pano_fs[10]="/2007-US-NV-Black-Rock-Desert/p01/index.htm";	//US NV Geyser near Black Rock Desert
imglnk_pano_fs[11]="/2011-Zurich-Crescent-Moon/NK118653-118692-Panorama-WEB.html";	//CH ZH Churches of Limmatstadt Zürich
imglnk_pano_fs[12]="/2011-Hirzel-Hoehe/p03/index.html";	//Winter Sunset of Alpine Foothills in Switzerland

//panoramas-ch
//************
var imgnbr=34;
var randomnumber=Math.random();
var pano_ch=Math.round((imgnbr-1)*randomnumber)+1;

var img_pano_ch=new Array();
//specify random images
img_pano_ch[1]="/panoramas-ch/preview/05860-05928.jpg";
img_pano_ch[2]="/panoramas-ch/preview/06575-06628_master_flat.jpg";
img_pano_ch[3]="/panoramas-ch/preview/139-140-4000-4009.jpg";
img_pano_ch[4]="/panoramas-ch/preview/140-4016-4035.jpg";
img_pano_ch[5]="/panoramas-ch/preview/140-4036-4047.jpg";
img_pano_ch[6]="/panoramas-ch/preview/140-4048-4060.jpg";
img_pano_ch[7]="/panoramas-ch/preview/140-4064-4074_b.jpg";
img_pano_ch[8]="/panoramas-ch/preview/142-4229-4246.jpg";
img_pano_ch[9]="/panoramas-ch/preview/142-4259-4272_d3.jpg";
img_pano_ch[10]="/panoramas-ch/preview/143-46-48_35-45_8a2_final_1.jpg";
img_pano_ch[11]="/panoramas-ch/preview/177-7753-7763_2b.jpg";
img_pano_ch[12]="/panoramas-ch/preview/179-7932-7940_1.jpg";
img_pano_ch[13]="/panoramas-ch/preview/184-8416-8421_gps.jpg";
img_pano_ch[14]="/panoramas-ch/preview/186-8670-8680_x.jpg";
img_pano_ch[15]="/panoramas-ch/preview/186-8684-8689_1.jpg";
img_pano_ch[16]="/panoramas-ch/preview/187-8731-8742_2a_flat.jpg";
img_pano_ch[17]="/panoramas-ch/preview/189-8955-8963_horz_flat_framed.jpg";
img_pano_ch[18]="/panoramas-ch/preview/192_9208-9203_b.jpg";
img_pano_ch[19]="/panoramas-ch/preview/192_9286-9295_1.jpg";
img_pano_ch[20]="/panoramas-ch/preview/192-9210-9220_a1.jpg";
img_pano_ch[21]="/panoramas-ch/preview/193-9299-9310_2.jpg";
img_pano_ch[22]="/panoramas-ch/preview/193-9346-9353.jpg";
img_pano_ch[23]="/panoramas-ch/preview/193-9355-9361_x.jpg";
img_pano_ch[24]="/panoramas-ch/preview/193-9388-9398.jpg";
img_pano_ch[25]="/panoramas-ch/preview/249-4953-4995_2b_copy.jpg";
img_pano_ch[26]="/panoramas-ch/preview/252-5268-5285_1b.jpg";
img_pano_ch[27]="/panoramas-ch/preview/256-5674-5698-chor2b2.jpg";
img_pano_ch[28]="/stadthaus-zurich/preview/72274-72285.jpg";
img_pano_ch[29]="/panoramas-ch/preview/fraumuenster_p1a_final.jpg";
img_pano_ch[30]="/panoramas-ch/preview/fraumuenster_p2a_final.jpg";
img_pano_ch[31]="/panoramas-ch/preview/icelakesunset_frontside_final.jpg";
img_pano_ch[32]="/engadin-plaz/preview/01202-01224_print.jpg";
img_pano_ch[33]="/engadin-panoramas/preview/03344-03352_155x35_gps.jpg";
img_pano_ch[34]="/engadin-panoramas/preview/03129-03143_1_flat_shp_section_colors.jpg";

//specify the corresponding links
var imglnk_pano_ch=new Array();
imglnk_pano_ch[1]="/panoramas-ch/source/05860-05928.html";
imglnk_pano_ch[2]="/panoramas-ch/source/06575-06628_master_flat.html";
imglnk_pano_ch[3]="/panoramas-ch/source/139-140-4000-4009.html";
imglnk_pano_ch[4]="/panoramas-ch/source/140-4016-4035.html";
imglnk_pano_ch[5]="/panoramas-ch/source/140-4036-4047.html";
imglnk_pano_ch[6]="/panoramas-ch/source/140-4048-4060.html";
imglnk_pano_ch[7]="/panoramas-ch/source/140-4064-4074_b.html";
imglnk_pano_ch[8]="/panoramas-ch/source/142-4229-4246.html";
imglnk_pano_ch[9]="/panoramas-ch/source/142-4259-4272_d3.html";
imglnk_pano_ch[10]="/panoramas-ch/source/143-46-48_35-45_8a2_final_.html";
imglnk_pano_ch[11]="/panoramas-ch/source/177-7753-7763_2b.html";
imglnk_pano_ch[12]="/panoramas-ch/source/179-7932-7940_1.html";
imglnk_pano_ch[13]="/panoramas-ch/source/184-8416-8421_gps.html";
imglnk_pano_ch[14]="/panoramas-ch/source/186-8670-8680_x.html";
imglnk_pano_ch[15]="/panoramas-ch/source/186-8684-8689_1.html";
imglnk_pano_ch[16]="/panoramas-ch/source/187-8731-8742_2a_flat.html";
imglnk_pano_ch[17]="/panoramas-ch/source/189-8955-8963_horz_flat_fr.html";
imglnk_pano_ch[18]="/panoramas-ch/source/192_9208-9203_b.html";
imglnk_pano_ch[19]="/panoramas-ch/source/192_9286-9295_1.html";
imglnk_pano_ch[20]="/panoramas-ch/source/192-9210-9220_a1.html";
imglnk_pano_ch[21]="/panoramas-ch/source/193-9299-9310_2.html";
imglnk_pano_ch[22]="/panoramas-ch/source/193-9346-9353.html";
imglnk_pano_ch[23]="/panoramas-ch/source/193-9355-9361_x.html";
imglnk_pano_ch[24]="/panoramas-ch/source/193-9388-9398.html";
imglnk_pano_ch[25]="/panoramas-ch/source/249-4953-4995_2b_copy.html";
imglnk_pano_ch[26]="/panoramas-ch/source/252-5268-5285_1b.html";
imglnk_pano_ch[27]="/panoramas-ch/source/256-5674-5698-chor2b2.html";
imglnk_pano_ch[28]="/stadthaus-zurich/source/72274-72285.html";
imglnk_pano_ch[29]="/panoramas-ch/source/fraumuenster_p1a_final.html";
imglnk_pano_ch[30]="/panoramas-ch/source/fraumuenster_p2a_final.html";
imglnk_pano_ch[31]="/panoramas-ch/source/icelakesunset_frontside_fi.html";
imglnk_pano_ch[32]="/engadin-plaz/index.html";
imglnk_pano_ch[33]="/engadin-panoramas/source/03344-03352_155x35_gps.html";
imglnk_pano_ch[34]="/engadin-panoramas/source/03129-03143_1_flat_shp_sec.html";

//engadin impressions
//*******************
var imgnbr=14;
var randomnumber=Math.random();
var num_engadin=Math.round((imgnbr-1)*randomnumber)+1;

var img_engadin=new Array();
//specify random images
img_engadin[1]="/2010-Corvatsch-Free-Rider/content/images/thumb/NK065090.jpg";
img_engadin[2]="/chalanda-marz-2010/preview/nk052012-cutout.jpg";
img_engadin[3]="/time-lapse/Engadin-Corvatsch-2010-02-24/Corvatsch-Clouds-v2-poster.jpg";
img_engadin[4]="/summer-snow-2008/preview/84052-84075-flat.jpg";
img_engadin[5]="http://www.black-ice.com/black-ice-2007/preview/img68868.jpg";
img_engadin[6]="http://www.black-ice.com/black-ice-standing/preview/144-4425_img.jpg";
img_engadin[7]="/LakeArt/preview/img14362.jpg";
img_engadin[8]="/Engiadina-Classics-2008/preview/img82057-58.jpg";
img_engadin[9]="/Engiadina-Classics-2008/preview/img81958.jpg";
img_engadin[10]="/2012-Schlitteda-Engadinaisa/content/images/thumb/NK121420.jpg";
img_engadin[11]="/2012-Schlitteda-Engadinaisa/content/images/thumb/NK121451.jpg";
img_engadin[12]="/2012-Schlitteda-Engadinaisa/content/images/thumb/NK121483.jpg";
img_engadin[13]="/2012-Schlitteda-Engadinaisa/content/images/thumb/NK121484.jpg";
img_engadin[14]="/2012-Schlitteda-Engadinaisa/content/images/thumb/NK121486.jpg";

//specify the corresponding links
var imglnk_engadin=new Array();
imglnk_engadin[1]="/2010-Corvatsch-Free-Rider/content/NK065090_large.html";
imglnk_engadin[2]="/chalanda-marz-2010/source/nk052012-cutout.html";
imglnk_engadin[3]="/time-lapse/Engadin-Corvatsch-2010-02-24/corvatsch.html";
imglnk_engadin[4]="/summer-snow-2008/source/84052-84075-flat.html";
imglnk_engadin[5]="http://www.black-ice.com/black-ice-2007/source/img68868.html";
imglnk_engadin[6]="http://www.black-ice.com/black-ice-standing/source/144-4425_img.html";
imglnk_engadin[7]="/LakeArt/source/img14362.html";
imglnk_engadin[8]="http://www.halo-photographs.com/Engiadina-Classics-2008/source/img82057-58.html";
imglnk_engadin[9]="/samedan-2008-xml/samedan08/images/img81958.jpg";
imglnk_engadin[10]="/2012-Schlitteda-Engadinaisa/content/NK121420_large.html";
imglnk_engadin[11]="/2012-Schlitteda-Engadinaisa/content/NK121451_large.html";
imglnk_engadin[12]="/2012-Schlitteda-Engadinaisa/content/NK121483_large.html";
imglnk_engadin[13]="/2012-Schlitteda-Engadinaisa/content/NK121484_large.html";
imglnk_engadin[14]="/2012-Schlitteda-Engadinaisa/content/NK121486_large.html";


//curling
//*******
var imgnbr=126;
var randomnumber=Math.random();
var num_curling=Math.round((imgnbr-1)*randomnumber)+1;

var img_curling=new Array();
//specify random images
img_curling[1]="/2006-ECC-Basel/preview/img22014.jpg";
img_curling[2]="/2006-ECC-Basel/preview/img22059.jpg";
img_curling[3]="/2006-ECC-Basel/preview/img22088-22091_cutout.jpg";
img_curling[4]="/2006-ECC-Basel/preview/img22095_1.jpg";
img_curling[5]="/2006-ECC-Basel/preview/img22101_1.jpg";
img_curling[6]="/2006-ECC-Basel/preview/img22385.jpg";
img_curling[7]="/2006-ECC-Basel/preview/img22415.jpg";
img_curling[8]="/2006-ECC-Basel/preview/img22480.jpg";
img_curling[9]="/2006-ECC-Basel/preview/img22683.jpg";
img_curling[10]="/2006-ECC-Basel/preview/img23342.jpg";
img_curling[11]="/2006-ECC-Basel/preview/img23437-38.jpg";
img_curling[12]="/2006-ECC-Basel/preview/img23544.jpg";
img_curling[13]="/2006-ECC-Basel/preview/img23547-23550_sph.jpg";
img_curling[14]="/2006-ECC-Basel/preview/img23555.jpg";
img_curling[15]="/2006-ECC-Basel/preview/img23562.jpg";
img_curling[16]="/2006-ECC-Basel/preview/img23582.jpg";
img_curling[17]="/2006-ECC-Basel/preview/img23589.jpg";
img_curling[18]="/2006-ECC-Basel/preview/img23591.jpg";
img_curling[19]="/2006-ECC-Basel/preview/img23592.jpg";
img_curling[20]="/curling-giandaplatta-2009/preview/img110507.jpg";
img_curling[21]="/curling-giandaplatta-2009/preview/img110527.jpg";
img_curling[22]="/curling-giandaplatta-2009/preview/img110652.jpg";
img_curling[23]="/curling-giandaplatta-2009/preview/img110679.jpg";
img_curling[24]="/curling-giandaplatta-2009/preview/img110722.jpg";
img_curling[25]="/curling-giandaplatta-2009/preview/img110749.jpg";
img_curling[26]="/curling-giandaplatta-2009/preview/img110766.jpg";
img_curling[27]="/curling-giandaplatta-2009/preview/img110779.jpg";
img_curling[28]="/curling-giandaplatta-2009/preview/img110782.jpg";
img_curling[29]="/curling-giandaplatta-2009/preview/img110798.jpg";
img_curling[30]="/curling-giandaplatta-2009/preview/img110804-a1.jpg";
img_curling[31]="/curling-openair-championship-2009/preview/img111459.jpg";
img_curling[32]="/curling-openair-championship-2009/preview/img111497-b.jpg";
img_curling[33]="/curling-openair-championship-2009/preview/img111503.jpg";
img_curling[34]="/curling-openair-championship-2009/preview/img111513.jpg";
img_curling[35]="/curling-openair-championship-2009/preview/img111542.jpg";
img_curling[36]="/curling-openair-championship-2009/preview/img111575.jpg";
img_curling[37]="/curling-openair-championship-2009/preview/img111582.jpg";
img_curling[38]="/curling-openair-championship-2009/preview/img111585.jpg";
img_curling[39]="/curling-openair-championship-2009/preview/img111614.jpg";
img_curling[40]="/curling-openair-championship-2009/preview/img111222.jpg";
img_curling[41]="/curling-openair-championship-2009/preview/img111248-b.jpg";
img_curling[42]="/curling-openair-championship-2009/preview/img111259-b.jpg";
img_curling[43]="/curling-openair-championship-2009/preview/img111260.jpg";
img_curling[44]="/curling-openair-championship-2009/preview/img111275-b.jpg";
img_curling[45]="/curling-openair-championship-2009/preview/img111294.jpg";
img_curling[46]="/curling-openair-championship-2009/preview/img111326.jpg";
img_curling[47]="/curling-openair-championship-2009/preview/img111330.jpg";
img_curling[48]="/curling-openair-championship-2009/preview/img111910.jpg";
img_curling[49]="/curling-openair-championship-2009/preview/img111948.jpg";
img_curling[50]="/curling-openair-championship-2009/preview/img112015-a.jpg";
img_curling[51]="/curling-openair-championship-2009/preview/img111628.jpg";
img_curling[52]="/curling-openair-championship-2009/preview/img111657-a.jpg";
img_curling[53]="/curling-openair-championship-2009/preview/img111671.jpg";
img_curling[54]="/curling-openair-championship-2009/preview/img111691-a.jpg";
img_curling[55]="/curling-openair-championship-2009/preview/img111750-a.jpg";
img_curling[56]="/curling-openair-championship-2009/preview/img111785-a.jpg";
img_curling[57]="/curling-openair-championship-2009/preview/img111819.jpg";
img_curling[58]="/curling-openair-championship-2009/preview/img111894-a.jpg";
img_curling[59]="/2010-wjcc-flims/preview/nk053093.jpg";
img_curling[60]="/2010-wjcc-flims/preview/nk053195.jpg";
img_curling[61]="/2010-wjcc-flims/preview/nk053277.jpg";
img_curling[62]="/2010-wjcc-flims/preview/nk053342.jpg";
img_curling[63]="/2010-wjcc-flims/preview/nk053391.jpg";
img_curling[64]="/2010-wjcc-flims/preview/nk053418.jpg";
img_curling[65]="/2010-wjcc-flims/preview/nk053440.jpg";
img_curling[66]="/2010-wjcc-flims/preview/nk053468.jpg";
img_curling[67]="/2010-wjcc-flims/preview/nk053574.jpg";
img_curling[68]="/2010-wjcc-flims/preview/nk053869.jpg";
img_curling[69]="/2010-wjcc-flims/preview/nk054148.jpg";
img_curling[70]="/2010-wjcc-flims/preview/nk054203.jpg";
img_curling[71]="/2010-wjcc-flims/preview/nk054219.jpg";
img_curling[72]="/2010-wjcc-flims/preview/nk054322.jpg";
img_curling[73]="/2010-wjcc-flims/preview/nk054584.jpg";
img_curling[74]="/2010-wjcc-flims/preview/nk054827.jpg";
img_curling[75]="/2010-wjcc-flims/preview/nk054937.jpg";
img_curling[76]="/2010-wjcc-flims/preview/nk054947.jpg";
img_curling[77]="/2010-wjcc-flims/preview/nk054950.jpg";
img_curling[78]="/2010-wjcc-flims/preview/nk054969-77-79-80.jpg";
img_curling[79]="/2010-wjcc-flims/preview/nk055024-25-26-28.jpg";
img_curling[80]="/2010-wjcc-flims/preview/nk055111.jpg";
img_curling[81]="/2010-wjcc-flims/preview/nk055193.jpg";
img_curling[82]="/2010-wjcc-flims/preview/nk055348.jpg";
img_curling[83]="/2010-wjcc-flims/preview/nk055429.jpg";
img_curling[84]="/2010-wjcc-flims/preview/nk055485.jpg";
img_curling[85]="/2010-wjcc-flims/preview/nk055583.jpg";
img_curling[86]="/2010-wjcc-flims/preview/nk055622.jpg";
img_curling[87]="/2010-wjcc-flims/preview/nk055629.jpg";
img_curling[88]="/2010-wjcc-flims/preview/nk055655.jpg";
img_curling[89]="/2010-wjcc-flims/preview/nk055669.jpg";
img_curling[90]="/2010-wjcc-flims/preview/nk055696.jpg";
img_curling[91]="/2010-wjcc-flims/preview/nk055746.jpg";
img_curling[92]="/2010-wjcc-flims/preview/nk055801.jpg";
img_curling[93]="/2010-wjcc-flims/preview/nk055984.jpg";
img_curling[94]="/2010-wjcc-flims/preview/nk055991.jpg";
img_curling[95]="/2010-wjcc-flims/preview/nk055996.jpg";
img_curling[96]="/2010-wjcc-flims/preview/nk056141.jpg";
img_curling[97]="/2010-wjcc-flims/preview/nk056231.jpg";
img_curling[98]="/2010-wjcc-flims/preview/nk056337-cutout.jpg";
img_curling[99]="/2010-wjcc-flims/preview/nk056372.jpg";
img_curling[100]="/2010-wjcc-flims/preview/nk056376.jpg";
img_curling[101]="/2010-wjcc-flims/preview/nk056393.jpg";
img_curling[102]="/2010-wjcc-flims/preview/nk056397.jpg";
img_curling[103]="/2010-wjcc-flims/preview/nk056407.jpg";
img_curling[104]="/2010-wjcc-flims/preview/nk056423.jpg";
img_curling[105]="/2010-wjcc-flims/preview/nk056427-056432-panorama.jpg";
img_curling[106]="/2010-wjcc-flims/preview/nk056528.jpg";
img_curling[107]="/2010-wjcc-flims/preview/nk056566.jpg";
img_curling[108]="/2010-wjcc-flims/preview/nk056570-edit.jpg";
img_curling[109]="/2010-wjcc-flims/preview/nk056573-056577.jpg";
img_curling[110]="/2010-wjcc-flims/preview/nk056584.jpg";
img_curling[111]="/2010-wjcc-flims/preview/nk056586.jpg";
img_curling[112]="/2011-Giandaplatta/content/images/thumb/NK103879.jpg";
img_curling[113]="/2011-Giandaplatta/content/images/thumb/NK103891.jpg";
img_curling[114]="/2011-Giandaplatta/content/images/thumb/NK103928.jpg";
img_curling[115]="/2011-Giandaplatta/content/images/thumb/NK104809_104018_Panorama.jpg";
img_curling[116]="/2011-Giandaplatta/content/images/thumb/NK103999.jpg";
img_curling[117]="/2011-Giandaplatta/content/images/thumb/NK104029.jpg";
img_curling[118]="/2011-Giandaplatta/content/images/thumb/NK104044.jpg";
img_curling[119]="/2011-Giandaplatta/content/images/thumb/NK104183.jpg";
img_curling[120]="/2011-Giandaplatta/content/images/thumb/NK104218.jpg";
img_curling[121]="/2011-Giandaplatta/content/images/thumb/NK104351.jpg";
img_curling[122]="/2012-Giandaplatta/content/images/thumb/NK119129.jpg"
img_curling[123]="/2012-Giandaplatta/content/images/thumb/NK119123.jpg"
img_curling[124]="/2012-Giandaplatta/content/images/thumb/NK119100_119102_Panorama.jpg"
img_curling[125]="/2012-Giandaplatta/content/images/thumb/G12_002440.jpg"
img_curling[126]="/2012-Giandaplatta/content/images/thumb/G12_002450.jpg"

//specify the corresponding links
var imglnk_curling=new Array();
imglnk_curling[1]="/2006-ECC-Basel/source/img22014.html";
imglnk_curling[2]="/2006-ECC-Basel/source/img22059.html";
imglnk_curling[3]="/2006-ECC-Basel/source/img22088-22091_cutout.html";
imglnk_curling[4]="/2006-ECC-Basel/source/img22095_1.html";
imglnk_curling[5]="/2006-ECC-Basel/source/img22101_1.html";
imglnk_curling[6]="/2006-ECC-Basel/source/img22385.html";
imglnk_curling[7]="/2006-ECC-Basel/source/img22415.html";
imglnk_curling[8]="/2006-ECC-Basel/source/img22480.html";
imglnk_curling[9]="/2006-ECC-Basel/source/img22683.html";
imglnk_curling[10]="/2006-ECC-Basel/source/img23342.html";
imglnk_curling[11]="/2006-ECC-Basel/source/img23437-38.html";
imglnk_curling[12]="/2006-ECC-Basel/source/img23544.html";
imglnk_curling[13]="/2006-ECC-Basel/source/img23547-23550_sph.html";
imglnk_curling[14]="/2006-ECC-Basel/source/img23555.html";
imglnk_curling[15]="/2006-ECC-Basel/source/img23562.html";
imglnk_curling[16]="/2006-ECC-Basel/source/img23582.html";
imglnk_curling[17]="/2006-ECC-Basel/source/img23589.html";
imglnk_curling[18]="/2006-ECC-Basel/source/img23591.html";
imglnk_curling[19]="/2006-ECC-Basel/source/img23592.html";
imglnk_curling[20]="/curling-giandaplatta-2009/source/img110507.html";
imglnk_curling[21]="/curling-giandaplatta-2009/source/img110527.html";
imglnk_curling[22]="/curling-giandaplatta-2009/source/img110652.html";
imglnk_curling[23]="/curling-giandaplatta-2009/source/img110679.html";
imglnk_curling[24]="/curling-giandaplatta-2009/source/img110722.html";
imglnk_curling[25]="/curling-giandaplatta-2009/source/img110749.html";
imglnk_curling[26]="/curling-giandaplatta-2009/source/img110766.html";
imglnk_curling[27]="/curling-giandaplatta-2009/source/img110779.html";
imglnk_curling[28]="/curling-giandaplatta-2009/source/img110782.html";
imglnk_curling[29]="/curling-giandaplatta-2009/source/img110798.html";
imglnk_curling[30]="/curling-giandaplatta-2009/source/img110804-a1.html";
imglnk_curling[31]="/curling-openair-championship-2009/source/img111459.html";
imglnk_curling[32]="/curling-openair-championship-2009/source/img111497-b.html";
imglnk_curling[33]="/curling-openair-championship-2009/source/img111503.html";
imglnk_curling[34]="/curling-openair-championship-2009/source/img111513.html";
imglnk_curling[35]="/curling-openair-championship-2009/source/img111542.html";
imglnk_curling[36]="/curling-openair-championship-2009/source/img111575.html";
imglnk_curling[37]="/curling-openair-championship-2009/source/img111582.html";
imglnk_curling[38]="/curling-openair-championship-2009/source/img111585.html";
imglnk_curling[39]="/curling-openair-championship-2009/source/img111614.html";
imglnk_curling[40]="/curling-openair-championship-2009/source/img111222.html";
imglnk_curling[41]="/curling-openair-championship-2009/source/img111248-b.html";
imglnk_curling[42]="/curling-openair-championship-2009/source/img111259-b.html";
imglnk_curling[43]="/curling-openair-championship-2009/source/img111260.html";
imglnk_curling[44]="/curling-openair-championship-2009/source/img111275-b.html";
imglnk_curling[45]="/curling-openair-championship-2009/source/img111294.html";
imglnk_curling[46]="/curling-openair-championship-2009/source/img111326.html";
imglnk_curling[47]="/curling-openair-championship-2009/source/img111330.html";
imglnk_curling[48]="/curling-openair-championship-2009/source/img111910.html";
imglnk_curling[49]="/curling-openair-championship-2009/source/img111948.html";
imglnk_curling[50]="/curling-openair-championship-2009/source/img112015-a.html";
imglnk_curling[51]="/curling-openair-championship-2009/source/img111628.html";
imglnk_curling[52]="/curling-openair-championship-2009/source/img111657-a.html";
imglnk_curling[53]="/curling-openair-championship-2009/source/img111671.html";
imglnk_curling[54]="/curling-openair-championship-2009/source/img111691-a.html";
imglnk_curling[55]="/curling-openair-championship-2009/source/img111750-a.html";
imglnk_curling[56]="/curling-openair-championship-2009/source/img111785-a.html";
imglnk_curling[57]="/curling-openair-championship-2009/source/img111819.html";
imglnk_curling[58]="/curling-openair-championship-2009/source/img111894-a.html";
imglnk_curling[59]="/2010-wjcc-flims/source/nk053093.html";
imglnk_curling[60]="/2010-wjcc-flims/source/nk053195.html";
imglnk_curling[61]="/2010-wjcc-flims/source/nk053277.html";
imglnk_curling[62]="/2010-wjcc-flims/source/nk053342.html";
imglnk_curling[63]="/2010-wjcc-flims/source/nk053391.html";
imglnk_curling[64]="/2010-wjcc-flims/source/nk053418.html";
imglnk_curling[65]="/2010-wjcc-flims/source/nk053440.html";
imglnk_curling[66]="/2010-wjcc-flims/source/nk053468.html";
imglnk_curling[67]="/2010-wjcc-flims/source/nk053574.html";
imglnk_curling[68]="/2010-wjcc-flims/source/nk053869.html";
imglnk_curling[69]="/2010-wjcc-flims/source/nk054148.html";
imglnk_curling[70]="/2010-wjcc-flims/source/nk054203.html";
imglnk_curling[71]="/2010-wjcc-flims/source/nk054219.html";
imglnk_curling[72]="/2010-wjcc-flims/source/nk054322.html";
imglnk_curling[73]="/2010-wjcc-flims/source/nk054584.html";
imglnk_curling[74]="/2010-wjcc-flims/source/nk054827.html";
imglnk_curling[75]="/2010-wjcc-flims/source/nk054937.html";
imglnk_curling[76]="/2010-wjcc-flims/source/nk054947.html";
imglnk_curling[77]="/2010-wjcc-flims/source/nk054950.html";
imglnk_curling[78]="/2010-wjcc-flims/source/nk054969-77-79-80.html";
imglnk_curling[79]="/2010-wjcc-flims/source/nk055024-25-26-28.html";
imglnk_curling[80]="/2010-wjcc-flims/source/nk055111.html";
imglnk_curling[81]="/2010-wjcc-flims/source/nk055193.html";
imglnk_curling[82]="/2010-wjcc-flims/source/nk055348.html";
imglnk_curling[83]="/2010-wjcc-flims/source/nk055429.html";
imglnk_curling[84]="/2010-wjcc-flims/source/nk055485.html";
imglnk_curling[85]="/2010-wjcc-flims/source/nk055583.html";
imglnk_curling[86]="/2010-wjcc-flims/source/nk055622.html";
imglnk_curling[87]="/2010-wjcc-flims/source/nk055629.html";
imglnk_curling[88]="/2010-wjcc-flims/source/nk055655.html";
imglnk_curling[89]="/2010-wjcc-flims/source/nk055669.html";
imglnk_curling[90]="/2010-wjcc-flims/source/nk055696.html";
imglnk_curling[91]="/2010-wjcc-flims/source/nk055746.html";
imglnk_curling[92]="/2010-wjcc-flims/source/nk055801.html";
imglnk_curling[93]="/2010-wjcc-flims/source/nk055984.html";
imglnk_curling[94]="/2010-wjcc-flims/source/nk055991.html";
imglnk_curling[95]="/2010-wjcc-flims/source/nk055996.html";
imglnk_curling[96]="/2010-wjcc-flims/source/nk056141.html";
imglnk_curling[97]="/2010-wjcc-flims/source/nk056231.html";
imglnk_curling[98]="/2010-wjcc-flims/source/nk056337-cutout.html";
imglnk_curling[99]="/2010-wjcc-flims/source/nk056372.html";
imglnk_curling[100]="/2010-wjcc-flims/source/nk056376.html";
imglnk_curling[101]="/2010-wjcc-flims/source/nk056393.html";
imglnk_curling[102]="/2010-wjcc-flims/source/nk056397.html";
imglnk_curling[103]="/2010-wjcc-flims/source/nk056407.html";
imglnk_curling[104]="/2010-wjcc-flims/source/nk056423.html";
imglnk_curling[105]="/2010-wjcc-flims/source/nk056427-056432_panorama.html";
imglnk_curling[106]="/2010-wjcc-flims/source/nk056528.html";
imglnk_curling[107]="/2010-wjcc-flims/source/nk056566.html";
imglnk_curling[108]="/2010-wjcc-flims/source/nk056570-edit.html";
imglnk_curling[109]="/2010-wjcc-flims/source/nk056573-056577.html";
imglnk_curling[110]="/2010-wjcc-flims/source/nk056584.html";
imglnk_curling[111]="/2010-wjcc-flims/source/nk056586.html";
imglnk_curling[112]="/2011-Giandaplatta/content/NK103879_large.html";
imglnk_curling[113]="/2011-Giandaplatta/content/NK103891_large.html";
imglnk_curling[114]="/2011-Giandaplatta/content/NK103928_large.html";
imglnk_curling[115]="/2011-Giandaplatta/content/NK104809_104018_Panorama_large.html";
imglnk_curling[116]="/2011-Giandaplatta/content/NK103999_large.html";
imglnk_curling[117]="/2011-Giandaplatta/content/NK104029_large.html";
imglnk_curling[118]="/2011-Giandaplatta/content/NK104044_large.html";
imglnk_curling[119]="/2011-Giandaplatta/content/NK104183_large.html";
imglnk_curling[120]="/2011-Giandaplatta/content/NK104218_large.html";
imglnk_curling[121]="/2011-Giandaplatta/content/NK104351_large.html";
imglnk_curling[122]="/2012-Giandaplatta/content/NK119129_large.html"
imglnk_curling[123]="/2012-Giandaplatta/content/NK119123_large.html"
imglnk_curling[124]="/2012-Giandaplatta/content/NK119100_119102_Panorama_large.html"
imglnk_curling[125]="/2012-Giandaplatta/content/G12-002440_large.html"
imglnk_curling[126]="/2012-Giandaplatta/content/G12-002450_large.html"

//white-turf
//**********
var imgnbr=20;
var randomnumber=Math.random();
var num_white_turf=Math.round((imgnbr-1)*randomnumber)+1;

//specify random images
var img_white_turf=new Array();
img_white_turf[1]="/white-turf-2010/preview/nk050481-cutout-2.jpg";
img_white_turf[2]="/white-turf-2010/preview/nk050470-cutout.jpg";
img_white_turf[3]="/white-turf-2010/preview/nk050468-cutout.jpg";
img_white_turf[4]="/white-turf-2010/preview/nk050432-cutout.jpg";
img_white_turf[5]="/2011-White-Turf-Raceday1/content/images/thumb/NK104968.jpg";
img_white_turf[6]="/2011-White-Turf-Raceday1/content/images/thumb/NK105045.jpg";
img_white_turf[7]="/2011-White-Turf-Raceday2/content/images/thumb/NK105088.jpg";
img_white_turf[8]="/2011-White-Turf-Raceday2/content/images/thumb/NK105093.jpg";
img_white_turf[9]="/2011-White-Turf-Raceday2/content/images/thumb/NK105104.jpg";
img_white_turf[10]="/2011-White-Turf-Raceday2/content/images/thumb/NK105127.jpg";
img_white_turf[11]="/2011-White-Turf-Raceday2/content/images/thumb/NK105142.jpg";
img_white_turf[12]="/2011-White-Turf-Raceday2/content/images/thumb/NK105331.jpg";
img_white_turf[13]="/2011-White-Turf-Raceday3/content/images/thumb/NK105423_Edit.jpg";
img_white_turf[14]="/2011-White-Turf-Raceday3/content/images/thumb/NK105442_Edit.jpg";
img_white_turf[15]="/2011-White-Turf-Raceday3/content/images/thumb/NK105481_Edit.jpg";
img_white_turf[16]="/2011-White-Turf-Raceday3/content/images/thumb/NK105646_Edit.jpg";
img_white_turf[17]="/2011-White-Turf-Raceday3/content/images/thumb/NK105785_Edit.jpg";
img_white_turf[18]="/2011-White-Turf-Raceday3/content/images/thumb/NK105824_a.jpg";
img_white_turf[19]="/2011-White-Turf-Raceday3/content/images/thumb/NK105830_Edit.jpg";
img_white_turf[20]="/white-turf-2010/preview/nk050430-cutout.jpg";

//specify the corresponding links
var imglnk_white_turf=new Array();
imglnk_white_turf[1]="/white-turf-2010/source/nk050481-cutout-2.html";
imglnk_white_turf[2]="/white-turf-2010/source/nk050470-cutout.html";
imglnk_white_turf[3]="/white-turf-2010/source/nk050468-cutout.html";
imglnk_white_turf[4]="/white-turf-2010/source/nk050432-cutout.html";
imglnk_white_turf[5]="/2011-White-Turf-Raceday1/content/NK104968_large.html";
imglnk_white_turf[6]="/2011-White-Turf-Raceday1/content/NK105045_large.html";
imglnk_white_turf[7]="/2011-White-Turf-Raceday2/content/NK105088_large.html";
imglnk_white_turf[8]="/2011-White-Turf-Raceday2/content/NK105093_large.html";
imglnk_white_turf[9]="/2011-White-Turf-Raceday2/content/NK105104_large.html";
imglnk_white_turf[10]="/2011-White-Turf-Raceday2/content/NK105127_large.html";
imglnk_white_turf[11]="/2011-White-Turf-Raceday2/content/NK105142_large.html";
imglnk_white_turf[12]="/2011-White-Turf-Raceday2/content/NK105331_large.html";
imglnk_white_turf[13]="/2011-White-Turf-Raceday3/content/NK105423_Edit_large.html";
imglnk_white_turf[14]="/2011-White-Turf-Raceday3/content/NK105442_Edit_large.html";
imglnk_white_turf[15]="/2011-White-Turf-Raceday3/content/NK105481_Edit_large.html";
imglnk_white_turf[16]="/2011-White-Turf-Raceday3/content/NK105646_Edit_large.html";
imglnk_white_turf[17]="/2011-White-Turf-Raceday3/content/NK105785_Edit_large.html";
imglnk_white_turf[18]="/2011-White-Turf-Raceday3/content/NK105824_a_large.html";
imglnk_white_turf[19]="/2011-White-Turf-Raceday3/content/NK105830_Edit_large.html";
imglnk_white_turf[20]="/white-turf-2010/source/nk050430-cutout.html";

// opera
//*******
var imgnbr=49;
var randomnumber=Math.random();
var num_opera=Math.round((imgnbr-1)*randomnumber)+1;

var img_opera=new Array();
//specify random images
img_opera[1]="/Nozze-di-Figaro/selection/preview/003_nk067765.jpg";
img_opera[2]="/Nozze-di-Figaro/selection/preview/018_nk067791.jpg";
img_opera[3]="/Nozze-di-Figaro/selection/preview/022_nk067803.jpg";
img_opera[4]="/Nozze-di-Figaro/selection/preview/036_nk067823.jpg";
img_opera[5]="/Nozze-di-Figaro/selection/preview/037_nk067825.jpg";
img_opera[6]="/Nozze-di-Figaro/selection/preview/055_nk067844.jpg";
img_opera[7]="/Nozze-di-Figaro/selection/preview/073_nk067864.jpg";
img_opera[8]="/Nozze-di-Figaro/selection/preview/095_nk068499.jpg";
img_opera[9]="/Nozze-di-Figaro/selection/preview/137_nk068548.jpg";
img_opera[10]="/Nozze-di-Figaro/performance/preview/147_nk067949.jpg";
img_opera[11]="/Nozze-di-Figaro/selection/preview/151_nk067959.jpg";
img_opera[12]="/Nozze-di-Figaro/selection/preview/162_nk068590.jpg";
img_opera[13]="/Nozze-di-Figaro/selection/preview/164_nk068594.jpg";
img_opera[14]="/Nozze-di-Figaro/selection/preview/177_nk068003.jpg";
img_opera[15]="/Nozze-di-Figaro/selection/preview/183_nk068621.jpg";
img_opera[16]="/Nozze-di-Figaro/selection/preview/189_nk068631.jpg";
img_opera[17]="/Nozze-di-Figaro/selection/preview/196_nk068012.jpg";
img_opera[18]="/Nozze-di-Figaro/selection/preview/198_nk068016.jpg";
img_opera[19]="/Nozze-di-Figaro/selection/preview/203_nk068026.jpg";
img_opera[20]="/Nozze-di-Figaro/selection/preview/247_nk068129.jpg";
img_opera[21]="/Nozze-di-Figaro/selection/preview/255_nk068146.jpg";
img_opera[22]="/Nozze-di-Figaro/selection/preview/287_nk068194.jpg";
img_opera[23]="/Nozze-di-Figaro/selection/preview/292_nk068792.jpg";
img_opera[24]="/Nozze-di-Figaro/selection/preview/319_nk068829.jpg";
img_opera[25]="/Nozze-di-Figaro/selection/preview/323_nk068834.jpg";
img_opera[26]="/Nozze-di-Figaro/selection/preview/327_nk068261.jpg";
img_opera[27]="/Nozze-di-Figaro/selection/preview/332_nk068841.jpg";
img_opera[28]="/Bellini-Pirata/preview/sdim1200_cutout.jpg";
img_opera[29]="/Bellini-Pirata/preview/sdim1121.jpg";
img_opera[30]="/Bellini-Pirata/preview/sdim0673.jpg";
img_opera[31]="/Bellini-Pirata/preview/sdim1039.jpg";
img_opera[32]="/Bellini-Pirata/preview/sdim1006_bwcol.jpg";
img_opera[33]="/Bellini-Pirata/preview/sdim1003.jpg";
img_opera[34]="/Bellini-Pirata/preview/sdim0644_comb.jpg";
img_opera[35]="/Bellini-Pirata/preview/sdim0655.jpg";
img_opera[36]="/Bellini-Pirata/preview/sdim0648_cutout.jpg";
img_opera[37]="/Verdi-Regno-Performance/preview/dsc00520.jpg";
img_opera[38]="/Verdi-Regno-Performance/preview/dsc00554.jpg";
img_opera[39]="/Verdi-Regno-Haupt-Probe/preview/dsc00608.jpg";
img_opera[40]="/Verdi-Regno-Haupt-Probe/preview/dsc00617.jpg";
img_opera[41]="/Verdi-Regno-Haupt-Probe/preview/dsc00722.jpg";
img_opera[42]="/Verdi-Regno-Haupt-Probe/preview/dsc00798.jpg";
img_opera[43]="/Verdi-Regno-Haupt-Probe/preview/dsc00803.jpg";
img_opera[44]="/Verdi-Regno-Haupt-Probe/preview/dsc00832.jpg";
img_opera[45]="/Verdi-Regno-Haupt-Probe/preview/dsc00888.jpg";
img_opera[46]="/Verdi-Regno-Haupt-Probe/preview/dsc00916.jpg";
img_opera[47]="/Verdi-Regno-Haupt-Probe/preview/dsc00926.jpg";
img_opera[48]="/Verdi-Regno-Haupt-Probe/preview/dsc00930.jpg";
img_opera[49]="/Bellini-Pirata/preview/sdim1092.jpg";

//specify the corresponding links
var imglnk_opera=new Array();
imglnk_opera[1]="/Nozze-di-Figaro/selection/source/003_nk067765.html";
imglnk_opera[2]="/Nozze-di-Figaro/selection/source/018_nk067791.html";
imglnk_opera[3]="/Nozze-di-Figaro/selection/source/022_nk067803.html";
imglnk_opera[4]="/Nozze-di-Figaro/selection/source/036_nk067823.html";
imglnk_opera[5]="/Nozze-di-Figaro/selection/source/037_nk067825.html";
imglnk_opera[6]="/Nozze-di-Figaro/selection/source/055_nk067844.html";
imglnk_opera[7]="/Nozze-di-Figaro/selection/source/073_nk067864.html";
imglnk_opera[8]="/Nozze-di-Figaro/selection/source/095_nk068499.html";
imglnk_opera[9]="/Nozze-di-Figaro/selection/source/137_nk068548.html";
imglnk_opera[10]="/Nozze-di-Figaro/performance/source/147_nk067949.html";
imglnk_opera[11]="/Nozze-di-Figaro/selection/source/151_nk067959.html";
imglnk_opera[12]="/Nozze-di-Figaro/selection/source/162_nk068590.html";
imglnk_opera[13]="/Nozze-di-Figaro/selection/source/164_nk068594.html";
imglnk_opera[14]="/Nozze-di-Figaro/selection/source/177_nk068003.html";
imglnk_opera[15]="/Nozze-di-Figaro/selection/source/183_nk068621.html";
imglnk_opera[16]="/Nozze-di-Figaro/selection/source/189_nk068631.html";
imglnk_opera[17]="/Nozze-di-Figaro/selection/source/196_nk068012.html";
imglnk_opera[18]="/Nozze-di-Figaro/selection/source/198_nk068016.html";
imglnk_opera[19]="/Nozze-di-Figaro/selection/source/203_nk068026.html";
imglnk_opera[20]="/Nozze-di-Figaro/selection/source/247_nk068129.html";
imglnk_opera[21]="/Nozze-di-Figaro/selection/source/255_nk068146.html";
imglnk_opera[22]="/Nozze-di-Figaro/selection/source/287_nk068194.html";
imglnk_opera[23]="/Nozze-di-Figaro/selection/source/292_nk068792.html";
imglnk_opera[24]="/Nozze-di-Figaro/selection/source/319_nk068829.html";
imglnk_opera[25]="/Nozze-di-Figaro/selection/source/323_nk068834.html";
imglnk_opera[26]="/Nozze-di-Figaro/selection/source/327_nk068261.html";
imglnk_opera[27]="/Nozze-di-Figaro/selection/source/332_nk068841.html";
imglnk_opera[28]="/Bellini-Pirata/source/sdim1200_cutout.html";
imglnk_opera[29]="/Bellini-Pirata/source/sdim1121.html";
imglnk_opera[30]="/Bellini-Pirata/source/sdim0673.html";
imglnk_opera[31]="/Bellini-Pirata/source/sdim1039.html";
imglnk_opera[32]="/Bellini-Pirata/source/sdim1006_bwcol.html";
imglnk_opera[33]="/Bellini-Pirata/source/sdim1003.html";
imglnk_opera[34]="/Bellini-Pirata/source/sdim0644_comb.html";
imglnk_opera[35]="/Bellini-Pirata/source/sdim0655.html";
imglnk_opera[36]="/Bellini-Pirata/source/sdim0648_cutout.html";
imglnk_opera[37]="/Verdi-Regno-Performance/source/dsc00520.html";
imglnk_opera[38]="/Verdi-Regno-Performance/source/dsc00554.html";
imglnk_opera[39]="/Verdi-Regno-Haupt-Probe/source/dsc00608.html";
imglnk_opera[40]="/Verdi-Regno-Haupt-Probe/source/dsc00617.html";
imglnk_opera[41]="/Verdi-Regno-Haupt-Probe/source/dsc00722.html";
imglnk_opera[42]="/Verdi-Regno-Haupt-Probe/source/dsc00798.html";
imglnk_opera[43]="/Verdi-Regno-Haupt-Probe/source/dsc00803.html";
imglnk_opera[44]="/Verdi-Regno-Haupt-Probe/source/dsc00832.html";
imglnk_opera[45]="/Verdi-Regno-Haupt-Probe/source/dsc00888.html";
imglnk_opera[46]="/Verdi-Regno-Haupt-Probe/source/dsc00916.html";
imglnk_opera[47]="/Verdi-Regno-Haupt-Probe/source/dsc00926.html";
imglnk_opera[48]="/Verdi-Regno-Haupt-Probe/source/dsc00930.html";
imglnk_opera[49]="/Bellini-Pirata/source/sdim1092.html";

//Body Painting
//*************
var imgnbr=23;
var randomnumber=Math.random();
var num_bodypaint=Math.round((imgnbr-1)*randomnumber)+1;

var img_bodypaint=new Array();
//specify random images
img_bodypaint[1]="http://www.halo-photographs.com/Body-Painting-Luzern-2006/preview/img06315.jpg";
img_bodypaint[2]="http://www.halo-photographs.com/Body-Painting-Luzern-2006/preview/img06387.jpg";
img_bodypaint[3]="http://www.halo-photographs.com/Body-Painting-Luzern-2006/preview/img06550.jpg";
img_bodypaint[4]="http://www.halo-photographs.com/Body-Painting-Luzern-2007/preview/sdim5235.jpg";
img_bodypaint[5]="http://www.halo-photographs.com/Body-Painting-Luzern-2007/preview/sdim5303.jpg";
img_bodypaint[6]="http://www.halo-photographs.com/Body-Painting-Luzern-2007/preview/sdim5439.jpg";
img_bodypaint[7]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/crw_8417.jpg";
img_bodypaint[8]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img04802.jpg";
img_bodypaint[9]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img04866.jpg";
img_bodypaint[10]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img04893.jpg";
img_bodypaint[11]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img04955_a.jpg";
img_bodypaint[12]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05270.jpg";
img_bodypaint[13]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05498_a.jpg";
img_bodypaint[14]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05596.jpg";
img_bodypaint[15]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05545_a.jpg";
img_bodypaint[16]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05727_a.jpg";
img_bodypaint[17]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05780.jpg";
img_bodypaint[18]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05877.jpg";
img_bodypaint[19]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img05988.jpg";
img_bodypaint[20]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/img06081.jpg";
img_bodypaint[21]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/preview/crw_8305.jpg";
img_bodypaint[22]="http://www.halo-photographs.com/Bodypainting-Seeboden-2007/preview/the-foxiest-fox-sdim3395.jpg";
img_bodypaint[23]="http://www.halo-photographs.com/Bodypainting-Seeboden-2007/preview/hands-and-feet-sdim1844.jpg";

//specify the corresponding links
var imglnk_bodypaint=new Array();
imglnk_bodypaint[1]="http://www.halo-photographs.com/Body-Painting-Luzern-2006/source/img06315.html";
imglnk_bodypaint[2]="http://www.halo-photographs.com/Body-Painting-Luzern-2006/source/img06387.html";
imglnk_bodypaint[3]="http://www.halo-photographs.com/Body-Painting-Luzern-2006/source/img06550.html";
imglnk_bodypaint[4]="http://www.halo-photographs.com/Body-Painting-Luzern-2007/source/sdim5235.html";
imglnk_bodypaint[5]="http://www.halo-photographs.com/Body-Painting-Luzern-2007/source/sdim5303.html";
imglnk_bodypaint[6]="http://www.halo-photographs.com/Body-Painting-Luzern-2007/source/sdim5439.html";
imglnk_bodypaint[7]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/crw_8417.html";
imglnk_bodypaint[8]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img04802.html";
imglnk_bodypaint[9]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img04866.html";
imglnk_bodypaint[10]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img04893.html";
imglnk_bodypaint[11]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img04955_a.html";
imglnk_bodypaint[12]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05270.html";
imglnk_bodypaint[13]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05498_a.html";
imglnk_bodypaint[14]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05596.html";
imglnk_bodypaint[15]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05545_a.html";
imglnk_bodypaint[16]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05727_a.html";
imglnk_bodypaint[17]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05780.html";
imglnk_bodypaint[18]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05877.html";
imglnk_bodypaint[19]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img05988.html";
imglnk_bodypaint[20]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/img06081.html";
imglnk_bodypaint[21]="http://www.halo-photographs.com/Bodypainting-Seeboden-2006/source/crw_8305.html";
imglnk_bodypaint[22]="http://www.halo-photographs.com/Bodypainting-Seeboden-2007/source/the-foxiest-fox-sdim3395.html";
imglnk_bodypaint[23]="http://www.halo-photographs.com/Bodypainting-Seeboden-2007/source/hands-and-feet-sdim1844.html";

//US-West
//*******
var imgnbr=9;
var randomnumber=Math.random();
var num_us_west=Math.round((imgnbr-1)*randomnumber)+1;
var term=" \/>";

var img_us_west=new Array();
//specify random images
img_us_west[1]="/2010-aspen-red-gold/content/images/thumb/NK085017.jpg";
img_us_west[2]="/2010-aspen-red-gold/content/images/thumb/NK084982.jpg";
img_us_west[3]="/2010-aspen-red-gold/content/images/thumb/NK084765.jpg";
img_us_west[4]="/panoramas-usa-west/preview/00256-00263.jpg";
img_us_west[5]="/panoramas-usa-west/preview/08352-08261.jpg";
img_us_west[6]="/panoramas-usa-west/preview/07806-07813.jpg";
img_us_west[7]="/panoramas-usa-west/preview/06966-06972.jpg";
img_us_west[8]="/panoramas-usa-west/preview/04123-04140.jpg";
img_us_west[9]="/pepperdine-university-2008/preview/87547-87590.jpg";

//specify the corresponding links
var imglnk_us_west=new Array();
imglnk_us_west[1]="/2010-aspen-red-gold/content/NK085017_large.html";
imglnk_us_west[2]="/2010-aspen-red-gold/content/NK084982_large.html";
imglnk_us_west[3]="/2010-aspen-red-gold/content/NK084765_large.html";
imglnk_us_west[4]="/panoramas-usa-west/source/00256-00263.html";
imglnk_us_west[5]="/panoramas-usa-west/source/08352-08261.html";
imglnk_us_west[6]="/panoramas-usa-west/source/07806-07813.html";
imglnk_us_west[7]="/panoramas-usa-west/source/06966-06972.html";
imglnk_us_west[8]="/panoramas-usa-west/source/04123-04140.html";
imglnk_us_west[9]="/pepperdine-university-2008/source/87547-87590.html";

//specify alt-Text
var imgalt_us_west=new Array();
imgalt_us_west[1]="Aspen leaves coloured in Gold and Red";
imgalt_us_west[2]="Gold and Red coloured Aspen leaves";
imgalt_us_west[3]="Aspen Red Gold in San Luis Valley";
imgalt_us_west[4]="The Pawhole, Coyote Buttes South, Vermilion Cliffs Wilderness Area";
imgalt_us_west[5]="Dawn at Golden Gate Bridge, San Francisco";
imgalt_us_west[6]="Julia Pfeiffer State Park, Pacific Coast Highway";
imgalt_us_west[7]="Cottonwood cove, Coyote Buttes South, Vermilion Cliffs Wilderness Area";
imgalt_us_west[8]="White Pocket, Vermilion Cliffs Wilderness Area";
imgalt_us_west[9]="Flag Memorial, Pacific Coast Highway, Malibu";

//Special Subjects
//****************
var imgnbr=7;
var randomnumber=Math.random();
var num_special=Math.round((imgnbr-1)*randomnumber)+1;

var img_special=new Array();
//specify random images
img_special[1]="/2010-Sikorsky-S38/preview/nk072492.jpg";
img_special[2]="/2010-Sikorsky-S38/preview/nk072136.jpg";
img_special[3]="/2010-Thalwil-Ruderclub/preview/nk066235_panorama1.jpg";
img_special[4]="/2010-Thalwil-Ruderclub-2/preview/nk066210_panorama-cut-out.jpg";
img_special[5]="/Industrial/preview/sdim4686.jpg";
img_special[6]="/Industrial/preview/sdim4724.jpg";
img_special[7]="/HDRI-demonstration-2009/preview/nk007307-nk007313-manual.jpg";

//specify the corresponding links
var imglnk_special=new Array();
imglnk_special[1]="/2010-Sikorsky-S38/source/nk072492.html";
imglnk_special[2]="/2010-Sikorsky-S38/source/nk072136.html";
imglnk_special[3]="/2010-Thalwil-Ruderclub/source/nk066235_panorama1.html";
imglnk_special[4]="/2010-Thalwil-Ruderclub-2/source/nk066210_panorama-cut-out.html";
imglnk_special[5]="/Industrial/source/sdim4686.html";
imglnk_special[6]="/Industrial/source/sdim4724.html";
imglnk_special[7]="/HDRI-demonstration-2009/source/nk007307-nk007313-manual.html";

//specify alt-Text
var imgalt_special=new Array();
imgalt_special[1]="Sikorsky S-38 above Lake of Zurich near Oberrieden";
imgalt_special[2]="Sikorsky S-38 approach for landing on Lake of Zurich near Oberrieden";
imgalt_special[3]="Panorama from Ruderclub Thalwil";
imgalt_special[4]="A skif rack at Ruderclub Thalwil";
imgalt_special[5]="Art of industrial Illumination at Papierfabrik in Horgen";
imgalt_special[6]="The Art of industrial Illumination at Papierfabrik in Horgen";
imgalt_special[7]="Sunset Reflection of Piz Margna - an HDRI image";

//tips-tricks
//***********
var imgnbr=3;
var randomnumber=Math.random();
var num_tips_tricks=Math.round((imgnbr-1)*randomnumber)+1;
var term=" \/>";

var img_tips_tricks=new Array();
//specify random images
img_tips_tricks[1]="/remote-shutter-release-timer/Arduino-Project-2009/nk006536-web-small.jpg";
img_tips_tricks[2]="/HDRI-demonstration-2009/preview/nk007307-nk007313-manual.jpg";
img_tips_tricks[3]="/info/hdr/preview/16011-16013_flat.jpg";

//specify the corresponding links
var imglnk_tips_tricks=new Array();
imglnk_tips_tricks[1]="/remote-shutter-release-timer/index.html";
imglnk_tips_tricks[2]="/HDRI-demonstration-2009/index.html";
imglnk_tips_tricks[3]="/info/hdr/simple-hdr-technique.html";


