< script > Out For sfml.co.nz

The code you see in this area creates the libraries of java script code for a website. Java script codes are used with html. Such as adding effects to objects, providing foreground and background code interactivity, and so on.

<script type="text/javascript"> RokSprocket = { SiteURL: '', CurrentURL: '', AjaxURL: '' } </script></br><script src="/plugins/system/helix/js/jquery.min.js" type="text/javascript"></script></br><script src="/prettyphoto/3.1.5/js/jquery.prettyPhoto.js" type="text/javascript"></script></br><script src="/media/system/js/mootools-core.js" type="text/javascript"></script></br><script src="/media/system/js/core.js" type="text/javascript"></script></br><script src="/media/system/js/caption.js" type="text/javascript"></script></br><script src="/media/system/js/mootools-more.js" type="text/javascript"></script></br><script src="/plugins/system/rokbox/assets/js/rokbox.js" type="text/javascript"></script></br><script src="/plugins/system/helix/js/jquery-noconflict.js" type="text/javascript"></script></br><script src="/plugins/system/helix/js/bootstrap.min.js" type="text/javascript"></script></br><script src="/js/modernizr.custom.2.8.3.min.js" type="text/javascript"></script></br><script src="/plugins/system/helix/js/helix.core.js" type="text/javascript"></script></br><script src="/plugins/system/helix/js/menu.js" type="text/javascript"></script></br><script src="/js/uikit.js" type="text/javascript"></script></br><script src="/js/template.js" type="text/javascript"></script></br><script src="/mod_news_show_sp2/assets/js/nssp2.js" type="text/javascript"></script></br><script src="/js/revolutionslider/rs-plugin/js/jquery.themepunch.plugins.min.js" type="text/javascript"></script></br><script src="/js/revolutionslider/rs-plugin/js/jquery.themepunch.revolution.min.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/assets/js/mootools-mobile.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/assets/js/rokmediaqueries.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/assets/js/roksprocket.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/assets/js/moofx.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/assets/js/roksprocket.request.js" type="text/javascript"></script></br><script src="/roksprocket/layouts/strips/themes/alternative/strips.js" type="text/javascript"></script></br><script src="/roksprocket/layouts/strips/themes/alternative/strips-speeds.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/layouts/strips/themes/default/strips.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/layouts/strips/themes/default/strips-speeds.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/layouts/mosaic/themes/default/mosaic.js" type="text/javascript"></script></br><script src="/components/com_roksprocket/layouts/lists/themes/default/lists.js" type="text/javascript"></script></br><script type="text/javascript"> window.addEvent('load', function() { new JCaption('img.caption'); }); if (typeof RokBoxSettings == 'undefined') RokBoxSettings = {pc: '100'}; spnoConflict(function($){ function mainmenu() { $('.sp-menu').spmenu({ startLevel: 0, direction: 'ltr', initOffset: { x: 0, y: 0 }, subOffset: { x: 0, y: 0 }, center: 0 }); } mainmenu(); $(window).on('resize',function(){ mainmenu(); }); }); window.addEvent('domready', function(){ RokSprocket.instances.strips = new RokSprocket.Strips(); }); window.addEvent('domready', function(){ RokSprocket.instances.strips.attach(188, '{"animation":"fade","autoplay":"0","delay":"5"}'); }); window.addEvent('domready', function(){ RokSprocket.instances.strips.attach(127, '{"animation":"fadeDelay","autoplay":"0","delay":"5"}'); }); window.addEvent('domready', function(){ RokSprocket.instances.lists = new RokSprocket.Lists(); }); </script></br><script src="/modules/enquiry-form/js/sendajax-1.2.js" type="text/javascript"></script></br><script src="/modules/products/js/jquery.cookie.js" type="text/javascript"></script></br><script src="/modules/products/js/modernizr.custom.49511.js" type="text/javascript"></script></br><script src="/modules/products/js/jquery.onebyone.min.js" type="text/javascript"></script></br><script src="/modules/products/js/jquery.touchwipe.min.js" type="text/javascript"></script></br><script src="/js/custom.js" type="text/javascript"></script></br><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-27014887-1', 'auto'); ga('send', 'pageview'); </script></br><script type="text/javascript"> var tpj=jQuery; tpj.noConflict(); var revapi2; tpj(document).ready(function() { if (tpj.fn.cssOriginal != undefined) tpj.fn.css = tpj.fn.cssOriginal; if(tpj('#rev_slider_2_1').revolution == undefined) revslider_showDoubleJqueryError('#rev_slider_2_1',"joomla"); else revapi2 = tpj('#rev_slider_2_1').show().revolution( { delay:9000, startwidth:1170, startheight:450, hideThumbs:200, thumbWidth:100, thumbHeight:50, thumbAmount:3, navigationType:"none", navigationArrows:"verticalcentered", navigationStyle:"round", touchenabled:"on", onHoverStop:"on", shadow:0, fullWidth:"on", navigationHAlign:"center", navigationVAlign:"bottom", navigationHOffset:0, navigationVOffset:20, stopLoop:"off", stopAfterLoops:-1, stopAtSlide:-1, shuffle:"off", hideSliderAtLimit:0, hideCaptionAtLimit:0, hideAllCaptionAtLilmit:0 }); }); //ready </script></br><script type="text/javascript"> //<![CDATA[ window.addEvent('load', function() { new nssp2({ container: document.getElement('#ns2-3181 .ns2-art-pages'), interval: 15000, activator: "click", transition: "cover-horizontal-push", fxOptions: { duration: 600, transition: Fx.Transitions.linear }, buttons: { previous: document.getElement('#ns2-3181 .ns2-art-prev') ,next: document.getElement('#ns2-3181 .ns2-art-next') } ,autoPlay: 1 }); }); //]]> </script></br><script type="text/javascript"> //<![CDATA[ window.addEvent('load', function() { new nssp2({ container: document.getElement('#ns2-20068 .ns2-art-pages'), interval: 15000, activator: "click", transition: "cover-horizontal-push", fxOptions: { duration: 600, transition: Fx.Transitions.linear }, buttons: { previous: document.getElement('#ns2-20068 .ns2-art-prev') ,next: document.getElement('#ns2-20068 .ns2-art-next') } ,autoPlay: 1 }); }); //]]> </script></br><script sstyle="text/javascript"> jQuery('.uk-grid').on('click' , 'figure' , function(){ var url = jQuery(this).data('url'); window.location.href = url; return; }); </script></br><script type="text/javascript"> jQuery(function($){ $('.cms_forms .cms_form_group.cms_form_group_toggle h2, .cms_forms .cms_form_group.cms_form_group_toggle h3').on('click', function(e){ e.preventDefault(); $(this).closest('.cms_form_group').toggleClass('cms_form_group_toggled'); }) $('.cms_forms form.cms_form').on('submit', function(e){ e.preventDefault(); var form = $(this) , processForm = true ; if (form.hasClass('cms_loading')) return; form.find('._cms_alert').remove(); form.find('.cms_forms_error').removeClass('cms_forms_error'); form.addClass('cms_loading'); // do validation if(processForm===true){ $.ajax({ url: form.attr('action') , type: form.attr('method') , data: form.serializeArray() , beforeSend: function() { // if (typeof cms_forms_before_send === 'function') { // // cms_forms_before_send().done(function(data){ // // console.log('data: '+data.message); // try { // if (typeof data.response !== 'undefined' && data.response==='success') { // return true; // } else { // return false; // } // } catch (error) { // console.log('error: '+data.error); // } // // }); // } } }).done(function(data){ if (typeof data === 'object') { try { form.find('.uploadifive-queue-item').remove(); if (data.response==='field') { form.find('.cms_forms_field_container[data-field-id="' + data.field_id + '"]').addClass('cms_forms_error').append('<div class="_cms_alert _cms_alert_error">' + data.message + '</div>'); if (data.field_id === 'captcha') { $('.cms_forms_captcha').attr('src', '/modules/cms/captcha/captcha.php?' + new Date().getTime()); } } else { if (typeof data.style === 'string') { data.style = '_cms_alert_' + data.style; } else { data.style = ''; } if (data.response==='success') { form.find('.cms_forms_field_container input[type="text"], .cms_forms_field_container input[type="email"], .cms_forms_field_container input[type="number"], .cms_forms_field_container select, .cms_forms_field_container textarea').val(''); form.find('.cms_forms_field_container input[type="checkbox"], .cms_forms_field_container input[type="radio"]').prop('checked', false); form.find('.cms_uploads_container').empty(); form.find('input[name="developer"]').prop('checked', true); form.find('.cms_forms_captcha').attr('src', '/modules/cms/captcha/captcha.php?' + new Date().getTime()); } form.find('.cms_forms_field_container[data-field-id="' + data.field_id + '"]').addClass('cms_forms_error'); form.find('.cms_forms_alerts').html('<div class="_cms_alert ' + data.style + '">' + data.message + '</div>'); if (typeof data.redirect === 'string') { window.location.href = data.redirect; } } } catch (error) { console.log(error); } } else { form.replaceWith(data); } }).always(function() { // form.find('.cms_forms_captcha').attr('src', '/modules/cms/captcha/captcha.php?' + new Date().getTime()); form.removeClass('cms_loading'); }); } }); $('.cms_forms form.cms_form .cms_forms_captcha_link').on('click', function(e){ e.preventDefault(); var form = $(this).closest('form.cms_form'); $('.cms_forms_captcha').attr('src', '/modules/cms/captcha/captcha.php?' + new Date().getTime()); form.find('input[name="captcha"]').focus(); }); $('.cms_forms_slider').on('mousedown', function(e){ $(this).addClass('cms_forms_slider_mousedown'); cms_forms_slider_drag(this, e.pageX); }); $('.cms_forms_slider').on('touchstart', function(e){ $(this).addClass('cms_forms_slider_mousedown'); cms_forms_slider_drag(this, e.pageX); }); $(window).on('mouseup', function(e){ $('.cms_forms_slider').removeClass('cms_forms_slider_mousedown'); }); $(window).on('touchend', function(e){ $('.cms_forms_slider').removeClass('cms_forms_slider_mousedown'); }); $(window).bind('touchmove', function(e) { var element = $('.cms_forms_slider.cms_forms_slider_mousedown'); if (element.length===0) return; e.preventDefault(); var event = window.event; cms_forms_slider_drag(element, event.touches[0].pageX); }); $(window).on('mousemove', function(e){ var element = $('.cms_forms_slider.cms_forms_slider_mousedown'); if (element.length===0) return; cms_forms_slider_drag(element, e.pageX); }); var cms_forms_slider_drag = function(element, pageX) { if (typeof pageX !== 'number') return; element = $(element); var min = parseInt(element.data('min')) || 0; var max = parseInt(element.data('max')) || 0; var increment = parseInt(element.data('increment')) || 0; var steps = (increment / (max - min)) * 100; var offset = element.offset(); var width = element.width(); var percent = (pageX - offset.left) / width; if (percent < 0) percent = 0; if (percent > 1) percent = 1; var value = min + (max - min) * percent; value = Math.round((value / increment) * increment); var container = $(element).closest('.cms_forms_field'); if (value==0) { container.find('input').prop('checked', false); } else { container.find('input').eq(value-1).prop('checked', true); } // element.find('input').val(sscalc_number_format(value)); // Calculate percent for slider. percent = Math.round((percent*100) / steps) * steps; element.find('div').css({width: percent.toFixed(1) + '%'}); }; // CMS FORMS TRIGGER CATCH CODE $(document).on('click' , 'a.cms_form_field_has_trigger , button.cms_form_field_has_trigger' , function(e){ if($.cookie) { var cmsFormFieldDataTrigger = $(this).data('cms-form-field-trigger'); if(cmsFormFieldDataTrigger !== '') { $.cookie('cms_form_field_trigger', cmsFormFieldDataTrigger, { expires: 7, path: '/' }); } else { $.cookie('cms_form_field_trigger', '', { expires: 7, path: '/' }); } } else { e.preventDefault(); alert("JQuery Cookie Plugin is Required and does not exist, please install it for this feature to work\nCLASS: cms_form_field_has_trigger"); return; } }); }); </script></br><script type="text/javascript"> // Define variables for functions. var ProductsValidateForm, split_address, products_content_modal, products_float_cart; var _cms_suggest_timer = null, _cms_suggest_element = null, _cms_suggest_close_dropdown = false; jQuery(function($) { if (typeof cms_show_slidein === 'function') { window.cms_products_paynow = function(trigger, element, event) { event.preventDefault(); if (typeof trigger !== 'string' || $.trim(trigger)==='') { alert('No trigger set.'); return; } $(element).hide(); var options = { title: 'Pay Now', url: '/modules/products/process.php?action=paynow&tr='+trigger, confirm_button_visible: false, close_button_visible: true, close_event: function() { window.location.reload(); } }; cms_show_slidein(options); }; } else { window.cms_products_paynow = function(trigger, event) {}; } if ($('.cms_products-category-menu').length > 0) { $('.category_menu li').each(function() { var ul = $(this).find(' > ul'); if (ul.length == 1) { $(this).prepend('<a href="javascript:;" class="_cms_expander"></a>'); } }); $('._cms_expander').on('click', function(e) { e.preventDefault(); $(this).closest('li').toggleClass('_cms_expanded'); }); $('.category_menu_selected').parents('.category_menu li').addClass('_cms_expanded'); } if ($('.cms_product_selected_tags').length > 0) { $('.cms_product_selected_tags').on('click', '.cms_product_tag input[type="checkbox"]', function(e) { var id = parseInt($(this).val()) || 0; if (id <= 0) return; var container = $(this).closest('.cms_products'); var product_tags = container.find('.cms_product_tags'); product_tags.find('.cms_product_tag_' + id).removeClass('cms_product_tag_selected').find('input[type="checkbox"]').removeAttr('checked'); var tag = $(this).closest('.cms_product_tag'); tag.remove(); var array = []; product_tags.find('input[type="checkbox"]:checked').each(function(){ array.push($(this).val()); }) container.find('input[name="tags"]').val(array.length > 0 ? array.join(',') : ''); }); } if ($('.cms_product_tags .cms_product_tag input[type="checkbox"]').length > 0) { $('.cms_product_tags .cms_product_tag input[type="checkbox"]').on('click', function(e) { var id = parseInt($(this).val()) || 0; if (id <= 0) return; var container = $(this).closest('.cms_products'); var product_tags = container.find('.cms_product_tags'); var selected_tags = container.find('.cms_product_selected_tags'); var tag = $(this).closest('.cms_product_tag'); if ($(this).is(':checked')) { if (selected_tags.find('.cms_product_tag_' + id).length > 0) return; tag.addClass('cms_product_tag_selected'); var clone = tag.clone(); selected_tags.append(clone); } else { tag.removeClass('cms_product_tag_selected'); selected_tags.find('.cms_product_tag_' + id).remove(); } var array = []; product_tags.find('input[type="checkbox"]:checked').each(function(){ array.push($(this).val()); }) container.find('input[name="tags"]').val(array.length > 0 ? array.join(',') : ''); }); $('.cms_product_tags .cms_product_tag').each(function() { $(this).find('input[type="checkbox"]').prop('checked', $(this).hasClass('cms_product_tag_selected')); }); } $(document).mouseup(function(e){ var container = $('#_cms_products_quickcart_button'); if (container.length > 0) { if (!container.is(e.target) && container.has(e.target).length === 0) { container.removeClass('_cms_active'); } return; } container = $(".products_cartdrop"); if (!container.is(e.target) && container.has(e.target).length === 0) { cms_products_clear_cartdrop(); container.hide(); } }); if ($('.products_survey').length > 0) { $('.products_survey_question_type_checkbox input[type="checkbox"], .products_survey_question_type_radio input[type="radio"]').click(function(e){ var triggerClass = '.products_survey_question.products_survey_trigger_' + $(this).data('id'); var hidden = true; var parentContainer = $(this).closest('.products_survey_questions'); var targetQuestion = $(this).closest('.products_survey_questions').find(triggerClass); if (targetQuestion.length > 0) { var classes = targetQuestion.attr('class').split(" "); for (var i = 0; i < classes.length; i++) { if (classes[i].substr(0,24)=='products_survey_trigger_') { if ($('#products_survey_answer_' + classes[i].substr(24) + ':checked').length > 0) { hidden = false; } } //console.log( classes[i] ); } if (hidden===true) { targetQuestion.hide() } else { targetQuestion.show() } } else { parentContainer.find('.products_survey_question_initially_hidden').hide(); } }); } if (typeof cms_products_list_style_ignore_cookie === 'undefined' || cms_products_list_style_ignore_cookie!==true) { var cms_products_cookie_timer = setInterval(function() { if (typeof $.cookie != 'undefined') { if ($.cookie('products_list_style')=='list') { $('.products.product_list:not(.products-featured)').show(); $('.products.product_grid:not(.products-featured)').hide(); } else if ($.cookie('products_list_style')=='grid') { $('.products.product_list:not(.products-featured)').hide(); $('.products.product_grid:not(.products-featured)').show(); } clearInterval(cms_products_cookie_timer); } }, 1000); } $('.products_grid_style').click(function(e) { $('.products.product_list').hide(); $('.products.product_grid').show(); $.cookie('products_list_style','grid', { path: '/' }); }); $('.products_list_style').click(function(e) { $('.products.product_grid').hide(); $('.products.product_list').show(); $.cookie('products_list_style','list', { path: '/' }); }); $(".products_cartstatus").click(function(e){ cms_products_clear_cartdrop(); $(".products_cartdrop").fadeToggle(300); $('#_cms_products_quickcart_button').addClass('_cms_active'); }); $('.product_attributes_overlay, .products_addtocart_overlay_close_button').click(function(e){ e.preventDefault(); $(this).closest('.product_attributes_container').hide(); $(this).closest('form').find('.product_addtocart_button').first().show(); }); $('.product_addtocart_button').click(function(e){ e.preventDefault(); var form = $(this).parents('form').first(); var button = $(this); if ($(this).hasClass('products_addtocart_show_attributes_button')) { form.find('.product_attributes_container').show().find('.product_attributes_inner').css('top',-($(this).height()+5)+'px'); return; } else if ($(this).hasClass('products_addtocart_with_attributes_button')) { button = form.find('.product_addtocart_button').first(); form.find('.product_attributes_container').hide(); } button.next('.products_addedtocart_icon').remove(); var quantity = parseInt(form.find('.product_quantityinput').val()) || 0; if (quantity <=0) { alert('Please enter a valid quantity!'); return false; } if ($(".products_cartdrop").length > 0) { cms_products_clear_cartdrop(); $(".products_cartdrop").removeClass('cms_products-fixed-quickcart').hide(); $('#_cms_products_quickcart_button').addClass('_cms_active'); } var data = form.serialize(); $.post('/modules/products/process.php', data, function(data, textStatus){ // console.log(textStatus); if (textStatus=='success') { button.hide(); var addtocarticon = $('<span style="padding-left: 20px;"><i class="fa fa-check"></i> Added!</span>'); button.after(addtocarticon); addtocarticon.delay(3000).fadeOut(600, function() { button.show(); }); if ($(".products_cartdrop").length > 0) { $('.products_cartdrop_container').load('/modules/products/process.php', {action: 'quickcart-include'}, function(){ $(".products_cartdrop").fadeIn(300); var scroll = $('html').scrollTop(); var left = $('.products_cartdrop').first().offset().left; if (scroll > 100) { $('._cms_products-products-cartdrop').addClass('cms_products-fixed-quickcart').css('left',left); } else { cms_products_clear_cartdrop(); } $('#_cms_products_quickcart_button').addClass('_cms_active'); }); } else { alert("Product successfully added to Cart!"); } } }, 'json') }); window.cms_products_clear_cartdrop = function() { $('.products_cartdrop').css('left','').removeClass('cms_products-fixed-quickcart'); } if (typeof jQuery.fn.on == 'function') { $(window).on('scroll', function() { var scroll = $(this).scrollTop(); if (scroll< 100) { cms_products_clear_cartdrop(); } }); $(window).on('resize', function() { cms_products_clear_cartdrop(); }); $('#cms_hide_cart_button').on('click', function(e) { e.preventDefault(); cms_products_clear_cartdrop(); $('.products_cartdrop').hide(); }); $('.product_update_cart_button, .product_checkout_update_cart_button').on('click', function(e){ e.preventDefault(); var form = $(this).closest('form'); var myCartContainer = $(this).closest('#_cms_products_mycart'); if (myCartContainer.length==0) { myCartContainer = $(this).closest('.products_mycart'); } var invalidQuantity = false; form.find('.product_quantityinput').each(function(e){ var quantity = parseInt($(this).val()) || -1; if (quantity < 0) invalidQuantity = true; }); if (invalidQuantity==true) { alert('Please enter a valid quantity!'); return false; } myCartContainer.find('#products_mycard_loading_overlay').show(); var action; if ($(this).hasClass('product_checkout_update_cart_button')) { action = 'checkout-cart-include'; $('#products_checkout_action').val('updatecart'); } else { action = 'cart-include'; } var data = form.serialize(); $.post('/modules/products/process.php', data, function(data, textStatus){ myCartContainer.find('#products_mycard_loading_overlay').hide(); if (textStatus=='success') { myCartContainer.load('/modules/products/process.php', {action: action}, function(data){ myCartContainer.replaceWith(data); }); // reload window.location.reload(); } }) }); } else { $('.product_update_cart_button, .product_checkout_update_cart_button').live('click', function(e){ e.preventDefault(); var form = $(this).closest('form'); var myCartContainer = $(this).closest('#_cms_products_mycart'); if (myCartContainer.length==0) { myCartContainer = $(this).closest('.products_mycart'); } var invalidQuantity = false; form.find('.product_quantityinput').each(function(e){ var quantity = parseInt($(this).val()) || -1; if (quantity < 0) invalidQuantity = true; }); if (invalidQuantity==true) { alert('Please enter a valid quantity!'); return false; } myCartContainer.find('#products_mycard_loading_overlay').show(); var action; if ($(this).hasClass('product_checkout_update_cart_button')) { action = 'checkout-cart-include'; $('#products_checkout_action').val('updatecart'); } else { action = 'cart-include'; } var data = form.serialize(); $.post('/modules/products/process.php', data, function(data, textStatus){ myCartContainer.find('#products_mycard_loading_overlay').hide(); if (textStatus=='success') { myCartContainer.load('/modules/products/process.php', {action: action}, function(data){ myCartContainer.replaceWith(data); }); } }) }); } if (typeof jQuery.fn.on == 'function') { $('.products_cartdrop_container').on('click', '.products_quickcart_remove_button', function(e){ var uniqueId = $(this).attr('rel'); if (uniqueId==undefined || uniqueId=='') return -1; var data = {action: 'removefromcart', uniqueId: uniqueId}; $.post('/modules/products/process.php', data, function(data, textStatus){ if (textStatus=='success') { $('.products_cartdrop_container').load('/modules/products/process.php', {action: 'quickcart-include'}, function(){ }); } }, 'json') }); } else { $('.products_quickcart_remove_button').live('click', function(e){ var uniqueId = $(this).attr('rel'); if (uniqueId==undefined || uniqueId=='') return -1; var data = {action: 'removefromcart', uniqueId: uniqueId}; $.post('/modules/products/process.php', data, function(data, textStatus){ if (textStatus=='success') { $('.products_cartdrop_container').load('/modules/products/process.php', {action: 'quickcart-include'}, function(){ }); } }, 'json') }); } $('.five-stars.five-stars-input').click(function(e){ e.preventDefault(); e.stopPropagation(); var offset = $(this).offset(); var x = parseInt(e.pageX - offset.left) || 0; var size = parseInt($(this).width() / 5); var old_rating = parseInt($(this).find('input').val()) || 0; x += size; x = parseInt(x / size) || 0; if (old_rating==1 && x==1) x = 0; if (x==0) { $(this).attr('title', 'No Rating'); } else { $(this).attr('title', x + ' Star Rating'); } $(this).find('span').css('width',x * size + 'px') $(this).find('input').val(x) }); ProductsValidateForm = function(form) { var validated = true; $('.error').removeClass('error'); $(form).find('.required:visible').each(function(e){ if ($(this).is(':radio')) { if ($('input:radio[name="' + $(this).attr('name') + '"]:checked').length <= 0) { validated = false; $(this).closest('div').addClass('error'); } } else { var value = $(this).val(); value = value.replace(/^\s+|\s+$/g,''); if (value=='') { $(this).addClass('error'); validated = false; } } }); $(form).find('.email:visible').each(function(e) { if(!/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test($(this).val())) { validated=false; $(this).addClass('error'); } }); $(form).find('.alphanumeric:visible').each(function(e){ if(!/^[A-Za-z0-9_]*$/.test($(this).val())){ validated=false; $(this).addClass('error'); } }); $(form).find('.alphanumericspecial:visible').each(function(e){ if(!/^[A-Za-z0-9@._-]*$/.test($(this).val())){ validated=false; $(this).addClass('error'); } }); $(form).find('.number:visible').each(function(e){ if(!/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test($(this).val())){ validated=false; $(this).addClass('error'); } }); $(form).find('.confirm:visible').each(function(e){ var compareTo = $('[rel="'+$(this).attr('rel')+'"]'); if (compareTo.length > 0) { if ($(this).val() != compareTo.val()) { validated=false; $(this).addClass('error'); } } }); return validated; } split_address = function(value) { if (typeof AddressFinder != 'object') return; // Split address into array. var address_array = value.split(','); var city = address_array.pop(); // Get postcode. array = city.split(' '); var postcode = array.pop(); // Get city. city = array.join(' '); // Get remaining address. var address = address_array.join(','); $('#products_customer_city').val(city); $('#products_customer_postcode').val(postcode); $('#products_customer_address1').val(address); // console.log("city: " + city); // console.log("postcode: " + postcode); // console.log("address: " + address); } products_content_modal = function(windowUrl, windowWidth, windowHeight, windowOptions){ var left = (screen.width - windowWidth) / 2; var top = ((screen.height - windowHeight) / 2) - 50; var windowOptions = "width="+ windowWidth +",height="+ windowHeight + ",top="+ top +",left="+ left + "," + windowOptions; window.open(windowUrl, '', windowOptions); } products_float_cart = function() { if ($('#products_cartwrap_anchor').length <= 0) return; var b = $(window).scrollTop(); var d = $("#products_cartwrap_anchor").offset().top; var c = $(".products_cartwrap"); if (b > d) { c.css({position:"fixed",top:"0px"}) } else { c.css({position:"absolute",top:""}) } } products_add_voucher = function(voucher, voucherId) { if (typeof voucher=='undefined' || voucher==null || voucher=='') return -1; voucherId = parseInt(voucherId) || 0; var result=null; $.ajax({ type: "POST", url: "/modules/products/process.php", data: { action: "add-voucher", voucher: voucher, voucherId: voucherId }, async: false }).done(function(msg) { if (typeof msg !== 'undefined' && msg==='true') { result = true; } else if (typeof msg!=='undefined' && msg==='missing') { result = -2; } else { result = false; } }); return result; } window._cms_suggest_address = function() { _cms_suggest_timer = null; if (_cms_suggest_element===null || $(_cms_suggest_element).length==0) return; if ($('#_cms_nzpost_address_dropdown').length) $('#_cms_nzpost_address_dropdown').remove(); var dropdown = $('<div id="_cms_nzpost_address_dropdown" style="background-color: #fff; border: 1px solid #333; position: absolute; z-index: 100; display: none;" />'); $(_cms_suggest_element).after(dropdown); var w = $(_cms_suggest_element).width(); dropdown.css({width: w}); $.ajax({ type: "GET" , url: "/modules/products/process.php" , data: { action: 'nzpost-suggest' , q: $(_cms_suggest_element).val() } , dataType: "JSON" , cache: false }).done(function(data) { try { if (data.success!==true) return; if (data.status!=="success") return; if (data.addresses.length<=0) return; dropdown.empty(); data.addresses.forEach(function(address) { dropdown.append('<div><a href="javascript:;" onmousedown="_cms_suggest_address_populate(this, \'' + address.DPID + '\');">' + address.FullAddress + '</a></div>'); }); dropdown.show(); } catch(error) { console.log(error); } }); } window._cms_suggest_address_populate = function(element, dpid) { _cms_suggest_close_dropdown = false; if ($(element).length==0) return; if (_cms_suggest_element===null || $(_cms_suggest_element).length===0) return; $.ajax({ type: "GET" , url: "/modules/products/process.php" , data: { action: 'nzpost-details' , dpid: dpid } , dataType: "JSON" , cache: false }).done(function(data) { try { if ($(_cms_suggest_element).attr('id')=='_cms_suggest_address_customer') { $('#_cms_suggest_address_customer').val(''); $('input[name="customer[customerPostCode]"]').val(data.details[0].Postcode); $('input[name="customer[customerAddress1]"]').val(data.details[0].AddressLine1); $('input[name="customer[customerAddress2]"]').val((data.details[0].Suburb!==null) ? data.details[0].Suburb : ''); if (data.details[0].RuralDelivery!=null) { var rd_number = $.trim(data.details[0].RuralDelivery.replace('RD', '')); $('input[name="customer[customerRuralDeliveryNumber]"]').val(rd_number); $('input[name="customer[customerCity]"]').val(data.details[0].MailTown); } else { $('input[name="customer[customerRuralDeliveryNumber]"]').val(''); $('input[name="customer[customerCity]"]').val(data.details[0].CityTown); } } else if ($(_cms_suggest_element).attr('id')=='_cms_suggest_address_delivery') { $('#_cms_suggest_address_customer').val(''); $('input[name="delivery[customerPostCode]"]').val(data.details[0].Postcode); $('input[name="delivery[customerAddress1]"]').val(data.details[0].AddressLine1); $('input[name="delivery[customerAddress2]"]').val((data.details[0].Suburb!==null) ? data.details[0].Suburb : ''); if (data.details[0].RuralDelivery!=null) { var rd_number = $.trim(data.details[0].RuralDelivery.replace('RD', '')); $('input[name="delivery[customerRuralDeliveryNumber]"]').val(rd_number); $('input[name="delivery[customerCity]"]').val(data.details[0].MailTown); } else { $('input[name="delivery[customerRuralDeliveryNumber]"]').val(''); $('input[name="delivery[customerCity]"]').val(data.details[0].CityTown); } } _cms_suggest_element = null; } catch(error) { console.log(error); } }); $('#_cms_nzpost_address_dropdown').remove(); } $('select[name="customer[countryId]"]').on('click', function() { if ($(this).val()==default_country_id) { $('._cms_suggest_address_customer_container').show(); } else { $('._cms_suggest_address_customer_container').hide(); } }).on('keyup', function() { if ($(this).val()==default_country_id) { $('._cms_suggest_address_customer_container').show(); } else { $('._cms_suggest_address_customer_container').hide(); } }); featured_products = function(element, type) { if ($(element).length===0) return; if (typeof type==='undefined' || type===null || type==='') return; $(element).closest('.products-featured_menu_container').find('.cms_active').removeClass('cms_active'); $(element).addClass('cms_active'); if ($('#_cms_products_feature_products > _cms_products_featured_products_loading').length===0) $('#_cms_products_feature_products').append('<div class="_cms_products_featured_products_loading"></div>'); $('#_cms_products_feature_products').load('/modules/products/process.php?action=featured-products-display&type=' + type); }; cms_products_rural_delivery_blur = function(element) { var value = $(element).val(); value = value.toUpperCase(); value = value.replace(/[^0-9a-zA-Z]+/g, ''); var number = value.replace(/[^0-9]+/g, ''); if (value===number+'C' || value===number+'D' || value===number+'H' || value===number+'K' || value===number+'O') { $(element).val(value); } else { $(element).val(number); } }; }); </script></br><script type="text/javascript"> jQuery(function($) { $('.homeNewsBox').addClass('feature').removeClass('homeNewsBox'); $('#viewTabs ul').addClass("tabs"); $('.specifications').css({"margin-left":"0px"}); $('.product_description meta').remove(); // deal with the cufon in the heading text // for the John Deere Products $(".feature h2").each(function(){ var featureHeading = $(this), headingText = $(this).find('cufontext').text(); $(".cufon").remove(); if(headingText!==''){ featureHeading.text(headingText); } }); $('.cms_products-details.product_data').append($('.product_description .feature').clone()); $('.product_description .feature').remove(); $("h2.overview").each(function(){ var overviewHeading = $(this), headingText = $(this).find('a > span').text(); if(headingText!==''){ overviewHeading.text(headingText); } }); $("h2.specifications").each(function(){ var specsHeading = $(this), headingText = $(this).find('a > span').text(); if(headingText!==''){ specsHeading.text(headingText); } }); // tab content $('.product_description h2').removeClass().addClass('cms_products_tab_heading'); $('.product_description h2').each(function(i){ var tabIndex = i+1; if(tabIndex > 1){ var tabStyles = "display:none;"; } else { var tabStyles = "display:block;"; } $(this).attr('data-tab-id',tabIndex) var $set = $(this).nextUntil(".product_description h2"); $set.wrapAll('<div class="cms_products_tab_content" style="'+tabStyles+'" data-tab-content="'+tabIndex+'" />'); }); // move all h2.cms_product_tab_heading into var firstTab = $('.product_description').find('h2.cms_products_tab_heading').first(); firstTab.before('<div class="cms_products_tab_heading_container"></div>'); firstTab.addClass('cms_products_tab_active'); $('.cms_products_tab_heading_container').append($('h2.cms_products_tab_heading')); $('.cms_products_tab_heading').on('click' , function(){ var tabIndex = $(this).data('tab-id'); $('.cms_products_tab_content').hide(); $('.cms_products_tab_heading').removeClass('cms_products_tab_active'); $('.cms_products_tab_content[data-tab-content='+tabIndex+']').show().css({"min-height":"150px"}); $('.cms_products_tab_heading[data-tab-id='+tabIndex+']').addClass('cms_products_tab_active'); }); $('.feature .inner').find('table tr:odd').addClass('bg'); }); </script></br><script type="text/javascript"> function cms_open_window(url,n,w,h,p) { var sl=0,st=0,dp={}; if(!n) n = 'MyWindow'; if(!w) w = 800; if(!h) h = 760; if(typeof window.screenLeft !== 'undefined') { sl = window.screenLeft; st = window.screenTop; } else if(typeof window.screenX !== 'undefined') { sl = window.screenX; st = window.screenY; } var features_dict = { toolbar: 'no', location: 'no', directories: 'no', left: sl + ($(window).width() - w) / 2, top: st + ($(window).height() - h) / 2, status: 'yes', menubar: 'no', scrollbars: 'yes', resizable: 'no', width: w, height: h }; features_arr = []; for(var k in features_dict) { features_arr.push(k+'='+features_dict[k]); } features_str = features_arr.join(',') var qs = url+$.param($.extend({}, dp, p)); var win = window.open(qs, n, features_str); win.focus(); return false; } jQuery(function($){ $('a:not([href^="/"],[href^="#"],[href^="tel:"],[href^="mailto:"],[href^="javascript:"]),a[href$="docx"],a[href$="pdf"]').attr('target','_blank'); }); jQuery(function($){ $('a[href$="pdf"]').addClass('_cms_pdf'); $('a[href$="doc"],a[href$="docx"]').addClass('_cms_doc'); }); </script></br>

