function jsPopupVideo(ps_video) { window.open('/index.php?ps_pagename=player&ps_video=' + escape(ps_video), '_blank', 'width=608,height=472,top=200,left=200,resizable=1,scrolling=0,toolbar=0,address=0,status=0') } function jsHomeFlash(){ document.write(''+ ''+ ''+ ''+ ''+ ''+ ''+ ''); } function createRequestObject() { var ro; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ ro = new ActiveXObject("Microsoft.XMLHTTP"); }else{ ro = new XMLHttpRequest(); } return ro; } var http = createRequestObject(); var go_lastcategory = null; function jsShowProducts(po_category, pi_categoryid) { if (go_lastcategory != null) { go_lastcategory.className = 'greenlink'; } po_category.className = 'greenlinkactive'; go_lastcategory = po_category; http.open('get', '/index.php/ps_pagename/getproducts/pi_categoryid/' + pi_categoryid); http.onreadystatechange = function() { if(http.readyState == 4 && (http.status==200 || window.location.href.indexOf("http")==-1)){ var response = http.responseText; document.getElementById('productsubnav').innerHTML = response; } else{ document.getElementById('productsubnav').innerHTML = '
Loading...<\/div>'; document.getElementById('installation').innerHTML = ''; document.getElementById('gallery').innerHTML = ''; document.getElementById('productdetail').innerHTML = '
Please make your selection from the product category list below.

Templates and fitting guides are available for most products.

Take a look at our installation videos for the HB500 and HB520 stair rail fittings.

New product posters and brochures are available for you to download from our Brochures section
'; document.getElementById('productimage').innerHTML = ''; document.getElementById('related').innerHTML = ''; } } http.send(null); } var go_lastproduct = null; function jsGetDetail(po_product, pi_productid) { if (go_lastproduct != null) { go_lastproduct.className = 'greenlink'; } po_product.className = 'greenlinkactive'; go_lastproduct = po_product; var http2 = createRequestObject(); http2.open('get', '/index.php/ps_pagename/getproduct/pi_productid/' + pi_productid + '/ps_detail/installation'); http2.onreadystatechange = function() { if(http2.readyState == 4 && (http2.status==200 || window.location.href.indexOf("http")==-1)){ var response = http2.responseText; document.getElementById('installation').innerHTML = response; } else{ document.getElementById('installation').innerHTML = '
Loading...<\/div>'; } } http2.send(null); jsGetGallery(pi_productid); } function jsGetGallery(pi_productid) { var http = createRequestObject(); http.open('get', '/index.php/ps_pagename/getproduct/pi_productid/' + pi_productid + '/ps_detail/gallery'); http.onreadystatechange = function() { if(http.readyState == 4 && (http.status==200 || window.location.href.indexOf("http")==-1)){ var response = http.responseText; document.getElementById('gallery').innerHTML = response; } else{ document.getElementById('gallery').innerHTML = '
Loading...<\/div>'; } } http.send(null); jsGetRelated(pi_productid); } function jsGetRelated(pi_productid) { var http = createRequestObject(); http.open('get', '/index.php/ps_pagename/getproduct/pi_productid/' + pi_productid + '/ps_detail/related'); http.onreadystatechange = function() { if(http.readyState == 4 && (http.status==200 || window.location.href.indexOf("http")==-1)){ var response = http.responseText; document.getElementById('related').innerHTML = response; } else{ document.getElementById('related').innerHTML = '
Loading...<\/div>'; } } http.send(null); jsGetSpecs(pi_productid); } function jsGetImage(pi_productid) { var http = createRequestObject(); http.open('get', '/index.php/ps_pagename/getproduct/pi_productid/' + pi_productid + '/ps_detail/image'); http.onreadystatechange = function() { if(http.readyState == 4 && (http.status==200 || window.location.href.indexOf("http")==-1)){ var response = http.responseText; document.getElementById('productimage').innerHTML = response; } else{ document.getElementById('productimage').innerHTML = '
Loading...<\/div>'; } } http.send(null); jsGetSpecs(pi_productid); } function jsGetSpecs(pi_productid) { var http = createRequestObject(); http.open('get', '/index.php/ps_pagename/getproduct/pi_productid/' + pi_productid + '/ps_detail/specs'); http.onreadystatechange = function() { if(http.readyState == 4 && (http.status==200 || window.location.href.indexOf("http")==-1)){ var response = http.responseText; document.getElementById('productdetail').innerHTML = response; } else{ document.getElementById('productdetail').innerHTML = '
Loading...<\/div>'; } } http.send(null); } function jsShowGalleryImg(ps_path,pi_width,pi_height) { if(pi_height < 310) var li_margin = (310-pi_height)/2; else var li_margin = 0; if(pi_width > 590 && pi_height > 310) document.getElementById('productimage').innerHTML = ''; else if(pi_width > 590) document.getElementById('productimage').innerHTML = ''; else if(pi_height > 310) document.getElementById('productimage').innerHTML = ''; else document.getElementById('productimage').innerHTML = ''; } function jsDrawFlash(ps_path, pi_width, pi_height) { document.write('' + '' + '' + '' + '' + '' + '<\/object>'); }