rootURL = 'http://www.strawberryfields.nu/prints/';movieType='none';movieActive = false;nopConcept = 0;nopMultimedia = 0;nopPrint = 0;nopInternet = 0;nopVideo = 0;nopNieuw = 0; VIDEOWMV = 0;nop = new Array(); /************************************************ Display time of last visit script- by JavaScriptKit.com* This notice MUST stay intact for use* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and more***********************************************/var days = 730; // days until cookie expires = 2 years.var lastvisit=new Object();var firstvisitmsg='Dit is de eerste keer dat u ons bezoekt.'; lastvisit.subsequentvisitmsg='[displaydate]';lastvisit.getCookie=function(Name){ var re=new RegExp(Name+'=[^;]+', 'i'); if (document.cookie.match(re)) return document.cookie.match(re)[0].split('=')[1];return''; }lastvisit.setCookie=function(name, value, days){ var expireDate = new Date();var expstring=expireDate.setDate(expireDate.getDate()+parseInt(days));document.cookie = name+'='+value+'; expires='+expireDate.toGMTString()+'; path=/';}/*lastvisit.showmessage = function() {var wh = new Date();if (lastvisit.getCookie('visitc') == '') { lastvisit.setCookie('visitc', wh, days); document.write(firstvisitmsg);}else {var lv = lastvisit.getCookie('visitc');var lvp = Date.parse(lv);var now = new Date();now.setTime(lvp);var day = new Array('zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag');var month = new Array ('januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december');var dd = now.getDate();var dy = now.getDay();dy = day[dy];var mn = now.getMonth();mn = month[mn];yy = now.getFullYear();var hh = now.getHours();var ampm = 'AM';if (hh >= 12) {ampm = 'PM'}if (hh == 0) {hh = 12}if (hh < 10) {hh = '0' + hh};var mins = now.getMinutes();if (mins < 10) {mins = '0'+ mins}var secs = now.getSeconds();if (secs < 10) {secs = '0' + secs}var dispDate = '<b><font color="#75b048">Uitgerekend om </font><font color="#747474">' + hh + ':' + mins + '</font><font color="#75b048"> uur<br> brengt u ons een bezoekje</font></b>';document.write(lastvisit.subsequentvisitmsg.replace('\[displaydate\]', dispDate))}lastvisit.setCookie('visitc', wh, days);}*/function validateForm(oForm) { 	//oForm refers to the form which you want to validate 	oForm.onsubmit = function() // attach the function to onsubmit event 	{ 		var regex = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; 		 		if(oForm.elements['naam'].value.length<1) 		{ 			alert("Uw naam dient ingevuld te worden"); 			return false; 		} 		 		if(oForm.elements['email'].value.length<1) 		{ 			alert("Het e-mail adres dient ingevuld te worden"); 			return false; 		} 		else if(!regex.test(oForm.elements['email'].value)) 		{ 			alert("Incorrect e-mail adres"); 			return false; 		}		 			 		if((oForm.elements['bericht'].value.length<1)&&(oForm.elements['nummer'].value.length<1)) 		{ 			alert("U dient of een bericht, of een telefoonnummer in te voeren"); 			return false; 		} 		return true; 	} }  function validateFormOfferte(oForm) { 	//oForm refers to the form which you want to validate 	oForm.onsubmit = function() // attach the function to onsubmit event 	{ 		var regex = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; 		 		if(oForm.elements['naam'].value.length<1) 		{ 			alert("Uw naam dient ingevuld te worden"); 			return false; 		} 		 		if(oForm.elements['email'].value.length<1) 		{ 			alert("Het e-mail adres dient ingevuld te worden"); 			return false; 		} 		else if(!regex.test(oForm.elements['email'].value)) 		{ 			alert("Incorrect e-mail adres"); 			return false; 		}		 		 		 		if(oForm.elements['nummer'].value.length<1) 		{ 			alert("U dient een telefoonnummer in te voeren"); 			return false; 		} 		 		if(oForm.elements['bericht'].value.length<1) 		{ 			alert("U dient een bericht in te voeren"); 			return false; 		} 		return true; 	} }function createProjectCount(multimedia,print,internet,video,concept,nieuw){  nopMultimedia = multimedia;  nopPrint = print;  nopInternet = internet;   nopVideo = video;  nopNieuw = nieuw;   nopConcept = concept;   nop['multimedia'] = multimedia;  nop['print'] = print;  nop['internet'] = internet;  nop['video'] = video;  nop['concept'] = concept;  nop['nieuw'] = nieuw;}function destroyMovie(){  if(movieActive)  {    if(movieType=='mov'){document.movie1.Stop();movieActive=false;}    if(movieType=='wmv'){if(VIDEOWMV!=0){VIDEOWMV.controls.stop();}}    movieType='none';  }  getXMLMediaClear();}function openUpSlider(){  new Effect.BlindUp('slideup',{duration:0.8});  new Effect.BlindUp('slidedown',{duration:0.8});}function fadeProjectContent(){  new Effect.Appear('slideup',{duration:0.3});  new Effect.Appear('slidedown',{duration:0.3});}function submenuFade(type){fadeProjectContent();setTimeout("switchMediaMenu('"+type+"');",1000);  }///// scrolling typemenu'svar currentMenu = 'none';var multimediaMenuIsScrollable = 'false';var printMenuIsScrollable = 'false';var internetMenuIsScrollable = 'false';var videoMenuIsScrollable = 'false';var nieuwMenuIsScrollable = 'false';var clipTopVideo = 0;var clipWidthVideo = 200;var clipBottomVideo = 183;var topperVideo = 0;var lyrheightVideo = 0;var time,amount,theTime,theHeight, DHTML;var clipTopPrint = 0;var clipWidthPrint = 200;var clipBottomPrint = 183;var topperPrint = 0;var lyrheightPrint = 0;var time,amount,theTime,theHeight, DHTML;var clipTopMultimedia = 0;var clipWidthMultimedia = 200;var clipBottomMultimedia = 183;var topperMultimedia = 0;var lyrheightMultimedia = 0;var time,amount,theTime,theHeight, DHTML;var clipTopInternet = 0;var clipWidthInternet = 200;var clipBottomInternet = 183;var topperInternet = 0;var lyrheightInternet = 0;var time,amount,theTime,theHeight, DHTML;var clipTopNieuw = 0;var clipWidthNieuw = 200;var clipBottomNieuw = 183;var topperNieuw = 0;var lyrheightNieuw = 0;var time,amount,theTime,theHeight, DHTML;function initTypemenu(){ 	DHTML = (document.getElementById || document.all || document.layers)	if (!DHTML) return;		if(nopVideo>10)	{	  var video = new getObj('menuBoxvideo');	  if (document.layers){lyrheightVideo = video.style.clip.bottom;lyrheightVideo += 0;video.style.clip.top = clipTopVideo;video.style.clip.left = 0;video.style.clip.right = clipWidthVideo;video.style.clip.bottom = clipBottomVideo;}	  else if (document.getElementById || document.all){lyrheightVideo = video.obj.offsetHeight;video.style.clip = 'rect('+clipTopVideo+'px,'+clipWidthVideo+'px,'+clipBottomVideo+'px,0)';}		}		if(nopPrint>10)	{	  var print = new getObj('menuBoxprint');	  if (document.layers){lyrheightPrint = print.style.clip.bottom;lyrheightPrint += 0;print.style.clip.top = clipTopPrint;print.style.clip.left = 0;print.style.clip.right = clipWidthPrint;print.style.clip.bottom = clipBottomPrint;}	  else if (document.getElementById || document.all){lyrheightPrint = print.obj.offsetHeight;print.style.clip = 'rect('+clipTopPrint+'px,'+clipWidthPrint+'px,'+clipBottomPrint+'px,0)';}		}			if(nopInternet>10)	{	  var internet = new getObj('menuBoxinternet');	  if (document.layers){lyrheightInternet = internet.style.clip.bottom;lyrheightInternet += 0;internet.style.clip.top = clipTopInternet;internet.style.clip.left = 0;internet.style.clip.right = clipWidthInternet;internet.style.clip.bottom = clipBottomInternet;}	  else if (document.getElementById || document.all){lyrheightInternet = internet.obj.offsetHeight;internet.style.clip = 'rect('+clipTopInternet+'px,'+clipWidthInternet+'px,'+clipBottomInternet+'px,0)';}		}		if(nopMultimedia>10)	{	  var multimedia = new getObj('menuBoxmultimedia');	  if (document.layers){lyrheightMultimedia = multimedia.style.clip.bottom;lyrheightMultimedia += 0;multimedia.style.clip.top = clipTopMultimedia;multimedia.style.clip.left = 0;multimedia.style.clip.right = clipWidthMultimedia;multimedia.style.clip.bottom = clipBottomMultimedia;}	  else if (document.getElementById || document.all){lyrheightMultimedia = multimedia.obj.offsetHeight;multimedia.style.clip = 'rect('+clipTopMultimedia+'px,'+clipWidthMultimedia+'px,'+clipBottomMultimedia+'px,0)';}		}		if(nopConcept>10)	{	  var concept = new getObj('menuBoxconcept');	  if (document.layers){lyrheightConcept = Concept.style.clip.bottom;lyrheightConcept += 0;Concept.style.clip.top = clipTopConcept;Concept.style.clip.left = 0;Concept.style.clip.right = clipWidthConcept;Concept.style.clip.bottom = clipBottomConcept;}	  else if (document.getElementById || document.all){lyrheightConcept = Concept.obj.offsetHeight;Concept.style.clip = 'rect('+clipTopConcept+'px,'+clipWidthConcept+'px,'+clipBottomConcept+'px,0)';}		}		if(nopNieuw>10)	{	  var nieuw = new getObj('menuBoxnieuw');	  if (document.layers){lyrheightNieuw = nieuw.style.clip.bottom;lyrheightNieuw += 0;nieuw.style.clip.top = clipTopNieuw;nieuw.style.clip.left = 0;nieuw.style.clip.right = clipWidthNieuw;nieuw.style.clip.bottom = clipBottomNieuw;}	  else if (document.getElementById || document.all){lyrheightNieuw = nieuw.obj.offsetHeight;nieuw.style.clip = 'rect('+clipTopNieuw+'px,'+clipWidthNieuw+'px,'+clipBottomNieuw+'px,0)';}		}	}function scrollTypemenuLayer(layername,amt,tim){   if(!DHTML) return;   thelayer = new getObj(layername);   if(!thelayer) return;   amount = amt;   theTime = tim;   realscrollTypemenu();}function realscrollTypemenu(){  if(!DHTML) return;  if(currentMenu=='video'){clipTopVideo += amount;clipBottomVideo += amount;topperVideo -= amount;    if (clipTopVideo < 0 || clipBottomVideo > lyrheightVideo){clipTopVideo -= amount;clipBottomVideo -= amount;topperVideo += amount;return;}    if (document.getElementById || document.all){clipstringVideo = 'rect('+clipTopVideo+'px,'+clipWidthVideo+'px,'+clipBottomVideo+'px,0)';thelayer.style.clip = clipstringVideo;thelayer.style.top = topperVideo + 'px';}    else if (document.layers){thelayer.style.clip.top = clipTopVideo;thelayer.style.clip.bottom = clipBottomVideo;thelayer.style.top = topperVideo;}    time = setTimeout('realscrollTypemenu()',theTime);}      if(currentMenu=='print'){clipTopPrint += amount;clipBottomPrint += amount;topperPrint -= amount;    if (clipTopPrint < 0 || clipBottomPrint > lyrheightPrint){clipTopPrint -= amount;clipBottomPrint -= amount;topperPrint += amount;return;}    if (document.getElementById || document.all){clipstringPrint = 'rect('+clipTopPrint+'px,'+clipWidthPrint+'px,'+clipBottomPrint+'px,0)';thelayer.style.clip = clipstringPrint;thelayer.style.top = topperPrint + 'px';}    else if (document.layers){thelayer.style.clip.top = clipTopPrint;thelayer.style.clip.bottom = clipBottomPrint;thelayer.style.top = topperPrint;}    time = setTimeout('realscrollTypemenu()',theTime);}      if(currentMenu=='internet'){clipTopInternet += amount;clipBottomInternet += amount;topperInternet -= amount;    if (clipTopInternet < 0 || clipBottomInternet > lyrheightInternet){clipTopInternet -= amount;clipBottomInternet -= amount;topperInternet += amount;return;}    if (document.getElementById || document.all){clipstringInternet = 'rect('+clipTopInternet+'px,'+clipWidthInternet+'px,'+clipBottomInternet+'px,0)';thelayer.style.clip = clipstringInternet;thelayer.style.top = topperInternet + 'px';}    else if (document.layers){thelayer.style.clip.top = clipTopInternet;thelayer.style.clip.bottom = clipBottomInternet;thelayer.style.top = topperInternet;}    time = setTimeout('realscrollTypemenu()',theTime);}      if(currentMenu=='multimedia'){clipTopMultimedia += amount;clipBottomMultimedia += amount;topperMultimedia -= amount;    if (clipTopMultimedia < 0 || clipBottomMultimedia > lyrheightMultimedia){clipTopMultimedia -= amount;clipBottomMultimedia -= amount;topperMultimedia += amount;return;}    if (document.getElementById || document.all){clipstringMultimedia = 'rect('+clipTopMultimedia+'px,'+clipWidthMultimedia+'px,'+clipBottomMultimedia+'px,0)';thelayer.style.clip = clipstringMultimedia;thelayer.style.top = topperMultimedia + 'px';}    else if (document.layers){thelayer.style.clip.top = clipTopMultimedia;thelayer.style.clip.bottom = clipBottomMultimedia;thelayer.style.top = topperMultimedia;}    time = setTimeout('realscrollTypemenu()',theTime);}      if(currentMenu=='nieuw'){clipTopNieuw += amount;clipBottomNieuw += amount;topperNieuw -= amount;    if (clipTopNieuw < 0 || clipBottomNieuw > lyrheightNieuw){clipTopNieuw -= amount;clipBottomNieuw -= amount;topperNieuw += amount;return;}    if (document.getElementById || document.all){clipstringNieuw = 'rect('+clipTopNieuw+'px,'+clipWidthNieuw+'px,'+clipBottomNieuw+'px,0)';thelayer.style.clip = clipstringNieuw;thelayer.style.top = topperNieuw + 'px';}    else if (document.layers){thelayer.style.clip.top = clipTopNieuw;thelayer.style.clip.bottom = clipBottomNieuw;thelayer.style.top = topperNieuw;}    time = setTimeout('realscrollTypemenu()',theTime);}}function stopScrollTypemenu(){	if (time) clearTimeout(time);}function showTypemenu(id){   if(id=='concept en strategie')    id = 'concept';      /// hide menus   var menu = new getObj('menuBoxmultimedia');   menu.style.visibility = 'hidden';   var menu = new getObj('menuBoxprint');   menu.style.visibility = 'hidden';   var menu = new getObj('menuBoxinternet');   menu.style.visibility = 'hidden';   var menu = new getObj('menuBoxvideo');   menu.style.visibility = 'hidden';   var menu = new getObj('menuBoxconcept');   menu.style.visibility = 'hidden';   var menu = new getObj('menuBoxnieuw');   menu.style.visibility = 'hidden';      var menu = new getObj('menuscrollermultimedia');   menu.style.visibility = 'hidden';   var menu = new getObj('menuscrollerprint');   menu.style.visibility = 'hidden';   var menu = new getObj('menuscrollerinternet');   menu.style.visibility = 'hidden';   var menu = new getObj('menuscrollervideo');   menu.style.visibility = 'hidden';   var menu = new getObj('menuscrollerconcept');   menu.style.visibility = 'hidden';   var menu = new getObj('menuscrollernieuw');   menu.style.visibility = 'hidden';           /// show pressed menu & scroller   var menu = new getObj('menuBox'+id);   menu.style.visibility = 'visible';      // activate scroller if menu is big      if((id=='multimedia')&&(nopMultimedia>10)){var scroller = new getObj('menuscrollermultimedia');scroller.style.visibility = 'visible';}   if((id=='print')&&(nopPrint>10)){var scroller = new getObj('menuscrollerprint');scroller.style.visibility = 'visible';}   if((id=='internet')&&(nopInternet>10)){var scroller = new getObj('menuscrollerinternet');scroller.style.visibility = 'visible';}   if((id=='video')&&(nopVideo>10)){var scroller = new getObj('menuscrollervideo');scroller.style.visibility = 'visible';}   if((id=='concept')&&(nopConcept>10)){var scroller = new getObj('menuscrollerconcept');scroller.style.visibility = 'visible';}   if((id=='nieuw')&&(nopNieuw>10)){var scroller = new getObj('menuscrollernieuw');scroller.style.visibility = 'visible';}   currentMenu = id;}// varsvar pressedId = -1;var preSrc = 'none';var prePressed = -1;var clickedType = '';/// language managementfunction switchLanguage(lang){      if(lang=='nl')      {        document.forms[0].languagebox.value = 'nl';        document.forms[0].submit();      }         if(lang=='uk')      {        document.forms[0].languagebox.value = 'uk';        document.forms[0].submit();      } }//// browserdetectvar detect = navigator.userAgent.toLowerCase();var OS, browser, version, total, thestring;if (checkIt('konqueror')){browser = 'konquerer'; OS = 'Linux'}else if (checkIt('safari')){browser = 'safari';}else if (checkIt('omniweb')){browser = 'omniweb';}else if (checkIt('opera')){browser = 'opera';}else if (checkIt('webtv')){browser = 'webtv';}else if (checkIt('icab')){browser = 'icab';}else if (checkIt('mozilla')){browser = 'netscape';}else if (checkIt('msie')){browser = 'ie';}else if (!checkIt('compatible')){browser = 'netscape'; version = detect.charAt(8);}else browser = 'unknown';if (!version) version = detect.charAt(place + thestring.length);if (!OS){	if (checkIt('linux')) OS = "linux";	else if (checkIt('x11')) OS = "unix";	else if (checkIt('mac')) OS = "mac"	else if (checkIt('win')) OS = "windows"	else OS = "an unknown operating system";}function checkIt(string){  place = detect.indexOf(string) + 1;  thestring = string;  return place;}/// menubox en textbox-clippingvar clipTop = 0;var clipWidth = 0;var clipBottom = 0;var topper = 0;var clipTopText = 0;var clipWidthText = 400;var clipBottomText = 70;var topperText = 275;var lyrheightText = 0;var clipTopMenu = 0;var clipWidthMenu = 200;var clipBottomMenu = 200;var topperMenu = 0;var lyrheightMenu = 0;var time,amount,theTime,theHeight;var DHTML;var mask = 'none';// onload function // function onloadFunction(){   deadCentre();		// centering   setTimeout("hideLoader();",1500);}function switchMaskVars(){if(mask=='menu')	{	clipTop = clipTopMenu;    clipWidth = clipWidthMenu;    clipBottom = clipBottomMenu;    topper = topperMenu; 	}		if(mask=='text')	{	clipTop = clipTopText;    clipWidth = clipWidthText;    clipBottom = clipBottomText;    topper = topperText; 	}}function getObj(name){  if (document.getElementById)  {  	this.obj = document.getElementById(name);	this.style = document.getElementById(name).style;  }  else if (document.all)  {	this.obj = document.all[name];	this.style = document.all[name].style;  }  else if (document.layers)  {   	this.obj = document.layers[name];   	this.style = document.layers[name];  }}function selectedMenuImage(id){   if(id)   {          var x = new getObj('mediaMenuImageOver'+id);        }}function getMenuHeight(id){  if(id=='concept en strategie')    id = 'concept';   var y = new getObj('menuBox'+id);   height = y.obj.offsetHeight;   height = parseInt(height / 2);	   y.style.marginTop = '-'+height+'px';      initTypemenu();   if(height>95)     {       y.style.marginTop = '-90px';      }   }function positionKlantenMenu(){   var y = new getObj('menu');	   y.style.marginTop = '-100px';      var x = new getObj('menuLoader');   x.style.visibility = 'hidden';}function init(){ 	DHTML = (document.getElementById || document.all || document.layers)	if (!DHTML) return;	var x = new getObj('contentBox');	var y = new getObj('menuBox');	if (document.layers)	{	  lyrheightText = x.style.clip.bottom;	  lyrheightText += 0;	  x.style.clip.top = clipTopText;	  x.style.clip.left = 0;	  x.style.clip.right = clipWidthText;  	  x.style.clip.bottom = clipBottomText;			  lyrheightMenu = y.style.clip.bottom;	  lyrheightMenu += 0;	  y.style.clip.top = clipTopMenu;	  y.style.clip.left = 0;	  y.style.clip.right = clipWidthMenu;	  y.style.clip.bottom = clipBottomMenu;	}	else if (document.getElementById || document.all)	{	  	lyrheightText = x.obj.offsetHeight;	 	x.style.clip = 'rect('+clipTopText+'px,'+clipWidthText+'px,'+clipBottomText+'px,0)';		lyrheightMenu = y.obj.offsetHeight;		y.style.clip = 'rect('+clipTopMenu+'px,'+clipWidthMenu+'px,'+clipBottomMenu+'px,0)';	}}function initTextScroller(){	DHTML = (document.getElementById || document.all || document.layers)	if (!DHTML) return;	var x = new getObj('contentBox');	if (document.layers)	{	  lyrheightText = x.style.clip.bottom;	  lyrheightText += 0;	  x.style.clip.top = clipTopText;	  x.style.clip.left = 0;	  x.style.clip.right = clipWidthText;  	  x.style.clip.bottom = clipBottomText;	}	else if (document.getElementById || document.all)	{	  	lyrheightText = x.obj.offsetHeight;	 	x.style.clip = 'rect('+clipTopText+'px,'+clipWidthText+'px,'+clipBottomText+'px,0)';	}    x = new getObj('textscroller');        if(lyrheightText<80)      x.style.visibility = 'hidden';    else      x.style.visibility = 'visible';}function getKlantenMenu(newMenu){   if(newMenu=='yes')   {        getXMLMediaMenu('deklantenNew');   }   else   {   if (browser=='ie')   {     getXMLMediaMenu('deklantenIE');   }   else   {     getXMLMediaMenu('deklanten');   }}}function realscroll(box){    if(mask=='menu')	{		  clipTopMenu = clipTop;      clipWidthMenu = clipWidth;      clipBottomMenu = clipBottom;      topperMenu = topper; 	}	if (!DHTML) return;	if(mask=='menu'){if(lyrheightMenu)layerheight = lyrheightMenu;else layerheight=0;}	if(mask=='text'){layerheight = lyrheightText;} 	clipTop += amount;	clipBottom += amount;	topper -= amount;		if (clipTop < 0 || clipBottom > layerheight)	{		clipTop -= amount;		clipBottom -= amount;		topper += amount;		return;	}	if (document.getElementById || document.all)	{ 		clipstring = 'rect('+clipTop+'px,'+clipWidth+'px,'+clipBottom+'px,0)';		thelayer.style.clip = clipstring;		thelayer.style.top = topper + 'px';	}	else if (document.layers)	{		thelayer.style.clip.top = clipTop;		thelayer.style.clip.bottom = clipBottom;		thelayer.style.top = topper;	}	time = setTimeout('realscroll()',theTime);}function hideLoader(){  document.getElementById("loader").style.visibility='hidden';  document.getElementById("loading").style.visibility='hidden';}function scrollayer(layername,amt,tim){		if (!DHTML) return;	thelayer = new getObj(layername);	if (!thelayer) return;	amount = amt;	theTime = tim;	realscroll(layername);}function stopScroll(){	if (time) clearTimeout(time);}var container = {       id   :"container",       top  :50,       left :50    }; /// drag managementvar Drag = {    obj : null,    initDrag : function(o, oRoot, minX, maxX, minY, maxY, bSwapHorzRef, bSwapVertRef, fXMapper, fYMapper)    {                o.onmousedown    = Drag.start;        o.hmode            = bSwapHorzRef ? false : true ;        o.vmode            = bSwapVertRef ? false : true ;                o.root = oRoot && oRoot != null ? oRoot : o ;        if (o.hmode  && isNaN(parseInt(o.root.style.left  ))) o.root.style.left   = "0px";        if (o.vmode  && isNaN(parseInt(o.root.style.top   ))) o.root.style.top    = "0px";        if (!o.hmode && isNaN(parseInt(o.root.style.right ))) o.root.style.right  = "0px";        if (!o.vmode && isNaN(parseInt(o.root.style.bottom))) o.root.style.bottom = "0px";        o.minX    = typeof minX != 'undefined' ? minX : null;        o.minY    = typeof minY != 'undefined' ? minY : null;        o.maxX    = typeof maxX != 'undefined' ? maxX : null;        o.maxY    = typeof maxY != 'undefined' ? maxY : null;        o.xMapper = fXMapper ? fXMapper : null;        o.yMapper = fYMapper ? fYMapper : null;        o.root.onDragStart    = new Function();        o.root.onDragEnd    = new Function();        o.root.onDrag        = new Function();    },    start : function(e)    {        var o = Drag.obj = this;        e = Drag.fixE(e);        var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);        var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );        o.root.onDragStart(x, y);        o.lastMouseX    = e.clientX;        o.lastMouseY    = e.clientY;        if (o.hmode) {            if (o.minX != null)    o.minMouseX    = e.clientX - x + o.minX;            if (o.maxX != null)    o.maxMouseX    = o.minMouseX + o.maxX - o.minX;        } else {            if (o.minX != null) o.maxMouseX = -o.minX + e.clientX + x;            if (o.maxX != null) o.minMouseX = -o.maxX + e.clientX + x;        }        if (o.vmode) {            if (o.minY != null)    o.minMouseY    = e.clientY - y + o.minY;            if (o.maxY != null)    o.maxMouseY    = o.minMouseY + o.maxY - o.minY;        } else {            if (o.minY != null) o.maxMouseY = -o.minY + e.clientY + y;            if (o.maxY != null) o.minMouseY = -o.maxY + e.clientY + y;        }        document.onmousemove    = Drag.drag;        document.onmouseup        = Drag.end;        return false;    },    drag : function(e)    {        e = Drag.fixE(e);        var o = Drag.obj;                Drag.obj.root.style.opacity = ".9";		Drag.obj.root.style.filter = "alpha(opacity=90);";                var ey    = e.clientY;        var ex    = e.clientX;        var y = parseInt(o.vmode ? o.root.style.top  : o.root.style.bottom);        var x = parseInt(o.hmode ? o.root.style.left : o.root.style.right );        var nx, ny;        if (o.minX != null) ex = o.hmode ? Math.max(ex, o.minMouseX) : Math.min(ex, o.maxMouseX);        if (o.maxX != null) ex = o.hmode ? Math.min(ex, o.maxMouseX) : Math.max(ex, o.minMouseX);        if (o.minY != null) ey = o.vmode ? Math.max(ey, o.minMouseY) : Math.min(ey, o.maxMouseY);        if (o.maxY != null) ey = o.vmode ? Math.min(ey, o.maxMouseY) : Math.max(ey, o.minMouseY);        nx = x + ((ex - o.lastMouseX) * (o.hmode ? 1 : -1));        ny = y + ((ey - o.lastMouseY) * (o.vmode ? 1 : -1));        if (o.xMapper)        nx = o.xMapper(y)        else if (o.yMapper)    ny = o.yMapper(x)        Drag.obj.root.style[o.hmode ? "left" : "right"] = nx + "px";        Drag.obj.root.style[o.vmode ? "top" : "bottom"] = ny + "px";        Drag.obj.lastMouseX    = ex;        Drag.obj.lastMouseY    = ey;        Drag.obj.root.onDrag(nx, ny);        return false;    },    end : function()    {        document.onmousemove = null;        document.onmouseup   = null;                Drag.obj.root.style.opacity = "1";		Drag.obj.root.style.filter = "alpha(opacity=100);";                Drag.obj.root.onDragEnd(    parseInt(Drag.obj.root.style[Drag.obj.hmode ? "left" : "right"]),                                     parseInt(Drag.obj.root.style[Drag.obj.vmode ? "top" : "bottom"]));        Drag.obj = null;    },    fixE : function(e)    {        if (typeof e == 'undefined') e = window.event;        if (typeof e.layerX == 'undefined') e.layerX = e.offsetX;        if (typeof e.layerY == 'undefined') e.layerY = e.offsetY;        return e;    }};/// popup managementfunction showPopup(){   var popup = new getObj('popupBox');   popup.style.visibility = 'visible';}function hidePopup(){   var popup = new getObj('popupBox');   popup.style.visibility = 'hidden';}    function showMediaPopup(){   var popup = new getObj('videoBox');   popup.style.visibility = 'visible';}        function hideMediaPopup(){   var popup = new getObj('videoBox');   popup.style.visibility = 'hidden';}function deadCentre(){                if (document.getElementById('container'))       {          var elm = document.getElementById(container.id);                   // fetching width and height of container          cHeight = elm.offsetHeight;          // fetching width and height of vieuwport          if (self.innerHeight){             // all except Explorer             wHeight = self.innerHeight;            } else if (document.documentElement && document.documentElement.clientHeight) {             // Explorer 6 Strict Mode             wHeight = document.documentElement.clientHeight;            } else if (document.body) {             // other Explorers             wHeight = document.body.clientHeight;          }          // calculating new container margins          cmTop  = wHeight - cHeight >= 0 ? Math.round((wHeight-cHeight) * (container.top/100)) + "px" : 0;                            // parse new values to container inline-style          elm.style.margin = cmTop + " auto 0 auto";                         } }  window.onload = function(){deadCentre();} window.onresize = function(){deadCentre();} prevPointer = 'none';function showTypePointer(pointerName){   if(prevPointer!='none')   {      prev = new getObj(prevPointer);      pointer.style.visibility = 'hidden';   }   pointer = new getObj(pointerName);   pointer.style.visibility = 'visible';   prevPointer = pointerName;}//// XML //// XML //// XML //// XML //// XML //// XML //// XML //// XML //// XML /////function getXMLClientPage(clientId, preURL){	    var req = null; 	if (window.XMLHttpRequest)	{		req = new XMLHttpRequest();		if (req.overrideMimeType) 		{			req.overrideMimeType('text/xml');		}	} 	else if (window.ActiveXObject) 	{		try {			req = new ActiveXObject("Msxml2.XMLHTTP");		} catch (e)		{			try {				req = new ActiveXObject("Microsoft.XMLHTTP");			} catch (e) {}		}        	}	req.onreadystatechange = function()	{ 		if(req.readyState == 4)		{			if(req.status == 200)			{								document.getElementById("xmlDataContainer").innerHTML  = req.responseText;				    initTextScroller();				hidePopup(); 				getXMLMediaClear(); 	  	        openUpSlider();			}			} 	}; 	req.open('GET', rootURL+'clientpage.php?id='+clientId, true); 	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 	req.send(null); 	 	} function getXMLProject(id, preURL){ 	    var req = null;  		if (window.XMLHttpRequest)		{ 			req = new XMLHttpRequest();			if (req.overrideMimeType) 			{				req.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req.onreadystatechange = function()		{ 			if(req.readyState == 4)			{				if(req.status == 200)				{ 										document.getElementById("xmlDataContainer").innerHTML  = req.responseText;					    initTextScroller();					hidePopup(); 					getXMLMediaClear(); 		  	        openUpSlider();    			}					} 		}; 		req.open('GET', rootURL+'data.php?id='+id, true); 		req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req.send(null); 		 } 	function getXMLMedia(fileName, extension)	{ 	   		var req2 = null;  		if (window.XMLHttpRequest)		{ 			req2 = new XMLHttpRequest();			if (req2.overrideMimeType) 			{				req2.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req2 = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req2 = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req2.onreadystatechange = function()		{ 			if(req2.readyState == 4)			{				if(req2.status == 200)				{				    movieActive = true;				    movieType = extension;					document.getElementById("videoBox").innerHTML  = req2.responseText;						box = new getObj('videoBox');					box.style.visibility = 'visible';						       			}					else				    {				}				} 		}; 		req2.open("GET", rootURL+"getXMLMedia.php?file="+fileName+"&ext="+extension, true);						req2.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req2.send(null); 		 	} 			function getXMLDingetje(url)	{ 	   		var req2 = null;  		if (window.XMLHttpRequest)		{ 			req2 = new XMLHttpRequest();			if (req2.overrideMimeType) 			{				req2.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req2 = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req2 = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req2.onreadystatechange = function()		{ 			if(req2.readyState == 4)			{				if(req2.status == 200)				{					document.getElementById("dingetjeHolder").innerHTML  = req2.responseText;			       			}					else				    {				}				} 		}; 		req2.open("GET", "www.strawberryfields.nu/new/themes/"+url, true);		req2.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req2.send(null); 		 	} function getXMLProjectsByClientId(id, type){	var req = null; 	if (window.XMLHttpRequest)	{		req = new XMLHttpRequest();		if (req.overrideMimeType) 		{			req.overrideMimeType('text/xml');		}	} 	else if (window.ActiveXObject) 	{		try {			req = new ActiveXObject("Msxml2.XMLHTTP");		} catch (e)		{			try {				req = new ActiveXObject("Microsoft.XMLHTTP");			} catch (e) {}		}        	}	req.onreadystatechange = function()	{ 		if(req.readyState == 4)		{			if(req.status == 200)			{				document.getElementById("contentBox").innerHTML  = req.responseText;				    initTextScroller();			}			} 	}; 	req.open('GET', rootURL+'projectsByUserId.php?id='+id+'&type='+type, true); 	req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 	req.send(null);}		function getXMLMediaClear()	{   		document.getElementById("videoBox").innerHTML  = '';   		   		document.getElementById("videoBox").style.visibility = 'hidden';	}		function getXMLPopup(id, preURL)	{ 		var req3 = null;  		if (window.XMLHttpRequest)		{ 			req3 = new XMLHttpRequest();			if (req3.overrideMimeType) 			{				req3.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req3 = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req3 = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req3.onreadystatechange = function()		{ 			if(req3.readyState == 4)			{				if(req3.status == 200)				{				    					document.getElementById("popupBox").innerHTML  = req3.responseText;											//Drag.initDrag(document.getElementById('popup'));					       			}					else				    {				}				} 		}; 		req3.open("GET", rootURL+"getXMLPopup.php?id="+id, true); 		req3.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req3.send(null); 		 	} 	function getXMLProjectType(type)	{ 		var req6 = null;  		if (window.XMLHttpRequest)		{ 			req6 = new XMLHttpRequest();			if (req6.overrideMimeType) 			{				req6.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req6 = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req6 = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req6.onreadystatechange = function()		{ 			if(req6.readyState == 4)			{				if(req6.status == 200)				{				   document.getElementById("xmlDataContainer").innerHTML  = req6.responseText;				   openUpSlider();	       			}									} 		}; 		req6.open("GET", rootURL+"gettypepages.php?type="+type, true); 		req6.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req6.send(null); 		 	} 		function getXMLMediaMenu(type)	{ 				var req4 = null;  		if (window.XMLHttpRequest)		{ 			req4 = new XMLHttpRequest();			if (req4.overrideMimeType) 			{				req4.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req4 = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req4 = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req4.onreadystatechange = function()		{ 				    			if(req4.readyState == 4)			{				if(req4.status == 200)				{				    				    setTimeout("openUpSlider();",1000);				    pressedId = -1;					preSrc = 'none';					prePressed = -1;				    document.getElementById("menuBox").innerHTML  = req4.responseText;					 					getXMLMediaClear(); // legen en verbergen eventuele videoBox   				    				   				    				    if(type!='deklanten')				      if(type!='deklantenIE')					    if(type!='deklantenNew')					      setTimeout("getMenuHeight();",1000);				      	     				      	  		        	  		        if((type=='deklanten')||(type=='deklantenIE')||(type=='deklantenNew'))	  		        {	  		          init();				      setTimeout("positionKlantenMenu();",1000);  					}																							    			}	    						} 		}; 		req4.open("GET", rootURL+"getXMLMediaMenu.php?type="+type+"&browser="+browser, true); 		req4.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req4.send(null); 		 	} 				function getXMLBureauContent(page)	{ 	      		var req5 = null;  		if (window.XMLHttpRequest)		{ 			req5 = new XMLHttpRequest();			if (req5.overrideMimeType) 			{				req5.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req5 = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req5 = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req5.onreadystatechange = function()		{ 			if(req5.readyState == 4)			{				if(req5.status == 200)				{    					document.getElementById("xmlDataContainer").innerHTML  = req5.responseText;    			}					else				    {				}				} 		}; 		req5.open("GET", rootURL+"getXMLBureauContent.php?page="+page, true); 		req5.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req5.send(null); 		 	} // refine CSS placing for IEfunction refineForBrowser(name){  if(browser=='ie')  {     var refine = new getObj(name);    refine.style.posTop -= 1;  }  if(browser=='netscape')  {     var refine = new getObj(name);    refine.style.posTop += 2;  }  if(browser=='safari')  {     var refine = new getObj(name);    refine.style.posTop += 2;  }}/// Main menu pointerprevType= 'none';function switchMediaMenu(type){      var loader = new getObj('menuLoader');    loader.style.visibility = 'hidden';          if(prevType != 'none')   {     var pointer = new getObj('sp'+prevType);     pointer.style.visibility='hidden';   }      if(type == 'notSet')   {     type = 'multimedia';   }         var pointer = new getObj('sp'+type);   pointer.style.visibility='visible';   prevType = type;    showTypemenu(type);   getXMLProjectType(type);   // keep color on clicked link   //document.getElementById('colorLinkmultimedia').style.color = '#5b5b5b';   //document.getElementById('colorLinkprint').style.color = '#5b5b5b';   //document.getElementById('colorLinkinternet').style.color = '#5b5b5b';   //document.getElementById('colorLinkvideo').style.color = '#5b5b5b';   //document.getElementById('colorLinknieuw').style.color = '#5b5b5b';   //document.getElementById('colorLink'+type).style.color = '#115f8d'; }prevSbp = 'none';function switchBureauSubMenu(page){     if(prevSbp != 'none')   {     var pointer = new getObj('sbp'+prevSbp);     pointer.style.visibility='hidden';   }      if(page == 'notSet')   {     page = 'home';   }      if (page!='home')   {      if(page=='nieuws'){number=1}   if(page=='demakers'){number=2}   if(page=='custlog'){number=5}   if(page=='contact'){number=3}   if(page=='videoconf'){number=6}   if(page=='dingetjes'){number=4}   var pointer = new getObj('sbp'+number);   pointer.style.visibility='visible';   prevSbp = number;       // keep color on clicked link    document.getElementById('demakers').style.color = '#5b5b5b';   document.getElementById('contact').style.color = '#5b5b5b';   document.getElementById('dingetjes').style.color = '#5b5b5b';   document.getElementById('custlog').style.color = '#5b5b5b';   document.getElementById('videoconf').style.color = '#5b5b5b';   document.getElementById('nieuws').style.color = '#5b5b5b';   document.getElementById(page).style.color = '#457600';   }   getXMLBureauContent(page);}/// message var cX = 0; var cY = 0;function UpdateCursorPosition(e){ cX = e.pageX-325; cY = e.pageY-297;}function UpdateCursorPositionDocAll(e){ cX = event.clientX; cY = event.clientY;}if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }else { document.onmousemove = UpdateCursorPosition; }function AssignPosition(d) {d.style.left = (cX+10) + "px";d.style.top = (cY+10) + "px";}function HideContent(d) {if(d.length < 1) { return; }document.getElementById(d).style.display = "none";document.getElementById(d).style.visibility = "hidden";}function ShowContent(d) {if(d.length < 1) { return; }var dd = document.getElementById(d);AssignPosition(dd);dd.style.display = "";document.getElementById(d).style.visibility = "visible";}function ReverseContentDisplay(d) {if(d.length < 1) { return; }var dd = document.getElementById(d);AssignPosition(dd);if(dd.style.display == "none") { dd.style.display = ""; }else { dd.style.display = "none"; }}var numberOfProjectsLoaded = 'unknown';function getXMLAllTypeMenus(firstLoad,preURL)	{ 		var req4 = null;  		if (window.XMLHttpRequest)		{ 			req4 = new XMLHttpRequest();			if (req4.overrideMimeType) 			{				req4.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				req4 = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					req4 = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		req4.onreadystatechange = function()		{ 				    			if(req4.readyState == 4)			{				if(req4.status == 200)				{				    document.getElementById("menuBoxmultimedia").innerHTML  = req4.responseText;				    setTimeout("getMenuHeight('multimedia');",1000);		    			}	    						} 		}; 		req4.open("GET", rootURL+"getXMLMediaMenu.php?type=multimedia&browser="+browser, true); 		req4.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		req4.send(null); 												var printRequest = null;  		if (window.XMLHttpRequest)		{ 			printRequest = new XMLHttpRequest();			if (printRequest.overrideMimeType) 			{				printRequest.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				printRequest = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					printRequest = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		printRequest.onreadystatechange = function()		{ 				    			if(printRequest.readyState == 4)			{				if(printRequest.status == 200)				{ 				    document.getElementById("menuBoxprint").innerHTML  = printRequest.responseText;				    setTimeout("getMenuHeight('print');",1000);    			}	    						} 		}; 		printRequest.open("GET", rootURL+"getXMLMediaMenu.php?type=print&browser="+browser, true); 		printRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		printRequest.send(null); 												var internetRequest = null;  		if (window.XMLHttpRequest)		{ 			internetRequest = new XMLHttpRequest();			if (internetRequest.overrideMimeType) 			{				internetRequest.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				internetRequest = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					internetRequest = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		internetRequest.onreadystatechange = function()		{ 				    			if(internetRequest.readyState == 4)			{				if(internetRequest.status == 200)				{				    document.getElementById("menuBoxinternet").innerHTML  = internetRequest.responseText;				    setTimeout("getMenuHeight('internet');",1000);    			}	    						} 		}; 		internetRequest.open("GET", rootURL+"getXMLMediaMenu.php?type=internet&browser="+browser, true); 		internetRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		internetRequest.send(null); 												var videoRequest = null;  		if (window.XMLHttpRequest)		{ 			videoRequest = new XMLHttpRequest();			if (videoRequest.overrideMimeType) 			{				videoRequest.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				videoRequest = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					videoRequest = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		videoRequest.onreadystatechange = function()		{ 				    			if(videoRequest.readyState == 4)			{				if(videoRequest.status == 200)				{				    document.getElementById("menuBoxvideo").innerHTML  = videoRequest.responseText;					setTimeout("getMenuHeight('video');",1000);								    			}	    						} 		}; 		videoRequest.open("GET", rootURL+"getXMLMediaMenu.php?type=video&browser="+browser, true); 		videoRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		videoRequest.send(null); 						        var conceptRequest = null;  		if (window.XMLHttpRequest)		{ 			conceptRequest = new XMLHttpRequest();			if (conceptRequest.overrideMimeType) 			{				conceptRequest.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				conceptRequest = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					conceptRequest = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		conceptRequest.onreadystatechange = function()		{ 				    			if(conceptRequest.readyState == 4)			{				if(conceptRequest.status == 200)				{				    document.getElementById("menuBoxconcept").innerHTML  = conceptRequest.responseText;					setTimeout("getMenuHeight('concept en strategie');",1000);								    			}	    						} 		}; 		conceptRequest.open("GET", rootURL+"getXMLMediaMenu.php?type=concept en strategie&browser="+browser, true); 		conceptRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		conceptRequest.send(null); 						var nieuwRequest = null;  		if (window.XMLHttpRequest)		{ 			nieuwRequest = new XMLHttpRequest();			if (nieuwRequest.overrideMimeType) 			{				nieuwRequest.overrideMimeType('text/xml');			}		} 		else if (window.ActiveXObject) 		{			try {				nieuwRequest = new ActiveXObject("Msxml2.XMLHTTP");			} catch (e)			{				try {					nieuwRequest = new ActiveXObject("Microsoft.XMLHTTP");				} catch (e) {}			}	        	}		nieuwRequest.onreadystatechange = function()		{ 				    			if(nieuwRequest.readyState == 4)			{				if(nieuwRequest.status == 200)				{				    document.getElementById("menuBoxnieuw").innerHTML  = nieuwRequest.responseText;				    setTimeout("getMenuHeight('nieuw');",1000);		    			}	    						} 		}; 		nieuwRequest.open("GET",  rootURL+"getXMLMediaMenu.php?type=nieuw&browser="+browser, true); 		nieuwRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); 		nieuwRequest.send(null); 			 } 		 