<?php
/**
* Wide Realty - A Joomla template
* @version 1.4
* @Raptor Services
* @copyright (C) 2006 by K.J. Strickland, Raptor Services
* @license - Copyrighted Commercial Software - www.raptorservices.com.au
*/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php if ( $my->id ) initEditor(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template; ?>/css/template_css.css" />

<?php
require( $mosConfig_absolute_path . "/administrator/components/com_ezrealty/config.ezrealty.php" );
global $er_mapapi, $er_usemap, $er_bizname, $er_bizad;
?>

<?php if ($er_usemap) { ?>

    <script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=<?php echo $er_mapapi;?>" type="text/javascript"></script>


    <script type="text/javascript">
    //<![CDATA[

    var map = null;
    var geocoder = null;


    function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " not found");
            } else {
              map.setCenter(point, 13);
              var marker = new GMarker(point);
              map.addOverlay(marker);
            }
          }
        );
      }
    }


    //]]>
    </script>

<?php } ?>

</head>

<body onload="load()" onunload="GUnload()">

<div align="center">
	<table border="0" width="910" cellspacing="0" cellpadding="0">
		<tr>
			<td style="background:url(templates/wide_realty/images/lshadow.png) repeat top left;" width="5">&nbsp;</td>
			<td width="900" valign="top">
			<div align="center">
	<table border="0" width="900" cellspacing="0" cellpadding="0">
		<tr>
			<td width="730" valign="top">
			<table border="0" width="100%" cellspacing="0" cellpadding="0">
											<tr>
					<td colspan="2">
			<img src="templates/wide_realty/images/ronan.PNG" width="730" height="183" alt="" /></td>
				</tr>
											<tr>
					<td colspan="2"><?php if (mosCountModules('left')>0) { ?><?php mosLoadModules ( "left" ); ?><br />
													&nbsp;
			<?php } ?></td>
				</tr>
				<tr>
					<td width="170" valign="top" style="background:url(templates/wide_realty/images/wide_realty_13.gif) repeat top left;">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
	<tr>
		<td><?php if (mosCountModules('left')>0) { ?><?php mosLoadModules ( "left" ); ?><br />
																&nbsp;
			<?php } ?></td>
	</tr>

	<?php if (mosCountModules('user1')>0) { ?>
		<tr><td><?php mosLoadModules ( 'user1' ); ?><br />&nbsp;</td></tr>
	<?php } ?>

	<?php if (mosCountModules('user2')>0) { ?>
		<tr><td><?php mosLoadModules ( 'user2' ); ?><br />&nbsp;</td></tr>
	<?php } ?>

	<?php if (mosCountModules('user3')>0) { ?>
		<tr><td><?php mosLoadModules ( 'user3' ); ?></td></tr>
	<?php } ?>
</table>
					<br />

<div align="center">

  </div>

</td>
					<td valign="top" width="560" style="background:url(templates/wide_realty/images/wide_realty_09.gif) repeat top left;">&nbsp;<div align="center">
					<?php
          if (mosCountModules('banner')>0) { ?>
<div align="center">
	<table border="0" cellspacing="7" cellpadding="7">
		<tr>
			<td>
<?php mosLoadModules ( 'banner' ); ?>
			</td>
		</tr>
	</table>
</div>
<?php } ?>
			<table border="0" width="100%" cellspacing="7" cellpadding="7">

	<?php if (mosCountModules('user7')>0) { ?>
					<tr>
						<td><?php mosLoadModules ( 'user7' ); ?></td>
					</tr>
	<?php } ?>
	<?php if (mosCountModules('user8')>0) { ?>
					<tr>
						<td><?php mosLoadModules ( 'user8' ); ?></td>
					</tr>
	<?php } ?>
					<tr>
						<td>
							<?php mosMainBody(); ?></td>
					</tr>
					<tr>
						<td>
							<?php mosLoadModules ( 'bottom' ); ?></td>
					</tr>
				</table>
						<br />&nbsp;</td>
				</tr>
				<tr>
					<td colspan="2">
			<img src="templates/wide_realty/images/wide_realty_10.gif" width="730" height="11" alt="" /></td>
				</tr>
				<tr>
					<td colspan="2" style="background:url(templates/wide_realty/images/wide_realty_11.gif) repeat top left;" height="46">

<div align="center">
<?php if (mosCountModules('footer')>0) { ?><?php mosLoadModules ( "footer" ); ?><?php } ?>
</div>
						</td>
				</tr>
				<tr>
					<td colspan="2">
			<img src="templates/wide_realty/images/wide_realty_12.gif" width="730" height="14" alt="" /></td>
				</tr>
			</table>
			</td>
									<td width="170" valign="top" style="background:url(templates/wide_realty/images/wide_realty_13.gif) repeat top left;"><img src="(EmptyReference!)" alt="" height="112" width="184" border="0" /><br />
										<br />
										<br />
										<br />
										<br />
										<br />
										<br />
										<br />
										<br />
										<br />
										<table border="0" width="100%" cellspacing="0" cellpadding="0">
											<tr>
												<td><?php if (mosCountModules('right')>0) { ?><?php mosLoadModules ( "right" ); ?><br />
													&nbsp;
			<?php } ?></td>
											</tr>
											<?php if (mosCountModules('user4')>0) { ?>
											<tr>
												<td><?php mosLoadModules ( 'user4' ); ?><br />
													&nbsp;</td>
											</tr>
											<?php } ?><?php if (mosCountModules('user5')>0) { ?>
											<tr>
												<td><?php mosLoadModules ( 'user5' ); ?><br />
													&nbsp;</td>
											</tr>
											<?php } ?><?php if (mosCountModules('user6')>0) { ?>
											<tr>
												<td><?php mosLoadModules ( 'user6' ); ?></td>
											</tr>
											<?php } ?>
										</table>
										<br />
										&nbsp;</td>
								</tr>
	</table>
</div>
</td>
			<td style="background:url(templates/wide_realty/images/rshadow.png) repeat top left;" width="5">&nbsp;</td>
		</tr>
	</table>
</div>
</body>
</html>