<script type=„text/javascript“>
function idTgl (id){
if (document.getElementById) { var mydiv = document.getElementById(id); if (mydiv.style.display!='none'){ /*mydiv.style.display = 'none':*/ fade(id, 'out', 10); }else{ /*mydiv.style.display = 'block';*/ fade(id, 'in', 0); } }
}
function idOn (id){
if (document.getElementById) { var mydiv = document.getElementById(id); mydiv.style.display = 'block'; /*fade(id, 'in', 0);*/ }
}
function idToDefault (id){
if (document.getElementById) { let mydiv = document.getElementById(id); mydiv.style.display = ''; }
}
function idOff (id){
if (document.getElementById) { var mydiv = document.getElementById(id); mydiv.style.display = 'none'; /*fade(id, 'out', 10);*/ }
}
function fade(elementID, in_out, op_value) {
var lightbox = document.getElementById(elementID); /*some IE hack for filters to work*/ if(lightbox.currentStyle && (!lightbox.currentStyle.hasLayout)) { lightbox.style.zoom = 1; } if (in_out == 'in') { opvalue = op_value + 1; if (opvalue <= 10) { lightbox.style.display = 'block'; lightbox.style.opacity = opvalue/10; lightbox.style.MozOpacity= opvalue/10; lightbox.style.KHTMLOpacity= opvalue/10; lightbox.style.filter = 'alpha(opacity=' + opvalue * 10 + ')'; window.setTimeout("fade('" + elementID + "','" + in_out + "'," + opvalue + ")", 30); }
} else { opvalue = op_value - 1; if (opvalue >= 0) { lightbox.style.opacity = opvalue/10; lightbox.style.MozOpacity= opvalue/10; lightbox.style.KHTMLOpacity= opvalue/10; lightbox.style.filter = 'alpha(opacity=' + opvalue * 10 + ')'; window.setTimeout("fade('" + elementID + "','" + in_out + "'," + opvalue + ")", 30); } else { lightbox.style.display = 'none'; lightbox.style.opacity = 1; lightbox.style.MozOpacity= 1; lightbox.style.KHTMLOpacity= 1; lightbox.style.filter = 'alpha(opacity=100)'; } }
}
leftimage = new Array(23); leftimage[0] = „http://www.thw-holzminden.de/lib/images/layout/fetch_001.jpg“; leftimage[1] = „http://www.thw-holzminden.de/lib/images/layout/fetch_002.jpg“; leftimage[2] = „http://www.thw-holzminden.de/lib/images/layout/fetch_003.jpg“; leftimage[3] = „http://www.thw-holzminden.de/lib/images/layout/fetch_004.jpg“; leftimage[4] = „http://www.thw-holzminden.de/lib/images/layout/fetch_005.jpg“; leftimage[5] = „http://www.thw-holzminden.de/lib/images/layout/fetch_006.jpg“; leftimage[6] = „http://www.thw-holzminden.de/lib/images/layout/fetch_007.jpg“; leftimage[7] = „http://www.thw-holzminden.de/lib/images/layout/fetch_008.jpg“; leftimage[8] = „http://www.thw-holzminden.de/lib/images/layout/fetch_009.jpg“; leftimage[9] = „http://www.thw-holzminden.de/lib/images/layout/fetch_010.jpg“; leftimage[10] = „http://www.thw-holzminden.de/lib/images/layout/fetch_011.jpg“; leftimage[11] = „http://www.thw-holzminden.de/lib/images/layout/fetch_012.jpg“; leftimage[12] = „http://www.thw-holzminden.de/lib/images/layout/fetch_013.jpg“; leftimage[13] = „http://www.thw-holzminden.de/lib/images/layout/fetch_014.jpg“; leftimage[14] = „http://www.thw-holzminden.de/lib/images/layout/fetch_015.jpg“; leftimage[15] = „http://www.thw-holzminden.de/lib/images/layout/fetch_016.jpg“; leftimage[16] = „http://www.thw-holzminden.de/lib/images/layout/fetch_017.jpg“; leftimage[17] = „http://www.thw-holzminden.de/lib/images/layout/fetch_018.jpg“; leftimage[18] = „http://www.thw-holzminden.de/lib/images/layout/fetch_019.jpg“; leftimage[19] = „http://www.thw-holzminden.de/lib/images/layout/fetch_020.jpg“; leftimage[20] = „http://www.thw-holzminden.de/lib/images/layout/fetch_021.jpg“; leftimage[21] = „http://www.thw-holzminden.de/lib/images/layout/fetch_022.jpg“; leftimage[22] = „http://www.thw-holzminden.de/lib/images/layout/fetch_023.jpg“; leftimage[23] = „http://www.thw-holzminden.de/lib/images/layout/fetch_024.jpg“;
leftdiv = new Array(23); leftdiv[0]=„li1a“; leftdiv[1]=„li1b“; leftdiv[2]=„li1c“; leftdiv[3]=„li1d“;
leftdiv[4]=„li2a“; leftdiv[5]=„li2b“; leftdiv[6]=„li2c“; leftdiv[7]=„li2d“;
leftdiv[8]=„li3a“; leftdiv[9]=„li3b“; leftdiv[10]=„li3c“; leftdiv[11]=„li3d“;
leftdiv[12]=„li4a“; leftdiv[13]=„li4b“; leftdiv[14]=„li4c“; leftdiv[15]=„li4d“;
leftdiv[16]=„li5a“; leftdiv[17]=„li5b“; leftdiv[18]=„li5c“; leftdiv[19]=„li5d“;
leftdiv[20]=„li6a“; leftdiv[21]=„li6b“; leftdiv[22]=„li6c“; leftdiv[23]=„li6d“;
function arrayShuffle(arin){
var tmp, rand; for(var i =0; i < arin.length; i++){ rand = Math.floor(Math.random() * arin.length); tmp = arin[i]; arin[i] = arin[rand]; arin[rand] =tmp; } return arin
} function anzeigen(das){
for(var i =0; i < leftdiv.length; i++){ document.getElementById(leftdiv[i]).style.backgroundImage="url(" +leftimage[i] + ")";
}
} var aktiv = window.setInterval(„Update()“, 3000);
function Update(){ if (getActiveStyleSheet()=='Alternativ') {
for(var i =0; i < leftdiv.length; i++){ document.getElementById(leftdiv[i]).style.display='none';
}
return null; }
imzeil = Math.round(Math.random()*6+0.5) imlev = Math.round(Math.random()*4+0.5) if (imlev == 1){
/*document.getElementById('li'+imzeil+'a').style.display='block';*/ fade('li'+imzeil+'a', 'in', 0);
}else{ /*document.getElementById('li'+imzeil+'a').style.display='none';*/ fade('li'+imzeil+'a', 'out', 10); } if (imlev == 2){
/*document.getElementById('li'+imzeil+'b').style.display='block';*/ fade('li'+imzeil+'b', 'in', 0);
}else{ /*document.getElementById('li'+imzeil+'b').style.display='none';*/ fade('li'+imzeil+'b', 'out', 10); } if (imlev == 3){
/*document.getElementById('li'+imzeil+'c').style.display='block';*/ fade('li'+imzeil+'c', 'in', 0);
}else{
/*document.getElementById('li'+imzeil+'c').style.display='none';*/
fade('li'+imzeil+'c', 'out', 10); } if (imlev == 4){
/*document.getElementById('li'+imzeil+'d').style.display='block';*/ fade('li'+imzeil+'d', 'in', 0);
}else{ /*document.getElementById('li'+imzeil+'d').style.display='none';*/ fade('li'+imzeil+'d', 'out', 10); }
} function getActiveStyleSheet() { var i, a; for(i=0; (a = document.getElementsByTagName(„link“)[i]); i++) {
if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title"); } return null;
} function randomContent(arr) {
var rand = Math.floor(Math.random() * arr.length); return "url(" + arr[rand] + ")";
} leftimage = arrayShuffle(leftimage); leftimage = arrayShuffle(leftimage); leftimage = arrayShuffle(leftimage); leftimage = arrayShuffle(leftimage);
anzeigen(); </script>