﻿$(document).ready(function(){
    var faqcounter = 0;
    $('dl.faq dd').hide();
    
    $('dl.faq dt').click(function(){
        faqcounter++;
        if (faqcounter == 1) {
            $('dl.faq dd, dl.faq dt').css('opacity','0.6');
        }
        $(this).next().toggle();
        $(this).css('opacity','1');
        $(this).next().css('opacity','1');
    }
    );
    $('#anchorlinks').css('opacity','0.6');
	
			$("head").pinify({
            applicationName: "Asign,комплексна розробка та підтримка веб-сайтів,корпоративний стиль та дизайн поліграфії",
			favIcon: "<?php echo SD;?>images/favicon.ico",            
            startUrl: "http://asign.in.ua/",
            tooltip: "Asign",
            window: "width=1024;height=768"
            });
	
	

//    function fe_footer2bottom(){
//        if ($('body').height() < $(window).height()) {
//            $('#footer').css({'position': 'absolute', 'bottom': '0px'});
//        } else {
//            $('#footer').css({'position': 'relative', 'bottom': ''});
//        }
//    }
//    fe_footer2bottom();
});
