<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var base_url = $("#base_url").val();
(function($) {
    "use strict";
    $(window).on('load', function() {
        $.material.init();
        $('.dropdown-toggle').dropdown()
        $('.search-icon').on('click', function() {
            $('.navbar-form').fadeIn(300);
            $('.navbar-form input').focus();
        });
        $('.navbar-form input').blur(function() {
            $('.navbar-form').fadeOut(300);
        });
        $('.carousel').carousel()
        $('#preloader').fadeOut();
        $(window).on('scroll', function() {
            if ($(window).scrollTop() &gt; 200) {
                $('.scrolling-navbar').addClass('top-nav-collapse');
            } else {
                $('.scrolling-navbar').removeClass('top-nav-collapse');
            }
        });
        $('.video-popup').magnificPopup({
            disableOn: 700,
            type: 'iframe',
            mainClass: 'mfp-fade',
            removalDelay: 160,
            preloader: false,
            fixedContentPos: false,
        });
        var wow = new WOW({
            mobile: false
        });
        wow.init();
        var owl = $(".testimonials-carousel");
        owl.owlCarousel({
            navigation: false,
            pagination: true,
            slideSpeed: 1000,
            stopOnHover: true,
            autoPlay: true,
            items: 1,
            itemsDesktopSmall: [1024, 1],
            itemsTablet: [600, 1],
            itemsMobile: [479, 1]
        });
        var owl = $("#carousel-full");
        owl.owlCarousel({
            navigation: true,
            navigationText: ['&lt;i class="mdi mdi-arrow-left"&gt;&lt;/i&gt;','&lt;i class="mdi mdi-arrow-right"&gt;&lt;/i&gt;'],
            pagination: false,
            slideSpeed: 1000,
            stopOnHover: true,
            autoPlay: true,
            items: 1,
            itemsDesktopSmall: [1024, 1],
            itemsTablet: [600, 1],
            itemsMobile: [479, 1]
        });
        $("#client-logo").owlCarousel({
            navigation: false,
            pagination: false,
            slideSpeed: 1000,
            stopOnHover: true,
            autoPlay: true,
            items: 4,
            itemsDesktopSmall: [1024, 3],
            itemsTablet: [600, 1],
            itemsMobile: [479, 1]
        });
        $("#flickr-carousel").owlCarousel({
            navigation: false,
            pagination: false,
            slideSpeed: 300,
            paginationSpeed: 400,
            items: 1,
            autoPlay: 3000,
            stopOnHover: true,
        });
        $("#Material-image-carousel").owlCarousel({
            navigation: true,
            pagination: false,
            slideSpeed: 300,
            paginationSpeed: 400,
            items: 4,
            autoPlay: 3000,
            stopOnHover: true,
        });
        $('#Material-image-carousel').find('.owl-prev').html('&lt;i class="mdi mdi-arrow-left"&gt;&lt;/i&gt;');
        $('#Material-image-carousel').find('.owl-next').html('&lt;i class="mdi mdi-arrow-right"&gt;&lt;/i&gt;');
        $("#team-carousel").owlCarousel({
            slideSpeed: 300,
            paginationSpeed: 400,
            items: 4,
            autoPlay: 3000,
            stopOnHover: true,
        });
        $('.work-counter-section').on('inview', function(event, visible, visiblePartX, visiblePartY) {
            if (visible) {
                $(this).find('.timer').each(function() {
                    var $this = $(this);
                    $({
                        Counter: 0
                    }).animate({
                        Counter: $this.text()
                    }, {
                        duration: 3000,
                        easing: 'swing',
                        step: function() {
                            $this.text(Math.ceil(this.Counter));
                        }
                    });
                });
                $(this).off('inview');
            }
        });
        $('#Material-portfolio').mixItUp();
        $('#myTab a').on('click', function(e) {
            e.preventDefault()
            $(this).tab('show')
        })
        $('.wpb-mobile-menu').slicknav({
            prependTo: '.navbar-header',
            parentTag: 'span',
            allowParentLinks: true,
            duplicate: false,
            label: '',
            closedSymbol: '&lt;i class="mdi mdi-chevron-right"&gt;&lt;/i&gt;',
            openedSymbol: '&lt;i class="mdi mdi-chevron-down"&gt;&lt;/i&gt;',
        });
        var offset = 200;
        var duration = 500;
        $(window).scroll(function() {
            if ($(this).scrollTop() &gt; offset) {
                $('.back-to-top').fadeIn(400);
            } else {
                $('.back-to-top').fadeOut(400);
            }
        });
        $('.back-to-top').click(function(event) {
            event.preventDefault();
            $('html, body').animate({
                scrollTop: 0
            }, 600);
            return false;
        });
    });

    window.addEventListener('load', function() {var forms = document.getElementsByClassName('needs-validation'); var validation = Array.prototype.filter.call(forms, function(form) {form.addEventListener('submit', function(event) {if (form.checkValidity() === false) {event.preventDefault(); event.stopPropagation(); } form.classList.add('was-validated'); }, false); }); }, false);

    $(".btn-interested").click(function() {
        $("#mdAlert").modal();
        $("#alertMessage").html('&lt;i class="fa fa-spin fa-spinner text-center"&gt;&lt;/i&gt;');
        $.ajax({
            type: 'POST',
            url: base_url + "bizpro/interested",
            data: {
                id: $(this).attr("data-id")
            },
            dataType: "json",
            success: function(result) {
                $("#mdAlert").modal();
                $("#alertMessage").html(result.message);
                if (result.status == "success") {
                    $(this).addClass('disabled');
                    // window.location.href = base_url + "" + $(this).attr("data-alias");
                }
            }
        })
    });
    $("#btn-follow").click(function () {$("#btn-follow").addClass('disabled'); $.ajax({type: 'POST', url: base_url + "bizpro/follow", data: {'read_company':$("#company_read").val()}, dataType: "json", success: function(result) {$("#btn-follow").removeClass('disabled'); $("#mdAlert").modal(); $("#alertMessage").html(result.message); if(result.status == 'success'){$("#btn-follow").html(result.btn); } } }); });
    
    $("#register-form").submit(function(e) {
        document.getElementById("submitRegister").disabled = true;
        $("#iLoading").show();
        $('.alert-content').hide();
        $('.alert-message').html('');
        e.preventDefault();
        var form = $(this);
        var values = form.serialize();
        $.ajax({
            type: 'POST',
            url: base_url + "users/submitRegister",
            data: values,
            dataType: "json",
            success: function(result) {
                $("#iLoading").hide();
                document.getElementById("submitRegister").disabled = false;
                grecaptcha.reset();
                if (result.status == "success") {
                    if(result.redirect !=''){
                        window.location.href = result.redirect;
                    }
                } else {
                    $('.alert-content').show();
                    $('.alert-message').html(result.message);
                }
            },
            error: function(a, b, c) {
                grecaptcha.reset();
            }
        })
    });

    $(".scrollTo").on('click', function(e) {
         e.preventDefault();
         var target = $(this).attr('href');
         $('html, body').animate({
           scrollTop: ($(target).offset().top -70)
         }, 1000);
    });
}(jQuery));

