(function(){if(typeof(anwb_tool)=="undefined"){return;}var anwb_vt_tekst='';if(typeof(anwb_tool_tekst)!="undefined"){anwb_vt_tekst=anwb_tool_tekst;}var anwb_vt_lon='';if(typeof(anwb_tool_lon)!="undefined"){anwb_vt_lon=anwb_tool_lon;}var anwb_vt_lat='';if(typeof(anwb_tool_lat)!="undefined"){anwb_vt_lat=anwb_tool_lat;}var anwb_vt_postcode='';if(typeof(anwb_tool_postcode)!="undefined"){anwb_vt_postcode=anwb_tool_postcode;}var anwb_vt_nr='';if(typeof(anwb_tool_nr)!="undefined"){anwb_vt_nr=anwb_tool_nr;}var anwb_vt_url='';var anwb_vt_loc=document.location;var anwb_vt_host=location.hostName;var anwb_vt_values;var anwb_vt_type;if(typeof(anwb_tool_type)!="undefined"){anwb_vt_type=anwb_tool_type;}else{anwb_vt_type='normal';}var anwb_sub_url='?tekst='+anwb_vt_tekst+'&lat='+anwb_vt_lat+'&lon='+anwb_vt_lon+'&postcode='+anwb_vt_postcode+'&nr='+anwb_vt_nr;var anwb_vt_normal_values={'width':'200','height':'220','minwidth':'200','minheight':'220','maxwidth':'200','maxheight':'220'};var anwb_vt_small_values={'width':'120','height':'120','minwidth':'120','minheight':'120','maxwidth':'120','maxheight':'120'};switch(anwb_tool){case'adresnadres':if(anwb_vt_type=='small'){anwb_vt_values={'width':'120','height':'120','minwidth':'120','minheight':'120','maxwidth':'120','maxheight':'120'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/adresnadresvert.html';}else{anwb_vt_values={'width':'200','height':'220','minwidth':'200','minheight':'220','maxwidth':'200','maxheight':'220'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/adresnadres.html';}breakcase'adresnv':if(anwb_vt_type=='small'){anwb_vt_values={'width':'120','height':'120','minwidth':'120','minheight':'120','maxwidth':'120','maxheight':'120'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/adresnvvert.html'+anwb_sub_url;}else{anwb_vt_values={'width':'200','height':'220','minwidth':'200','minheight':'220','maxwidth':'200','maxheight':'220'};anwb_vt_url='anwb.html'+anwb_sub_url;}breakcase'postnpost':if(anwb_vt_type=='small'){anwb_vt_values={'width':'120','height':'265','minwidth':'120','minheight':'265','maxwidth':'120','maxheight':'265'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/postnpostvert.html';}else{anwb_vt_values={'width':'200','height':'195','minwidth':'200','minheight':'195','maxwidth':'200','maxheight':'195'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/postnpost.html';}breakcase'postnv':if(anwb_vt_type=='small'){anwb_vt_values={'width':'120','height':'265','minwidth':'120','minheight':'265','maxwidth':'120','maxheight':'265'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/postnvvert.html'+anwb_sub_url;}else{anwb_vt_values={'width':'200','height':'195','minwidth':'200','minheight':'195','maxwidth':'200','maxheight':'195'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/postnv.html'+anwb_sub_url;}breakcase'plat':if(anwb_vt_type=='small'){anwb_vt_values={'width':'120','height':'205','minwidth':'120','minheight':'205','maxwidth':'120','maxheight':'205'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/platvert.html'+anwb_sub_url;}else{anwb_vt_values={'width':'200','height':'180','minwidth':'200','minheight':'180','maxwidth':'200','maxheight':'180'};anwb_vt_url='http://www.anwb.nl/static/html/verkeerstool/plat.html'+anwb_sub_url;}breakcase'verkeersinformatie':anwb_vt_values={'width':'200','height':'470','minwidth':'200','minheight':'470','maxwidth':'200','maxheight':'470'};anwb_vt_url='http://www.anwb.nl/verkeer/app/verkeersinformatie_nederland_small.nl.html';breakcase'verkeersinformatie zonder kaart':anwb_vt_values={'width':'200','height':'250','minwidth':'200','minheight':'250','maxwidth':'200','maxheight':'250'};anwb_vt_url='http://www.anwb.nl/verkeer/app/verkeersinformatie_nederland_small_withoutmap.nl.html';breakdefault:return;}if(!anwb_vt_values){if(anwb_vt_type=='small'){anwb_vt_values=anwb_vt_small_values;}else{anwb_vt_values=anwb_vt_normal_values;}}if(typeof(anwb_tool_width)!="undefined"){if(anwb_tool_width<=anwb_vt_values['maxwidth']&&anwb_tool_width>=anwb_vt_values['minwidth']){anwb_vt_values['width']=anwb_tool_width;}}if(typeof(anwb_tool_height)!="undefined"){if(anwb_tool_height<=anwb_vt_values['maxheight']&&anwb_tool_height>=anwb_vt_values['minheight']){anwb_vt_values['height']=anwb_tool_height;}}document.write('<iframe src="'+anwb_vt_url+'" frameborder="0" border="0" framespacing="0" framepadding="0" scrolling="no" width="'+anwb_vt_values['width']+'" height="'+anwb_vt_values['120']+'"></iframe>');})()