

function youtube_click() {
    var window_height = $(document).height(); //document or window?
    var window_width = $(document).width(); //document or window?
    document.getElementById('fader_layer').style.width = window_width+'px';
    document.getElementById('fader_layer').style.height = window_height+'px';
    document.getElementById('top_layer').style.left = (window_width/2)-270+'px';
    $("#top_layer").fadeIn("slow");
    $("#fader_layer").fadeTo("slow", 0.7);
}

function close_youtube_layer(){
    $("#top_layer").fadeOut("slow");
    $("#fader_layer").fadeOut("slow");
}


/*
window.onload=function(){
    document.getElementById('top_layer').innerHTML = window_width+'  '+window_height;
}
*/
