/* Author: 

*/





               $(function() {   
               
                        var theWindow        = $(window),
                            $bg              = $("#bg"),
                            aspectRatio      = $bg.width() / $bg.height();
                                                                
                        function resizeBg() {
                                
                                if ( (theWindow.width() / theWindow.height()) < aspectRatio ) {
                                    $bg
                                        .removeClass()
                                        .addClass('bgheight');
                                } else {
                                    $bg
                                        .removeClass()
                                        .addClass('bgwidth');
                                }
                                                        
                        }
                                                                
                        theWindow.resize(function() {
                                resizeBg();
                        }).trigger("resize");
                
                });



$(document).ready(function() {

    $('.flex').tipsy();
	 $('.flexair').tipsy();
	  $('.puremvc').tipsy();
	   $('.cakephp').tipsy();
	    $('.joomla').tipsy();
		 $('.wordpress').tipsy();
     		$('.weborb').tipsy();

 	 

    
  });

$('#gefco1').click(function(e) {
    $('#img-cont1').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco2').click(function(e) {
    $('#img-cont2').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco3').click(function(e) {
    $('#img-cont3').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco4').click(function(e) {
    $('#img-cont4').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco44').click(function(e) {
    $('#img-cont44').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco5').click(function(e) {
    $('#img-cont5').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco6').click(function(e) {
    $('#img-cont6').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco7').click(function(e) {
    $('#img-cont7').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#gefco8').click(function(e) {
    $('#img-cont8').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});

$('#virbac1').click(function(e) {
    $('#img-cont9').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});


$('#virbac2').click(function(e) {
    $('#img-cont10').lightbox_me({
        centered: true, 

        });
    e.preventDefault();
});


















