// JavaScript Document


$(document).ready(function(){
 
 // hides the slickbox as soon as the DOM is ready
 // (a little sooner than page load)
  $('.vfx_commercials_close').slideUp('fast');
  $('.vfx_music_close').slideUp('fast');
  $('.hg_form').slideUp('fast');
  
 // commercials
  $('.comm_click').click(function() {
	$('#service_info_fade').fadeOut('fast');
    $('.vfx_commercials').animate({ left: '7'}, 400);
	$('.vfx_commercials_close').slideDown('slow');
    return false;
  });

 // hides the slickbox on clicking the noted link  
  $('.collapse').click(function() {
    $('.vfx_commercials').animate({ left: '-600'}, 300);
	$('.vfx_commercials_close').slideUp('fast');
	$('#service_info_fade').fadeIn('slow');
    return false;
  });

 //music  
  $('.music_click').click(function() {
	$('#service_info_fade').fadeOut('fast');
    $('.vfx_music').animate({ left: '7'}, 400);
	$('.vfx_music_close').slideDown('slow');
    return false;
  });

 // hides the slickbox on clicking the noted link  
  $('.collapse').click(function() {
    $('.vfx_music').animate({ left: '-600'}, 300);
	$('.vfx_music_close').slideUp('fast');
	$('#service_info_fade').fadeIn('slow');
    return false;
  });
  
  

});



//mouse overs
//$('li img.nyt').mouseover(function() { $('#clients .nyt_pop').fadeIn('fast'); });
//$('li img.nyt').mouseout(function() { $('#clients .nyt_pop').fadeOut('fast'); });
