/* Author: float studios

*/

$(document).ready(function(){

	$('#wiimote').click(function(){
		var divId = $(this).attr('rel');
		if( $('#'+divId).css('display') == 'none' ) {
			$('#'+divId).show();		
		}
	});
	$('#wiimote').mouseenter(function(){
		var hovId = $(this).attr('rel');
		$('#'+hovId).show();
		$(this).css('height','67');
	});
	$('#wiimote').mouseleave(function(){
		
		var outId = $(this).attr('rel');
		if( $('#'+outId).css('display') == 'block' ) {
			$('#'+outId).hide();
		}
		$(this).css('height','37');		
	});
});























