<?php

defined('_JEXEC') or die('Restricted access'); // no direct access

require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php';

$document = null;

if (isset($this))

  $document = & $this;

$baseUrl = $this->baseurl;

$templateUrl = $this->baseurl . '/templates/' . $this->template;

artxComponentWrapper($document);

?>

<!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="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />

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

 <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" />

 <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->

 <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->

 		<!-- Start VideoLightBox.com HEAD section -->
		<link rel="stylesheet" href="images/film/engine/css/videolightbox.css" type="text/css" />
		<style type="text/css">#videogallery a#videolb{display:none}</style>
		
			<link rel="stylesheet" type="text/css" href="images/film/engine/css/overlay-minimal.css"/>
			<script src="images/film/engine/js/jquery.tools.min.js" type="text/javascript"></script>
			<script src="images/film/engine/js/swfobject.js" type="text/javascript"></script>
			<!-- make all links with the 'rel' attribute open overlays -->
	<script src="images/film/engine/js/videolightbox.js" type="text/javascript"></script>
		<!-- End VideoLightBox.com HEAD section -->

    <script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
    </script>


</head>

<body>
<script type="text/javascript">

function onYouTubePlayerReady(playerId) { 
ytplayer = document.getElementById("video_overlay"); 
ytplayer.setVolume(100); 
} 

</script> 
<div id="art-main">

<div class="art-sheet">

    <div class="art-sheet-cc"></div>

    <div class="art-sheet-body">

<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />

<?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>

<div class="art-content-layout">

    <div class="art-content-layout-row">

<?php if (artxCountModules($document, 'left')) : ?>

<div class="art-layout-cell art-sidebar1"><?php echo artxModules($document, 'left', 'art-block'); ?>

</div>

<?php endif; ?>

<div class="art-layout-cell art-<?php echo artxCountModules($document, 'left') ? 'content' : 'content-wide'; ?>">



<?php

  echo artxModules($document, 'banner2', 'art-nostyle');

  if (artxCountModules($document, 'breadcrumb'))

    echo artxPost(null, artxModules($document, 'breadcrumb'));

  echo artxPositions($document, array('user1', 'user2'), 'art-article');

  echo artxModules($document, 'banner3', 'art-nostyle');

?>

<?php if (artxHasMessages()) : ?><div class="art-post">

    <div class="art-post-body">

<div class="art-post-inner">

<div class="art-postcontent">

    <!-- article-content -->



<jdoc:include type="message" />



    <!-- /article-content -->

</div>

<div class="cleared"></div>



</div>



		<div class="cleared"></div>

    </div>

</div>

<?php endif; ?>

<jdoc:include type="component" />

<?php echo artxModules($document, 'banner4', 'art-nostyle'); ?>

<?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?>

<?php echo artxModules($document, 'banner5', 'art-nostyle'); ?>

</div>



    </div>

</div>

<div class="cleared"></div>



<?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?>

<jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />

<div class="art-footer">

    <div class="art-footer-body">

        <div class="art-footer-text">

          <?php if (artxCountModules($document, 'copyright') == 0): ?>

<p>Copyright &copy; 2010 ---.<br />

All Rights Reserved.</p>



          <?php else: ?>

          <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?>

          <?php endif; ?>

        </div>

		<div class="cleared"></div>

    </div>

</div>

		<div class="cleared"></div>

    </div>

</div>

<div class="cleared"></div>

<p class="art-page-footer"></p>



</div>



</body> 

</html>