// JavaScript Document

$(document).ready(function(){
						
						   
	$("#navAbout").click(function() {
				$("#dropAbout").slideDown("fast");
				
				
	});
	
	$("#dropAbout").mouseleave(function() {
				$("#dropAbout").slideUp("fast");
				
	});
	
	$("#navContact").click(function() {
				$("#dropContact").slideDown("fast");
				
				
	});
	
	$("#dropContact").mouseleave(function() {
				$("#dropContact").slideUp("fast");
				
	});
	
});

function featureThumb1() {	
    		$('#workFeatureHero2').removeClass('showMe');	
    		$('#workFeatureHero3').removeClass('showMe');	
			$('#workFeatureHero2').addClass('hideMe');	
    		$('#workFeatureHero3').addClass('hideMe');
			$('#workFeatureHero1').removeClass('hideMe');
    		$('#workFeatureHero1').addClass('showMe');
}

function featureThumb2() {	
    		$('#workFeatureHero1').removeClass('showMe');	
    		$('#workFeatureHero3').removeClass('showMe');	
			$('#workFeatureHero1').addClass('hideMe');	
    		$('#workFeatureHero3').addClass('hideMe');
			$('#workFeatureHero2').removeClass('hideMe');
    		$('#workFeatureHero2').addClass('showMe');
}

function featureThumb3() {	
    		$('#workFeatureHero2').removeClass('showMe');	
    		$('#workFeatureHero1').removeClass('showMe');	
			$('#workFeatureHero2').addClass('hideMe');	
    		$('#workFeatureHero1').addClass('hideMe');
			$('#workFeatureHero3').removeClass('hideMe');
    		$('#workFeatureHero3').addClass('showMe');
}