< meta > Out For sfml.co.nz

A meta tag is a line in which a lot of informational lines take place from the head of a site to the description field. What a website is related to includes many areas, such as key words.

<meta http-equiv="Content-type" content="text/html; charset=utf-8"></br><meta name="keywords" content="Southland Farm Machinery - Home"></br><meta name="description" content="Southland Farm Machinery is the authorised dealership for John Deere in both Southland and Otago, with branches in Invercargill, Gore, Mosgiel and Cromwell."></br><meta name="robots" content="index,follow"></br><meta name="title" content="John Deere Tractors Invercargill Gore Cromwell Mosgiel Southland Farm Machinery"></br><meta name="viewport" content="width=device-width, initial-scale=1.0"></br><meta itemprop="image" content="/assets/favicon.png"></br>

< link > Out For sfml.co.nz

Links are lines that contain all the libraries or other references to a web site, such as the name tag. These lines vary according to each website.

<link rel="icon" href="/assets/favicon.png" type="image/png"></br><link rel="shortcut icon" href="/assets/favicon.png" type="image/png"></br><link rel="stylesheet" href="/plugins/system/rokbox/assets/styles/rokbox.css" type="text/css"></br><link rel="stylesheet" href="/css/bootstrap.min.css?v=1" type="text/css"></br><link rel="stylesheet" href="/css/bootstrap-responsive.min.css" type="text/css"></br><link rel="stylesheet" href="/css/font-awesome.css" type="text/css"></br><link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:300" type="text/css"></br><link rel="stylesheet" href="/plugins/system/helix/css/mobile-menu.css" type="text/css"></br><link rel="stylesheet" href="/css/uikit.almost-flat.css" type="text/css"></br><link rel="stylesheet" href="/css/effects.css" type="text/css"></br><link rel="stylesheet" href="/css/glass.css" type="text/css"></br><link rel="stylesheet" href="/css/template.css?v=1" type="text/css"></br><link rel="stylesheet" href="/css/presets/sfml.css?v=1" type="text/css"></br><link rel="stylesheet" href="/css/mod_news_show_sp2.css" type="text/css"></br><link rel="stylesheet" href="/css/960.gs.fluid.css" type="text/css"></br><link rel="stylesheet" href="/js/revolutionslider/rs-plugin/css/settings.css" type="text/css"></br><link rel="stylesheet" href="/js/revolutionslider/css/fullwidth.css?v=1" type="text/css"></br><link rel="stylesheet" href="/roksprocket/layouts/strips/themes/alternative/strips.css" type="text/css"></br><link rel="stylesheet" href="/roksprocket/layouts/strips/themes/default/strips.css" type="text/css"></br><link rel="stylesheet" href="/roksprocket/layouts/mosaic/themes/default/mosaic.css" type="text/css"></br><link rel="stylesheet" href="/roksprocket/layouts/lists/themes/default/lists.css" type="text/css"></br><link rel="stylesheet" href="/prettyphoto/3.1.5/css/prettyPhoto.css" type="text/css"></br><link href="/modules/assets/css/styles-core.css" rel="stylesheet" type="text/css"></br><link href="/modules/assets/css/styles-custom.css" rel="stylesheet" type="text/css"></br><link href="/modules/blogv4/css/styles-core.css" rel="stylesheet" type="text/css"></br><link href="/modules/blogv4/css/styles-custom.css" rel="stylesheet" type="text/css"></br><link href="/modules/enquiry-form/css/styles-core.css" rel="stylesheet" type="text/css"></br><link href="/modules/enquiry-form/css/styles-custom.css" rel="stylesheet" type="text/css"></br><link href="/modules/enquiry-form/css/sendajax-1.0.css" rel="stylesheet" type="text/css"></br><link href="/modules/pages/css/styles-core.css?v=1" rel="stylesheet" type="text/css"></br><link href="/modules/pages/css/styles-custom.css?v=1" rel="stylesheet" type="text/css"></br><link href="/modules/products/css/styles-core.css" rel="stylesheet" type="text/css"></br><link href="/modules/products/css/styles-custom.css" rel="stylesheet" type="text/css"></br><link rel="stylesheet" href="/css/custom.css?v=1" type="text/css"></br><link rel="stylesheet" href="/css/print.css" type="text/css" media="print"></br><link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css"></br><link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"></br><link href='/modules/cms/css/styles-core.css' rel='stylesheet' type='text/css'></br><link href="/modules/contacts/css/styles-core.css" rel="stylesheet"></br><link href='/modules/forms/css/styles-core.css' rel='stylesheet' type='text/css'></br><link href='/modules/forms/css/styles-custom.css' rel='stylesheet' type='text/css'></br><link href="/modules/products/css/jquery.onebyone.css" rel="stylesheet" type="text/css"></br><link href="/modules/products/css/animate.min.css" rel="stylesheet" type="text/css"></br><link href="/modules/products/css/responsive-slider.css" rel="stylesheet" type="text/css"></br><link href='/modules/socialplugins/css/styles-core.css' rel='stylesheet' type='text/css'></br><link href='/modules/socialplugins/css/styles-custom.css' rel='stylesheet' type='text/css'></br>

