function toonDetails(pageURL)
{
  xmlHttp=GetXmlHttpObject()
   if (xmlHttp==null)
   {
      alert ("Browser does not support HTTP Request")
      return
    } 

    xmlHttp.onreadystatechange=stateChanged 
    xmlHttp.open("GET",pageURL,true)
    xmlHttp.send(null)
}

function GetXmlHttpObject(handler)
{ 
   var objXMLHttp=null
   if (window.XMLHttpRequest)
   {
       objXMLHttp=new XMLHttpRequest()
   }
   else if (window.ActiveXObject)
   {
      objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
   }
   return objXMLHttp
}

function stateChanged() 
{ 
   if (xmlHttp.readyState==4)
   {
      if(xmlHttp.status == 200)
      { 
         document.getElementById("promotie").innerHTML=xmlHttp.responseText 
      } 
	  else
	  {
	  	alert("Probleem met het request!");
	  }
   }
}   

function verifyCompatibleBrowser(){ 
    this.ver=navigator.appVersion 
    this.dom=document.getElementById?1:0 
    this.ie8=(this.ver.indexOf("MSIE 8")>-1 && this.dom)?1:0; 
    this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0; 
    this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0; 
    this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; 
    this.ie4=(document.all && !this.dom)?1:0; 
    this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
 
    this.ns4=(document.layers && !this.dom)?1:0; 
    this.bw=(this.ie8 || this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns5) 
    return this 
} 

bw=new verifyCompatibleBrowser() 
 

//Constructing the ChangeText object
function EA_makeChangeTextObj(obj){
var tempObj = bw.dom ? document.getElementById(obj) : bw.ie4 ? document.all[obj] : bw.ns4 ? document.layers[obj] : 0;
if (tempObj){
this.css=bw.dom ? tempObj.style : bw.ie4 ? tempObj.style : bw.ns4 ? tempObj : 0;
}
else{
this.css=0;
}
}

 //------------------------------------------------------------------
// Variables  inits:
//------------------------------------------------------------------
var currentLayerNum = "1";
var actualPoster=-1;
var objContainer=new Array(100);
var blockContent=false;
//------------------------------------------------------------------


//switch curlayer to A or B
function showPosterMove(poster)
{
	if (blockContent != true)
	{
		if (actualPoster >= 0)
		{
			eval("objContainer[actualPoster].css.visibility='hidden'");
		}
		eval("objContainer[poster].css.visibility='visible'");
		actualPoster=poster;
	}
}

//switch curlayer to A or B
function showPosterClick(poster)
{
		if (actualPoster >= 0)
		{
			eval("objContainer[actualPoster].css.visibility='hidden'");
		}
		eval("objContainer[poster].css.visibility='visible'");
		actualPoster=poster;
}

function ConstructObject(obj,nest){ 
    nest=(!nest) ? '':'document.'+nest+'.' 
    this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0; 
    this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0; 
    this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight 
    this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight 
    this.obj = obj + "Object" 
    eval(this.obj + "=this") 
    return this
}

function InitialisePoster(counter){
    objName='divPoster'+counter;
    objContainer[counter] = new EA_makeChangeTextObj(objName); 

    objContainer[counter].css.visibility='hidden';
} 

// end absolutely positioned scrollable area object scripts 
function Block(tempBlock, source)
{
	  blockContent=tempBlock;
}