// SHOW AND HIDE CHEF CONTENT 1
$(document).ready(function() {

var showText="read more" ;
var hideText="collapse";

$("#hide_this").after("<div class='toggleLink'><a class='toggle_link'>"+showText+"</a>"); 
$('#hide_this').hide();

$("#hide_this2").after("<div class='toggleLink'><a class='toggle_link2'>"+showText+"</a>"); 
$('#hide_this2').hide();

$("#hide_this3").after("<div class='toggleLink'><a class='toggle_link3'>"+showText+"</a>"); 
$('#hide_this3').hide();

$("#hide_this4").after("<div class='toggleLink'><a class='toggle_link4'>"+showText+"</a>"); 
$('#hide_this4').hide();

$("#hide_this5").after("<div class='toggleLink'><a class='toggle_link5'>"+showText+"</a>"); 
$('#hide_this5').hide();

$("#hide_this6").after("<div class='toggleLink'><a class='toggle_link6'>"+showText+"</a>"); 
$('#hide_this6').hide();

$("#hide_this7").after("<div class='toggleLink'><a class='toggle_link7'>"+showText+"</a>"); 
$('#hide_this7').hide();

$("#hide_this8").after("<div class='toggleLink'><a class='toggle_link8'>"+showText+"</a>"); 
$('#hide_this8').hide();

$("#hide_this9").after("<div class='toggleLink'><a class='toggle_link9'>"+showText+"</a>"); 
$('#hide_this9').hide();

$("#hide_this10").after("<div class='toggleLink'><a class='toggle_link10'>"+showText+"</a>"); 
$('#hide_this10').hide();

$("#hide_this11").after("<div class='toggleLink'><a class='toggle_link11'>"+showText+"</a>"); 
$('#hide_this11').hide();

$("#hide_this12").after("<div class='toggleLink'><a class='toggle_link12'>"+showText+"</a>"); 
$('#hide_this12').hide();

$("#hide_this13").after("<div class='toggleLink'><a class='toggle_link13'>"+showText+"</a>"); 
$('#hide_this13').hide();

$("#hide_this14").after("<div class='toggleLink'><a class='toggle_link14'>"+showText+"</a>"); 
$('#hide_this14').hide();

$("#hide_this15").after("<div class='toggleLink'><a class='toggle_link15'>"+showText+"</a>"); 
$('#hide_this15').hide();

$("#hide_this16").after("<div class='toggleLink'><a class='toggle_link16'>"+showText+"</a>"); 
$('#hide_this16').hide();

$("#hide_this17").after("<div class='toggleLink'><a class='toggle_link17'>"+showText+"</a>"); 
$('#hide_this17').hide();

$("#hide_this18").after("<div class='toggleLink'><a class='toggle_link18'>"+showText+"</a>"); 
$('#hide_this18').hide();


$('a.toggle_link').click(function() {

if ($('a.toggle_link').text()==showText) {
$('a.toggle_link').text(hideText);
}
else {
$('a.toggle_link').text(showText);
}
$('#hide_this').toggle('slow');
// return false so any link destination is not followed
return false;
});


$('a.toggle_link2').click(function() {

if ($('a.toggle_link2').text()==showText) {
$('a.toggle_link2').text(hideText);
}
else {
$('a.toggle_link2').text(showText);
}
$('#hide_this2').toggle('slow');
// return false so any link destination is not followed
return false;
});

$('a.toggle_link3').click(function() {

if ($('a.toggle_link3').text()==showText) {
$('a.toggle_link3').text(hideText);
}
else {
$('a.toggle_link3').text(showText);
}
$('#hide_this3').toggle('slow');
// return false so any link destination is not followed
return false;
});



$('a.toggle_link4').click(function() {

if ($('a.toggle_link4').text()==showText) {
$('a.toggle_link4').text(hideText);
}
else {
$('a.toggle_link4').text(showText);
}
$('#hide_this4').toggle('slow');
// return false so any link destination is not followed
return false;
});


$('a.toggle_link5').click(function() {

if ($('a.toggle_link5').text()==showText) {
$('a.toggle_link5').text(hideText);
}
else {
$('a.toggle_link5').text(showText);
}
$('#hide_this5').toggle('slow');
// return false so any link destination is not followed
return false;
});


$('a.toggle_link6').click(function() {

if ($('a.toggle_link6').text()==showText) {
$('a.toggle_link6').text(hideText);
}
else {
$('a.toggle_link6').text(showText);
}
$('#hide_this6').toggle('slow');
// return false so any link destination is not followed
return false;
});



$('a.toggle_link7').click(function() {

if ($('a.toggle_link7').text()==showText) {
$('a.toggle_link7').text(hideText);
}
else {
$('a.toggle_link7').text(showText);
}
$('#hide_this7').toggle('slow');
// return false so any link destination is not followed
return false;
});



$('a.toggle_link8').click(function() {

if ($('a.toggle_link8').text()==showText) {
$('a.toggle_link8').text(hideText);
}
else {
$('a.toggle_link8').text(showText);
}
$('#hide_this8').toggle('slow');
// return false so any link destination is not followed
return false;
});



$('a.toggle_link9').click(function() {

if ($('a.toggle_link9').text()==showText) {
$('a.toggle_link9').text(hideText);
}
else {
$('a.toggle_link9').text(showText);
}
$('#hide_this9').toggle('slow');
// return false so any link destination is not followed
return false;
});

$('a.toggle_link10').click(function() {

if ($('a.toggle_link10').text()==showText) {
$('a.toggle_link10').text(hideText);
}
else {
$('a.toggle_link10').text(showText);
}
$('#hide_this10').toggle('slow');
// return false so any link destination is not followed
return false;
});

$('a.toggle_link11').click(function() {

if ($('a.toggle_link11').text()==showText) {
$('a.toggle_link11').text(hideText);
}
else {
$('a.toggle_link11').text(showText);
}
$('#hide_this11').toggle('slow');
// return false so any link destination is not followed
return false;
});


$('a.toggle_link12').click(function() {

if ($('a.toggle_link12').text()==showText) {
$('a.toggle_link12').text(hideText);
}
else {
$('a.toggle_link12').text(showText);
}
$('#hide_this12').toggle('slow');
// return false so any link destination is not followed
return false;
});


$('a.toggle_link13').click(function() {

if ($('a.toggle_link13').text()==showText) {
$('a.toggle_link13').text(hideText);
}
else {
$('a.toggle_link13').text(showText);
}
$('#hide_this13').toggle('slow');
// return false so any link destination is not followed
return false;
});

$('a.toggle_link14').click(function() {

if ($('a.toggle_link14').text()==showText) {
$('a.toggle_link14').text(hideText);
}
else {
$('a.toggle_link14').text(showText);
}
$('#hide_this14').toggle('slow');
// return false so any link destination is not followed
return false;
});


$('a.toggle_link15').click(function() {

if ($('a.toggle_link15').text()==showText) {
$('a.toggle_link15').text(hideText);
}
else {
$('a.toggle_link15').text(showText);
}
$('#hide_this15').toggle('slow');
// return false so any link destination is not followed
return false;
});


$('a.toggle_link16').click(function() {

if ($('a.toggle_link16').text()==showText) {
$('a.toggle_link16').text(hideText);
}
else {
$('a.toggle_link16').text(showText);
}
$('#hide_this16').toggle('slow');
// return false so any link destination is not followed
return false;
});

$('a.toggle_link17').click(function() {

if ($('a.toggle_link17').text()==showText) {
$('a.toggle_link17').text(hideText);
}
else {
$('a.toggle_link17').text(showText);
}
$('#hide_this17').toggle('slow');
// return false so any link destination is not followed
return false;
});

$('a.toggle_link18').click(function() {

if ($('a.toggle_link18').text()==showText) {
$('a.toggle_link18').text(hideText);
}
else {
$('a.toggle_link18').text(showText);
}
$('#hide_this18').toggle('slow');
// return false so any link destination is not followed
return false;
});




});






