var IE = document.all?true:false var UserOK //All fields with id filled in are required fields. function cOn(td, color) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor= color; td.style.cursor = 'pointer'; } } function cOut(td,color) { if(document.getElementById||(document.all && !(document.getElementById))) { td.style.backgroundColor= color; } } function openOverlay(title,url,width,height) { GB_showCenter(title, url, /* optional */ height, width) } function initSIFR() { if(typeof sIFR == "function"){ // header big, black sIFR.replaceElement(named( { sSelector:"h1", sFlashSrc:"http://www.f1driven.com/flash/h1.swf", sColor:"#ffffff", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); }; } function getCheckboxValue(id) { var allInputTags = document.getElementById(id+'_group').getElementsByTagName('INPUT'); for (var c=0; c'+out.replace('','/object-->')+''; output += '<'+'script type="text/javascript">'; output += 'setTimeout("window.print()",2000);'; output += ''; wh.document.writeln(output); wh.document.close(); } function MouseOver(obj){ obj = document.getElementById(obj) if (obj){ if (obj.src.indexOf('_on') > -1){ obj.src = obj.src.replace('_on.gif','.gif') }else{ obj.src = obj.src.replace('.gif','_on.gif') } } } function changeImage(id,url){ if(document.getElementById(id)){ document.getElementById(id).style.backgroundImage = 'url('+url+')'; } } //Toevoegen van een youtube movie function loadYouTube(url){ if (url.indexOf("http://") == 0) { var so = new SWFObject(""+url+"", "site", "200", "150", "8,0,0,0", "#000000"); } else { var so = new SWFObject("http://www.youtube.com/v/"+url+"&rel=1", "site", "200", "150", "8,0,0,0", "#000000"); } so.addParam("allowFullscreen","true") so.write("video_box"); }