﻿$(function () {
    $("head").pinify({
        applicationName: "DEHLER & NIELSEN ApS",
        favIcon: "favicon.ico",
        navColor: "Black",
        startUrl: "/",
        tooltip: "DEHLER & NIELSEN ApS",
        window: "width=1024;height=768",
        tasks: [{
            "name": "Weitemeyer Design & Communication ApS",
            "action": "http://design.weitemeyer.dk",
            "icon": "http://design.weitemeyer.dk/favicon.ico"
        }, {
            "name": "Dansk Selskabs Rådgivning AS",
            "action": "http://www.dsr.dk",
            "icon": "http://www.dsr.dk/favicon.ico"
        }, {
            "name": "RN Consult ApS",
            "action": "http://www.rn-consult.dk",
            "icon": "http://www.rn-consult.dk/favicon.ico"
        }, {
            "name": "Twitter",
            "action": "http://twitter.com/ondfisk",
            "icon": "http://twitter.com/favicon.ico"
        }]
    });

    var device = navigator.userAgent.toLowerCase();
    var ios = device.match(/(iphone|ipod|ipad)/);
    if (ios) {
        $("title").text("d&n");
    }
    
    window.setTimeout(function() {
		$('.skype_pnh_container').html('');
		$('.skype_pnh_print_container').removeClass('skype_pnh_print_container');
	}, 800);
});

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6422289-1']);
_gaq.push(['_trackPageview']);

(function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})(); 
