function customBodyLoad(a){}function customBodyResize(a,b){}function customBodyScroll(a){}function showAnswer(a){JQ.query("#faq_"+a).slideToggle(200)}function gotoLink(a,b){if(a.value)location.href=a.value}var closeTimer,menuTimer,subMenuTimer;function showSubmenu(a){clearTimeout(closeTimer);clearTimeout(menuTimer);menuTimer=setTimeout("displaySubmenu("+a+")",300)}function showContact(a){clearTimeout(subMenuTimer);subMenuTimer=setTimeout("displayContact("+a+")",300)}
function displayContact(a){JQ.query("div[id ^= 'subSubmenu_']").attr("style","display:none");var b=$("background_"+a);if(b)b.className="content";if(a=$("contact_"+a))a.style.display=""}function showSubSubmenu(a,b){clearTimeout(subMenuTimer);subMenuTimer=setTimeout("displaySubSubmenu("+a+", "+b+")",200)}
function displaySubmenu(a){JQ.query("div[id ^= 'submenu_']").attr("style","display:none");JQ.query("div[id = 'submenu_"+a+"']").attr("style","");sIFR.replace(theSansExtra,{selector:"h2.flashGray",wmode:"transparent",ratios:[7,1.82,10,1.81,18,1.72,21,1.71,24,1.7,34,1.68,45,1.67,61,1.66,62,1.65,67,1.66,70,1.65,71,1.66,76,1.65,78,1.66,1.65],css:[".sIFR-root{font-weight: normal; color:#707173; text-align:left; letter-spacing:0;} a{color:#707173; text-decoration:none;} a:hover{color:#737777;}"]})}
function displaySubSubmenu(a,b){var c=$("contact_"+b);if(c)c.style.display="none";if(b=$("background_"+b))b.className="contentMenuHover";JQ.query("div[id ^= 'subSubmenu_']").attr("style","display:none");JQ.query("div[id = 'subSubmenu_"+a+"']").attr("style","display:block")}function stopTimer(){clearTimeout(closeTimer);clearTimeout(menuTimer)}function stopSubSubMenuTimer(){clearTimeout(subMenuTimer)}function hideMenu(a){closeTimer=setTimeout("closeMenu("+a+")",300)}
function closeMenu(a){if(a=$("submenu_"+a))a.style.display="none"}function toggleSendItem(a){var b=$("sendItem_"+a);if(b)if(b.style.display=="none"){b.style.display="";JQ.query("a[id ^= 'linkSend_"+a+"']").addClass("current")}else{b.style.display="none";JQ.query("a[id ^= 'linkSend_"+a+"']").removeClass("current")}}
function gotoTab(a){JQ.query("a[id ^= 'tab_']").removeClass("current");JQ.query("a[id ^= 'tab_']").removeClass("prev");JQ.query("a[id ^= 'tab_']").removeClass("last");JQ.query("a[id ^= 'tab_"+a+"']").addClass("current");a<5&&JQ.query("a[id ^= 'tab_5']").addClass("last");a>1&&JQ.query("a[id ^= 'tab_"+(a-1)+"']").addClass("prev");JQ.query("*[id ^= 'content_']").attr("style","display:none");JQ.query("*[id = 'content_"+a+"']").attr("style","display:");sIFR.replace(theSansExtra,{selector:"h1.flash",wmode:"transparent",
ratios:[7,1.82,10,1.81,18,1.72,21,1.71,24,1.7,34,1.68,45,1.67,61,1.66,62,1.65,67,1.66,70,1.65,71,1.66,76,1.65,78,1.66,1.65],css:[".sIFR-root{font-weight: bold; color:#E2001A; text-align:left; letter-spacing:0;} a{color:#E2001A; text-decoration:none;} a:hover{color:#A60015;}"]});sIFR.replace(theSans,{selector:"h3.flashRedSmall",wmode:"transparent",ratios:[7,1.82,10,1.81,18,1.72,21,1.71,24,1.7,34,1.68,45,1.67,61,1.66,62,1.65,67,1.66,70,1.65,71,1.66,76,1.65,78,1.66,1.65],css:[".sIFR-root{font-weight: bold; color:#E2001A; text-align:left; letter-spacing:0;} a{color:#E2001A; text-decoration:none;} a:hover{color:#E2001A;}"]})}
function showFirstTab(){for(var a=false,b=1;b<5;b++)if($("content_"+b)&&!a){a=true;gotoTab(b)}}function defaultValue(a,b){JQ.query(document).ready(function(){if($(a).value=="")$(a).value=b;JQ.query("#"+a).focus(function(){if($(a).value==b)$(a).value=""});JQ.query("#"+a).blur(function(){if($(a).value=="")$(a).value=b})})}function gotoStep2(a){var b=new Url;ecards.Ecards.rows[0].FleID.value(a);location.href=b.add("step",2).filter("msg")}
function gotoStep3(){for(var a=ecards.Ecards.current().canSave(),b=true,c=0;c<a.length;c++){b=false;a[c].message?a[c].showError():a[c].showError("U heeft dit veld nog niet ingevuld.")}JQ.query("*[id ^= 'spnError']").attr("style","display:none");if(b){a=new Url;location.href=a.add("step",3).filter("msg")}}function gotoStep4(){var a=new Url;location.href=a.add("step",4).filter("msg")}
function toggleEcard(){var a=$("ecardFront"),b=$("ecardBack"),c=$("tab_voorkant"),f=$("tab_achterkant");if(a.style.display=="none"){a.style.display="";b.style.display="none";c.className="current";f.className=""}else{a.style.display="none";b.style.display="";c.className="";f.className="current"}}function checkLocation(){var a=$("edtEcards_Ecards_ToLocation_0"),b=false;if(a)if(a.value!=""&&a.value!="Locatie")b=true;return b}
function checkEmail(){var a=$("edtEcards_Ecards_FromEmail_0"),b=false;if(a)if(isEmail(a.value))b=true;return b}function openLanguage(){JQ.query("div[id = 'language']").attr("style","display:block")}function openSearchType(){JQ.query("div[id = 'searchDropdown']").attr("style","display:block")}function selectSearch(a,b){var c=$("searchType"),f=$("edtCseID");if(f)f.value=b;if(c)c.innerHTML=a;JQ.query("div[id = 'searchDropdown']").attr("style","display:none")}
var map,baseIcon,bigIcon,currentMarker,markerArray=[];function initBaseIcon(){var a=new Url;baseIcon=new GIcon;baseIcon.image=a.server()+"img/mapsIconSmall.png";baseIcon.iconSize=new GSize(22,25);baseIcon.iconAnchor=new GPoint(11,25);baseIcon.shadow=a.server()+"img/mapsIconSmallShadow.png";baseIcon.shadowSize=new GSize(38,24)}
function initBigIcon(){var a=new Url;bigIcon=new GIcon;bigIcon.image=a.server()+"img/mapsIconLarge.png";bigIcon.iconSize=new GSize(40,48);bigIcon.iconAnchor=new GPoint(20,48);bigIcon.shadow=a.server()+"img/mapsIconLargeShadow.png";bigIcon.shadowSize=new GSize(58,33)}
function initializeMap(){if(GBrowserIsCompatible()){map=new GMap2(document.getElementById("map_canvas"));map.addControl(new GLargeMapControl3D);initBaseIcon();initBigIcon();var a=new GLatLng(51.55829,3.722305);map.setCenter(a,10);map.enableContinuousZoom();map.enableScrollWheelZoom()}}function addToMap(a,b,c){var f;f={icon:baseIcon};a=new GLatLng(a,b);var d=new GMarker(a,f);markerArray.push(new Array(d,c));GEvent.addListener(d,"click",function(){showInfoWindow(c,d)});map.addOverlay(d)}
function showInfoWindow(a,b){JQ.query("div[id ^= 'infoWindow_']").attr("style","display:none");JQ.query("div[id = 'infoWindow_"+a+"']").attr("style","display:block");JQ.query("a[id ^= 'locationlink_']").removeClass("current");JQ.query("a[id = 'locationlink_"+a+"']").addClass("current");if(!b)for(var c=0;c<markerArray.length;c++)if(markerArray[c][1]==a)b=markerArray[c][0];map.setCenter(b.getLatLng());for(c=0;c<markerArray.length;c++)markerArray[c][0].show();b.hide();currentMarker&&map.removeOverlay(currentMarker);
a={icon:bigIcon};b=b.getLatLng();currentMarker=new GMarker(b,a);map.addOverlay(currentMarker)}function hideInfoWindow(){JQ.query("div[id ^= 'infoWindow_']").attr("style","display:none");JQ.query("a[id ^= 'locationlink_']").removeClass("current");currentMarker&&map.removeOverlay(currentMarker);for(var a=0;a<markerArray.length;a++)markerArray[a][0].show()}
function planRoute(a){var b=$("toAddress_"+a);a=$("fromAddress_"+a);b&&a&&window.open("http://maps.google.nl/maps?f=d&source=s_d&saddr="+a.value+"&daddr="+b.value+"&hl=nl&mra=ls&ie=UTF8&t=h")}function gotoSlide(a,b,c){a=a;for(var f=1;f<=b;f++){var d=$("file_"+c+"_"+f);if(d)d.style.display="none"}if(a<1)a=b;if(a>b)a=1;if(b=$("file_"+c+"_"+a))b.style.display=""}
var supersleight=function(){var a=false,b=function(){if(isIE6){a=a?document.getElementById(a):document;for(var d=a.all.length-1,e=null;e=a.all[d];d--){e.currentStyle.backgroundImage.match(/\.png/i)!==null&&c(e);e.tagName=="IMG"&&e.src.match(/\.png$/i)!==null&&f(e);if((e.tagName=="A"||e.tagName=="INPUT")&&e.style.position=="")e.style.position="relative"}}},c=function(d){var e="scale",g=d.currentStyle.backgroundImage;g=g.substring(5,g.length-2);if(d.currentStyle.backgroundRepeat=="no-repeat")e="crop";
d.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+g+'", sizingMethod="'+e+'")';d.style.backgroundImage="url(img/default/pixTrans.gif)"},f=function(d){var e=d.src;d.style.width=d.width+"px";d.style.height=d.height+"px";d.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+e+'", sizingMethod="scale")';d.src="img/default/pixTrans.gif"};return{init:function(){addEvent(window,"load",b)},limitTo:function(d){a=d},run:function(){b()}}}();supersleight.init();

