
/* - ++resource++Products.DIDZ.javascripts/didz_popup.js - */
// http://www.dwangindezorg.nl/portal_javascripts/++resource++Products.DIDZ.javascripts/didz_popup.js?original=1
function showPopup(){if(jq("#dialog").length>0){var id="#dialog";jq("introalinea").show();var winH=jq(window).height();var winW=jq(window).width();jq(id).fadeIn(2000);jq('.window .close').click(function(e){e.preventDefault();jq('#mask, .window').remove()});jq("#dialog #gebruiker_form_submit").click(function(e){e.preventDefault();jq.ajax({type:"POST",url:"add_count",data:jq("form[name='gebruiker_form']").serialize(),success: function(){jq("#dialog").html("Bedankt voor uw antwoord!");jq('#mask').remove();jq('.window').remove()},error:
function(){jq('#mask').remove();jq('.window').remove()}})})}}
jq(document).ready(function(){showPopup()});

