-1) {
var s = source.indexOf("<"+ strScrpt);
var s_e = source.indexOf(">", s);
var e = source.indexOf("", e);
// Add to thescripts array
thescripts.push(source.substring(s_e+1, e));
// Strip from source
source = source.substring(0, s) + source.substring(e_e+1);
}
// Loop through every script collected and eval it
for(var i=0; i", ""));
//document.getElementById('frontvideodiv').innerHTML = answer;
//if (document.getElementById('frontvideodiv').style.height === '0px') {
// var tog = toggle();
//}
}
}
function call_server(argURL) {
request.open("GET", argURL);
request.onreadystatechange = sever_interaction ;
request.send('');
if (document.getElementById('frontvideodiv').style.height === '0px') {
var tog = toggle();
}
}
var varHt = 0;
var Ht = 0;
var x = 0;
var y = 10;
var z = 11;
var foo = new Array();
function setup() {
foo = document.getElementById("frontvideodiv");
Ht = 319;
foo.style.height = '0px';
foo.style.display = 'none';
}
function toggle() {
foo.style.height = '1px';
foo.style.display = 'block';
if (x === 0) {
//document.getElementById("frontvideodiv").innerHTML = document.getElementById("frontvideodiv").innerHTML.replace(/[/, "***");
foo.style.height = varHt+'px';
if (((Ht-varHt) < z) && (varHt !== Ht)) {
varHt = Ht;
} else {
varHt = varHt+z;
}
if (varHt <= Ht) {
setTimeout('toggle()',y);
}
if (varHt > Ht) {
varHt = Ht;
x = 1;
}
} else {
foo.style.height = varHt+'px';
varHt = varHt-z;
if ((Ht-varHt) <= Ht) {
setTimeout('toggle()',y);
}
if ((Ht-varHt) > Ht) {
varHt = 0;
foo.style.height = varHt+'px';
x = 0;
foo.style.display = 'none';
}
}
}
function changeSearchButton() {
document.getElementById('searchsubmit').style.backgroundImage ='none';
document.form1.searchsubmit.value="Søger...";
//document.getElementById('searchsubmit').style.backgroundImage ='_genericfiles/template/images/soeg_top_o.gif';
return true;
}
//-->
Brøndby IF A/S • Brøndby Stadion 30 • 2605 Brøndby • Telefon: 43 63 08 10 • Fax: 43 43 26 27 • E-mail:
info@brondby.com • Copyright: Brøndby IF