var matcher = []; var matcher_last=1; $(document).ready(function(){ $('body').on('click','.xf5718cbfaeb771f35966c7a0738cc4b7opentext',function(){ var h = $('.xf5718cbfaeb771f35966c7a0738cc4b7bottom_textdis').css('height', 'auto').height(); $(this).removeClass('xf5718cbfaeb771f35966c7a0738cc4b7opentext'); $(this).addClass('xf5718cbfaeb771f35966c7a0738cc4b7closetext'); $('.xf5718cbfaeb771f35966c7a0738cc4b7bottom_textdis').animate({ height : h+'px' },1000); }) $('body').on('click','.xf5718cbfaeb771f35966c7a0738cc4b7closetext',function(){ $(this).removeClass('xf5718cbfaeb771f35966c7a0738cc4b7closetext'); $(this).addClass('xf5718cbfaeb771f35966c7a0738cc4b7opentext'); $('.xf5718cbfaeb771f35966c7a0738cc4b7bottom_textdis').animate({ height : '100px' },300); }); $('.menuopen').click(function(event){ preventdefault(); $('.menumobile').animate({"right":"0px"}, "slow"); $('.menu-overlay').fadeIn(); }); /*$('.xf5718cbfaeb771f35966c7a0738cc4b7active_lang').click(function(){ $(".xf5718cbfaeb771f35966c7a0738cc4b7languages ul").slideToggle(); });*/ $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content').css('opacity','0'); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button,xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').click(function(){ if($("xf5718cbfaeb771f35966c7a0738cc4b7menu").is(":visible") ){ $("xf5718cbfaeb771f35966c7a0738cc4b7menu").slideUp(); $('.xf5718cbfaeb771f35966c7a0738cc4b7menu-overlay').fadeOut(); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button').css('display','block'); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').css('display','none'); }else{ $("xf5718cbfaeb771f35966c7a0738cc4b7menu").slideDown(); $('.xf5718cbfaeb771f35966c7a0738cc4b7menu-overlay').fadeIn(); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button').css('display','none'); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').css('display','block'); } }); $('.xf5718cbfaeb771f35966c7a0738cc4b7menu-overlay').click(function(){ $("xf5718cbfaeb771f35966c7a0738cc4b7menu").slideUp(); $('.xf5718cbfaeb771f35966c7a0738cc4b7menu-overlay').fadeOut(); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button').css('display','block'); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').css('display','none'); }); $('#xf5718cbfaeb771f35966c7a0738cc4b7menu_icon').click(function(){ $(".xf5718cbfaeb771f35966c7a0738cc4b7menu_popup").css("display","block"); $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay').css('display','block'); }); $('.xf5718cbfaeb771f35966c7a0738cc4b7filter_icon').click(function(){ $(".xf5718cbfaeb771f35966c7a0738cc4b7filters_popup").css("display","block"); $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay').css('display','block'); }); $('#xf5718cbfaeb771f35966c7a0738cc4b7close_popup, #xf5718cbfaeb771f35966c7a0738cc4b7accept').click(function(){ $(".xf5718cbfaeb771f35966c7a0738cc4b7popup_").css("display","none"); $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay').css('display','none'); }); $('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars img').hover(function(){ var star = $(this).attr('id').split('_'); $(this).closest('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars').find('.xf5718cbfaeb771f35966c7a0738cc4b7star').attr('src','https://bestecasinorezensionen.com?p=image&image=png'); for (var m = 1; m <= star[3]; m++) { $( '#xf5718cbfaeb771f35966c7a0738cc4b7star_'+star[1]+'_'+star[2]+'_'+m ).attr('src','https://bestecasinorezensionen.com?p=image&image=png'); } },function(){ $('.xf5718cbfaeb771f35966c7a0738cc4b7active_star').attr('src','https://bestecasinorezensionen.com?p=image&image=png'); $('.xf5718cbfaeb771f35966c7a0738cc4b7passive_star').attr('src','https://bestecasinorezensionen.com?p=image&image=png'); $('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars>div').remove(); }); $('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars img').click(function(){ if( $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars').attr('data-click') == 'clicked'){ $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars').append('

'+$translate['error_rating']+'
'); }else{ //alert($(this).parents('.rate_stars').attr('data-click') ) var star = $(this).attr('id').split('_'); $(this).closest('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars').find('.xf5718cbfaeb771f35966c7a0738cc4b7star').addClass('xf5718cbfaeb771f35966c7a0738cc4b7passive_star'); for (var m = 1; m <= star[3]; m++) { $( '#xf5718cbfaeb771f35966c7a0738cc4b7star_'+star[1]+'_'+star[2]+'_'+m ).removeClass('xf5718cbfaeb771f35966c7a0738cc4b7passive_star'); $( '#xf5718cbfaeb771f35966c7a0738cc4b7star_'+star[1]+'_'+star[2]+'_'+m ).addClass('xf5718cbfaeb771f35966c7a0738cc4b7active_star'); } $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars').append('
'+$translate['success_rating']+'
'); $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7rate_stars').attr('data-click','clicked'); } }); var bonus_count = 3; var k=1;var m1;var m2; $(".xf5718cbfaeb771f35966c7a0738cc4b7TableHeader .xf5718cbfaeb771f35966c7a0738cc4b7divTableCell xf5718cbfaeb771f35966c7a0738cc4b7sort_icon").each(function(){ $(this).click(function(){ var cl=$(this).parent().attr("id"); $('.xf5718cbfaeb771f35966c7a0738cc4b7rowbody').each(function() { if($(this).attr('id') == 'xf5718cbfaeb771f35966c7a0738cc4b7emptyrow'){ $(this).remove(); } }); if( bonus_count % 2 == 1 ){ cl = 'xf5718cbfaeb771f35966c7a0738cc4b7bonu_scell'; }else{cl = 'xf5718cbfaeb771f35966c7a0738cc4b7scorecell'; } $(".xf5718cbfaeb771f35966c7a0738cc4b7trow").detach().sort(function(a,b){ var n1 = parseInt($(a).find('.'+cl).attr('data-'+cl)); var n2 = parseInt($(b).find('.'+cl).attr('data-'+cl)); if(n1!=''){if(cl == 'xf5718cbfaeb771f35966c7a0738cc4b7scorecell' ){return n2 > n1 ? 1 : -1;}else{return n1 > n2 ? 1 : -1;} } }).appendTo( $(".xf5718cbfaeb771f35966c7a0738cc4b7TableHeader").parent() ).ready(function () { l=1; $(".xf5718cbfaeb771f35966c7a0738cc4b7trow:visible").each(function(){ $(this).find('.xf5718cbfaeb771f35966c7a0738cc4b7numberofcasino').removeClass('xf5718cbfaeb771f35966c7a0738cc4b7first_casino').addClass('xf5718cbfaeb771f35966c7a0738cc4b7other_casino'); $(this).find('.xf5718cbfaeb771f35966c7a0738cc4b7numberofcasino').text(l); l++; }) }); var emptyrow = '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; $('.xf5718cbfaeb771f35966c7a0738cc4b7rowbody:visible').before(emptyrow); }) }); $(" :checkbox, :radio").click(function(event) { if(type == 'checkbox'){ if(value != 'xf5718cbfaeb771f35966c7a0738cc4b7cat_all' ){ $('.xf5718cbfaeb771f35966c7a0738cc4b7cat_all').prop('checked',false); }else{ $(":checked").each(function() { $(this).prop('checked',false); }) } } if(type == 'radio'){ var text_mb=''; var total_words = []; var i; $('.xf5718cbfaeb771f35966c7a0738cc4b7content_info xf5718cbfaeb771f35966c7a0738cc4b7content_title').html($(this).attr('data-title')); total_words = $(this).attr('data-text').trim().split(/ +/); for (var i = 0; i < 10; i++) { text_mb += total_words[i] + ' ' ; } $('.xf5718cbfaeb771f35966c7a0738cc4b7content_info').css('background','url('+$(this).attr('data-image')+') no-repeat center top'); $('.xf5718cbfaeb771f35966c7a0738cc4b7content_info xf5718cbfaeb771f35966c7a0738cc4b7game_content_title_mobile').html(text_mb + 'Read more'); $('.xf5718cbfaeb771f35966c7a0738cc4b7content_info xf5718cbfaeb771f35966c7a0738cc4b7game_content_title_pc').html($(this).attr('data-text')); } var checked = []; $(":checked").each(function() { push(value); }); if(length == 0){ $('.xf5718cbfaeb771f35966c7a0738cc4b7cat_all').prop('checked',true); push('xf5718cbfaeb771f35966c7a0738cc4b7cat_all'); } var trow = []; rowlist(checked)//list by selected element }); $('xf5718cbfaeb771f35966c7a0738cc4b7icon_list li>a').click(function(){ $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay').css('display','block'); var popup = ''; popup += ''; popup += ''+$(this).attr('data-title')+''; popup += ''+$(this).attr('data-text')+''; $('.xf5718cbfaeb771f35966c7a0738cc4b7mini_popup').html(popup); $(".xf5718cbfaeb771f35966c7a0738cc4b7mini_popup").css("display","block"); }); $('.xf5718cbfaeb771f35966c7a0738cc4b7rank').click( function(){ closemenu(); Rank(sm,site_url); }); $('.xf5718cbfaeb771f35966c7a0738cc4b7ifeellucky_click').click( function(){ closemenu(); FeelLucky(site_url) }); $(document).click(function(event) { if($(target).attr("class") == 'xf5718cbfaeb771f35966c7a0738cc4b7popup_main' ) { close_popup(); } }); $(document).click(function(event) { if($(target).attr("class") == 'xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay' ) { close_popup_main(); } }); $(document).click(function(event) { if($(target).attr("class") == 'xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay_matcher' ) { close_popup_matcher(); } }); $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_click').click(function(){ closemenu(); //$(".popup_main_matcher").attr('style','position:fixed;top:50px;max-width:1200px;') if( $(window).width()<768 ) $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button,xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').click(); $(".xf5718cbfaeb771f35966c7a0738cc4b7popup_main_matcher, .xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay_matcher").css("display","block"); $(".xf5718cbfaeb771f35966c7a0738cc4b7matcher_active").attr('style','opacity:1;z-index:9999;'); var marginleft,margintop; var wheight = $(window).height(); var wwidth = $(window).width(); var mwidth = $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_active').width(); var mheight = $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_active').height(); marginleft = (wwidth - mwidth)/2; margintop = (wheight-mheight)/2; //$(".matcher_active").attr('style','left:'+marginleft +'px') //alert(mwidth) $(".xf5718cbfaeb771f35966c7a0738cc4b7popup_main_matcher").attr('style','display:block;position:absolute;max-width:1200px;left:'+marginleft+'px'); OWL(); }); //matcher begin $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_back').click(function(e){ preventdefault(); pop(); log(matcher); $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content').attr('style','opacity:0;z-index:0;'); $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content').prev().attr('style','opacity:1;z-index:9999;display:block'); }); $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_item_a').click(function(){ /*if( 1100 < $(window).width() ){ $(this).find('main_image').css('display','none'); $(this).find('hover_image').css('display','block'); }*/ var index,value,result,checked = []; $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content').find('.xf5718cbfaeb771f35966c7a0738cc4b7active_item').removeClass('xf5718cbfaeb771f35966c7a0738cc4b7active_item');//remove active item $(this).addClass('xf5718cbfaeb771f35966c7a0738cc4b7active_item');//add class active item index = $(this).attr('data-id').split('_')[0]; value = $(this).attr('data-id').split('_')[1]; matcher[index] = $(this).attr('data-id'); log( keys(matcher).length ); //alert(length); if( keys(matcher).length == 5){ for (x in matcher) { push(matcher[x]); } rowlist(checked); matcher = []; $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content:last').append('

