
initial=function (){

 $('.sldbtn_l').bind("click",function(){  history.back(-1)  });


  //pic spics
  var spics=$(".this_spic").attr("data-pics").toString().split(",");
  for(var i=0;i<spics.length;i++){
    $(".this_spic").append( "<img src='" + spics[i] +"' >" );
  }
  //$(".this_spic").bind("click",function(){ $(".oki_mslider_opener").trigger("click")   });
  $(".this_spic img").bind("click",function(){ $(".page_pic").css("background-image","url("+$(this).attr("src")+")")   });

  $(".page_pic").bind("click",function(){  
	openPhotoSwipe ( $(this).attr("data-pwpics") );
  })



	
} 

slidermov=function(dir){

     	
}//slidermov




$(window).bind("resize",function(){
  if($(this).width()<1200){
	// $(".content").height(440);  
	
  }else{
	//  $(".content").height(660);  	 
  }
	
});




$(window).load(function(){
 initial();
 $(this).trigger("resize");
 //setInterval(en_style,5000);	
});