var pictures = new Array();
pictures[0] = "tera_screenshot_20140421_024926.png";
pictures[1] = "tera_screenshot_20150515_023302.png";
pictures[2] = "screen_big_262.png";
pictures[3] = "screen_big_166.png";
pictures[4] = "tera_screenshot_20161201_222158_how.png";
pictures[5] = "tera_screenshot_20171013_155313.png";
pictures[6] = "screen_big_259.png";
pictures[7] = "screen_big_284.png";
pictures[8] = "charakterbild_q_diamond_tera.png";
pictures[9] = "screen_big_292.png";
pictures[10] = "tera_screenshot_20140327_204823.png";
pictures[11] = "tera_screenshot_20141212_204644.png";
pictures[12] = "tera_screenshot_20150708_195546.png";
pictures[13] = "screen_big_170.png";
pictures[14] = "tera-brawler.jpg";
pictures[15] = "tera_screenshot_20180413_193451.png";
pictures[16] = "screen_big_154.png";
pictures[17] = "screen_big_47.png";
pictures[18] = "tera_screenshot_20141018_000543.png";
pictures[19] = "tera_screenshot_20160306_002234.png";
pictures[20] = "screen_big_174.png";
pictures[21] = "tera_screenshot_20151204_232116.png";
pictures[22] = "bikini.png";
pictures[23] = "tera_screenshot_20141212_204648.png";
pictures[24] = "screen_big_123.png";
pictures[25] = "tera_screenshot_20140526_210021.png";
pictures[26] = "screen_big_178.png";
pictures[27] = "tera_screenshot_20140921_032835.png";
pictures[28] = "tera_screenshot_20170514_195138.png";
pictures[29] = "screen_big_287.png";
pictures[30] = "tera_screenshot_20170510_002852.png";
pictures[31] = "screen_big_48.png";
pictures[32] = "screen_big_139.png";
pictures[33] = "tera_screenshot_20140526_194405.png";
pictures[34] = "screen_big_159.png";
pictures[35] = "tera_conceptart 102.jpg";
pictures[36] = "tera_screenshot_20140722_222453.png";
pictures[37] = "tera_screenshot_20140903_001216.png";
pictures[38] = "tera_screenshot_20141211_234557.png";
pictures[39] = "die_schwere_entscheidung.png";
pictures[40] = "tera_screenshot_20151108_184543.png";
pictures[41] = "akerons_concept.jpg";
pictures[42] = "tera_screenshot_20140613_013320.png";
pictures[43] = "screen_big_135.png";
pictures[44] = "778219terasoulreaper1.jpg";
pictures[45] = "screen_big_143.png";
pictures[46] = "screen_big_43.png";
pictures[47] = "screen_big_285.png";
pictures[48] = "tera_screenshot_20190602_200602.png";
pictures[49] = "tera_screenshot_20180413_214038.png";
pictures[50] = "tera_screenshot_20180413_223221.png";
pictures[51] = "tera_screenshot_20140914_175536.png";
pictures[52] = "screen_big_175.png";
pictures[53] = "tera_screenshot_20150718_124132.png";
pictures[54] = "tera_screenshot_20150515_022817.png";
pictures[55] = "tera_environment_15.jpg";
pictures[56] = "screen_big_157.png";
pictures[57] = "tera4.jpg";
pictures[58] = "screen_big_73.png";
pictures[59] = "screen_big_146.png";
pictures[60] = "max. gildenburg steinig.png";
pictures[61] = "tera_screenshot_20190124_214627.png";
pictures[62] = "tera_screenshot_20160306_161540.png";
pictures[63] = "screen_big_171.png";
pictures[64] = "tera_screenshot_20140526_210030.png";
pictures[65] = "tera_screenshot_20151204_231916.png";
pictures[66] = "n.evan 2.png";
pictures[67] = "tera_screenshot_20140427_210839.png";
pictures[68] = "tera_screenshot_20160227_155628.png";
pictures[69] = "screen_big_145.png";
pictures[70] = "tera_screenshot_20140526_001338.png";
pictures[71] = "tera_screenshot_20180413_213602.png";
pictures[72] = "tera_screenshot_20140516_233051.png";
pictures[73] = "tera_screenshot_20140427_210924.png";
pictures[74] = "max. gildenburg eisern.png";
pictures[75] = "screen_big_147.png";
pictures[76] = "tera_screenshot_20150121_221833.png";
pictures[77] = "tera_screenshot_20180413_193441.png";
pictures[78] = "tera_screenshot_20160526_225512.png";
pictures[79] = "tera_screenshot_20140226_203053.png";
pictures[80] = "tera_screenshot_20171002_195352.png";
pictures[81] = "screen_big_291.png";
pictures[82] = "tera_screenshot_20140408_213734.png";
pictures[83] = "tera_screenshot_20150815_122317.png";
pictures[84] = "tera_screenshot_20170407_213528.png";
pictures[85] = "screen_big_49.png";
pictures[86] = "tera_screenshot_20150728_210400.png";
pictures[87] = "screen_big_294.png";
pictures[88] = "15732346_1658881437459210_5425132988894901067_o.jpg";
pictures[89] = "screen_big_152.png";
pictures[90] = "c3745b7f1deb2a1d0311ccb0c7cfc387-d5rgu4r.jpg";
pictures[91] = "tera_screenshot_20180624_000506.png";
pictures[92] = "tera_screenshot_20160212_201050.png";
pictures[93] = "20170529224233_1.jpg";
pictures[94] = "tera_screenshot_20151015_235127.png";
pictures[95] = "tera_screenshot_20150716_211622.png";
pictures[96] = "screen_big_156.png";
pictures[97] = "screen_big_45.png";
pictures[98] = "tera_screenshot_20160309_005617.png";
pictures[99] = "screen_big_144.png";
pictures[100] = "tera_screenshot_20160311_011448.png";
pictures[101] = "screen_big_288.png";
pictures[102] = "tera_screenshot_20150128_233113.png";
pictures[103] = "tera_screenshot_20150507_190922.png";
pictures[104] = "fruechtchen.png";
pictures[105] = "screen_big_265.png";
pictures[106] = "tera_screenshot_20180413_224004.png";
pictures[107] = "screen_big_266.png";
pictures[108] = "_tera__new_class_concept_art_by_stella9708-d8lrcds.jpg";
pictures[109] = "tera_screenshot_20180413_223222.png";
pictures[110] = "tera_screenshot_20180413_211113.png";
pictures[111] = "screen_big_260.png";
pictures[112] = "tera_screenshot_20140722_220630.png";
pictures[113] = "tera_screenshot_20150507_190747.png";
pictures[114] = "screen_big_161.png";
pictures[115] = "tera_dina4_poster.jpg";
pictures[116] = "tera_screenshot_20191025_213840.jpg";
pictures[117] = "shopupdate_2015-10-03_tera-begleiter.png";
pictures[118] = "tera_screenshot_20170514_191818.png";
pictures[119] = "screen_big_46.png";
pictures[120] = "tera pendrago.png";
pictures[121] = "tera_screenshot_20140724_234201.png";
pictures[122] = "tera_screenshot_20140327_213845.png";
pictures[123] = "screen_big_295.png";
pictures[124] = "screen_big_164.png";
pictures[125] = "tera_screenshot_20140526_194607.png";
pictures[126] = "tera_screenshot_20170419_003910.png";
pictures[127] = "tera_screenshot_20141214_210318.png";
pictures[128] = "tera_screenshot_20140526_195012.png";
pictures[129] = "screen_big_289.png";
pictures[130] = "tera_screenshot_20140822_230251.png";
pictures[131] = "tera_screenshot_20160525_115632.png";
pictures[132] = "tera20140818a.jpg";
pictures[133] = "tera_screenshot_20160227_174631.png";
pictures[134] = "tera_screenshot_20160928_233822.png";
pictures[135] = "tera_screenshot_20140516_233557.png";
pictures[136] = "screen_big_155.png";
pictures[137] = "tera_screenshot_20140526_194945.png";
pictures[138] = "tera_screenshot_20160229_000614.png";
pictures[139] = "tera_screenshot_20180330_183948.png";
pictures[140] = "tera_screenshot_20140730_203353.png";
pictures[141] = "tera_screenshot_20140328_232340.jpg";
pictures[142] = "tera_conceptart 65.jpg";
pictures[143] = "tera_screenshot_20171003_174449.png";
pictures[144] = "tera_screenshot_20190514_215612.png";
pictures[145] = "screen_big_163.png";
pictures[146] = "tera_screenshot_20170419_000902.png";
pictures[147] = "tera_screenshot_20140327_201802.png";
pictures[148] = "tera_screenshot_20190629_124949.png";
pictures[149] = "tera_screenshot_20171106_003644.jpg";
pictures[150] = "tera_blau.png";
pictures[151] = "tera_screenshot_20160227_214911.png";
pictures[152] = "tera_screenshot_20140526_194910.png";
pictures[153] = "tera_screenshot_20170407_222328.png";
pictures[154] = "tera_screenshot_20130520_214916.png";
pictures[155] = "tera_screenshot_20170514_194508.png";
pictures[156] = "enissie.png";
pictures[157] = "bg_wallpaper25.jpg";
pictures[158] = "tera_screenshot_20140327_204826.png";
pictures[159] = "screen_big_263.png";
pictures[160] = "tera_screenshot_20151217_153207.png";
pictures[161] = "tera_screenshot_20150718_223445.png";
pictures[162] = "tera_conceptart 135.jpg";
pictures[163] = "screen_big_138.png";
pictures[164] = "tera_screenshot_20151217_145251.png";
pictures[165] = "screen_big_180.png";
pictures[166] = "tera_screenshot_20170407_213348.png";
pictures[167] = "tera_conceptart 86.jpg";
pictures[168] = "tera_screenshot_20140526_194333.png";
pictures[169] = "schwebende_burgen.png";
pictures[170] = "screen_big_153.png";
pictures[171] = "screen_big_137.png";
pictures[172] = "tera_screenshot_20151029_000448.png";
pictures[173] = "tera_screenshot_20151220_194452.png";
pictures[174] = "gruppenfoto.png";
pictures[175] = "tera_screenshot_20170514_195934.png";
pictures[176] = "tera_screenshot_20141021_005330.png";
pictures[177] = "tera_screenshot_20150506_030100.png";
pictures[178] = "tera_screenshot_20140327_212307.png";
pictures[179] = "tera_screenshot_20180413_193512.png";
pictures[180] = "motoko_stats.png";
pictures[181] = "tera_screenshot_20150728_205453.png";
pictures[182] = "concept_2.jpg";
pictures[183] = "screen_big_141.png";
pictures[184] = "tower_ls.jpg";
pictures[185] = "tera_screenshot_20150728_211057.png";
pictures[186] = "tera_screenshot_20170514_193300.png";
pictures[187] = "screen_big_268.png";
pictures[188] = "12294724_996291150434768_7234129325469791008_n.jpg";
pictures[189] = "tera_screenshot_20140613_202648.png";
pictures[190] = "tera_screenshot_20180413_214509.png";
pictures[191] = "screen_big_176.png";
pictures[192] = "tera_screenshot_20151220_013606.png";
pictures[193] = "screen_big_165.png";
pictures[194] = "tera_screenshot_20180413_193339.png";
pictures[195] = "tera_screenshot_20180413_224605.png";
pictures[196] = "tera_screenshot_20140526_194320.png";
pictures[197] = "tera_screenshot_20170430_215127.png";
pictures[198] = "tera_screenshot_20160525_120214.png";
pictures[199] = "url.jpg";
pictures[200] = "tera_screenshot_20150708_204157.png";
pictures[201] = "screen_big_286.png";
pictures[202] = "screen_big_148.png";
pictures[203] = "tera_screenshot_20160305_233953.png";
pictures[204] = "tera_screenshot_20170407_201012.png";
pictures[205] = "tera_screenshot_20141211_222436.png";
pictures[206] = "tera_screenshot_20141211_192134.png";
pictures[207] = "tera_screenshot_20140328_173246.png";
pictures[208] = "tera_screenshot_20170407_222129.png";
pictures[209] = "screen_big_173.png";
pictures[210] = "tera_kamenyaiba.jpg";
pictures[211] = "tera_screenshot_20170417_232901.png";
pictures[212] = "screen_big_162.png";
pictures[213] = "screen_big_160.png";
pictures[214] = "screen_big_267.png";
pictures[215] = "tera_screenshot_20140525_215756.png";
pictures[216] = "tera_screenshot_20170514_200318.png";
pictures[217] = "tera_screenshot_20150718_223915.png";
pictures[218] = "tera_screenshot_20190613_222035.png";
pictures[219] = "1.png";
pictures[220] = "gildenburg.png";
pictures[221] = "tera_screenshot_20140725_232953.png";
pictures[222] = "screen_big_44.png";
pictures[223] = "tera_screenshot_20141021_004826.png";
pictures[224] = "tera_screenshot_20180413_193500.png";
pictures[225] = "tera_screenshot_20170514_195517.png";
pictures[226] = "tera_screenshot_20170514_192314.png";
pictures[227] = "tera_screenshot_20141211_214810.png";
pictures[228] = "tera_screenshot_20140328_232343.png";
pictures[229] = "zunder.png";
pictures[230] = "tera_screenshot_20160306_173752.png";
pictures[231] = "tera_screenshot_20151101_221009.png";
pictures[232] = "screen_big_140.png";
pictures[233] = "tera_conceptart 83.jpg";
pictures[234] = "t4_illustration.jpg";
pictures[235] = "tera_screenshot_20140328_231530.png";
pictures[236] = "screen_big_149.png";
pictures[237] = "screen_big_136.png";
pictures[238] = "screen_big_142.png";
pictures[239] = "screen_big_264.png";
pictures[240] = "tera_screenshot_20140202_140621.png";
pictures[241] = "screen_big_177.png";
pictures[242] = "resilenta.png";
pictures[243] = "screen_big_124.png";
pictures[244] = "tumblr_ngomcjzcrm1t3to0go1_1280.jpg";
pictures[245] = "tera_conceptart 84.jpg";
pictures[246] = "screen_big_261.png";
pictures[247] = "tera_screenshot_20180413_223219.png";
pictures[248] = "tera_screenshot_20140613_202703.png";
pictures[249] = "ninjabg-small.jpg";
pictures[250] = "tera_conceptart 110.jpg";
pictures[251] = "tera_screenshot_20170802_212538.png";
pictures[252] = "tera_screenshot_20160305_150914.png";
pictures[253] = "tera_screenshot_20180413_193425.png";
pictures[254] = "tera_screenshot_20140921_030500.png";
pictures[255] = "tera_screenshot_20160928_233509.png";
pictures[256] = "screen_big_172.png";
pictures[257] = "tera_screenshot_20150507_021035.png";
pictures[258] = "tera_environment_pegasus.jpg";
pictures[259] = "20171001203511_1.jpg";
pictures[260] = "tera_screenshot_20140421_024019.png";
pictures[261] = "screen_big_125.png";
pictures[262] = "tera_screenshot_20150203_223636.png";
pictures[263] = "screen_big_150.png";
pictures[264] = "n.evan.png";
pictures[265] = "canolia.png";
pictures[266] = "tera_screenshot_20170514_194318.png";
pictures[267] = "tera_screenshot_20150524_192654.png";
pictures[268] = "2.png";
pictures[269] = "tera_screenshot_20170514_200622.png";
pictures[270] = "screen_big_133.png";
pictures[271] = "tera_screenshot_20140421_024651.png";
pictures[272] = "tera_screenshot_20150129_141119.png";
pictures[273] = "screen_big_158.png";
pictures[274] = "tera_screenshot_20140328_174239.png";
pictures[275] = "tera_screenshot_20160903_211402.png";
pictures[276] = "tera_screenshot_20150728_204427.png";
pictures[277] = "tera_screenshot_20160723_213430.png";
pictures[278] = "tera_screenshot_20180413_193507.png";
pictures[279] = "screen_big_179.png";
pictures[280] = "tera_screenshot_20141211_204320.png";
pictures[281] = "tera_screenshot_20150708_202831.png";
pictures[282] = "tera_screenshot_20140526_194729.png";
pictures[283] = "turpin.png";
pictures[284] = "tera_screenshot_20140904_182653.png";
pictures[285] = "screen_big_134.png";
pictures[286] = "tera_screenshot_20150505_123353_1.png";
pictures[287] = "wer_war_das.jpg";
pictures[288] = "screen_big_151.png";
pictures[289] = "screen_big_283.png";
var url_begin = 'https://evolution-of-silence.de/mainpage/images/phocagallery/';
var url_end = '';
var box_id = 'galerie';
var wait_s = 100;
var move_freq = 50; // wartezeit pro bewegungseinheit
var speed = 10; // pixel pro bewegungseinheit
var close_wait = 150;
var pic_height = 170; // Bild-Boxhöhe
var pic_width = 300; // Bild-Boxbreite
var pic_spacer = 2;
var pic_border = 2;
var pic_border_color = 'A5A5A5';
var big_pic_height = 315;
var big_pic_width = 560;
var pic_direction = 'l'; // 'r' or 'l'
var percent_per_step = (pic_height/2);
var url_begin_big = '/screenshot|';
var url_begin_medium = url_begin+'thumbs/phoca_thumb_m_';
var url_begin_small = url_begin+'thumbs/phoca_thumb_m_';
var picid = 1;
var pos = 0;
var standby_cnt = 0;
var is_running = 1;
var pic1 = 0;
var pic2 = 0;
var pic3 = 0;
pic_height = pic_height-(pic_border*2);
pic_width = pic_width-(pic_border*2);
function replaceAll(find, replace, str) {
return str.replace(new RegExp(find, 'g'), replace);
}
function get_new_id(pic_id){
var new_id = parseInt(parseInt(Math.random()*pictures.length));
if(
(new_id != pic1) &&
(new_id != pic2) &&
(new_id != pic3)
){
if(pic_id == 'pic1'){
pic1 = new_id;
}else if(pic_id == 'pic2'){
pic2 = new_id;
}else{
pic3 = new_id;
}
return new_id;
}else{
return get_new_id(pic_id);
}
}
function derotate(){
if(pos <= 0){
// ausklappen fertig
document.getElementById('pic'+picid).style.height = pic_height+'px';
document.getElementById('pic'+picid).style.top = '0px';
document.getElementById('picg'+picid).style.height = pic_height+'px';
document.getElementById('picg'+picid).style.top = '0px';
document.getElementById('picg'+picid).style.opacity = '0.3';
picid++;
if(picid > 3){
picid = 1;
}
setTimeout("standby()",100);
}else{
// ausklappen
var opac = (((pos/percent_per_step)*0.7)+0.3);
document.getElementById('pic'+picid).style.height = (pic_height-(pos*2))+'px';
document.getElementById('pic'+picid).style.top = (pos)+'px';
document.getElementById('picg'+picid).style.height = (pic_height-(pos*2))+'px';
document.getElementById('picg'+picid).style.top = (pos)+'px';
document.getElementById('picg'+picid).style.opacity = opac;
pos = (pos-speed);
setTimeout("derotate()",move_freq);
}
}
function rotate(){
var temp = (pos*2);
if(pos >= (pic_height/2)){
// einklappen fertig
pos = (pic_height/2);
document.getElementById('pic'+picid).style.height = '0px';
document.getElementById('pic'+picid).style.top = (pic_height/2)+'px';
document.getElementById('picg'+picid).style.height = '0px';
document.getElementById('picg'+picid).style.top = (pic_height/2)+'px';
document.getElementById('picg'+picid).style.opacity = '0.3';
document.getElementById('pic'+picid).src = document.getElementById('cachepic').src;
document.getElementById('cachebigpic'+picid).src = document.getElementById('cachebigpic').src;
var new_id = get_new_id('pic'+picid);
var src = pictures[new_id];
document.getElementById('cachepic').src = url_begin_small+src+url_end;
document.getElementById('cachebigpic').src = url_begin_medium+src+url_end;
setTimeout("derotate()",close_wait);
}else{
// einklappen
var opac = (0.3+(0-(pos/percent_per_step)*0.3));
document.getElementById('pic'+picid).style.height = (pic_height-(pos*2))+'px';
document.getElementById('pic'+picid).style.top = (pos)+'px';
document.getElementById('picg'+picid).style.height = (pic_height-(pos*2))+'px';
document.getElementById('picg'+picid).style.top = (pos)+'px';
document.getElementById('picg'+picid).style.opacity = opac;
pos = (pos+speed);
setTimeout("rotate()",move_freq);
}
}
function standby(){
if(is_running == 1){
standby_cnt++;
if(standby_cnt >= wait_s){
standby_cnt=0;
rotate();
}else{
setTimeout("standby()",100);
}
}else{
setTimeout("standby()",100);
}
}
function init_gal(){
var src = pictures[(get_new_id('pic1'))];
document.getElementById('pic1').src = url_begin_small+src+url_end;
document.getElementById('cachebigpic1').src = url_begin_medium+src+url_end;
var src = pictures[(get_new_id('pic2'))];
document.getElementById('pic2').src = url_begin_small+src+url_end;
document.getElementById('cachebigpic2').src = url_begin_medium+src+url_end;
var src = pictures[(get_new_id('pic3'))];
document.getElementById('pic3').src = url_begin_small+src+url_end;
document.getElementById('cachebigpic3').src = url_begin_medium+src+url_end;
var src = pictures[(get_new_id('pic1'))];
document.getElementById('cachepic').src = url_begin_small+src+url_end;
document.getElementById('cachebigpic').src = url_begin_medium+src+url_end;
document.getElementById('pic1').style.top = '0px';
setTimeout("standby()",100);
}
function stopp(){
is_running = 0;
}
function go(){
is_running = 1;
}
function show_pic(id){
var src = document.getElementById('cachebigpic'+id).src;
is_running = 0;
document.getElementById('pic_layer').style.display = 'block';
document.getElementById('big_pic').style.backgroundImage = 'url('+src+')';
}
function hide_pic(){
is_running = 1;
document.getElementById('pic_layer').style.display = 'none';
}
function screen_click(screenshotname){
document.getElementById('screenshotname').value = document.getElementById(screenshotname).src;
document.screenshot.submit();
}
if(pic_direction == 'r'){
var big_pic_left = (pic_width+(pic_border*2)+pic_spacer);
}else if(pic_direction == 'l'){
var big_pic_left = (0-(big_pic_width+(pic_border*2)+pic_spacer));
}else{
var big_pic_left = 0;
}
var code = ''+
' '+
'';
document.write(code);
init_gal();