// Necessary for active page link style $page = basename($_SERVER['SCRIPT_NAME']); // set the top level path for the site. this will make the move to the live location easier. // IMPORTANT: include the trailing slash $tlpath = "http://www.sorensoneng.com/"; // html page functions function do_lead($title="", $category="", $description="") { global $SCRIPT_URL; $page = $SCRIPT_URL; if(!$title) { $title = "Sorenson Engineering"; } ?>