Dig Query For sfml.co.nz

Dig is useful for network troubleshooting and training purposes. Dig can run in interactive command line mode or in batch mode while reading requests from an operating system file. When a specific name server is not specified in the command invocation, the operating system, which is usually configured through the resolv.conf file, uses the default resolver. It queries the DNS root zone without any arguments.
Version: 1.0.0.0,Dns Server: fec0:0:0:ffff::1%1,Qtype: A,Name: sfml.co.nz,OPCODE: Query,RCODE: NoError,ID: 39558,QR: True,AA: False,RD: True,RA: True,QDCOUNT: 1,ANCOUNT: 1,NSCOUNT: 2,ARCOUNT: 0,QUESTION SECTION: sfml.co.nz. IN A,ANSWER SECTION:sfml.co.nz. 3596 IN A 112.109.68.50,sfml.co.nz. 3596 IN NS ns1.1stdomains.net.nz.sfml.co.nz. 3596 IN NS ns2.1stdomains.net.nz.,Query time: 2,SERVER: 62.210.16.6,PORT: 53,WHEN: Thu Mar 09 19:38:14 2017,MSG SIZE rcvd: 95

< html > Out For sfml.co.nz

# Name Count
1 Script Count 45
2 Meta Count 7
3 Link Count 46
4 Ul Count 16
5 Table Count 0
6 < a > Count 115
7 div Count 429
8 H1 Count 0
9 H2 Count 9

