<?php
/*

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce
  
  osCommRes, Services Online
  http://www.oscommres.com

  Copyright (c) 2005 osCommRes

  Released under the GNU General Public License
  
  Freeway eCommerce from ZacWare
http://www.zac-ware.com/freeway

Copyright 2007 ZacWare Pty. Ltd
*/
// Check to ensure this file is included in Freeway!
defined('_FEXEC') or die();
?>

</table>
<table border="0" width="100%" cellspacing="0" cellpadding="2" height="100">
  <tr>
<!--  Note Well: The ZacWare copyright notice can only be removed if the front end template is substantially modified beyond recognition !-->  
  <?php 
  if($_SERVER['PHP_SELF']==DIR_WS_ADMIN.'login.php' || $_SERVER['PHP_SELF']==DIR_WS_ADMIN.'logoff.php' || $_SERVER['PHP_SELF']==DIR_WS_ADMIN.'password_forgotten.php'){  ?>
    <td align="center" class="smallText">
<?php
/*
  The following copyright announcement is in compliance
  to section 2c of the GNU General Public License, and
  thus can not be removed, or can only be modified
  appropriately.

  For more information please read the following
  Frequently Asked Questions entry on the osCommerce
  support site:

  http://www.oscommerce.com/community.php/faq,26/q,50
  
    For more information please read the following
  Frequently Asked Questions entry on the osCommRes
  support site:

  http://www.oscommres.com/index.php?id=333

  Please leave this comment intact together with the
  following copyright announcement.
*/
?>

Freeway. Copyright &copy; 2005-2007 ZacWare Pty Ltd.<br />
Extensions are copyright of their respective owners.<br /> Go to <a href="http://www.openfreeway.org"> http://www.openfreeway.org </a> for details. <br />
Freeway comes with ABSOLUTELY NO WARRANTY; <a href="http://www.openfreeway.org/community/licensing/"> <b>Click</b> </a>for details. <br />
This is free software, and you are welcome to redistribute it under certain conditions;
<a href="http://www.openfreeway.org/community/licensing/"> <b>Click</b> </a> for details. <br />
Obstructing the appearance of this notice is prohibited by law.

   </td>
 </tr>
  <?php } else {?>
  <tr>
  <td align="center" class="smallText">
No warranty is provided<br />
Redistributable under the GNU General Public License<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Powered by Freeway &copy; <a href="http://www.zac-ware.com" > 2005 - 2007 ZacWare <img src="images/footer_logo.gif" border="0" align="top"/></a>
  </td>
 </tr>
  <?php } ?>
</table>
</td>
</tr>
</table>
	<!-- Prepare Initial JS VALUES and default functions //-->
	<script type="text/javascript">
	<?php
		$js_string='';
		$js_func="";
		if ($JS_VARS && count($JS_VARS)>0){
			reset($JS_VARS);
			while(list($key,)=each($JS_VARS)){
				$js_string.="var " . $key . "=";
				if (count($JS_VARS[$key])>0){
					json_string($JS_VARS[$key]);
				}
				$js_string.=";\n";
			}
		}
		if ($JS_FUNCS && count($JS_FUNCS)>0){
			reset($JS_FUNCS);
			while(list($key,$value)=each($JS_FUNCS)){
				$js_func.=$value .";";
			}
		}
		echo $js_string;
	

	?>
		function pageLoaded(){
			<?php echo $js_func;?>
		}
	</script>
	<!-- JS VALUES //-->