67
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"716120660ebd0d9b061c252017fa90e9","system.paths":{"root":"","base":""}}</script>]]>
|
91
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function() { if (jQuery("#modal-messages").length) modalMessages("1", "both", "", "fast"); });
template="shaper_helixultimate";
var cjlib_loc = "/components/com_cjlib";
google.load("visualization", "1", {packages:["corechart"]});
if ($jak2depend == undefined || $jak2depend == "undefined")
var $jak2depend = new Array();
if ($jak2depend == undefined || $jak2depend == "undefined")
var $jak2depend = new Array();
new DJAccessibility( {"yootheme":false,"position":"sticky","layout":"popup","align_position":"top right","align_mobile":"1","align_mobile_position":"bottom right","breakpoint":"767px","direction":"bottom left","space":"1","version":"dmVyc2lvbnBybw==","speech_pitch":"1","speech_rate":"1","speech_volume":"1"} )
</script>]]>
|
419
| <![CDATA[<script type="text/javascript">
/*<![CDATA[*/
var $required_fields372 = 0;
var $required_warning = "Required Field";
var $cache372 = {};
//validate date function
function isDate(txtDate) {
var reg = /^(\d{4})([\/-])(\d{1,2})\2(\d{1,2})$/;
return reg.test(txtDate);
}
//validate startdate and enddate before submit form
function validateDateRange(obj) {
var from, to, field;
obj = jQuery(obj);
if (isDate(obj.val())) {
obj.removeClass('date-error');
} else {
obj.addClass('date-error');
return;
}
field = obj.data('field');
if (obj.hasClass('k2datefrom')) {
from = obj;
to = jQuery('.k2dateto[data-field="'+field+'"]');
} else if (obj.hasClass('k2dateto')) {
from = jQuery('.k2datefrom[data-field="'+field+'"]');
to = obj;
} else {
return;
}
}
// calculate clear both horizontal layout.
function horizon_calculate372() {
var $ja_column = 1;
var $ja_columnw = '';
$ja_columnw = 'width:100%;';
jQuery('#jak2filter372 > li').each(function($j){
var $style='';
var $clear='';
$ja_column=parseInt($ja_column);
var sum = $j % $ja_column;
if ($ja_column > 0 && sum == 0) {
$clear = "clear:both;";
}
if ($ja_column || $clear!="") {
$style = $ja_columnw + $clear;
}
if (!jQuery(this).hasClass('last-item'))jQuery(this).attr('style', $style);
});
}
jQuery(document).ready(function () {
jQuery('#ja-extra-field-accordion-372').find('.ui-accordion-disabled.ui-state-disabled').each(function(){
if (jQuery(this).next().find('.chzn-container.chzn-container-single').length)
jQuery(this).next().find('.chzn-container.chzn-container-single').attr('style', 'width:auto;');
});
jQuery('.fsname').each(function () {
jQuery(this).text(jQuery('#jak2filter372').find('option[value=' + jQuery(this).text() + ']').text());
});
jQuery("#jak2filter372").sortable({
itemSelector: "li.fssorts",
handle: ".title",
onDrop: function ($item, container, _super, event) {
$item.sortable('enable');
_super($item, container);
horizon_calculate372(); }
});
jQuery('#jak2filter372 #ordering').change(function () {
if (jQuery(this).val() && !jQuery('#jak2filter372').find('li[data-of=' + jQuery(this).val() + ']').length) {
var strout = '';
if (jQuery.inArray(jQuery(this).val(), ['zelevance', 'best', 'modified', 'publishUp', 'zdate', 'featured']) === -1) {
strout = '<div class="group-controls">'+
'<div class="controls">'+
'<input type="radio" checked="" name="orders[' + jQuery(this).val() + ']" value="' + jQuery(this).val() + '" /><p class="ascending">Increase</p>'+
'</div>';
if (jQuery.inArray(jQuery(this).val(), ['adate']) === -1)
strout += '<div class="controls">'+
'<input type="radio" name="orders[' + jQuery(this).val() + ']" value="r' + jQuery(this).val() + '" /><p class="decrease">Decrease</p>'+
'</div>';
strout += '</div>';
} else {
strout = '<div class="group-controls"><div class="controls"><input type="radio" checked="checked" name="orders[' + jQuery(this).val() + ']" value="r' + jQuery(this).val() + '" /><p class="decrease">Decrease</p></div></div>';
}
jQuery(this).parents('li').after('<li class="fssorts" style="width:100%;" data-of="' + jQuery(this).val() + '"> ' +
'<div class="subclass">'+
'<div class="title" style="cursor:move"><h6>' + jQuery(this).find('option:selected').html() + '</h6></div>' +
strout+
'<div class="controls"><button type="button" class="delete" onclick="jQuery(this).parents(\'li\').remove();">Delete</button></div>'+
'</div>'+
'</li>');
}
jQuery(this).val('').trigger("liszt:updated");
horizon_calculate372(); });
if ( jQuery.browser.msie ) {
jQuery('#searchword372').on('keyup', function(event) {
var keycode = event.keyCode ? event.keyCode : event.which;
if(keycode == 13 ) {
jQuery('#jak2filter-form-372').trigger('filter.submit')
}
});
}
function resetChildren($current, $next) {
if ($next) {
var $data = $jak2depend[parseInt($next.data('exfield'))][$current.val()];
if ($data != undefined && $data != 'undefined') {
$next.html('');
$next.append('<option value="">'+$next.data('extitle')+'</option>');
for (var i=0;i<$data.length;i++) {
$next.append('<option value="'+$data[i][0]+'">'+$data[i][1]+'</option>');
}
$next.chosen("destroy").chosen();
} else {
$next.html('');
$next.append('<option value="">'+$next.data('extitle')+'</option>');
$next.chosen("destroy").chosen();
}
var $_next = '#K2ExtraField_'+$next.data('exfield')+'_'+(parseInt($next.data('dependlv'))+1);
if (jQuery($_next).length) resetChildren($next, jQuery($_next));
}
}
jQuery('#jak2filter372 .jak2depend').change(function() {
var elm, dependlv, exfield, autofield, $next, $prev, $ar, moduleid, dependarray, dependtxt, form;
elm = jQuery(this);
dependlv = elm.data('dependlv');
exfield = elm.data('exfield');
autofield = elm.data('autofield');
moduleid = 372;
$next = jQuery('#jak2filter'+moduleid+' #K2ExtraField_'+exfield+'_'+(dependlv + 1));
if ($next.length) resetChildren(elm, $next);
dependarray = jQuery('#jak2filter'+moduleid+' #xf_'+ exfield +'_array');
dependarray.val('');
jQuery('#jak2filter372 .jak2depend[data-exfield="'+exfield+'"]').each(function(){
$ar = dependarray.val();
if (jQuery(this).val() != '')
$ar += jQuery(this).val()+',';
dependarray.val($ar);
});
dependtxt = jQuery('#jak2filter'+moduleid+' #xf_'+exfield+'_txt');
dependtxt.val(elm.val());
if (elm.val() == '') { // get the prev value if choose no value at current.
$prev = jQuery('#jak2filter'+moduleid+' #K2ExtraField_'+exfield+'_'+(dependlv-1));
if ($prev.length) {
dependtxt.val($prev.val());
}
}
});
if (jQuery('#jak2filter372').find('#category_id').length) {
jak2DisplayExtraFields(372, jQuery('#jak2filter372').find('#category_id'), 0);
}
jQuery('#jak2filter-form-372').on('filter.submit', function () {
var $check = checkrequired($required_fields372, "jak2filter-form-372");
if ($check == true) {
jQuery('#jak2filter-form-372').submit();
} else {
var top = jQuery('#jak2filter-form-372').find('.jak2-error:visible').first().offset().top - 100;
jQuery("html, body").animate({scrollTop: top});
return false;
}
});
});
/*]]>*/
</script>]]>
|
806
| <![CDATA[<script type="text/javascript">
/*<![CDATA[*/
var $required_fields518 = 0;
var $required_warning = "Required Field";
var $cache518 = {};
//validate date function
function isDate(txtDate) {
var reg = /^(\d{4})([\/-])(\d{1,2})\2(\d{1,2})$/;
return reg.test(txtDate);
}
//validate startdate and enddate before submit form
function validateDateRange(obj) {
var from, to, field;
obj = jQuery(obj);
if (isDate(obj.val())) {
obj.removeClass('date-error');
} else {
obj.addClass('date-error');
return;
}
field = obj.data('field');
if (obj.hasClass('k2datefrom')) {
from = obj;
to = jQuery('.k2dateto[data-field="'+field+'"]');
} else if (obj.hasClass('k2dateto')) {
from = jQuery('.k2datefrom[data-field="'+field+'"]');
to = obj;
} else {
return;
}
}
// calculate clear both horizontal layout.
function horizon_calculate518() {
var $ja_column = 1;
var $ja_columnw = '';
$ja_columnw = 'width:100%;';
jQuery('#jak2filter518 > li').each(function($j){
var $style='';
var $clear='';
$ja_column=parseInt($ja_column);
var sum = $j % $ja_column;
if ($ja_column > 0 && sum == 0) {
$clear = "clear:both;";
}
if ($ja_column || $clear!="") {
$style = $ja_columnw + $clear;
}
if (!jQuery(this).hasClass('last-item'))jQuery(this).attr('style', $style);
});
}
jQuery(document).ready(function () {
jQuery('#ja-extra-field-accordion-518').find('.ui-accordion-disabled.ui-state-disabled').each(function(){
if (jQuery(this).next().find('.chzn-container.chzn-container-single').length)
jQuery(this).next().find('.chzn-container.chzn-container-single').attr('style', 'width:auto;');
});
jQuery('.fsname').each(function () {
jQuery(this).text(jQuery('#jak2filter518').find('option[value=' + jQuery(this).text() + ']').text());
});
jQuery("#jak2filter518").sortable({
itemSelector: "li.fssorts",
handle: ".title",
onDrop: function ($item, container, _super, event) {
$item.sortable('enable');
_super($item, container);
horizon_calculate518(); }
});
jQuery('#jak2filter518 #ordering').change(function () {
if (jQuery(this).val() && !jQuery('#jak2filter518').find('li[data-of=' + jQuery(this).val() + ']').length) {
var strout = '';
if (jQuery.inArray(jQuery(this).val(), ['zelevance', 'best', 'modified', 'publishUp', 'zdate', 'featured']) === -1) {
strout = '<div class="group-controls">'+
'<div class="controls">'+
'<input type="radio" checked="" name="orders[' + jQuery(this).val() + ']" value="' + jQuery(this).val() + '" /><p class="ascending">Increase</p>'+
'</div>';
if (jQuery.inArray(jQuery(this).val(), ['adate']) === -1)
strout += '<div class="controls">'+
'<input type="radio" name="orders[' + jQuery(this).val() + ']" value="r' + jQuery(this).val() + '" /><p class="decrease">Decrease</p>'+
'</div>';
strout += '</div>';
} else {
strout = '<div class="group-controls"><div class="controls"><input type="radio" checked="checked" name="orders[' + jQuery(this).val() + ']" value="r' + jQuery(this).val() + '" /><p class="decrease">Decrease</p></div></div>';
}
jQuery(this).parents('li').after('<li class="fssorts" style="width:100%;" data-of="' + jQuery(this).val() + '"> ' +
'<div class="subclass">'+
'<div class="title" style="cursor:move"><h6>' + jQuery(this).find('option:selected').html() + '</h6></div>' +
strout+
'<div class="controls"><button type="button" class="delete" onclick="jQuery(this).parents(\'li\').remove();">Delete</button></div>'+
'</div>'+
'</li>');
}
jQuery(this).val('').trigger("liszt:updated");
horizon_calculate518(); });
if ( jQuery.browser.msie ) {
jQuery('#searchword518').on('keyup', function(event) {
var keycode = event.keyCode ? event.keyCode : event.which;
if(keycode == 13 ) {
jQuery('#jak2filter-form-518').trigger('filter.submit')
}
});
}
function resetChildren($current, $next) {
if ($next) {
var $data = $jak2depend[parseInt($next.data('exfield'))][$current.val()];
if ($data != undefined && $data != 'undefined') {
$next.html('');
$next.append('<option value="">'+$next.data('extitle')+'</option>');
for (var i=0;i<$data.length;i++) {
$next.append('<option value="'+$data[i][0]+'">'+$data[i][1]+'</option>');
}
$next.chosen("destroy").chosen();
} else {
$next.html('');
$next.append('<option value="">'+$next.data('extitle')+'</option>');
$next.chosen("destroy").chosen();
}
var $_next = '#K2ExtraField_'+$next.data('exfield')+'_'+(parseInt($next.data('dependlv'))+1);
if (jQuery($_next).length) resetChildren($next, jQuery($_next));
}
}
jQuery('#jak2filter518 .jak2depend').change(function() {
var elm, dependlv, exfield, autofield, $next, $prev, $ar, moduleid, dependarray, dependtxt, form;
elm = jQuery(this);
dependlv = elm.data('dependlv');
exfield = elm.data('exfield');
autofield = elm.data('autofield');
moduleid = 518;
$next = jQuery('#jak2filter'+moduleid+' #K2ExtraField_'+exfield+'_'+(dependlv + 1));
if ($next.length) resetChildren(elm, $next);
dependarray = jQuery('#jak2filter'+moduleid+' #xf_'+ exfield +'_array');
dependarray.val('');
jQuery('#jak2filter518 .jak2depend[data-exfield="'+exfield+'"]').each(function(){
$ar = dependarray.val();
if (jQuery(this).val() != '')
$ar += jQuery(this).val()+',';
dependarray.val($ar);
});
dependtxt = jQuery('#jak2filter'+moduleid+' #xf_'+exfield+'_txt');
dependtxt.val(elm.val());
if (elm.val() == '') { // get the prev value if choose no value at current.
$prev = jQuery('#jak2filter'+moduleid+' #K2ExtraField_'+exfield+'_'+(dependlv-1));
if ($prev.length) {
dependtxt.val($prev.val());
}
}
});
if (jQuery('#jak2filter518').find('#category_id').length) {
jak2DisplayExtraFields(518, jQuery('#jak2filter518').find('#category_id'), 0);
}
jQuery('#jak2filter-form-518').on('filter.submit', function () {
var $check = checkrequired($required_fields518, "jak2filter-form-518");
if ($check == true) {
jQuery('#jak2filter-form-518').submit();
} else {
var top = jQuery('#jak2filter-form-518').find('.jak2-error:visible').first().offset().top - 100;
jQuery("html, body").animate({scrollTop: top});
return false;
}
});
});
/*]]>*/
</script>]]>
|
1304
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function($) {
$('#container_menu_10025830211695568377 .menu_vertical .sj-megamenu-vertical .sj-dropdown.sj-menu-left').each(function(){
$(this).css('top', '0px');
$(this).css('right', 'auto');
$(this).css('left', '-'+$(this).outerWidth()+'px');
});
$('#container_menu_10025830211695568377 .menu_vertical .sj-megamenu-vertical .sj-dropdown.sj-menu-right').each(function() {
$(this).css('top', '0px');
$(this).css('left', 'auto');
$(this).css('right', '-'+$(this).outerWidth()+'px');
});
})
</script>]]>
|
1319
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function($) {
$('<div class="offcanvas-overlay"></div>').insertBefore('#container_menu_10025830211695568377 .offcanvas-menu');
$(document).on('click', '#container_menu_10025830211695568377 a.btn-sambar', function (event) {
if ($(this).parent('.sambar-inner').hasClass('offcanvas')) {
$(this).parent('.sambar-inner').removeClass('offcanvas');
}
else {
$(this).parent('.sambar-inner').removeClass('offcanvas').addClass('offcanvas');
}
if ($('body').hasClass('js-close-any')) {
$('body').removeClass('js-close-any')
$(this).parent('.sambar-inner').find('.offcanvas-overlay').removeClass('opened');
}
else {
$('body').removeClass('js-close-any').addClass('js-close-any');
$(this).parent('.sambar-inner').find('.offcanvas-overlay').removeClass('opened').addClass('opened');
}
});
$(document).on('click', '.close-offcanvas, .offcanvas-overlay', function(event) {
event.preventDefault();
$('.sambar-inner').removeClass('offcanvas');
$('body').removeClass('offcanvas');
$('.offcanvas-overlay').removeClass('opened');
});
// Close any
$( document ).on( 'click', '.js-close-any', function ( event ) {
$('.btn-sambar').removeClass('open');
$('body').removeClass('js-close-any');
$('body').removeClass('offcanvas');
$('.sambar-inner').removeClass('offcanvas');
$('.offcanvas-overlay').removeClass('opened');
})
});
</script>]]>
|
1714
| <![CDATA[<script type="text/javascript">
var today = new Date()
var year = today.getFullYear()
document.write(year)
</script>]]>
|
1743
| <![CDATA[<script>
$('[data-fancybox="imagem"]').fancybox({
buttons : [
'slideShow',
'fullScreen',
'download',
'thumbs',
'zoom',
'share',
'close'
]
});
</script>]]>
|