// Instellingen
var movieUrl="popuo";
var width=550;
var height=300;


// Einde instellingen
//var viewportwidth;
//var viewportheight;

 
// //Positie Berekenen 
 // if (typeof window.innerWidth != 'undefined')
 // {
      // viewportwidth = window.innerWidth,
      // viewportheight = window.innerHeight
 // }
 
// // IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)

 // else if (typeof document.documentElement != 'undefined'
     // && typeof document.documentElement.clientWidth !=
     // 'undefined' && document.documentElement.clientWidth != 0)
 // {
       // viewportwidth = document.documentElement.clientWidth,
       // viewportheight = document.documentElement.clientHeight
 // }

var posBottom='19'; //(viewportheight/2)-height/2;
var posLeft='-221'; //(viewportwidth/2)-width/2;
 
document.write('<scri' + 'pt>function hideBanner()  { var img = document.getElementById("screenAdDivImage"); var div = document.getElementById("screenAdDivPopup"); var frame = document.getElementById("screenAdFramePopup"); if (div) {  div.style.display = "none"; img.style.display = "block" } if ( frame) {frame.style.display = "none"; img.style.display = "block"} }</sc' + 'ript>');
document.write('<scri' + 'pt>function Popupaktie_DoFSCommand(command, args) { hideBanner(); }</SC' + 'RIPT>');
document.write('<scr' + 'ipt language="VBScript">Sub Popupaktie_FSCommand(ByVal command, ByVal args)');
document.write('call Popupaktie_DoFSCommand(command, args) ');
document.write('end sub </scr' + 'ipt>');
document.write('<div id="screenAdDivImage" style="background: url(popuo.png) center center no-repeat transparent; width: 280px; height: 163px; position: absolute; bottom: 86px; left: -51px;display:none;"></div>');
document.write('<style>#wrapperCenter { overflow: visible; position: relative; } #screenAdDivPopup table, #screenAdDivPopup td, #screenAdDivPopup th { background-color: transparent; background-image: none; }</style><div id="screenAdDivPopup" style="position:absolute; bottom: '+posBottom+'px; left: '+posLeft+'px; width: '+width+'; height:'+height+'; z-index: 900;" >');
document.write("<table width='"+width+"' height='"+height+"'><tr><td align='left' valign='top' style='padding-left: 20px; top: 40px;'>");
document.write("<scr" + "ipt language='javascript'>if (AC_FL_RunContent == 0) { alert('This page requires AC_RunActiveContent.js.'); } else { AC_FL_RunContent('codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','width', '"+width+"','height', '"+height+"','src', '"+movieUrl+"','quality', 'high','pluginspage', 'http://www.macromedia.com/go/getflashplayer','align', 'middle','play', 'true','loop', 'true','scale', 'showall','wmode', 'transparent','devicefont', 'false','id', 'Popupaktie','bgcolor', '#ffffff','name', 'Popupaktie','menu', 'true','allowFullScreen', 'false','allowScriptAccess','always','movie', '"+movieUrl+"','salign', '','swLiveConnect','true'); }</scr" + "ipt>");
document.write("<nosc" + "ript><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+width+"' height='"+height+"' id='Popupaktie' align='middle'><param name='swLiveConnect' value='true' /><param name='allowScriptAccess' value='always' /><param name='allowFullScreen' value='false' /><param name='movie' value='"+movieUrl+"' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><param name='bgcolor' value='#ffffff' /><embed src='"+movieUrl+"' quality='high' wmode='transparent' swLiveConnect='true' bgcolor='#ffffff' width='"+width+"' height='"+height+"' name='Popupaktie' align='middle' allowScriptAccess='always' allowFullScreen='false' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></nosc" + "ript>");
document.write("</td></tr></table>");
document.write('</div>');
