<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="expires" content="<?php echo date("c", strtotime("+ 1 month"));?>" />
<title><?php echo $s40[title];?> - <?php echo $page[title];?></title>
<meta name="Description" content="<?php echo $s40[description];?> <?php echo $page[description];?>" />
<meta name="Keywords" content="<?php echo $s40[keywords];?>, <?php echo $page[keywords];?>" />
<meta http-equiv="Content-Language" content="<?php echo $s40[lang];?>" />
<meta name="generator" content="S40 CMS (s40.biz)) by AWEN art studio (www.awenart.eu)" />
<meta name="author" content="<?php echo $s40[name];?>" />
<meta name="distribution" content="Global" />
<meta name="robots" content="follow,index" />
<link href="<?php echo $s40[home];?>" rel="index" title="<?php echo $s40[title];?>" />
<?php echo theme($s40[theme]); ?>
<link href="themes/default/scripts/jquery.colorbox.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $s40[home]; ?>rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo $s40[title];?>" />
<link href="themes/default/default.ico" rel="shortcut icon" type="image/icon" />
<link rel="contents" href="index.php" />
<link rel="index" href="<?php echo $s40[home]; ?>" />
<link rel="canonical" href="<?php echo canonical(); ?>" />

<?php echo libraries($css[apikey],$css[jquery],$css[jqueryui],$css[prototype],$css[scriptaculous],$css[mootools],$css[swfobject],$css[yui]);?>
<script type="text/javascript" src="themes/default/scripts/jquery.js"></script>
<script type="text/javascript" src="themes/default/scripts/jquery.corners.js"></script>
<script type="text/javascript" src="themes/default/scripts/jquery.colorbox.js"></script>

<script type="text/javascript">
addEvent(window, 'load', initCorners);
function initCorners() {
	var rall = {
		tl: { radius: 10 },
		tr: { radius: 10 },
		bl: { radius: 10 },
		br: { radius: 10 },
		antiAlias: true
	}
	var rtop = {
		tl: { radius: 10 },
		tr: { radius: 10 },
		bl: { radius: 0 },
		br: { radius: 0 },
		antiAlias: true
	}
	var rbtm = {
		tl: { radius: 0 },
		tr: { radius: 0 },
		bl: { radius: 10 },
		br: { radius: 10 },
		antiAlias: true
	}
	curvyCorners(rall, ".roundall");
	curvyCorners(rtop, ".roundtop");
	curvyCorners(rbtm, ".roundbtm");
};
$(document).ready(function(){
	$("a[rel='s40-gallery']").colorbox();
});
$(document).ready(function(){
  // Reset Font Size
  var originalFontSize = $('html').css('font-size');
    $(".m").click(function(){
    $('.article').css('font-size', originalFontSize);
  });
  // Increase Font Size
  $(".l").click(function(){
    var currentFontSize = $('html').css('font-size');
    var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*1.2;
    $('.article').css('font-size', newFontSize);
    return false;
  });
  // Decrease Font Size
  $(".s").click(function(){
    var currentFontSize = $('html').css('font-size');
    var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*0.8;
    $('.article').css('font-size', newFontSize);
    return false;
  });
});
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-261414-14']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>

<body style="direction:<?php echo $s40[langdir];?>">
<div id="page" class="roundall">
<div id="header" class="roundtop">
<?php if ($s40[headerbar]){ ?>
<div id="headerbar" class="roundbtm">
<span id="resize"><a class="s" href="javascript:void(0);">a-</a> <a class="m" href="javascript:void(0);">a</a> <a class="l" href="javascript:void(0);">a+</a></span>
 | 
<a href="rss.xml">RSS</a>
</div>
<?php } ?>
<h1><a href="./"><?php echo $s40[title];?> - <?php echo $page[title];?></a></h1>
<h2><?php echo $s40[slogan];?></h2>
</div>
<div id="nav">
<ul>
<?php nav(); ?>
</ul>
</div>
<div id="content">
<div id="maincol" class="column<?php echo maincol($s40[sidecol]);?>">


<?php echo render($page[type],$page[textpos],$page[id],ischild($page[ch]),$page[ch]); ?>


<div class="clear"></div>
</div>
<div id="sidecol" class="column<?php echo sidecol($s40[sidecol]);?> roundall">
<?php echo gadgets(); ?>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div id="footer" class="roundbtm">
<div class="fad">
<?php echo $s40[title]." - ".date("Y"); ?>
</div> 
<?php echo pad($s40[theme],$dby,$pby); ?>
<div class="clear"></div>
</div>
</div>

</body>
</html>