/* Built by Stephen Tucker [contact@stevetucker.co.uk] Copyright (c) 2006 Stephen Tucker [contact@stevetucker.co.uk] ---------------------------------------------------------------- This script and all others packaged with it belong to Stephen Tucker. Unless otherwise stated in the file copying, editing and/or redistributing of all scripts/files in any way is strictly prohibited. All scripts/files were designed and developed by Stephen Tucker [contact@stevetucker.co.uk]. Please contact Stephen Tucker [contact@stevetucker.co.uk] for more information. Full terms and conditions apply. */ function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { oldonload(); func(); } } } var $xmlHttp; function createXMLHttpRequest() { if (window.ActiveXObject) { $xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } else if (window.XMLHttpRequest) { $xmlHttp = new XMLHttpRequest(); } } function removeNode($node) { var $parent_node = $node.parentNode; var $handle = $parent_node.removeChild($node); return $handle; }