jQuery( document ).ready(function(){

	if( jQuery( '#slimbox' ).length > 0 )
	{
		jQuery( '#slimbox' ).click();



	}
	if( jQuery( '#slideshow' ).length > 0 )
	{
		jQuery( '#slideshow' ).cycle({
			fx: 'fade',
			speed: 5000
	});
	


	}
	jQuery( '#turtle_0' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH110-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH110-1.png");
		}

	});
	jQuery( '#turtle_1' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH130-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH130-1.png");
		}

	});
	jQuery( '#turtle_2' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH140-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH140-1.png");
		}

	});
	jQuery( '#turtle_3' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH170-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH170-1.png");
		}

	});
	jQuery( '#turtle_4' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH180-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH180-1.png");
		}

	});
	jQuery( '#turtle_5' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH200-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH200-1.png");
		}

	});
	jQuery( '#turtle_6' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH220-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH220-1.png");
		}

	});
	jQuery( '#turtle_7' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH230-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH230-1.png");
		}

	});
	jQuery( '#turtle_8' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH260-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH260-1.png");
		}

	});
	jQuery( '#turtle_9' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/turtle/SH270-2.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/turtle/SH270-1.png");
		}

	});
	jQuery( '.ies' ).css( 'display', 'none' );
	
	
	jQuery( '.p01B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-01A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-01B.png");
		}

	});
	jQuery( '.p02B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-02A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-02B.png");
		}

	});
	jQuery( '.p03B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-03A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-03B.png");
		}

	});
	jQuery( '.p04B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-04A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-04B.png");
		}

	});
	jQuery( '.p05B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-05A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-05B.png");
		}

	});
	jQuery( '.p06B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-06A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-06B.png");
		}

	});
	jQuery( '.p07B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-07A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-07B.png");
		}

	});
	jQuery( '.p08B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-08A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-08B.png");
		}

	});
	jQuery( '.p09B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-09A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-09B.png");
		}

	});
	jQuery( '.p10B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-10A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-10B.png");
		}

	});
	jQuery( '.p11B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-11A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-11B.png");
		}

	});
	jQuery( '.p12B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-12A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-12B.png");
		}

	});
	jQuery( '.p13B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-13A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-13B.png");
		}

	});
	jQuery( '.p14B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-14A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-14B.png");
		}

	});
	jQuery( '.l01B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-01A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-01B.png");
		}

	});
	jQuery( '.l02B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-02A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-02B.png");
		}

	});
	jQuery( '.l03B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-03A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-03B.png");
		}

	});
	jQuery( '.l04B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-04A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-04B.png");
		}

	});
	jQuery( '.l05B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-05A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-05B.png");
		}

	});
	jQuery( '.l06B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-06A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-06B.png");
		}

	});
	jQuery( '.l07B' ).bind({ 
		mouseover : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-07A.png");

		},
		mouseout : function(){

			jQuery( this ).attr( "src", "images/project/100x100-project-led-07B.png");
		}

	});
});


function show_more( page )
{

	if( page == 'turtle' )
	{
		jQuery( '.turtle_more' ).css( 'display', 'block' );
		jQuery( '#turtle_more_link' ).remove();
	}
 	
}

function showfull()
{
	jQuery( '#simple' ).css( 'display', 'none' );
	jQuery( '#full' ).css( 'display', 'block' );
}

function showIES()
{
	jQuery( '.ies' ).css( 'display', 'table-row' );
}
