<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var tbUtils={bind:function(el,ev,fn){if(window.addEventListener){el.addEventListener(ev,fn,false);}else if(window.attachEvent){el.attachEvent('on'+ev,fn);}else{el['on'+ev]=fn;}
return fn;},unbind:function(el,ev,fn){if(window.removeEventListener){el.removeEventListener(ev,fn,false);}else if(window.detachEvent){el.detachEvent('on'+ev,fn);}else{elem['on'+ev]=null;}},stop:function(ev){var e=ev||window.event;e.cancelBubble=true;if(e.stopPropagation){e.stopPropagation();}},resizeCallBacks:[],resizeContainers:[],onSizeChange:function(fn,namespace,unbind_namespace,container_id){if(typeof container_id=="undefined"||!container_id){container_id=String(Math.random());}
if(typeof unbind_namespace!="undefined"&amp;&amp;!unbind_namespace&amp;&amp;this.resizeContainers.indexOf(container_id)&gt;=0){return;}
this.resizeContainers.push(container_id);if(typeof namespace=="undefined"||!namespace){namespace='main';}
if(typeof unbind_namespace=="undefined"){unbind_namespace=false;}
if(this.resizeCallBacks[namespace]===undefined){this.resizeCallBacks[namespace]=[];}
var eventName=window.hasOwnProperty("onorientationchange")?"orientationchange":"resize";if(unbind_namespace){var unbind=this.unbind;Array.prototype.forEach.call(this.resizeCallBacks[namespace],function(callBack){unbind(window,eventName,callBack);});this.resizeCallBacks[namespace]=[];}
this.resizeCallBacks[namespace].unshift(fn);if(window.hasOwnProperty("onorientationchange")){return this.bind(window,"orientationchange",fn);}
var currentWidth=window.outerWidth;var orientationChanged=function(callBack){var newWidth=window.outerWidth;if(newWidth!==currentWidth){currentWidth=newWidth;callBack&amp;&amp;callBack();}};return this.bind(window,"resize",function(){orientationChanged(fn);});},onWindowLoaded:function(win,fn){var done=false,top=true,doc=win.document,root=doc.documentElement,modern=doc.addEventListener,add=modern?'addEventListener':'attachEvent',rem=modern?'removeEventListener':'detachEvent',pre=modern?'':'on',init=function(e){if(e.type=='readystatechange'&amp;&amp;doc.readyState!='complete')return;(e.type=='load'?win:doc)[rem](pre+e.type,init,false);if(!done&amp;&amp;(done=true))fn.call(win,e.type||e);},poll=function(){try{root.doScroll('left');}catch(e){setTimeout(poll,50);return;}
init('poll');};if(doc.readyState=='complete')fn.call(win,'lazy');else{if(!modern&amp;&amp;root.doScroll){try{top=!win.frameElement;}catch(e){}
if(top)poll();}
doc[add](pre+'DOMContentLoaded',init,false);doc[add](pre+'readystatechange',init,false);win[add](pre+'load',init,false);}},removeClass:function(el,className){if(!el){return;}
if(el.classList){var classValues=className.trim().split(' ');for(var i=0;i&lt;classValues.length;i++){if(el.classList.contains(classValues[i])){el.classList.remove(classValues[i]);}}}else{el.className=el.className.replace(new RegExp('(^|\\b)'+className.trim().split(' ').join('|')+'(\\b|$)','gi'),' ');}},addClass:function(el,className){if(!el){return;}
if(el.classList){var classValues=className.split(' ');for(var i=0;i&lt;classValues.length;i++){el.classList.add(classValues[i]);}}else{el.className+=' '+className;}},hasClass:function(el,className){if(!el){return;}
if(el.classList){el.classList.contains(className);}
else{new RegExp('(^| )'+className+'( |$)','gi').test(el.className);}},globalEval:function(code){var script=document.createElement("script");script.text=code;document.head.appendChild(script).parentNode.removeChild(script);}};function adjustItemSize(container,responsive_params,namespace){var $container=typeof container=="string"?document.querySelector(container):container;if(!$container){return;}
var $el=$container.querySelector(".tb_grid_view");if(!$el){return;}
if(responsive_params===undefined){responsive_params={"1900":{"items_per_row":8,"items_spacing":30},"1600":{"items_per_row":7,"items_spacing":30},"1400":{"items_per_row":6,"items_spacing":30},"1200":{"items_per_row":5,"items_spacing":30},"1000":{"items_per_row":4,"items_spacing":30},"800":{"items_per_row":3,"items_spacing":30},"600":{"items_per_row":2,"items_spacing":30},"400":{"items_per_row":1,"items_spacing":20}};}
var responsive_keys=[],current_per_row=0;for(var k in responsive_params){responsive_keys.push(Number(k));}
responsive_keys.sort(function(a,b){return a-b});function getRestrictions(c_width){var result={};for(var i=0;i&lt;responsive_keys.length;i++){result=responsive_params[responsive_keys[i]];if(c_width&lt;=responsive_keys[i]){break;}}
return result;}
var total_items=$el.childElementCount;function responsive(){var computed_style=getComputedStyle($container),container_width=$container.querySelector('.tb_side_nav')?$el.clientWidth:$container.clientWidth-(parseInt(computed_style.paddingRight)+parseInt(computed_style.paddingLeft)),restrictions=getRestrictions(container_width);if(current_per_row==restrictions.items_per_row){return;}
tbUtils.removeClass($el,'tb_size_1 tb_size_2 tb_size_3 tb_size_4 tb_size_5 tb_size_6 tb_size_7 tb_size_8 tb_multiline');tbUtils.removeClass($el,'tb_gut_0 tb_gut_10 tb_gut_20 tb_gut_30 tb_gut_40 tb_gut_50');tbUtils.addClass($el,'tb_size_'+restrictions.items_per_row+' '+'tb_gut_'+restrictions.items_spacing+(restrictions.items_per_row&lt;total_items?' tb_multiline':''));current_per_row=restrictions.items_per_row;}
responsive();if(typeof container!='string'||!container){container='';}
tbUtils.onSizeChange(responsive,namespace,false,"adjustItemSize_"+container);if(!$el.hasAttribute('data-nth_classes')){var last_item_indexes=[];if(total_items&gt;1){[2,3,4,5,6,7,8,9,10,11,12].forEach(function(key){last_item_indexes[key]=(Math.ceil(total_items / key)-1)*key;});}
[].forEach.call($el.children,function(el,i){[2,3,4,5,6,7,8,9,10,11,12].forEach(function(key){if(((i)/key)%1===0){tbUtils.addClass(el,'clear'+key);}});i++;last_item_indexes.forEach(function(key,index){if(i&gt;key){tbUtils.addClass(el,'tb_size_'+index+'_last');}});});$el.setAttribute('data-nth_classes','1');}}
function element_query(elements,sizes,child){Array.prototype.forEach.call(document.querySelectorAll(elements),function(el){if(sizes===undefined){sizes=el.getAttribute('data-sizes');}
if(!sizes){sizes=[1260,1040,768,480,0];}
if(typeof sizes=="string"){sizes=sizes.split(",").sort(function(a,b){return b-a;});}
var width_detect=(function($element,sizes,child){var max_w=sizes[0],min_w=sizes[sizes.length-1];return function(){var $el=$element;if(child!==undefined){$el=document.querySelector('#'+$element.id+' '+child);}
if(!$el){return;}
var computedStyle=getComputedStyle($el),width=$el.offsetWidth-parseInt(computedStyle.paddingRight)-parseInt(computedStyle.paddingLeft);for(var i=0;i&lt;sizes.length;i++){if(i==0){if(width&gt;sizes[i]){tbUtils.removeClass($el,'tb_max_w_'+max_w+' tb_min_w_'+min_w);max_w=0;min_w=sizes[i];tbUtils.addClass($el,'tb_min_w_'+min_w);break;}}else{if(width&gt;sizes[i]&amp;&amp;width&lt;=sizes[i-1]){tbUtils.removeClass($el,'tb_max_w_'+max_w+' tb_min_w_'+min_w);max_w=sizes[i-1];min_w=sizes[i];tbUtils.addClass($el,'tb_max_w_'+max_w+' tb_min_w_'+min_w);break;}}}}})(el,sizes,child);var el_id='element_query_'+String(Math.random());if(el.id!==undefined){if(el.id){el_id='#'+el.id;}else{el_id=el.nodeName+'_'+el.className.replace(" ","_")+"_"+String(Math.random());}}
width_detect();tbUtils.onSizeChange(width_detect,false,false,el_id);});}
tbUtils.is_touch='ontouchstart'in window||navigator.MaxTouchPoints||navigator.msMaxTouchPoints;(function(window){window.tbApp=window.tbApp||{};var data={"\/tb\/category_path":null,"\/tb\/route":"product\/product","\/tb\/cache_enabled":0,"\/tb\/url\/shopping_cart":"https:\/\/gsit.brp.com.my\/index.php?route=checkout\/cart","\/tb\/url\/search":"https:\/\/gsit.brp.com.my\/index.php?route=product\/search","\/tb\/url\/image_cache":"https:\/\/gsit.brp.com.my\/image\/cache\/catalog\/","\/tb\/url\/wishlist":"https:\/\/gsit.brp.com.my\/index.php?route=account\/wishlist","\/tb\/url\/compare":"https:\/\/gsit.brp.com.my\/index.php?route=product\/compare","\/tb\/is_customer_logged":0};for(var key in data)tbApp[key]=data[key];})(window);adjustItemSize('#RelatedProductsSystem_Sjw3U66g',{"1800":{"items_per_row":6,"items_spacing":30},"1500":{"items_per_row":5,"items_spacing":30},"1200":{"items_per_row":4,"items_spacing":30},"900":{"items_per_row":3,"items_spacing":30},"600":{"items_per_row":2,"items_spacing":30},"300":{"items_per_row":1,"items_spacing":30}});if(typeof window.tb_wishlist_label!='undefined'){Array.prototype.forEach.call(document.querySelectorAll('a.wishlist_total, li.wishlist_total &gt; a &gt; .tb_text'),function(el){var holder=document.createElement('span'),number=document.createTextNode(window.tb_wishlist_label.replace(/[^0-9]/g,''));holder.appendChild(number);holder.classList.add('tb_items');el.appendChild(holder);});}
window.tbCriticalLoaded=true;if(window.tbBoot!==undefined){window.tbBoot();}(function(window){window.tbApp=window.tbApp||{};function executeInline(tbApp){tbUtils.globalEval("\n  window.fbAsyncInit = function() {\n    FB.init({\n      xfbml            : true,\n      version          : 'v3.3'\n    });\n  };\n\n  (function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = 'https:\/\/connect.facebook.net\/en_US\/sdk\/xfbml.customerchat.js';\n  fjs.parentNode.insertBefore(js, fjs);\n}(document, 'script', 'facebook-jssdk'));\n$('#wrapper').on('click', '#btn-enquiry', function() {\n  var product_id = 0;\n  var product_name = 0;\n\n  var classList = $(this).attr(\"class\");\n  var classArr = classList.split(\/\\s+\/);\n  $.each(classArr, function(index, value){\n    if(value.indexOf(\"prod\") != -1){\n      var this_arr = value.split(\"--\");\n      product_id = this_arr[1];\n      product_name = this_arr[2];\n    }\n  });\n\n  if(product_id &amp;&amp; product_name){\n    $.ajax({\n      url: 'index.php?route=product\/enquiry&amp;product_id='+product_id+'&amp;product_name='+product_name,\n      type: 'post',\n      \/\/ data: {product_id : product_id, product_name : product_name},\n      success: function(data) {\n        $(\"#modal-enquiry &gt; .modal-dialog &gt; .modal-content &gt; .modal-body\").empty();\n        $(\"#modal-enquiry &gt; .modal-dialog &gt; .modal-content &gt; .modal-body\").append(data);\n      },\n      error: function(XMLHttpRequest, textStatus, errorThrown) { \n        console.log(\"Status: \" + textStatus); console.log(\"Error: \" + errorThrown); \n      }\n    });\n  }\n});\n\n  $('.tb_wt_header_logo_system').parent().addClass('tbLogoCol');\n  \n          tbUtils.removeClass(tbRootWindow.document.querySelector('.tb_wt_header_cart_menu_system .table-striped'), 'table-striped');\n          Array.prototype.forEach.call(tbRootWindow.document.querySelectorAll('.tb_wt_header_cart_menu_system td .btn'), function(el) {\n              tbUtils.removeClass(el, 'btn-danger btn-xs');\n              tbUtils.addClass(el, 'btn-default btn-sm tb_no_text');\n          });\n          \n          $('#btn-clear-cart').click(function() {\n            var r = confirm(\"Are you sure you want to clear the cart?\");\n            if (r == true) {\n              $.ajax({\n                url: 'index.php?route=checkout\/cart\/clearCart',\n                type: 'post',\n                dataType: 'json',\n                success: function(json) {\n                  location.reload();\n                },\n                error: function(xhr, ajaxOptions, thrownError) {\n                    alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);\n                }\n              });\n            }\n          });\n\n          $(document).ready(function() {\n            $('#mobile_cart_count').html(0);\n          });\n\n          \nvar priceOnly = parseFloat(285.0000);\n\nfunction gaAddToCart(){\n\t\t}\n\nfunction gaViewContent(){\n\t\t\t\n}\n\n$( document ).ready(function() {\n\tgaViewContent();\n});\n\ntbApp.onScriptLoaded(function() {\n\n    \/\/ Gallery\n\n    var $slider = new mightySlider(\n        '#product_images .frame',\n        {\n            speed:             500,\n            easing:            'easeOutExpo',\n            viewport:          'fill',\n            autoScale:         1,\n            preloadMode:       'instant',\n            navigation: {\n                slideSize:     '100%',\n                keyboardNavBy: 'slides'\n            },\n            commands: {\n                thumbnails:    0,\n                pages:         0,\n                buttons:       0            },\n                        dragging: {\n                swingSync:     5,\n                swingSpeed:    0.2\n            },\n                        thumbnails: {\n                thumbnailsBar:     '#product_images .tb_thumbs ul',\n                thumbnailsButtons: 0,\n                horizontal:        1,\n                thumbnailNav:      'centered',\n                thumbnailSize:     '20%'\n            },\n                        classes: {\n                loaderClass:   'tb_loading_bar'\n            }\n        }\n    );\n\n        function zoom_preview() {\n        $('#ProductImagesSystem_B5FObi8G .tb_zoom_box.tb_zoom_click').removeClass('tb_zoomed');\n        $('#ProductImagesSystem_B5FObi8G .tb_zoom_box').trigger('zoom.destroy').zoom({\n            url: $slider.slides[$slider.relative.activeSlide].options.cover,\n            on:  'click'\n        });\n    }\n\n    $('#ProductImagesSystem_B5FObi8G .tb_zoom_box.tb_zoom_click').bind('click', function(){\n        if ($(this).hasClass('tb_zoomed')) {\n            $(this).removeClass('tb_zoomed');\n        } else {\n            $(this).addClass('tb_zoomed');\n        }\n    });\n\n    $slider.one('coverLoaded', function (eventName) {\n      $('#product_images .tb_thumbs ul').removeClass('tb_grid_view tb_size_1 tb_size_2 tb_size_3 tb_size_4 tb_size_5 tb_size_6 tb_size_7 tb_size_8');\n    });\n\n    $slider.on('load moveEnd', function (eventName) {\n        zoom_preview();\n    });\n    \n    $slider.init();\n    $slider.activatePage(0);\n\n    \n    \/\/ Fullscreen gallery\n\n    var fullscreen_gallery_items = [\n      {\n        src:  'https:\/\/gsit.brp.com.my\/image\/cache\/\/catalog\/epson_logo\/EPSON-STYLUS-PR0-9600UC-4000-CYAN-1-500x500.jpg',\n        w:    500,\n        h:    500,\n        msrc: 'https:\/\/gsit.brp.com.my\/image\/cache\/\/catalog\/epson_logo\/EPSON-STYLUS-PR0-9600UC-4000-CYAN-1-220x220.jpg'\n      }\n          ];\n\n    $('#ProductImagesSystem_B5FObi8G .tbGoFullscreen').bind('click', function() {\n      lightbox_gallery('ProductImagesSystem_B5FObi8G', $slider, false, fullscreen_gallery_items);\n    });\n    \n    \/\/ Gallery changes detection\n\n    var myInterval = null;\n\n    jQuery('#content').on('change', ':input', function() {\n        var callback = function() {\n\n            var gallery,\n                new_gallery = false,\n                $images_src = $('#ProductImagesSystem_B5FObi8G .thumbnails');\n\n            fullscreen_gallery_items = [];\n\n            $images_src.find('a').each(function(index) {\n                gallery += '&lt;div data-mightyslider=\"type: \\'image\\', cover: \\'' + $(this).attr('href') + '\\', thumbnail: \\'' + $(this).find('img').attr('src') + '\\'\"&gt;&lt;\/div&gt;';\n\n                fullscreen_gallery_items.push({\n                  src:  $(this).attr('href'),\n                  w:    500,\n                  h:    500,\n                  msrc: $(this).find('img').attr('src')\n                });\n\n                if ($(this).attr('href') != $slider.slides[index].options.cover) {\n                    new_gallery = true;\n                }\n            });\n\n            if ($images_src.find('a').length != $slider.slides.length) {\n                new_gallery = true;\n            }\n\n            if (new_gallery) {\n                var slides_num = $slider.slides.length;\n\n                $slider.off('load');\n                for (var i = 0; i &lt; slides_num; i++) {\n                    $slider.remove('.mSSlide');\n                }\n                $slider.add(gallery);\n                $slider.on('load', function (eventName) {\n                  zoom_preview();\n                });\n            }\n\n            return new_gallery;\n        };\n\n        clearInterval(myInterval);\n\n        if (jQuery.active) {\n            $(document).one(\"ajaxStop.product-images\", function() {\n                var i = 0;\n\n                myInterval = setInterval(function () {\n                    if (callback() || i == 5) {\n                        clearInterval(myInterval);\n                    }\n                    i++;\n                }, 150);\n            });\n        } else {\n            setTimeout(function() {\n                callback();\n            }, 100);\n        }\n    });\n\n});\n\n$(document).ready(function() {\n    $('#content').find('select[name=\"profile_id\"], :input[name^=\"option\"], :input[name^=\"quantity\"]').change(function(){\n        $.ajax({\n            type: 'post',\n            url: 'index.php?route=tb\/getProductPrice',\n            dataType: 'json',\n            data: $('#content :checked, #content select, #content :input[name^=\"quantity\"], #content :input[name^=\"product_id\"]'),\n            success: function (data) {\n                if (typeof data.error != \"undefined\") {\n                    return;\n                }\n\n                var $priceWrap = $('.tb_wt_product_price_system');\n\n                if (!$priceWrap.find('.tb_integer')) {\n                    return;\n                }\n\n                if ($priceWrap.has('.price-old').length) {\n                    $priceWrap.find('.price-old').html(data.price);\n                    $priceWrap.find('.price-new').html(data.special);\n                    $priceWrap.find('.price-savings strong').text(data.savings_sum);\n                } else {\n                    $priceWrap.find('.price-regular').html(data.price);\n                }\n                $priceWrap.find(\".price-tax span\").html(data.subtotal);\n            },\n            error: function(xhr, ajaxOptions, thrownError) {\n                alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);\n            }\n        });\n    });\n\t\n\t\/\/ Show\/hide bundle breakdown upon clicking the bundle button\n\t$('#expand-bundle').on('click', function() {\n\t\t$('#bundle_details').toggle();\n\t\t$(\"i\", this).toggleClass(\"fa-chevron-down fa-chevron-up\");\n\t});\n});\n\n\t$(document).ready(function(){\n\t\t$('#buttonMore').hide();\n\t});\n\n\tfunction showHideDiv(balERPWMS) {\n\t\tvar srcElement = document.getElementById(balERPWMS);\n\t\tif (srcElement != null) {\n\t\t\tif (srcElement.style.display == \"block\") {\n\t\t\t\tsrcElement.style.display = 'none';\n\t\t\t}\n\t\t\telse {\n\t\t\t\tsrcElement.style.display = 'block';\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tfunction stockLevels(product_id){\n\t\t$.ajax({\n\t\t\turl: 'index.php?route=product\/product\/stockLevels',\n\t\t\ttype: 'post',\n\t\t\tdata: {product_id : product_id},\n\t\t\tsuccess: function(data) {\n\t\t\t\tvar stock_qty = data;\n\t\t\t\t\n\t\t\t\tif(stock_qty != 0){\n\t\t\t\t\t$('#stock_count').html('&lt;b&gt;'+stock_qty+'&lt;\/b&gt;');\n\t\t\t\t} else {\n\t\t\t\t\t$('#stock_count').html(\"\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\n\tfunction callLoadingImg() {\n\t\tif(document.getElementById(\"stock_count\")) {\n\t\t\tdocument.getElementById(\"stock_count\").innerHTML = '&lt;img src=\"catalog\/view\/image\/loading.gif\" \/&gt;';\n\t\t}\n\t}\n\n\tfunction apiCheckStock(using_warehouse, product_id, data_source, matching_code, model){\n\t\t$.ajax({\n\t\t\turl: 'index.php?route=product\/product\/ajaxAPI',\n\t\t\ttype: 'post',\n\t\t\tdata: 'apitype=stock_levels&amp;using_warehouse=' + encodeURIComponent(using_warehouse) + '&amp;product_id=' + encodeURIComponent(product_id) + '&amp;data_source=' + encodeURIComponent(data_source) + '&amp;matching_code=' + encodeURIComponent(matching_code) + '&amp;model=' + encodeURIComponent(model),\n\t\t\tdataType: 'json',\n\t\t\tbeforeSend: function() {\n\t\t\t\t\/\/$('#recurring-description').html('');\n\t\t\t},\n\t\t\tsuccess: function(json) {\n\t\t\t\t\/\/$('.alert, .text-danger').remove();\n\t\t\t\tvar jsonData = json.data;\n\t\t\t\tvar jsonDataERP = json.dataERP;\n\t\t\t\tvar jsonDataWMS = json.dataWMS;\n\t\t\t\tvar jsonDataOC = json.dataOc; \n\n\t\t\t\tif(jsonDataERP!=\"\") {\n\t\t\t\t\tif(jsonDataERP.length==1) {\n\t\t\t\t\t\tif(jsonDataERP[0][\"Bal\"].replace(\".0000\",\"\")!=\"\") {\n\t\t\t\t\t\t\tvar intBalERP = parseInt(jsonDataERP[0][\"Bal\"].replace(\".0000\",\"\"));\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tvar intBalERP = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tvar intBalERP = 0;\n\t\t\t\t}\n\n\t\t\t\tif(jsonDataWMS!=\"\") {\n\t\t\t\t\tif(jsonDataWMS.length==1) {\n\t\t\t\t\t\tif(jsonDataWMS[0][\"Bal\"]!=\"\") {\n\t\t\t\t\t\t\tvar intBalWMS = jsonDataWMS[0][\"Bal\"];\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tvar intBalWMS = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tvar intBalWMS = 0;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(jsonData!=\"\") {\n\t\t\t\t\tif(jsonData.length==1) {\n\t\t\t\t\t\tif(jsonData[0][\"Bal\"].replace(\".0000\",\"\")!=\"\") {\n\t\t\t\t\t\t\tvar intBal = parseInt(jsonData[0][\"Bal\"].replace(\".0000\",\"\"));\n\t\t\t\t\t\t\tif(!(\/^[0-9]+$\/.test(String(intBal)))) {\n\t\t\t\t\t\t\t\t$('#stock_count').html('&lt;b&gt;'+intBal+'&lt;\/b&gt;');\n\t\t\t\t\t\t\t} else if(intBal != 0) {\n\t\t\t\t\t\t\t\t$('#stock_count').html('&lt;b&gt;'+intBal+'&lt;\/b&gt;');\n\t\t\t\t\t\t\t\t$('#buttonMore').show();\n\t\t\t\t\t\t\t\t$(\"#buttonMore\").click(function(){\n\t\t\t\t\t\t\t\t\t$('#balERPWMS').html('&lt;div&gt;&amp;nbsp;&lt;\/div&gt;&lt;table class=\"table table-striped\"&gt;&lt;tr&gt;&lt;th style=\"text-align:center\"&gt;BRP Warehouse&lt;\/th&gt;&lt;th style=\"text-align:center\"&gt;Principal&amp;#39;s Warehouse&lt;\/th&gt;&lt;\/tr&gt;&lt;tr&gt;&lt;td style=\"width:50%;text-align:center\"&gt;'+intBalWMS+'&lt;\/td&gt;&lt;td style=\"width:50%;text-align:center\"&gt;'+intBalERP+'&lt;\/td&gt;&lt;\/tr&gt;&lt;\/table&gt;');\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#stock_count').html(\"\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$('#stock_count').html(\"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar arrMatchingCodes = matching_code.split(\"|\");\n\t\t\t\t\t\t$.each(jsonData, function( index, value ) {\n\t\t\t\t\t\t\tif(arrMatchingCodes.indexOf(value[\"prod_code\"])!=-1) {\n\t\t\t\t\t\t\t\tconsole.log(value[\"Bal\"]);\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(value[\"Bal\"].replace(\".0000\",\"\")!=\"\") {\n\t\t\t\t\t\t\t\t\t$('#stock_count').html(value[\"Bal\"].replace(\".0000\",\"\"));\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t$('#stock_count').html(0);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t$('#stock_count').html(0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$('#stock_count').html(0);\n\t\t\t\t}\t\n\t\t\t}\n\t\t});\n\t}\n\t\ntbApp.onScriptLoaded(function() {\n    $('#input-quantity').TouchSpin({\n        max: 1000000000,\n        verticalbuttons: true,\n        verticalupclass: 'fa fa-caret-up',\n        verticaldownclass: 'fa fa-caret-down'\n    });\n});\n\n$('#button-cart').on('click', function() {\n\tvar input_quantity = parseInt($(\"#input-quantity\").val());\n\tvar total_quantity = parseInt(\"0\");\n  var product_id = \"3384\";\n  var cart_quantity = 0;\n  var upcoming_quantity = 0;\n  var request_1 =  $.ajax({\n\t\turl: 'index.php?route=product\/product\/checkCartQuantity'+'&amp;product_id='+product_id,\n\t\tdataType: 'json',\n\t\tdata: {product_id : product_id},\n\t\tsuccess: function(json) {\n      cart_quantity = parseInt(json['cart_quantity']);\n      \n      upcoming_quantity = cart_quantity + input_quantity;\n\t\t}\n\t});\n  request_1.done(function() {\n          addToCart();\n      });\n});\nfunction addToCart(){\n    var url          = window.location.href,\n\tbutton_width = $('#button-cart').width(),\n\tbutton_text  = $('#button-cart').text();\t\t\n\n    $.ajax({\n        url: 'index.php?route=checkout\/cart\/add',\n        type: 'post',\n        data: $('.product-info input[type=\\'text\\'], .product-info input[type=\\'number\\'], .product-info input[type=\\'date\\'], .product-info input[type=\\'datetime\\'], .product-info input[type=\\'hidden\\'], .product-info input[type=\\'radio\\']:checked, .product-info input[type=\\'checkbox\\']:checked, .product-info select, .product-info textarea'),\n        dataType: 'json',\n        beforeSend: function() {\n            $('#button-cart').attr('disabled', true);\n            $('#button-cart').text('');\n            $('#button-cart').width(button_width);\n            $('#button-cart').append('&lt;i class=\"fa fa-circle-o-notch fa-spin\"&gt;&lt;\/i&gt;');\n        },\n\t\tcomplete: function() {\n\t\t\tgaAddToCart();\n        },\n        success: function(json) {\n            $('.alert, .text-danger').remove();\n            $('.form-group').removeClass('has-error');\n\n            setTimeout(function(){\n                $('#button-cart').next('.fa-spin').remove();\n                $('#button-cart').css('width','');\n                $('#button-cart').text('');\n                $('#button-cart').append('&lt;i class=\"fa fa-shopping-cart\"&gt;&lt;\/i&gt;');\n                $('#button-cart').append(button_text);\n                $('#button-cart').attr('disabled', false);\n            },500);\n\n            if (json['error']) {\n                var errors = '';\n\n                if (json['error']['option']) {\n                    for (i in json['error']['option']) {\n                        var element = $('#input-option' + i.replace('_', '-'));\n            \n                        element.parents('.form-group').first().find('&gt; label + div').append('&lt;div class=\"text-danger\"&gt;' + json['error']['option'][i] + '&lt;\/div&gt;');\n                    }\n                }\n                if (json['error']['recurring']) {\n                    $('select[name=\"recurring_id\"]').after('&lt;span class=\"error\"&gt;' + json['error']['recurring'] + '&lt;\/span&gt;');\n                }\n                \/\/ Highlight any found errors\n                $('.text-danger').each(function() {\n                    $(this).parents('.form-group').first().addClass('has-error');\n                });\n                \/\/ Popup any found errors\n                \/\/ displayNotice('product', 'failure', 'product', errors);\n\t\t\t\tdisplayNotice('product', 'failure', 'product', json['error']);\n            }\n            if (json['success']) {\n                $.get('index.php?route=common\/cart\/info', function(result) {\n                    var $container = $(tbRootWindow.document).find('.tb_wt_header_cart_menu_system');\n\n                    $container.find('.heading').replaceWith($(result).find('.heading').clone());\n                    $container.find('.content').replaceWith($(result).find('.content').clone());\n\n                    tbApp.triggerResizeCallbacks();\n                });\n\n                displayNotice('product', 'success', 3384, json['success']);\n            }\n        },\n        error: function(xhr, ajaxOptions, thrownError) {\n            alert(thrownError + \"\\r\\n\" + xhr.statusText + \"\\r\\n\" + xhr.responseText);\n        }\n    });\n}\n\ntbApp.onScriptLoaded(function() {\n\n            var loadTwitter = function () {\n        !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=\/^http:\/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+':\/\/platform.twitter.com\/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');\n    };\n    \n            var loadGplus = function () {\n        (function(){var po=document.createElement('script');po.type='text\/javascript';po.async=true;po.src='https:\/\/apis.google.com\/js\/platform.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(po,s);})();\n    };\n    \n        \n        \n        $(document).on('lazybeforeunveil', function(e) {\n        if ($(e.target).filter('#ProductShareSystem_F2x642Dk').length) {\n\n                                    var parseFBXML = function() {\n                FB.XFBML.parse(document.getElementById('ProductShareSystem_F2x642Dk'));\n            };\n            if (window.FB_XFBML_parsed === undefined) {\n                window.FB_XFBML_parsed = parseFBXML;\n            } else {\n                parseFBXML();\n            }\n            \n                                    loadTwitter();\n            \n                                    loadGplus();\n            \n                        \n                                }\n    });\n    });\n\n    function onloadCallback() {\n        \/* Place your recaptcha rendering code here *\/\n        console.log('1');\n        grecaptcha.ready(function() {\n        \/\/ do request for recaptcha token\n        \/\/ response is promise with passed token\n            grecaptcha.execute('6LcDy4koAAAAAHDcL7znkWEMDy1alKlkCQmRAjRb', {action:'validate_captcha'})\n                      .then(function(token) {\n                        console.log('2');\n                \/\/ add token value to form\n                $('input[name=\"g-recaptcha-response\"]').val(token);\n            });\n            setInterval(function(){\n              grecaptcha.execute('6LcDy4koAAAAAHDcL7znkWEMDy1alKlkCQmRAjRb', {action: 'validate_captcha'})\n              .then(function(token) {\n                console.log( 'google captcha token refreshed' );\n                $('input[name=\"g-recaptcha-response\"]').val(token);\n              });\n            }, 60000);\n        });\n    }\n\n\n    $(\"label[for|='input-captcha']\").removeClass( \"col-sm-2\" );  \n    $(\"#input-captcha\").parent().removeClass( \"col-sm-10\" );\n        \n    $(\"legend\").hide();\n    $(\"[for='input-captcha']\").parent().css( \"margin-top\", \"0\" );\n\n\n$(window).on(\"load\", function () {\n    $('#review').delegate('.pagination a', 'click', function(e) {\n      e.preventDefault();\n      $('#review').fadeOut('slow');\n\n      $('#review').load(this.href);\n\n      $('#review').fadeIn('slow');\n\n    });\n\n    $('#review').load('index.php?route=product\/product\/review&amp;product_id=3384');\n\n    $('#tbReviewFormWrap').detach().appendTo('body');\n\n    $('.tbReviewForm .buttons .btn').bind('click', function() {\n        $.ajax({\n            url: 'index.php?route=product\/product\/write&amp;product_id=3384',\n            type: 'post',\n            dataType: 'json',\n                        data: $(\".tbReviewForm\").serialize(),\n                        beforeSend: function() {\n                $('.tbReviewForm').addClass('tb_blocked tb_loading');\n                $('.tbReviewForm').prepend('&lt;i class=\"fa fa-circle-o-notch fa-spin\"&gt;&lt;\/i&gt;');\n                $('.tbReviewForm .buttons .tb_button').attr('disabled', true);\n            },\n            complete: function() {\n                $('#captcha').attr('src', 'index.php?route=tool\/captcha#'+new Date().getTime());\n                $('input[name=\\'captcha\\']').val('');\n            },\n            success: function(json) {\n                $('.tbReviewForm .alert').remove();\n                $('.tbReviewForm').find('&gt; .fa-spin').remove();\n                $('.tbReviewForm').removeClass('tb_blocked tb_loading');\n                $('.tbReviewForm .tb_submit .tb_button').attr('disabled', false);\n\n                if (json['error']) {\n                    $('.tbReviewForm').prepend('&lt;div class=\"alert alert-danger\"&gt;&lt;i class=\"fa fa-exclamation-circle\"&gt;&lt;\/i&gt; ' + json['error'] + '&lt;\/div&gt;');\n                }\n\n                if (json['success']) {\n                                        $('.tbReviewForm').before('&lt;div class=\"alert alert-success\"&gt;&lt;i class=\"fa fa-check-circle\"&gt;&lt;\/i&gt; ' + json['success'] + '&lt;\/div&gt;');\n                    $('.tbReviewForm').hide();\n\n                    $('input[name=\\'name\\']').val('');\n                    $('textarea[name=\\'text\\']').val('');\n                    $('input[name=\\'rating\\']:checked').prop('checked', false);\n                    $('#captcha').attr('src', 'index.php?route=tool\/captcha#'+new Date().getTime());\n                    $('input[name=\\'captcha\\']').val('');\n                    \/\/ No longer used on google recaptcha V3\n                    \/\/ if (typeof grecaptcha != 'undefined' &amp;&amp; grecaptcha.reset !== undefined) {\n                    \/\/    grecaptcha.reset();\n                    \/\/ } \n\n                    var closeDialogTimeout = setTimeout(function(){\n                        $(\"#tbReviewFormWrap\").modal('hide');\n                    }, 4000);\n\n                    $(\"#tbReviewFormWrap\").on('hidden.bs.modal', function() {\n                        $('#tbReviewFormWrap .alert').remove();\n                        $('.tbReviewForm').show();\n                        clearTimeout(closeDialogTimeout);\n                    });\n                }\n            }\n        });\n    });\n});\n\ntbApp.on(\"inlineScriptsLoaded\", function() {\n        $(document).on('lazybeforeunveil', function(e) {\n        if ($(e.target).filter('#Group_AYu75Txx').length) {\n            createGroup('Group_AYu75Txx', 'tabs');\n        }\n    });\n    });\n\n\ntbApp.initRelatedProductsSystem_Sjw3U66g = function() {\n    tbApp.onScriptLoaded(function() {\n\n        if (!tbUtils.is_touch) {\n\n                                    thumb_hover('#RelatedProductsSystem_Sjw3U66g', 'overlay');\n            \n                        \n                        \n        }\n\n                        tbApp.itemSliderRelatedProductsSystem_Sjw3U66g = createItemSlider('#RelatedProductsSystem_Sjw3U66g', 10, 1, 500, '#RelatedProductsSystem_Sjw3U66g .tb_slider_pagination', {\"1800\":{\"items_per_row\":6,\"items_spacing\":30},\"1500\":{\"items_per_row\":5,\"items_spacing\":30},\"1200\":{\"items_per_row\":4,\"items_spacing\":30},\"900\":{\"items_per_row\":3,\"items_spacing\":30},\"600\":{\"items_per_row\":2,\"items_spacing\":30},\"300\":{\"items_per_row\":1,\"items_spacing\":30}}, 0, 0);\n\n        if (tbApp.itemSliderRelatedProductsSystem_Sjw3U66gSwiperPromiseCallback !== undefined) {\n            tbApp.itemSliderRelatedProductsSystem_Sjw3U66g.swiperPromise.done(tbApp.itemSliderRelatedProductsSystem_Sjw3U66gSwiperPromiseCallback);\n        }\n        \n                \n    });\n};\ntbApp.execRelatedProductsSystem_Sjw3U66g = function() {\n    tbApp.onScriptLoaded(function() {\n                        if (false || (!true &amp;&amp; !1)) {\n            adjustItemSize('#RelatedProductsSystem_Sjw3U66g', {\"1800\":{\"items_per_row\":6,\"items_spacing\":30},\"1500\":{\"items_per_row\":5,\"items_spacing\":30},\"1200\":{\"items_per_row\":4,\"items_spacing\":30},\"900\":{\"items_per_row\":3,\"items_spacing\":30},\"600\":{\"items_per_row\":2,\"items_spacing\":30},\"300\":{\"items_per_row\":1,\"items_spacing\":30}});\n        }\n        \n                        tbApp.itemSliderRelatedProductsSystem_Sjw3U66g.refresh();\n            });\n};\n\nif (!false) {\n    if (!1) {\n        tbApp.initRelatedProductsSystem_Sjw3U66g();\n        tbApp.execRelatedProductsSystem_Sjw3U66g();\n    } else {\n        $(document).on('lazybeforeunveil', function(e) {\n            if ($(e.target).filter('#RelatedProductsSystem_Sjw3U66g').length) {\n                tbApp.initRelatedProductsSystem_Sjw3U66g();\n                tbApp.execRelatedProductsSystem_Sjw3U66g();\n            }\n        });\n    }\n}\n\nfunction checkStock(product_id, product_min=1){\n  var input_quantity = parseInt(product_min);\n  var upcoming_quantity = 0;\n\tvar cart_quantity = 0;\n\n\t$.ajax({\n\t\turl: 'index.php?route=product\/product\/stockLevels',\n\t\ttype: 'post',\n\t\tdata: {product_id : product_id},\n\t\tsuccess: function(data) {\n\t\t\tvar stock_qty = data;\n  \n              cart.add(product_id, product_min);\n      \t\t}\n\t});\n}\n\ntbApp.initLatestProducts_R64e1SF7 = function() {\n    tbApp.onScriptLoaded(function() {\n                $('#LatestProducts_R64e1SF7').on('click', '.display &gt; a', function() {\n            if ($(this).is('.tb_main_color')) {\n                return false;\n            }\n            $.cookie('listingType', $(this).data('view'), { path: '\/' });\n            location.reload();\n        });\n        \n        if (!tbUtils.is_touch) {\n\n                        \n                        \n                                    item_hover('#LatestProducts_R64e1SF7', '', '.image, .name, h4, .price, .rating', 'append');\n            \n        }\n\n                \n                \n    });\n};\ntbApp.execLatestProducts_R64e1SF7 = function() {\n    tbApp.onScriptLoaded(function() {\n                \n                    });\n};\n\nif (!false) {\n    if (!1) {\n        tbApp.initLatestProducts_R64e1SF7();\n        tbApp.execLatestProducts_R64e1SF7();\n    } else {\n        $(document).on('lazybeforeunveil', function(e) {\n            if ($(e.target).filter('#LatestProducts_R64e1SF7').length) {\n                tbApp.initLatestProducts_R64e1SF7();\n                tbApp.execLatestProducts_R64e1SF7();\n            }\n        });\n    }\n}\n\ntbApp.execIconList_Qqqj0bMi = function() {\n    tbApp.onScriptLoaded(function() {\n\n                        $('#IconList_Qqqj0bMi .tb_icon_wrap').each(function() {\n            if ($(this).next('.tb_description_wrap').length) {\n                var tooltip  = $(this).next('.tb_description_wrap').find('.tb_description').html(),\n                    template = '&lt;div class=\"ui-tooltip ui-widget-content\"&gt;' +\n                               '  &lt;div class=\"tooltip-inner\"&gt;&lt;\/div&gt;' +\n                               '&lt;\/div&gt;';\n\n                $(this).tooltip({\n                    placement: 'auto top',\n                    title: tooltip,\n                    html: true,\n                    template: template\n                });\n            }\n        });\n        \n                    });\n};\n\n$(document).on('lazybeforeunveil', function(e) {\n    if ($(e.target).filter('#IconList_Qqqj0bMi').length) {\n        tbApp.execIconList_Qqqj0bMi();\n    }\n});\n\n\t\t\t\t\tvar live_search = {\n\t\t\t\t\t\tselector: '#search input[name=\\'search\\']',\n\t\t\t\t\t\ttext_no_matches: 'There is no product that matches the search criteria.',\n\t\t\t\t\t\theight: '110px'\n\t\t\t\t\t}\n\n\t\t\t\t\t$(document).ready(function() {\n\t\t\t\t\t\tvar html = '';\n\t\t\t\t\t\thtml += '&lt;div class=\"live-search\"&gt;';\n\t\t\t\t\t\thtml += '\t&lt;ul&gt;';\n\t\t\t\t\t\thtml += '\t&lt;\/ul&gt;';\n\t\t\t\t\t\thtml += '&lt;div class=\"result-text\"&gt;&lt;\/div&gt;';\n\t\t\t\t\t\thtml += '&lt;\/div&gt;';\n                                                var myTimer = 0;\n\n\t\t\t\t\t\t\/\/$(live_search.selector).parent().closest('div').after(html);\n\t\t\t\t\t\t$(live_search.selector).after(html);\n\n\t\t\t\t\t\t$(live_search.selector).autocomplete({\n\t\t\t\t\t\t\t'source': function(request, response) {\n\t\t\t\t\t\t\t\tvar filter_name = $(live_search.selector).val();\n\t\t\t\t\t\t\t\tvar live_search_min_length = '3';\n\t\t\t\t\t\t\t\tif (filter_name.length &lt; live_search_min_length) {\n\t\t\t\t\t\t\t\t\t$('.live-search').css('display','none');\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse{\n                                                                        if (myTimer) {\n                                                                            clearTimeout(myTimer);\n                                                                        }\n                                                                        myTimer = setTimeout(function() {\n\t\t\t\t\t\t\t\t\tvar html = '';\n\t\t\t\t\t\t\t\t\thtml += '&lt;li style=\"text-align: center;height:10px;\"&gt;';\n\t\t\t\t\t\t\t\t\thtml +=\t'&lt;img class=\"loading\" src=\"catalog\/view\/theme\/default\/image\/loading.gif\" \/&gt;';\n\t\t\t\t\t\t\t\t\thtml +=\t'&lt;\/li&gt;';\n\t\t\t\t\t\t\t\t\t$('.live-search ul').html(html);\n\t\t\t\t\t\t\t\t\t$('.live-search').css('display','block');\n\n\t\t\t\t\t\t\t\t\t$.ajax({\n\t\t\t\t\t\t\t\t\t\turl: 'index.php?route=product\/live_search&amp;filter_name=' +  encodeURIComponent(filter_name),\n\t\t\t\t\t\t\t\t\t\tdataType: 'json',\n\t\t\t\t\t\t\t\t\t\tsuccess: function(result) {\n\t\t\t\t\t\t\t\t\t\t\tvar products = result.products;\n\t\t\t\t\t\t\t\t\t\t\t$('.live-search ul li').remove();\n\t\t\t\t\t\t\t\t\t\t\t$('.result-text').html('');\n\t\t\t\t\t\t\t\t\t\t\tif (!$.isEmptyObject(products)) {\n\t\t\t\t\t\t\t\t\t\t\t\tvar show_image = 1;\n\t\t\t\t\t\t\t\t\t\t\t\tvar show_price = 1;\n\t\t\t\t\t\t\t\t\t\t\t\tvar show_description = 1;\n\t\t\t\t\t\t\t\t\t\t\t\t$('.result-text').html('&lt;a href=\"https:\/\/gsit.brp.com.my\/index.php?route=product\/search&amp;amp;search='+filter_name+'\" class=\"view-all-results\"&gt;View More ('+result.total+')&lt;\/a&gt;');\n\n\t\t\t\t\t\t\t\t\t\t\t\t$.each(products, function(index,product) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tvar html = '';\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;li&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;a href=\"' + product.url + '\" title=\"' + product.name + '\"&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(product.image &amp;&amp; show_image){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '\t&lt;div class=\"product-image\"&gt;&lt;img alt=\"' + product.name + '\" src=\"' + product.image + '\"&gt;&lt;\/div&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '\t&lt;div class=\"product-name\"&gt;' + product.name ;\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(show_description){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;p&gt;' + product.extra_info + '&lt;\/p&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;\/div&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\tif(show_price){\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (product.special) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '\t&lt;div class=\"product-price\"&gt;&lt;span class=\"special\"&gt;' + product.price + '&lt;\/span&gt;&lt;span class=\"price\"&gt;' + product.special + '&lt;\/span&gt;&lt;\/div&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '\t&lt;div class=\"product-price\"&gt;&lt;span class=\"price\"&gt;' + product.price + '&lt;\/span&gt;&lt;\/div&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;span style=\"clear:both\"&gt;&lt;\/span&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;\/a&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;\/li&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\t\t$('.live-search ul').append(html);\n\t\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\tvar html = '';\n\t\t\t\t\t\t\t\t\t\t\t\thtml += '&lt;li style=\"text-align: center;height:10px;\"&gt;';\n\t\t\t\t\t\t\t\t\t\t\t\thtml +=\tlive_search.text_no_matches;\n\t\t\t\t\t\t\t\t\t\t\t\thtml +=\t'&lt;\/li&gt;';\n\n\t\t\t\t\t\t\t\t\t\t\t\t$('.live-search ul').html(html);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t$('.live-search ul li').css('height',live_search.height);\n\t\t\t\t\t\t\t\t\t\t\t$('.live-search').css('display','block');\n\t\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n                                                                        }, 750);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t'select': function(product) {\n\t\t\t\t\t\t\t\t$(live_search.selector).val(product.name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\t$(document).bind( \"mouseup touchend\", function(e){\n\t\t\t\t\t\t  var container = $('.live-search');\n\t\t\t\t\t\t  if (!container.is(e.target) &amp;&amp; container.has(e.target).length === 0)\n\t\t\t\t\t\t  {\n\t\t\t\t\t\t    container.hide();\n\t\t\t\t\t\t  }\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\/\/\nsticky_header (\n  \"minimal\",\n  \"full_fixed\",\n  \"20px 40px\"\n);\n\nscroll_to_top ();\n tbApp.trigger(\"inlineScriptsLoaded\");");}
if(window.tbApp.onScriptLoaded!==undefined){window.tbApp.onScriptLoaded(function(){executeInline.call(window,window.tbApp);});}else{window.tbApp.executeInline=executeInline;}})(window);</pre></body></html>