﻿/// <reference path="jquery-1.6.1.min.js"/>

function showInfo(sectionName) {
    jQuery(".info-link-item").removeClass('active');
    jQuery("#" + sectionName + "-menu").addClass('active');
    jQuery(".info-content-item").css('display', 'none');
    jQuery("#" + sectionName + "-content").css('display', 'block');
}

function InitImageGallery() {
    //alert("InitImageGallery");
}

(function ($) {
    $(function () {

        $("a[rel^='prettyPhoto']").prettyPhoto({
            overlay_gallery: false,
            deeplinking:false,
            social_tools:false
        });

        $('body').append(   '<div class="print-area" style="display:none">' + 
                            '<h1>' + $('.page-header .page-title').text() + '</h1>' + 
                            '<div>' + $('.page-header .page-inner-content').html() + '</div>' + 
                            '<h2>' + $('.softwareInfoDiv h3').text() + '</h2>' + 
                            '<h3>' + $('#Benefits-menu').text() + '</h3>' + 
                            '<div>' + $('#Benefits-content').html() + '</div>' + 
                            '<h3>' + $('#Features-menu').text() + '</h3>' + 
                            '<div>' + $('#Features-content').html() + '</div>' + 
                            '<h3>' + $('#Requirements-menu').text() + '</h3>' + 
                            '<div>' + $('#Requirements-content').html() + '</div>' + 
                            '</div>');

        $('.print-btn').click(function(){
            $(".print-area").printArea();
            return false;
        });

    });
})(jQuery);
