/*
* Scroll Top Menu
*/
/*if(window.screen.width > 800) {
(function ($) {
Drupal.behaviors.backtotop = {
attach: function(context) {
var exist= jQuery('#backtotop').length;
if(exist == 0) {
$("body", context).once(function() {
$(this).append("
"+Drupal.t(Drupal.settings.back_to_top.back_to_top_button_text)+"
");
});
}
$(window).scroll(function() {
if($(this).scrollTop() > Drupal.settings.back_to_top.back_to_top_button_trigger) {
$('#backtotop, .fixedHead').fadeIn();
} else {
$('#backtotop, .fixedHead').fadeOut();
}
});
$('#backtotop', context).once(function() {
$(this).click(function() {
$("html, body").bind("scroll mousedown DOMMouseScroll mousewheel keyup", function() {
$('html, body').stop();
});
$('html,body').animate({ scrollTop: 0 }, 1200, 'easeOutQuart', function() {
$("html, body").unbind("scroll mousedown DOMMouseScroll mousewheel keyup");
});
return false;
});
});
}
};
})(jQuery);
}*/
/*
function newProduct_url(){
var selectedElements = jQuery("div.nk-group-panel-item:contains('новизна')");
selectedElements.addClass('sortCheked');
}
*/