var j = 290,cosVal,sinVal,select_ui = $("#p1 .m1"); t = setInterval(function(){ cosVal = Math.cos(j * Math.PI