function showStartPics() {

    var h = $('body').height();
    var w = $('body').width();

    $('#referenzen').css('left', (w/2 - 275)+'px');
    $('#entwicklung').css('left', (w/2 - 200)+'px');
    $('#loesungen').css('left', (w/2 - 275)+'px');
    $('#phpManual').css('left', (w/2 - 275)+'px');

    $('#startPic1').css('top', (h/2 + 50)+'px');
    $('#startPic1').css('left', (w/2 - 128)+'px');
    $('#startPic1').fadeIn('slow');
	$('#postit1').css('top', (h/2 + 100)+'px');
    $('#postit1').css('left', (w/2 - 155)+'px');
    $('#postit1').fadeIn('slow');


    $('#startPic2').css('top', (h/2 + 30)+'px');
    $('#startPic2').css('left', (w/2 - 32)+'px');
    $('#startPic2').fadeIn('slow');
	$('#postit2').css('top', (h/2 + 80)+'px');
    $('#postit2').css('left', (w/2 - 60)+'px');
    $('#postit2').fadeIn('slow');

    $('#startPic3').css('top', (h/2 + 70)+'px');
    $('#startPic3').css('left', (w/2 + 64)+'px');
    $('#startPic3').fadeIn('slow');
	$('#postit3').css('top', (h/2 + 120)+'px');
    $('#postit3').css('left', (w/2 + 65)+'px');
    $('#postit3').fadeIn('slow');

    $('#mainLogo').css('top', (h/2 - 40)+'px');
    $('#mainLogo').css('left', (w/2 - 139)+'px');

    $('#hamburg_pic').css('left', (w/2 - 1000)+'px');
    $('#heiseTicker').css('height',(h - 220)+'px');
}


$(document).ready(function(){

    $(".referencePic").mouseover(function() {
        $(".referencePic").css('z-index','1');
        $(this).css('z-index','100');
    });

    $('#loesungen').hide();
    $('#entwicklung').hide();
    $('#disclaimer').hide();
    $('#imprint').hide();

    window.setTimeout("showStartPics()", 2000);

    $('.startPic,.menu,.postit').click(function() {
	$('.myLayer').slideUp('fast');
	$('#'+$(this).attr('rel')).slideDown('slow');
    });
    $(window).resize(function() {
        showStartPics();
    });

    var h = $('body').height();
    var w = $('body').width();

    $('#referenzen').css('left', (w/2 - 275)+'px');
    $('#mainLogo').css('top', (h/2 - 40)+'px');
    $('#mainLogo').css('left', (w/2 - 139)+'px');
    $('#hamburg_pic').css('left', (w/2 - 1000)+'px');
	$('#heiseTicker').css('height',(h - 220)+'px');
    $('#mainLogo').show();

	$('#mail1,#mail3').text('development');
	$('#mail2,#mail4').text('the-speed-of-light');


});

