$(document).ready(function() {
    $(".menu-placeholder li").hover(
        function () {
            $(this).children(".hidden-menu2").show();
        },
        function () {
            $(this).children(".hidden-menu2").hide();
    });
       

   
    $("#nav a").eq(0).css('border','none');
     
    var zIndexNumber1 = 1000;
    $('#header').each(function() {
            $(this).css('zIndex', zIndexNumber1);
            zIndexNumber1 -= 10;
    });
    var zIndexNumber2 = 500;
    $('#main-menu').each(function() {
            $(this).css('zIndex', zIndexNumber2);
            zIndexNumber2 -= 10;
    });
    var zIndexNumber3 = 400;
    $('.slideshow-box div.slider').each(function() {
            $(this).css('zIndex', zIndexNumber3);
            zIndexNumber3 -= 10;
    })
        	
});

function popUpWindow(URLStr, left, top, width, height)
{
	popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

