var url = "/billeder/Goef";
var pictureArray = new Array();
pictureArray[0] = "001.jpg";
pictureArray[1] = "002.jpg";
pictureArray[2] = "003.jpg";
pictureArray[3] = "004.jpg";
pictureArray[4] = "005.jpg";
pictureArray[5] = "006.jpg";
pictureArray[6] = "007.jpg";
pictureArray[7] = "008.jpg";
pictureArray[8] = "009.jpg";
pictureArray[9] = "010.jpg";
pictureArray[10] = "011.jpg";
pictureArray[11] = "012.jpg";
pictureArray[12] = "013.jpg";
pictureArray[13] = "014.jpg";
pictureArray[14] = "015.jpg";
pictureArray[15] = "016.jpg";
pictureArray[16] = "017.jpg";
pictureArray[17] = "018.jpg";
pictureArray[18] = "019.jpg";
pictureArray[19] = "020.jpg";
pictureArray[20] = "021.jpg";
pictureArray[21] = "022.jpg";
pictureArray[22] = "023.jpg";
pictureArray[23] = "024.jpg";
pictureArray[24] = "025.jpg";
pictureArray[25] = "026.jpg";
pictureArray[26] = "027.jpg";
pictureArray[27] = "028.jpg";
pictureArray[28] = "029.jpg";
pictureArray[29] = "030.jpg";
pictureArray[30] = "031.jpg";
pictureArray[31] = "032.jpg";
pictureArray[32] = "033.jpg";
pictureArray[33] = "034.jpg";
pictureArray[34] = "035.jpg";
pictureArray[35] = "036.jpg";
pictureArray[36] = "037.jpg";
pictureArray[37] = "038.jpg";
pictureArray[38] = "039.jpg";
pictureArray[39] = "040.jpg";
pictureArray[40] = "041.jpg";
pictureArray[41] = "042.jpg";
pictureArray[42] = "044.jpg";
pictureArray[43] = "045.jpg";
pictureArray[44] = "046.jpg";
pictureArray[45] = "047.jpg";
pictureArray[46] = "048.jpg";
pictureArray[47] = "049.jpg";
pictureArray[48] = "050.jpg";
pictureArray[49] = "051.jpg";
pictureArray[50] = "052.jpg";
pictureArray[51] = "053.jpg";
pictureArray[52] = "054.jpg";
pictureArray[53] = "055.jpg";
pictureArray[54] = "056.jpg";
pictureArray[55] = "057.jpg";
pictureArray[56] = "058.jpg";
pictureArray[57] = "059.jpg";
pictureArray[58] = "060.jpg";
pictureArray[59] = "061.jpg";
pictureArray[60] = "062.jpg";
pictureArray[61] = "063.jpg";
pictureArray[62] = "064.jpg";
pictureArray[63] = "065.jpg";
pictureArray[64] = "066.jpg";
pictureArray[65] = "067.jpg";
pictureArray[66] = "068.jpg";
pictureArray[67] = "069.jpg";
pictureArray[68] = "070.jpg";
pictureArray[69] = "071.jpg";
pictureArray[70] = "072.jpg";
pictureArray[71] = "073.jpg";
pictureArray[72] = "074.jpg";
pictureArray[73] = "075.jpg";
pictureArray[74] = "076.jpg";
pictureArray[75] = "077.jpg";
pictureArray[76] = "078.jpg";
pictureArray[77] = "079.jpg";
pictureArray[78] = "080.jpg";
pictureArray[79] = "081.jpg";
pictureArray[80] = "082.jpg";
pictureArray[81] = "083.jpg";
pictureArray[82] = "084.jpg";
pictureArray[83] = "085.jpg";
pictureArray[84] = "086.jpg";
pictureArray[85] = "087.jpg";
pictureArray[86] = "088.jpg";
pictureArray[87] = "089.jpg";
pictureArray[88] = "090.jpg";
pictureArray[89] = "091.jpg";
pictureArray[90] = "092.jpg";
pictureArray[91] = "093.jpg";
pictureArray[92] = "094.jpg";
pictureArray[93] = "095.jpg";
pictureArray[94] = "096.jpg";
pictureArray[95] = "097.jpg";
pictureArray[96] = "098.jpg";
pictureArray[97] = "099.jpg";
pictureArray[98] = "100.jpg";
pictureArray[99] = "101.jpg";
pictureArray[100] = "102.jpg";
pictureArray[101] = "103.jpg";
pictureArray[102] = "104.jpg";
pictureArray[103] = "105.jpg";
pictureArray[104] = "106.jpg";
pictureArray[105] = "107.jpg";
pictureArray[106] = "108.jpg";
pictureArray[107] = "109.jpg";
pictureArray[108] = "110.jpg";
pictureArray[109] = "111.jpg";
pictureArray[110] = "112.jpg";
pictureArray[111] = "113.jpg";
pictureArray[112] = "114.jpg";
pictureArray[113] = "115.jpg";
pictureArray[114] = "116.jpg";
pictureArray[115] = "117.jpg";
pictureArray[116] = "118.jpg";
pictureArray[117] = "119.jpg";
pictureArray[118] = "120.jpg";
pictureArray[119] = "121.jpg";
pictureArray[120] = "122.jpg";
pictureArray[121] = "123.jpg";
pictureArray[122] = "124.jpg";
pictureArray[123] = "125.jpg";
pictureArray[124] = "126.jpg";
pictureArray[125] = "127.jpg";
pictureArray[126] = "128.jpg";
pictureArray[127] = "129.jpg";
pictureArray[128] = "130.jpg";
pictureArray[129] = "131.jpg";
pictureArray[130] = "132.jpg";
pictureArray[131] = "133.jpg";
pictureArray[132] = "134.jpg";
pictureArray[133] = "135.jpg";
pictureArray[134] = "136.jpg";
pictureArray[135] = "137.jpg";
pictureArray[136] = "138.jpg";
pictureArray[137] = "139.jpg";
pictureArray[138] = "140.jpg";
pictureArray[139] = "141.jpg";
pictureArray[140] = "142.jpg";
pictureArray[141] = "143.jpg";
pictureArray[142] = "144.jpg";
pictureArray[143] = "145.jpg";
pictureArray[144] = "146.jpg";
pictureArray[145] = "147.jpg";
pictureArray[146] = "148.jpg";
pictureArray[147] = "149.jpg";
pictureArray[148] = "150.jpg";
pictureArray[149] = "151.jpg";
pictureArray[150] = "152.jpg";
pictureArray[151] = "153.jpg";
pictureArray[152] = "154.jpg";
pictureArray[153] = "155.jpg";
pictureArray[154] = "156.jpg";
pictureArray[155] = "157.jpg";
pictureArray[156] = "158.jpg";
pictureArray[157] = "159.jpg";
pictureArray[158] = "160.jpg";
pictureArray[159] = "161.jpg";
pictureArray[160] = "162.jpg";
pictureArray[161] = "163.jpg";
pictureArray[162] = "164.jpg";
pictureArray[163] = "165.jpg";
pictureArray[164] = "166.jpg";
pictureArray[165] = "167.jpg";
pictureArray[166] = "168.jpg";
pictureArray[167] = "169.jpg";
pictureArray[168] = "170.jpg";
pictureArray[169] = "171.jpg";
pictureArray[170] = "172.jpg";
pictureArray[171] = "173.jpg";
pictureArray[172] = "174.jpg";
pictureArray[173] = "175.jpg";
pictureArray[174] = "176.jpg";
pictureArray[175] = "177.jpg";
pictureArray[176] = "178.jpg";
pictureArray[177] = "179.jpg";
pictureArray[178] = "180.jpg";
pictureArray[179] = "181.jpg";
pictureArray[180] = "182.jpg";
pictureArray[181] = "183.jpg";
pictureArray[182] = "184.jpg";
pictureArray[183] = "185.jpg";
pictureArray[184] = "186.jpg";
pictureArray[185] = "187.jpg";
pictureArray[186] = "188.jpg";
pictureArray[187] = "189.jpg";
pictureArray[188] = "190.jpg";
pictureArray[189] = "191.jpg";
pictureArray[190] = "192.jpg";
pictureArray[191] = "193.jpg";
pictureArray[192] = "194.jpg";
pictureArray[193] = "195.jpg";
pictureArray[194] = "196.jpg";
pictureArray[195] = "197.jpg";
pictureArray[196] = "198.jpg";
pictureArray[197] = "199.jpg";
pictureArray[198] = "200.jpg";
pictureArray[199] = "201.jpg";
pictureArray[200] = "202.jpg";
pictureArray[201] = "203.jpg";
pictureArray[202] = "204.jpg";
pictureArray[203] = "205.jpg";
pictureArray[204] = "206.jpg";
pictureArray[205] = "207.jpg";
pictureArray[206] = "208.jpg";
pictureArray[207] = "209.jpg";
pictureArray[208] = "210.jpg";
pictureArray[209] = "211.jpg";
pictureArray[210] = "212.jpg";
pictureArray[211] = "213.jpg";
pictureArray[212] = "214.jpg";
pictureArray[213] = "215.jpg";
pictureArray[214] = "216.jpg";
pictureArray[215] = "217.jpg";
pictureArray[216] = "218.jpg";
pictureArray[217] = "219.jpg";
pictureArray[218] = "220.jpg";
pictureArray[219] = "221.jpg";
pictureArray[220] = "222.jpg";
pictureArray[221] = "223.jpg";
pictureArray[222] = "224.jpg";
pictureArray[223] = "225.jpg";
pictureArray[224] = "226.jpg";
pictureArray[225] = "227.jpg";
pictureArray[226] = "228.jpg";
pictureArray[227] = "229.jpg";
pictureArray[228] = "230.jpg";
pictureArray[229] = "231.jpg";
pictureArray[230] = "232.jpg";
pictureArray[231] = "233.jpg";
pictureArray[232] = "234.jpg";
pictureArray[233] = "235.jpg";
pictureArray[234] = "236.jpg";
pictureArray[235] = "237.jpg";
pictureArray[236] = "238.jpg";
pictureArray[237] = "239.jpg";
pictureArray[238] = "240.jpg";
pictureArray[239] = "241.jpg";
pictureArray[240] = "242.jpg";
pictureArray[241] = "243.jpg";
pictureArray[242] = "244.jpg";
pictureArray[243] = "245.jpg";
pictureArray[244] = "246.jpg";
pictureArray[245] = "247.jpg";
pictureArray[246] = "248.jpg";
pictureArray[247] = "249.jpg";
pictureArray[248] = "250.jpg";
pictureArray[249] = "251.jpg";
pictureArray[250] = "252.jpg";
pictureArray[251] = "253.jpg";
pictureArray[252] = "254.jpg";
pictureArray[253] = "255.jpg";
pictureArray[254] = "256.jpg";
pictureArray[255] = "257.jpg";
pictureArray[256] = "258.jpg";
pictureArray[257] = "259.jpg";
pictureArray[258] = "260.jpg";
pictureArray[259] = "261.jpg";
pictureArray[260] = "262.jpg";
pictureArray[261] = "263.jpg";
pictureArray[262] = "264.jpg";
pictureArray[263] = "265.jpg";
pictureArray[264] = "266.jpg";
pictureArray[265] = "267.jpg";
pictureArray[266] = "268.jpg";
pictureArray[267] = "269.jpg";
pictureArray[268] = "270.jpg";
pictureArray[269] = "271.jpg";
pictureArray[270] = "272.jpg";
pictureArray[271] = "273.jpg";
pictureArray[272] = "274.jpg";
pictureArray[273] = "275.jpg";
pictureArray[274] = "276.jpg";
pictureArray[275] = "277.jpg";
pictureArray[276] = "278.jpg";
pictureArray[277] = "279.jpg";
pictureArray[278] = "280.jpg";
pictureArray[279] = "281.jpg";
pictureArray[280] = "282.jpg";
pictureArray[281] = "283.jpg";
pictureArray[282] = "284.jpg";
pictureArray[283] = "285.jpg";
pictureArray[284] = "286.jpg";
pictureArray[285] = "287.jpg";
pictureArray[286] = "288.jpg";
pictureArray[287] = "290.jpg";
pictureArray[288] = "291.jpg";
pictureArray[289] = "292.jpg";
pictureArray[290] = "293.jpg";
pictureArray[291] = "294.jpg";
pictureArray[292] = "295.jpg";
pictureArray[293] = "296.jpg";
pictureArray[294] = "297.jpg";
pictureArray[295] = "300.jpg";
pictureArray[296] = "301.jpg";
pictureArray[297] = "302.jpg";
pictureArray[298] = "303.jpg";
pictureArray[299] = "304.jpg";
pictureArray[300] = "305.jpg";
pictureArray[301] = "306.jpg";
pictureArray[302] = "307.jpg";
pictureArray[303] = "308.jpg";
pictureArray[304] = "309.jpg";
pictureArray[305] = "310.jpg";
pictureArray[306] = "311.jpg";
pictureArray[307] = "312.jpg";
pictureArray[308] = "313.jpg";
pictureArray[309] = "314.jpg";
pictureArray[310] = "315.jpg";
pictureArray[311] = "316.jpg";
pictureArray[312] = "317.jpg";
pictureArray[313] = "318.jpg";
pictureArray[314] = "319.jpg";
pictureArray[315] = "320.jpg";
pictureArray[316] = "321.jpg";
pictureArray[317] = "322.jpg";
pictureArray[318] = "323.jpg";
pictureArray[319] = "324.jpg";
pictureArray[320] = "325.jpg";
pictureArray[321] = "326.jpg";
pictureArray[322] = "327.jpg";
pictureArray[323] = "328.jpg";
pictureArray[324] = "329.jpg";
pictureArray[325] = "330.jpg";
pictureArray[326] = "331.jpg";
pictureArray[327] = "332.jpg";
pictureArray[328] = "333.jpg";
pictureArray[329] = "334.jpg";
pictureArray[330] = "335.jpg";
pictureArray[331] = "336.jpg";
pictureArray[332] = "337.jpg";
pictureArray[333] = "338.jpg";
pictureArray[334] = "339.jpg";
pictureArray[335] = "340.jpg";
pictureArray[336] = "341.jpg";
pictureArray[337] = "342.jpg";
pictureArray[338] = "343.jpg";
pictureArray[339] = "344.jpg";
pictureArray[340] = "345.jpg";
pictureArray[341] = "346.jpg";
pictureArray[342] = "347.jpg";
pictureArray[343] = "348.jpg";
pictureArray[344] = "349.jpg";
pictureArray[345] = "350.jpg";
pictureArray[346] = "351.jpg";
pictureArray[347] = "352.jpg";
pictureArray[348] = "353.jpg";
var imagePreloader = new Array();
function randomPicture(interval,amount) {
for (i = 1; i<=pictureArray.length; i++) {
var image = new Image();
image.src = url + "/"+ pictureArray[i-1];
imagePreloader[i-1] = image;
}
var layout = "";
for (j = 0; j < amount; j++) {
var rnd = Math.round(Math.random() * (imagePreloader.length -1));
var imgSrc = imagePreloader[rnd].src;
layout += "";
}
layout = '