function retrieve_cdb() {$("#listCDB").html('&lt;tr&gt;&lt;td colspan="5"&gt;&lt;i class="fa fa-spinner fa-spin"&gt;&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;'); $.ajax({type: 'POST', url: base_url + "home/retrieve_cdb", data: {}, dataType: "json", success: function(result) {if(result.status == "success") {$("#listCDB").html(''); var list = result.data; for (var i=0; i &lt; list.length; i++) {row = '&lt;tr&gt;'; row += '&lt;td&gt;&lt;a href="'+base_url+'company-database/'+list[i].alias+'" style="color: #007bff;"&gt;'+list[i].company_name+'&lt;/a&gt;&lt;/td&gt;'; row += '&lt;td&gt;'+list[i].type_business+'&lt;/td&gt;'; row += '&lt;td class="d-none d-sm-block"&gt;'+list[i].type_product+'&lt;/td&gt;'; row += '&lt;td&gt;'+list[i].province+'&lt;/td&gt;'; row += '&lt;td class="d-none d-sm-block"&gt;&lt;a href="'+base_url+'company-database/'+list[i].alias+'" class="btn btn-sm btn-common"&gt;'+result.read_more+'&lt;/a&gt;&lt;/td&gt;'; row += '&lt;/tr&gt;'; $("#listCDB").append(row); } } } }) }
function retrieve_news() {$("#listNews").html('&lt;div class="col-md-6 col-lg-4 col-xl-4 wow animated fadeInUp" data-wow-delay=".3s"&gt;&lt;i class="fa fa-spinner fa-spin"&gt;&lt;/i&gt;&lt;/div&gt;'); $.ajax({type: 'POST', url: base_url + "home/retrieve_news", data: {}, dataType: "json", success: function(result) {if(result.status == "success") {$("#listNews").html(''); var list = result.data; for (var i=0; i &lt; list.length; i++) {var img = (list[i].image)? list[i].image:"no-image.png"; row = '&lt;div class="col-md-6 col-lg-4 col-xl-4 wow animated fadeInUp" data-wow-delay=".3s"&gt;'; row += '&lt;article class="single-blog-post"&gt;'; row += '&lt;div class="featured-image"&gt;'; row += '&lt;a href="'+base_url+'news/read/'+list[i].alias+'"&gt;'; row += '&lt;img src="'+base_url+'assets/images/news/'+img+'" alt=""&gt;'; row += '&lt;/a&gt;'; row += '&lt;/div&gt;'; row += '&lt;div class="post-meta"&gt;'; row += '&lt;a href="'+base_url+'news/read/'+list[i].alias+'"&gt;&lt;h2 class="subtitle"&gt;'+list[i].title+'&lt;/h2&gt;&lt;/a&gt;'; row += '&lt;b&gt;'+list[i].category+'/'+list[i].subcategory+'&lt;/b&gt;'; row += '&lt;p&gt;'+list[i].intro+'&lt;/p&gt;'; row += '&lt;/div&gt;'; row += '&lt;div class="meta-tags"&gt;'; row += '&lt;span class="comments"&gt;&lt;a href="#"&gt;&lt;i class="fa fa-calendar"&gt;&lt;/i&gt; '+list[i].date_update+'&lt;/a&gt;&lt;/span&gt;'; row += '&lt;a class="btn btn-round btn-fab" href="'+base_url+'news/read/'+list[i].alias+'"&gt;&lt;i class="material-icons mdi mdi-arrow-right"&gt;&lt;/i&gt;&lt;div class="ripple-container"&gt;&lt;/div&gt;&lt;/a&gt;'; row += '&lt;/div&gt;'; row += '&lt;/article&gt;'; row += '&lt;/div&gt;'; $("#listNews").append(row); } } } }) }

