$(document).ready(function(){

	
	
// Thumbnail Slide Actions	
	
	$('.thumblist').click(function(){
	  	$('#main_wrap').animate({
			height: "615px"
	  		}, 500, function() {
	  		});
	  });
	
	$('#billboard1').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard2').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard3').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard4').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard5').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard6').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard7').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard8').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard9').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard10').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard11').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#billboard12').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	// EVENTS - Thumbnail Slide Actions	
	
	
	$('#event1').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#event2').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#event3').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#event4').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#event5').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	  
	  $('#event6').click(function(){
	  	$('#main_wrap').animate({
			height: "515px"
	  		}, 500, function() {
	  		});
	  });
	 

/* IF WORK TYPE APPEARS IN THE URL - ANIMATE PAGE SLIDE ACCORDINGLY */
if (location.href.indexOf("#billboard8x") != -1)
{
	$('#mainsite-wrap').animate({
		height: "515px"
		}, 500, function() {
		});				   
	$('#site-content').stop().animate({"top" : '-1115px'},  1200);	
	alert("Testing");					   						   	 
}

else {/*do nothing */}

/* END IF WORK TYPE APPEARS IN THE URL - ANIMATE PAGE SLIDE ACCORDINGLY */

});

