Q: How to make this part of the code not to execute in Safari? I want this part of the code NOT to execute in Safari. How to make it?
transform:'skewX(-'+$deg1+'deg) rotateX('+$deg1+'deg)', '-moz-transform': 'skewX(-'+$deg1+'deg) rotateX('+$deg1+'deg)', '-webkit-transform': 'skewX(-'+$deg1+'deg) rotateX('+$deg1+'deg)'

in code:
function sec1() {
                                $global_v=$global_v+10;                         
                                $nowz=(($global_v+$start_pr)/$skorost)+$ugol*2;
                                for (var ink=0, len = $kolvo; ink < len; ink++)
                                {
                                uno1=$(ImgDiv[ink]);
                                $rad1=((ink+1)*$ugol+$nowz);
                                $deg1=$rad1*360/(2*Math.PI)+270;
                                trata = Math.sin(-($rad1))*$size_dug+$smes_x;
                                if(trata>260){
                                zind=1;
                                }else{
                                zind=10;
                                }
                                uno1.css({top: Math.cos($rad1)*$size_dug+$smes_y, left: trata, zIndex: zind, transform:'skewX(-'+$deg1+'deg) rotateX('+$deg1+'deg)', '-moz-transform': 'skewX(-'+$deg1+'deg) rotateX('+$deg1+'deg)', '-webkit-transform': 'skewX(-'+$deg1+'deg) rotateX('+$deg1+'deg)'});
                                };  
                        }


A: You can try an old and browser detection technique:
var agent = navigator.userAgent.toLowerCase(); 
 if (agent.indexOf('safari')!=-1){ 
   if(agent.indexOf('chrome')  > -1){
    //execute your code this is chrome
   }else{
    // here is safari
   }
  }

But browser detection considers as a bad practice

A: I guess you are already using jQuery. So i would rather go with jquery browser detection. Detect safari and write an alternative code for it.
However in my experience the browser detection is never 100% accurate. Especially when you look on mobile browsers.

A: You can comment that code line out.
It works in css also.
