<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
JPlugin::loadLanguage( 'tpl_SG1' );
?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="shortcut icon" href="../favicon.ico" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

<!--[if lte IE 6]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" />
<![endif]-->

</head>
<body class="body_bg">
	<div id="page_bg">

		<div id="wrapper">
			<div id="topcol">
				<!-- Pillmenu -->
				<div id="pillmenu">
					<!-- User Help: Center menu replace float: left; or float: right; with : margin: 0 auto;  -->
					<table cellspacing="0" cellpadding="0" style="float: left;">
						<tr>
							<td>
								<jdoc:include type="modules" name="user3" />
							</td>
						</tr>
					</table>
					<div class="clr"></div>
				</div>
				<!-- /Pillmenu -->
				<div id="search">
					<jdoc:include type="modules" name="user4" />
					<div class="clr"></div>
				</div>
				<div class="clr"></div>
			</div>
			
			<div id="header">
				<div id="logo">
					<a href="index.php"></a>
				</div>
				
				<div id="header_news">
					<div class="latest">
					<jdoc:include type="modules" name="user1" style="rounded" />
					</div>
					<div class="popular">
					<jdoc:include type="modules" name="user2" style="rounded" />
					</div>
					<div class="clr"></div>
				</div>
				
				<!--pathway start-->
				<div class="cpathway">
					<jdoc:include type="module" name="breadcrumbs" />
				</div>
				<!--pathway end-->
			</div>
			
			<div id="wrapper_2">
				<div id="holder">
					
					<div id="content">
						<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
							<div id="leftcolumn">	
								<jdoc:include type="modules" name="left" style="rounded" />
							</div>
							<?php endif; ?>
							
							<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
							<div id="maincolumn">
							<?php else: ?>
							<div id="maincolumn_full">
							<?php endif; ?>
								<div class="nopad">		
									<jdoc:include type="message" />
									<?php if($this->params->get('showComponent')) : ?>
										<jdoc:include type="component" />
									<?php endif; ?>
								</div>
							</div>
							
							<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
							<div id="rightcolumn">
								<jdoc:include type="modules" name="right" style="rounded" />								
							</div>
						<?php endif; ?>
						<div class="clr"></div>
					</div>	
				</div>
				
				<!--footer start-->
				<div id="footer">
					<div id="f123">
						<div>
							<div style="text-align: center; padding: 18px 0 0;">
								Все права защищены и охраняются законом. &copy; 2007-2009 <b>ООО "ВИАТАУ"</b>. Телефон: <b>+7(495) 741-3303</b>. <a href='/index.php/contacts'>г. Дзержинский, ул. Энергетиков, д. 1</a>.
							</div> 
						</div>
					</div>
				</div>
				<!--footer end-->
					
			</div>
			
			</div>
			
		</div>
		
	</div>
	<jdoc:include type="modules" name="debug" />
</body>
</html>