				var myVersion = 999;

				var ua = window.navigator.userAgent;
				var msie = ua.indexOf ( "MSIE " );



				if ( msie > 0 )

				{

					// If Internet Explorer, return version number

					msie = parseInt (ua.substring (msie+5, ua.indexOf (".", msie )));

				}

				

				var bSkipIE6 = false;

				

				if (typeof arrConfig=='undefined')

				{

					var arrConfig = new Array();	

				}



				if (typeof arrTotals == 'undefined')

				{

					var arrTotals= new Array();

				}

				arrTotals['icon1'] = 4;

				

				if(typeof arrImageLinks == 'undefined')

				{

					var arrImageLinks = new Array();

				}



				if(typeof arrImageHrefs == 'undefined')

				{

					var arrImageHrefs = new Array();

				}



				if(typeof arrImageTargets == 'undefined')

				{

					var arrImageTargets = new Array();

				}



				arrConfig['icon1'] = new Array();

				arrConfig['icon1']['millisec'] = 1000; // tijdsduur faden foto

				arrConfig['icon1']['millisec_switch'] = 5000; // tijdsduur tussen wisselen foto's

				arrConfig['icon1']['myZIndex'] = 99; // zIndex die afbeelding moet krijgen

				arrConfig['icon1']['idParentDiv'] = 'icon_header'; // ID van de div waaraan afbeeldingen gekoppeld moeten worden

				arrConfig['icon1']['intImgWidth'] = 990; // breedte van de afbeelding in px

				arrConfig['icon1']['intImgHeight'] = 240; // hoogte van de afbeeling in px

				var indexName = 'icon1'; // index naam



				if(typeof arrIndexes == 'undefined')

				{

					var arrIndexes = new Array();

				}



				arrIndexes[arrIndexes.length] = indexName;



				arrImageLinks[indexName] = new Array();

				arrImageHrefs[indexName] = new Array();

				arrImageTargets[indexName] = new Array();

				

				if (typeof arrDivs == 'undefined')

				{

					var arrDivs = new Array();

				}

				arrDivs[indexName] = new Array();



				if(typeof _showImage != 'function') 

				{ 

					_showImage = function()

					{

						strHref = this.getAttribute("link");

						

						var timer = 0;

						var speed = Math.round(this.getAttribute("millisec")*1 / 100);

						var intDuration = Math.round(this.getAttribute("millisec")*1 / 1000);

						var imgID = this.id;



						if(msie>6)

						{

							this.style.filter="blendTrans(duration="+intDuration+")";

							if (this.filters.blendTrans.status != 2) 

							{

								this.filters.blendTrans.apply();

								this.style.visibility="visible";

								this.filters.blendTrans.play();

							}

						}

						else

						{

							for(i = 0; i <= 100; i++) { 

							setTimeout("changeOpac(" + i + ", '" + imgID + "')",(timer * speed)); 

							timer++; 

							}

						}

					}

				}

				

				if(typeof _hideImage != 'function') 

				{

					_hideImage = function()

					{

						if(msie>6)

						{

							this.style.visibility="hidden";

						}

						else

						{

							changeOpac(0, this.id);

						}

					}

				}



				if(typeof changeOpac != 'function')

				{



					changeOpac = function(intOpacity, imageID)

					{

						objImage = document.getElementById(imageID);

						objImage.style.opacity = (intOpacity / 100); 

						objImage.style.MozOpacity = (intOpacity / 100); 

						objImage.style.KhtmlOpacity = (intOpacity / 100);	

						objImage.style.filter = 'alpha(opacity=' + intOpacity*1 + ')';

						objImage.style.zoom = '1';

					}

				}



				if(typeof addImageLink != 'function')

				{

					addImageLink = function(strLink, strHref, index, strTarget)

					{

						arrImageLinks[index][(arrImageLinks[index].length)*1]=strLink;

						if (strHref!="")

						{

							arrImageHrefs[index][(arrImageHrefs[index].length)*1]=strHref;	

						}

						else

						{

							//arrImageHrefs[index][(arrImageHrefs[index].length)*1]="/frontend/core/contentSectionID//customerID/";

						}



						arrImageTargets[index][(arrImageLinks[index].length)*1]=strTarget;						

					}

				}



				if(typeof prepareImages != 'function')

				{

					prepareImages = function()

					{

						if(msie>0 && msie<=6 && bSkipIE6)

						{

							return false;

						}

						for (indexKey in arrIndexes)

						{

							for (key in arrImageLinks[arrIndexes[indexKey]])

							{

								objImg =new Image(arrConfig[arrIndexes[indexKey]]['intImgWidth'], arrConfig[arrIndexes[indexKey]]['intImgHeight']);

								objImg.src = arrImageLinks[arrIndexes[indexKey]][key];

								

								strHref = arrImageHrefs[arrIndexes[indexKey]][key];

								strTarget = arrImageTargets[arrIndexes[indexKey]][key];



								objTempDiv = document.createElement('div');

								objTempDiv.className="icon_header_iconwrap";

								

								objTempDiv.setAttribute("link", strHref);

								objTempDiv.setAttribute("millisec", arrConfig[arrIndexes[indexKey]]['millisec']);



								objTempDiv.id='imagediv_'+arrIndexes[indexKey]+'_'+key;

								objTempDiv.style.width=arrConfig[arrIndexes[indexKey]]['intImgWidth']+"px";

								objTempDiv.style.height=arrConfig[arrIndexes[indexKey]]['intImgHeight']+"px";

								objTempDiv.style.position="absolute";

								objTempDiv.style.top="0px";

								objTempDiv.style.left="0px";

								objTempDiv.style.zIndex = arrConfig[arrIndexes[indexKey]]['myZIndex'];

								objTempDiv.style.display = "block";

								if(msie>6)

								{

									objTempDiv.style.visibility = 'hidden';

								}

								else

								{

									opacity = 0;

									objTempDiv.style.opacity = 0; 

									objTempDiv.style.MozOpacity = 0; 

									objTempDiv.style.KhtmlOpacity = 0;	

									objTempDiv.style.filter = "alpha(opacity=" + 1 + ")";

								}

								objTempDiv.appendChild(objImg);

								objTempDiv.show = _showImage;

								objTempDiv.hide = _hideImage;

								document.getElementById(arrConfig[arrIndexes[indexKey]]['idParentDiv']).onclick=function()

								{

									if(typeof strHref!='undefined' && strHref!='undefined')

									{

										if(strTarget=="_self")

										{

											self.location.href=strHref;

										}

										else

										{

											window.open(strHref,'popUpWindow','menubar=yes,resizable=yes,scrollbars=yes,bookmarks=yes,status=yes,toolbar=yes,location=yes');

										}

									}

									else

									{

										return false;

									}

								};;

								if(typeof strHref!='undefined' && strHref!='undefined')

								{

									document.getElementById(arrConfig[arrIndexes[indexKey]]['idParentDiv']).style.cursor="pointer";

								}

								document.getElementById(arrConfig[arrIndexes[indexKey]]['idParentDiv']).appendChild(objTempDiv);

								arrDivs[arrIndexes[indexKey]][key] = objTempDiv;

							}

						}		

					}

				}



				if (typeof arrCurDivs=='undefined')

				{

					var arrCurDivs = new Array();

				}



				if (typeof arrCurDivs['icon1'] == 'undefined')

				{

					arrCurDivs['icon1'] = new Array();

				}



				arrCurDivs['icon1']['curDivIndex'] = 0;

				arrCurDivs['icon1']['objCurDiv'] = '';



				if (typeof initiateLoopHeaderImages != 'function')

				{

					initiateLoopHeaderImages = function()

					{

						if(myVersion<7)

						{

							return false;

						}

						for(key in arrIndexes)

						{

							

							if(typeof arrDivs[arrIndexes[key]] != 'undefined' && arrCurDivs[arrIndexes[key]]['objCurDiv']=='')

							{

								arrCurDivs[arrIndexes[key]]['objCurDiv'] = arrDivs[arrIndexes[key]][arrCurDivs[arrIndexes[key]]['curDivIndex']*1];

							}	

							else

							{

								//alert(typeof arrCurDivs[arrIndexes[key]]);

								//alert(' voor index ' + [arrIndexes[key]]);

								//alert(arrCurDivs[arrIndexes[key]]['curDivIndex']);

								objNewDiv = arrDivs[arrIndexes[key]][arrCurDivs[arrIndexes[key]]['curDivIndex']];

								

								objNewDiv.style.zIndex=(arrConfig[arrIndexes[key]]['myZIndex']*1+1);

								objNewDiv.show();

								setTimeout("arrCurDivs[arrIndexes[key]]['objCurDiv'].hide()", arrConfig[arrIndexes[key]]['millisec']);

								setTimeout("arrCurDivs[arrIndexes[key]]['objCurDiv'] = objNewDiv", arrConfig[arrIndexes[key]]['millisec']+10);

								setTimeout("objNewDiv.style.zIndex = "+arrConfig[arrIndexes[key]]['myZIndex'], arrConfig[arrIndexes[key]]['millisec']+20);

							}

							

							if(arrCurDivs[arrIndexes[key]]['curDivIndex']*1==(arrTotals[arrIndexes[key]]*1-1))

							{

								arrCurDivs[arrIndexes[key]]['curDivIndex']=0;

							}

							else

							{

								arrCurDivs[arrIndexes[key]]['curDivIndex']++;

							}

							setTimeout(initiateLoopHeaderImages, arrConfig[arrIndexes[key]]['millisec_switch']);

						}

					}

				}



				addImageLink('/images/1.jpg', '', 'icon1', '');
				addImageLink('/images/2.jpg', '', 'icon1', '');
				addImageLink('/images/3.jpg', '', 'icon1', '');
				addImageLink('/images/4.jpg', '', 'icon1', '');

					-->
			var cs_name="home";

			var cs_parent_name="Hoofdmenu nieuwe site";

			var highestParent="27";





			

			

			/* IE6 fix-> prevent reloading of cached (background)images (i.e. menu's, etc.) */

			try {

			 document.execCommand("BackgroundImageCache", false, true);

			} catch(err) {}



			function setTitle()

			{

				

								strTitle="Over Wessels Schoonmaakdiensten";

								

				document.title+=' - ' + strTitle;

			}



			

			function fnInit()

			{

				// later redeclared; used to init fonts

			}



			function initiateFunctions()

			{	

				if (typeof prepareImages!="function")

				{

					prepareImages = function(){};;

				}



				if (typeof initiateLoopHeaderImages!="function")

				{

					initiateLoopHeaderImages = function(){};;

				}

			}



			function centerCssMenu()

			{

				objFirstUL = document.getElementById("main_css_ul");

				intTotalWidth = 0;

				arrLIs = objFirstUL.getElementsByTagName("li"); 

				for (i=0; i<arrLIs.length; i++)

				{

					if(arrLIs[i].className.indexOf("level_0")>-1)

					{

						intTotalWidth += arrLIs[i].offsetWidth;

					}

				}



				

				arrSplitterDivs = objFirstUL.getElementsByTagName("div");

				for (i=0; i<arrSplitterDivs.length; i++)

				{

					if(arrSplitterDivs[i].className.indexOf("level_0")>-1)

					{

						intTotalWidth += arrSplitterDivs[i].offsetWidth;

					}

				}





				objFirstUL.style.width = intTotalWidth+'px';

				objFirstUL.style.visibility = "visible";

			}



			
			
