$(function(){
var bgimg = $(".e_bannera-2 .p_img img").attr("src");
if(bgimg){
$(".main").css("background","url("+ bgimg +") center no-repeat fixed");
$(".main").css("background-size","cover");
}
})
$(function() {
var body = $("body");
if (isfrontenv()) {
if ($(window).width() < 768) {
return;
}
var cursor = $("
").addclass("cn-cursor");
cursor.append("
");
body.append(cursor);
var _cursor = cursor.get(0);
body.get(0).addeventlistener("mousemove", function(e) {
_cursor.style.transform = "translate(" + e.clientx + "px, " + e.clienty + "px)";
});
$("#c_static_001-1639409126741 .e_loop-2 .p_loopitem").hover(function() {
var newimg = $(this).find(".e_image-8 a img").attr("src");
if(newimg){
cursor.children("img").remove();
cursor.append("
");
cursor.addclass("cn-on cn-hover");
}
}, function() {
cursor.removeclass("cn-on cn-hover");
cursor.children("img").remove();
});
}
});