function mdRegister(channel) {
    $("#iLoading").hide();
    $("#formTab-1").hide();
    $("#formTab-2").hide();
    $("#formTab-3").hide();
    $("#formTab-4").hide();
    $("#formTab-c").hide();
    $("#btngoto2").hide();
    $("#btngoto4").hide();
    $("#btnbkto1").hide();
    $("#btnbkto3").hide();
    $("#mdHeadFree").hide();
    $("#mdHeadSilver").hide();
    $("#mdHeadGold").hide();
    // $("#tabcon_account").hide();
    $("#tabcon_profile").hide();
    $("#tabcon_company").hide();
    $("#c_accounttype").html("");
    $("#c_username").html("");
    $("#c_email").html("");
    $("#c_password").html("");
    $("#c_fullname").html("");
    $("#c_fullnamejp").html("");
    $("#c_division").html("");
    $("#c_position").html("");
    $("#c_companyname").html("");
    $("#c_businessline").html("");
    $("#c_password").html("");
    $("#c_address").html("");
    $("#c_phone").html("");
    $("#c_fax").html("");
    $("#c_website").html("");

    if(channel == 3) {
        document.getElementById("frmpackage").setAttribute('value', '3');
        $("#mdHeadFree").show();
        $("#formTab-1").show();
        $("#btngoto4").show();
        $("#btnbkto1").show();
        $("#btnbkto9").show();
        $("#c_accounttype").html("Free Account");
    }
    if(channel == 4) {
        document.getElementById("frmpackage").setAttribute('value', '4');
        $("#mdHeadSilver").show();
        $("#formTab-1").show();
        $("#btnbkto1").show();
        $("#btngoto2").show();
        $("#btnbkto9").show();
        $("#tabcon_profile").show();
        $("#tabcon_company").show();
        $("#c_accounttype").html("Silver Account");
    }
    if(channel == 5) {
        document.getElementById("frmpackage").setAttribute('value', '5');
        $("#mdHeadGold").show();
        $("#formTab-1").show();
        $("#btnbkto1").show();
        $("#btngoto2").show();
        $("#btnbkto9").show();
        $("#tabcon_profile").show();
        $("#tabcon_company").show();
        $("#c_accounttype").html("Gold Account");
    }

    $('.alert-content').hide();
    $('.alert-message').html('');
    $("#registerModal").modal();
    document.getElementById("register-form").reset();
    grecaptcha.reset();
}

