/*//////////////////////////////////////////////////////////// JavaScript Code Library Developed by GrafX Design Division Pty Ltd http://www.grafx.com.au Last Checked In By : Richard Czeiger Public Revision No : 1.0 The software and related user documentation are protected under copyright laws and remain the sole property of GrafX Design Division. Full license is available on the GrafX Design Division web site or in the original download. Technical support is available via the GrafX web site at http://www.grafx.com.au ////////////////////////////////////////////////////////////*/ // Get the hacked stylesheet document.write(''); // Suppress JavaScript Errors window.onerror=new Function("return true") // Set the Status Bar Message var statusMsg = 'Bag Making Patterns'; window.defaultStatus=statusMsg; // Google Analytics Tracking Code // // _uacct = "UA-1477859-23"; // urchinTracker(); // var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); // document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); // var pageTracker = _gat._getTracker("UA-1477859-23"); // pageTracker._initData(); // pageTracker._trackPageview(); // Fixes IE6 CSS Rendering Bug if (document.all && window.attachEvent) window.attachEvent("onload", fixWinIE); function fixWinIE() { if (document.body.scrollHeight < document.body.offsetHeight) { document.body.style.display = 'block'; } } // Spam Suppression for Emails function stopSpam(name, domain, subject) { var symbol = '@'; // Took out the Subject due to MS fault in Outlook Express (Source - http://support.microsoft.com/kb/q182985/ ) // document.write('' + name + symbol + domain + ''); document.write('' + name + symbol + domain + ''); } // Conversion Scripts function displayConversion() { if (!document.getElementsByTagName) return; if (document.getElementById("length-form")) { document.getElementById("length-form").style.display = "block"; } } function UpdateTo(form) { form.ToValue.value = form.FromValue.value * form.FromUnit.value / form.ToUnit.value; } function UpdateFrom(form) { form.FromValue.value = form.ToValue.value * form.ToUnit.value / form.FromUnit.value; } // Roll Over Nav sfHover = function() { var sfEls = document.getElementById("navigation").getElementsByTagName("LI"); for (var i=0; i