window.jQuery || document.write("if (window.jquery == undefined)");
$.getScript( "https://www.akteofferte.nl/lib/scripts/mobiledetect.js", function( data, textStatus, jqxhr ) {
//console.log( data ); // Data returned
//console.log( textStatus ); // Success
//console.log( jqxhr.status ); // 200
//console.log( "Load was performed." );
});
$.getScript( "https://www.akteofferte.nl/lib/scripts/fancybox2/jquery.fancybox.js", function( data, textStatus, jqxhr ) {
//console.log( data ); // Data returned
//console.log( textStatus ); // Success
//console.log( jqxhr.status ); // 200
//console.log( "Load was performed." );
});
$('', {
rel: 'stylesheet',
type: 'text/css',
href: 'https://www.akteofferte.nl/lib/scripts/fancybox2/jquery.fancybox.css'
}).appendTo('head');
function openAkteOfferte(){
var url = 'https://feijendevries.akteofferte.nl/offerte';
if (jQuery.browser.mobile) {
document.location = url;
} else {
jQuery.fancybox.open({
href : url,
type : 'iframe',
padding : 10,
modal: false,
closeBtn: true
});
}
}