function RegGoTo(phase) {
    $("#formTab-1").hide();
    $("#formTab-2").hide();
    $("#formTab-3").hide();
    $("#formTab-4").hide();
    $("#formTab-c").hide();
    if (phase == 1) {
        $("#formTab-1").show();
    }
    if (phase == 2) {
        $("#formTab-2").show();
    }
    if (phase == 3) {
        $("#formTab-3").show();
    }
    if (phase == 4) {
        $("#formTab-4").show();
    }
    if (phase == 9) {
        $("#formTab-c").show();
        $("#c_username").html($("#username").val());
        $("#c_email").html($("#email").val());
        $("#c_password").html("********");
        $("#c_fullname").html($("#form2_fullname_alfa").val());
        $("#c_fullnamejp").html($("#form2_fullname_japan").val());
        $("#c_division").html($("#form2_division").val());
        $("#c_position").html($("#form2_position").val());
        $("#c_companyname").html($("#form2_companyname").val());
        $("#c_businessline").html($("#form2_business_line").val());
        $("#c_address").html($("#companyaddress").val());
        $("#c_phone").html($("#form2_phone").val());
        $("#c_fax").html($("#form2_fax").val());
        $("#c_website").html($("#form2_company_website").val());
    }
}

$(".toggle-password").click(function() {var type = $("#form_password").attr("type"); if(type == 'password'){$("#form_password").attr("type", 'text'); $(this).removeClass("fa-eye-slash"); $(this).addClass("fa-eye"); }else{$("#form_password").attr("type", 'password'); $(this).removeClass("fa-eye"); $(this).addClass("fa-eye-slash"); } });

var intValAds = 0;
function intervalAds(count) {
    intValAds = count;
    if(count &lt; 7){
        setTimeout(function(){ 
            // loadads(1,$("#adsSide").val());
            loadads();
        }, 25000);
    }
}

// function loadads(pos,last) {
function loadads() {
    $.ajax({
        // url: base_url+"ads/loadAds/"+pos+"/"+last,
        url: base_url+"ads/loadAds/",
        type: "POST",
        data: {},
        dataType:"json",
        async: false,
        processData: false,
        contentType: false,
        success: function(result) {
            var AdsTopLeft = '&lt;img src="'+base_url+'assets/images/ads/'+result['tl'].banner+'" alt="" onclick="clickads('+result['tl'].id+')"&gt;';
            var AdsTopRight = '&lt;img src="'+base_url+'assets/images/ads/'+result['tr'].banner+'" alt="" onclick="clickads('+result['tr'].id+')"&gt;';
            var AdsBottomLeft = '&lt;img src="'+base_url+'assets/images/ads/'+result['bl'].banner+'" alt="" onclick="clickads('+result['bl'].id+')"&gt;';
            var AdsBottomRight = '&lt;img src="'+base_url+'assets/images/ads/'+result['br'].banner+'" alt="" onclick="clickads('+result['br'].id+')"&gt;';

            var AdsCenterLeft = '&lt;img src="'+base_url+'assets/images/ads/'+result['cl'].banner+'" alt="" onclick="clickads('+result['cl'].id+')"&gt;';
            var AdsCenterRight = '&lt;img src="'+base_url+'assets/images/ads/'+result['cr'].banner+'" alt="" onclick="clickads('+result['cr'].id+')"&gt;';

            $('#ads-top-left').html(AdsTopLeft);
            setTimeout(function(){
                $('#ads-top-right').html(AdsTopRight);
            }, 500);
            setTimeout(function(){
                $('#ads-bottom-left').html(AdsBottomLeft);
            }, 1500);
            setTimeout(function(){
                $('#ads-bottom-right').html(AdsBottomRight);
            }, 2000);
            setTimeout(function(){
                $('#ads-center-left').html(AdsCenterLeft);
                $('#ads-center-right').html(AdsCenterRight);
            }, 2000);
            intervalAds(intValAds+1);
        }        
    });
}

function clickads(id) {
    $.ajax({
        url: base_url+"ads/clickAds/"+id,
        type: "POST",
        data: {},
        dataType:"json",
        async: false,
        processData: false,
        contentType: false,
        success: function(result) {
            if(result.status == 'success'){
                var win = window.open(result.url, '_blank');
                win.focus();
            }
        }        
    });
}</pre></body></html>