< head > Out For sfml.co.nz

Title

John Deere Tractors Invercargill Gore Cromwell Mosgiel Southland Farm Machinery

Desc

Southland Farm Machinery is the authorised dealership for John Deere in both Southland and Otago, with branches in Invercargill, Gore, Mosgiel and Cromwell.

Keywords

Southland Farm Machinery - Home


< head > Inf. Out For sfml.co.nz

# Name Count
1 Title Count 79
2 Description Count 156
3 Keywords Count 31

Domain Test

# Name Flag
1 Name sfml
2 Length 4 Characters.
3 Extension .co

Mistakes Out For sfml.co.nz

Includes the most common mistakes made in search engines. The algorithm has been developed to produce results in a way that would be similar to a mistake made in the real sense. You may be able to see the options of domains similar to your website's domain by reviewing the list in this area. Or you can buy the domain name generated by our algorithm that you think will be useful.
  • 1- http://www.fml.co.nz
  • 2- http://www.zfml.co.nz
  • 3- http://www.szfml.co.nz
  • 4- http://www.zsfml.co.nz
  • 5- http://www.xfml.co.nz
  • 6- http://www.sxfml.co.nz
  • 7- http://www.xsfml.co.nz
  • 8- http://www.wfml.co.nz
  • 9- http://www.swfml.co.nz
  • 10- http://www.wsfml.co.nz
  • 11- http://www.efml.co.nz
  • 12- http://www.sefml.co.nz
  • 13- http://www.esfml.co.nz
  • 14- http://www.dfml.co.nz
  • 15- http://www.sdfml.co.nz
  • 16- http://www.dsfml.co.nz
  • 17- http://www.afml.co.nz
  • 18- http://www.safml.co.nz
  • 19- http://www.asfml.co.nz
  • 20- http://www.sml.co.nz
  • 21- http://www.svml.co.nz
  • 22- http://www.sfvml.co.nz
  • 23- http://www.svfml.co.nz
  • 24- http://www.stml.co.nz
  • 25- http://www.sftml.co.nz
  • 26- http://www.stfml.co.nz
  • 27- http://www.sgml.co.nz
  • 28- http://www.sfgml.co.nz
  • 29- http://www.sgfml.co.nz
  • 30- http://www.srml.co.nz
  • 31- http://www.sfrml.co.nz
  • 32- http://www.srfml.co.nz
  • 33- http://www.sgml.co.nz
  • 34- http://www.sfgml.co.nz
  • 35- http://www.sgfml.co.nz
  • 36- http://www.scml.co.nz
  • 37- http://www.sfcml.co.nz
  • 38- http://www.scfml.co.nz
  • 39- http://www.sfl.co.nz
  • 40- http://www.sfnl.co.nz
  • 41- http://www.sfmnl.co.nz
  • 42- http://www.sfnml.co.nz
  • 43- http://www.sfkl.co.nz
  • 44- http://www.sfmkl.co.nz
  • 45- http://www.sfkml.co.nz
  • 46- http://www.sfjl.co.nz
  • 47- http://www.sfmjl.co.nz
  • 48- http://www.sfjml.co.nz
  • 49- http://www.sfmp.co.nz
  • 50- http://www.sfmpl.co.nz
  • 51- http://www.sfmlp.co.nz
  • 52- http://www.sfmk.co.nz
  • 53- http://www.sfmkl.co.nz
  • 54- http://www.sfmlk.co.nz
  • 55- http://www.sfmo.co.nz
  • 56- http://www.sfmol.co.nz
  • 57- http://www.sfmlo.co.nz
  • 58- http://www.sfm.co.nz