<?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>
<meta name="google-site-verification" content="lXoV2omcQOtHpyyEwVzzFneKaV5qCUjstMU4jL1ZnTw" />

<jdoc:include type="head" />
<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 href="templates/<?php echo $this->template ?>/css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="highslide/highslide.css" />

<!--
	2) Optionally override the settings defined at the top
	of the highslide.js file. The parameter hs.graphicsDir is important!
-->

<script type="text/javascript">
	hs.graphicsDir = 'highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.wrapperClassName = 'dark borderless floating-caption';
	hs.fadeInOut = true;
	hs.dimmingOpacity = .75;

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .6,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});

</script>

</head>
<body id="page_bg">
	<div>
    <div style="margin:0 auto; width:980px; background:transparent url(templates/siteground-j15-84/images/headingback.png) no-repeat scroll center top; height:220px" >
    
    
    <div style="height:5px">
					
				</div>
    <div id="logo"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="templates/siteground-j15-84/images/logochue.png" /></td>
    <td><h1><a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?><br /><span style="font-family:Microsoft JhengHei, Gadget, sans-serif">徐機械工程有限公司</span></a></h1></td>
  </tr>
</table>
</div>
    
    
    <div style="margin:123px 0 0 10px;">
    <jdoc:include type="modules" name="user5" />
    
    </div>
    
    
    
    
    </div>
    
    <div style="margin:0 auto; width:980px; background:transparent url(templates/siteground-j15-84/images/headingback1.png) no-repeat scroll center top; height:30px" >
    <div style="padding:5px 0 0 25px; float:left">
					<jdoc:include type="module" name="breadcrumbs" />
					</div>
                    <div id="search" style="float:right; padding:padding-bottom:0;padding-left:0;padding-right:25px;padding-top:4px;" >
					<jdoc:include type="modules" name="user4" />
				</div>
				</div>
    </div>
    <div class="clr"></div>
	<div id="content">
	<?php if($this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
	<div class="c_middle">
	<?php elseif($this->countModules('left') and !$this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
	<div class="c_left">
	<?php elseif(!$this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
	<div class="c_right">
	<?php else: ?>
	<div class="c_full">
	<?php endif; ?>
	

	<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
    
	<div id="leftcolumn">	
		<jdoc:include type="modules" name="left" style="rounded" />
		<?php $sg = 'banner'; include "templates.php"; ?>
	</div>
	<?php endif; ?>
		
	<?php if($this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
	<div id="maincolumn">
	<?php elseif($this->countModules('left') and !$this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
	<div id="maincolumn_left">
	<?php elseif(!$this->countModules('left') and $this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
	<div id="maincolumn_right">
	<?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 id="footer">
	<jdoc:include type="modules" name="debug" />
	<div id="sgf">
		<? $sg = ''; include "templates.php"; ?>
	</div>
		
	</div>	
	</div>
	</div>
</body>
</html>