'+$translate['m_find_title']+'

'); setTimeout(function(){ close_popup_matcher(); $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_find_content').remove(); $('.xf5718cbfaeb771f35966c7a0738cc4b7load_mathcer_result').addClass('xf5718cbfaeb771f35966c7a0738cc4b7full_matcher_result'); $('.xf5718cbfaeb771f35966c7a0738cc4b7load_mathcer_result').html('
'+$translate['m_title']+'
'+$translate['m_text']+'
'); }, 3000); // //log('dsdsd'); }else{ $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content').attr('style','opacity:0;z-index:0;'); $(this).parents('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content').hide().next().attr('style','display:block;opacity:1;z-index:9999'); } }); //matcher end /*$(document).click(function(event) { if( -1 == $(target).attr("class").indexOf('noteblock') ) { $('.noteblock').remove(); } });*/ $('#xf5718cbfaeb771f35966c7a0738cc4b7matcher_game .xf5718cbfaeb771f35966c7a0738cc4b7item').hover( function () { if( 1100<$(window).width() ) $(this).find('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_game_info').css('display', 'block'); }, function () { $(this).find('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_game_info').css('display', 'none'); }); $('i[data-click="open"], i[data-click="close"]').click(function(){ var objparent = $(this).parent(); var obj = $(this).parent().find('span'); var shorttext = text(); var fulltext = attr('data-text'); attr('data-text',shorttext); html(fulltext); $(this).hide(); if( $(this).attr('data-click') == 'open' ){ find('i[data-click="close"]').show(); }else{ find('i[data-click="open"]').show(); } //$(this).hide(); }); /*$('.matcher_game_info i[data-click="close"]').click(function(){ alert('test') var parent = $(this).parent(); var shorttext = text(); var fulltext = attr('data-text')+' show less'; attr('data-text',shorttext); html(fulltext); });*/ $('#xf5718cbfaeb771f35966c7a0738cc4b7bonu_scell .xf5718cbfaeb771f35966c7a0738cc4b7sort_icon').click(function(){ if(bonus_count%2 == 1){ $('.xf5718cbfaeb771f35966c7a0738cc4b7hide_s').css('display','none'); $('.xf5718cbfaeb771f35966c7a0738cc4b7shw_s').css('display','table-cell'); //alert('depoziti elave et') }else{ //$('#scorecell').click(); $('.xf5718cbfaeb771f35966c7a0738cc4b7hide_s').css('display','table-cell'); $('.xf5718cbfaeb771f35966c7a0738cc4b7shw_s').css('display','none'); } bonus_count++; }); $('#xf5718cbfaeb771f35966c7a0738cc4b7scorecell .xf5718cbfaeb771f35966c7a0738cc4b7sort_icon').click(function(){ $('.xf5718cbfaeb771f35966c7a0738cc4b7hide_s').css('display','table-cell'); $('.xf5718cbfaeb771f35966c7a0738cc4b7shw_s').css('display','none'); bonus_count++; }) // Tooltip only Text $('.xf5718cbfaeb771f35966c7a0738cc4b7c_tooltip').hover(function(){ var obj = $(this); find('.xf5718cbfaeb771f35966c7a0738cc4b7tooltip').fadeIn(); }, function() { $(this).attr('title', $(this).data('tipText')); $('.xf5718cbfaeb771f35966c7a0738cc4b7tooltip').fadeOut(); }); //context menu $(document).ready(function () { $(".xf5718cbfaeb771f35966c7a0738cc4b7cn").on("contextmenu",function(e){ //prevent default context menu for right click preventdefault(); var link = $(this).attr('href'); var cmenu = ''; cmenu += '
'; cmenu += ''; cmenu += '
'; $('body').append(cmenu); var menu = $(".xf5718cbfaeb771f35966c7a0738cc4b7contextmenu"); //hide menu if already shown hide(); //get x and y values of the click event var pageX = pagex; var pageY = pagey; //position menu div near mouse cliked area css({top: pageY , left: pageX}); var mwidth = width(); var mheight = height(); var screenWidth = $(window).width(); var screenHeight = $(window).height(); //if window is scrolled var scrTop = $(window).scrollTop(); //if the menu is close to right edge of the window if(pageX+mwidth > screenWidth){ css({left:pageX-mwidth}); } if(pageX < mwidth ){ if(mwidth < screenWidth) css({left:pageX-10}); else css({left:0}); log('soldan yer chatmir'); } log(pageX); //if the menu is close to bottom edge of the window if(pageY+mheight > screenHeight+scrTop){ css({top:pageY-mheight}); } //finally show the menu show(); }); $("html").on("click", function(){ $(".xf5718cbfaeb771f35966c7a0738cc4b7contextmenu").hide(); }); }); //context menu var xf5718cbfaeb771f35966c7a0738cc4b7hash = hash; if(xf5718cbfaeb771f35966c7a0738cc4b7hash=="#matcher") { $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_click').click(); } }); function closemenu(){ var width = $(window).width(); if(width < 1100){ $("xf5718cbfaeb771f35966c7a0738cc4b7menu").slideUp(); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button').css('display','block'); $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').css('display','none'); } } function rowlist(checked){ $(".xf5718cbfaeb771f35966c7a0738cc4b7divTableBody .xf5718cbfaeb771f35966c7a0738cc4b7rowbody").hide(); var f = 1; $(".xf5718cbfaeb771f35966c7a0738cc4b7trow").each(function() { if($(this).attr('id') == 'xf5718cbfaeb771f35966c7a0738cc4b7emptyrow') $(this).remove(); t = $(this).attr('class').split(' '); saygac = 0; for(i = 0; i < length; i++){ if( 0 <= indexof( checked[i] ) ){ saygac++; } } if(length == saygac && saygac != 0){ $(this).find('.xf5718cbfaeb771f35966c7a0738cc4b7numberofcasino').removeClass('xf5718cbfaeb771f35966c7a0738cc4b7first_casino').addClass('xf5718cbfaeb771f35966c7a0738cc4b7other_casino'); $(this).find('.xf5718cbfaeb771f35966c7a0738cc4b7numberofcasino').text(f); $(this).show(); f++; var emptyrow = '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; emptyrow += '
'; $(this).before(emptyrow); } }); f = 1; } function FeelLucky(site_url){ if( $(window).width()<768 ) $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button,xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').click(); $('body').append('
'); $.ajax({ type: 'post', url: site_url+'', data: 'l='+lg, success: function (result){ $('.xf5718cbfaeb771f35966c7a0738cc4b7load_content').html(result); var marginleft; var wwidth = $(window).width(); var mwidth = $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main').width(); marginleft = (wwidth - mwidth)/2; $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main').css('margin-left',marginleft+'px') } }); } function Rank(sm,site_url){ if( $(window).width()<768 ) $('xf5718cbfaeb771f35966c7a0738cc4b7mb_button,xf5718cbfaeb771f35966c7a0738cc4b7mb_button_opened').click(); $('body').append('
'); $.ajax({ type: 'post', url: site_url+'', data:'sm='+sm+'&l='+lg, success: function (result){ $('.xf5718cbfaeb771f35966c7a0738cc4b7load_content').html(result); var marginleft; var wwidth = $(window).width(); var mwidth = $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main').width(); marginleft = (wwidth - mwidth)/2; $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main').css('margin-left',marginleft+'px'); var rankheight = $('.xf5718cbfaeb771f35966c7a0738cc4b7rank_content').height() + 200; $('.xf5718cbfaeb771f35966c7a0738cc4b7body').css('height',rankheight); $('body').css('height',rankheight); } }); } function OWL(){ /*var owl_cat_game = $('#matcher_game'); owlcarousel({ margin: 0, loop: false, nav: false, dots: true, navText: [ "", "" ], responsive: { 0: { items: 5 }, 600: { items: 5 }, 1000: { items: 5 } } }); */ /*var owl_cat_device = $('#matcher_device'); owlcarousel({ margin: 0, loop: false, nav: false, dots: true, navText: [ "", "" ], responsive: { 0: { items: 3 }, 600: { items: 3 }, 1000: { items: 3 } } });*/ /*var owl_cat_payment = $('#matcher_payment'); owlcarousel({ margin: 0, loop: false, nav: false, dots: true, navText: [ "", "" ], responsive: { 0: { items: 5 }, 600: { items: 5 }, 1000: { items: 5 } } });*/ /*var owl_cat_level = $('#matcher_level'); owlcarousel({ margin: 0, loop: false, nav: false, dots: true, navText: [ "", "" ], responsive: { 0: { items: 3 }, 600: { items: 3 }, 1000: { items: 3 } } });*/ } function close_popup_main(){ $(".xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay").remove(); $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main').remove(); } function close_popup(){ $(".xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay").remove(); $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main').remove(); $('.xf5718cbfaeb771f35966c7a0738cc4b7body').css('height','auto'); } function close_popup_matcher(){ matcher = []; //log(matcher); $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main_matcher .xf5718cbfaeb771f35966c7a0738cc4b7active_item').removeClass('xf5718cbfaeb771f35966c7a0738cc4b7active_item'); $(".xf5718cbfaeb771f35966c7a0738cc4b7popup_overlay_matcher").css('display','none'); $('.xf5718cbfaeb771f35966c7a0738cc4b7popup_main_matcher').css('display','none'); $('.xf5718cbfaeb771f35966c7a0738cc4b7matcher_content').attr('style','z-index:-1;opacity:0;'); } function redirect(url){ open(url, '_blank'); }