'); jQuery('#sidebar #video-browser-crop').after('
'); jQuery(".video-browser-down").click(function(){ if(nudgeValue <= nudgeMax) { nudgeValue = 0; jQuery("#sidebar #video-browser").animate({ marginTop: nudgeValue },1000); } else { //alert('d - b') nudgeValue = nudgeValue + nudgeIncroment; if (nudgeValue < nudgeMax){ nudgeValue = nudgeMax;} jQuery("#sidebar #video-browser").animate({ marginTop: nudgeValue }, 400); } }); jQuery(".video-browser-up").click(function(){ if(nudgeValue >= 0) { nudgeValue = nudgeMax; jQuery("#sidebar #video-browser").animate({ marginTop: nudgeMax },1000); } else { nudgeValue = nudgeValue - nudgeIncroment; if (nudgeValue > 0) {nudgeValue = 0} jQuery("#sidebar #video-browser").animate({ marginTop: nudgeValue }, 400); } }); }; //]]>