?>
");
	});
</script>


<form action="<?php 
echo JRoute::_('index.php');
?>
" method="post" name="registerform" id="registerform">
<div class="row-fluid">
	<?php 
if ($this->isAgent) {
    ?>
		<div class="span12"><?php 
    echo AgentFrontend::addAgentMenu('profile');
    ?>
</div>
		<div class="clearfix"></div>
		<hr>
	<?php 
}
?>
	<div class="span6">
	<?php 
$layout = new JLayoutFile('customer', $basePath = JPATH_ROOT . '/components/com_bookpro/layouts');
$html = $layout->render($this->customer);
echo $html;
?>
	<div class="btn-toolbar center">
		<button type="submit" class="btn btn-primary"><i class="icon-save"> </i>&nbsp<?php 
<?php

/**
 * @package 	Bookpro
 * @author 		Ngo Van Quan
 * @link 		http://joombooking.com
 * @copyright 	Copyright (C) 2011 - 2012 Ngo Van Quan
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id$
 **/
defined('_JEXEC') or die('Restricted access');
$doc = JFactory::getDocument();
$doc->setTitle($this->customer->lastname);
?>

<form action="<?php 
echo JRoute::_('index.php');
?>
" method="post" name="registerform" >
	<div class="row-fluid">
	<?php 
if ($this->isAgent) {
    ?>
		<div class="span12"><?php 
    echo AgentFrontend::addAgentMenu('password');
    ?>
</div>
		<div class="clearfix"></div>
		<hr>
	<?php 
}