$(function() {  
/*$('#slider').slider({  
min: -100,  
max: 100,  
value: 0  
}); */ 
/*$('#slider2').slider({  
min: -2.5,  
max: -2.5,  
step: 0.01,  
value: 0  
}); */ 
$('div#holder').roundabout({  
easing: 'swing',  
minScale: 1.0,  
maxScale: 1.0,  
btnNext: '#next',  
btnPrev: '#prev',  
childSelector: 'div.moveable'  
});
$('#to1').click(function(e) {  
e.preventDefault();  
$('div#holder').roundabout_animateToChild(0);  
return false;  
}); 
$('#to2').click(function(e) {  
e.preventDefault();  
$('div#holder').roundabout_animateToChild(1);  
return false;  
});  
$('#to3').click(function(e) {  
e.preventDefault();  
$('div#holder').roundabout_animateToChild(2);  
return false;  
});  
$('#to4').click(function(e) {  
e.preventDefault();  
$('div#holder').roundabout_animateToChild(3);  
return false;  
}); 
$('#to5').click(function(e) {  
e.preventDefault();  
$('div#holder').roundabout_animateToChild(4);  
return false;  
}); 
$('#to6').click(function(e) {  
e.preventDefault();  
$('div#holder').roundabout_animateToChild(5);  
return false;  
}); 
$('#to7').click(function(e) {  
e.preventDefault();  
$('div#holder').roundabout_animateToChild(6);  
return false;  
});  
/*$('#stop').click(function(e) {  
e.preventDefault();  
$('#slider').slider('value', 0);  
return false;  
});*/  
/*$('#reset').click(function(e) {  
e.preventDefault();  
$('#slider').slider('value', 0);  
$('#slider2').slider('value', 0);  
$('div#holder').roundabout_setBearing(0);  
return false;  
});  
$('#ease-type').change(function(e) {  
switch ($(this).val()) {  
case 'swing':  
case 'easeOutExpo':  
$('div#holder').attr('easing', $(this).val()).attr('duration', 500);  
break;  
case 'easeOutBounce':  
$('div#holder').attr('easing', $(this).val()).attr('duration', 1200);  
break;  
case 'easeOutElastic':  
$('div#holder').attr('easing', $(this).val()).attr('duration', 1000);  
break;  
case 'easeInOutBack':  
$('div#holder').attr('easing', $(this).val()).attr('duration', 1400);  
break;  
}  
});  
$('#shape').change(function(e) {  
$('div#holder').attr('shape', $(this).val()).roundabout_updateChildPositions();  
});
doSlider();*/

/*var delta = $('#slider').slider('value') / 10;*/
var delta = 0;
var delta2 = -5;
//var delta2 = $('#slider2').slider('value');  
$('div#holder').roundabout_adjustBearing(delta).roundabout_setTilt(delta2);  

});  
/*function doSlider() {  
setInterval(function() {  
var delta = $('#slider').slider('value') / 10;  
var delta2 = -5;
//var delta2 = $('#slider2').slider('value');  
$('div#holder').roundabout_adjustBearing(delta).roundabout_setTilt(delta2);  
}, 50);  
}  
*/
