{preload_replace:css_path="/public/css/"} {!-- Check values pre-launch --}
{preload_replace:js_path="/public/js/"} {!-- Check values pre-launch --}
{preload_replace:image_path="/public/images/"} {!-- Check values pre-launch --}
{preload_replace:URLpath="/"} {!-- Check values pre-launch --}
<!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>
<title>{if segment_1}{embed:page_title}{title_bullet}{/if}{site_name}</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="en-us" />
<meta name="copyright" content="Copyright (c) 2009-{current_time format='%Y'} {site_name}" />
{if embed:meta_description!=''}
<meta name="description" content="{embed:meta_description}" />
{if:else}
<meta name="description" content="{meta_description}" />
{/if}
{if embed:meta_keywords!=''}
<meta name="keywords" content="{embed:meta_keywords}" />
{if:else}
<meta name="keywords" content="{meta_keywords}" />
{/if}
<link rel="Shortcut Icon" href="{image_path}ui/favicon.ico" type="image/x-icon" />
<meta name="url" content="{site_url}" />
<meta name="designer" content="Trumpet (www.trumpetgroup.com)" />
<meta name="developer" content="Trumpet (www.trumpetgroup.com)" />
<meta name="robots" content="index, follow" />
<meta name="robots" content="all" />
<meta name="robots" content="noarchive" />
<meta name="revisit-after" content="1 Days" />
<meta name="distribution" content="global" />
<meta name="google-site-verification" content="" />

<link rel="stylesheet" type="text/css" media="screen,projection" href="{css_path}reset.css" />
<link rel="stylesheet" type="text/css" media="all" href="{css_path}base.css" />

<!-- JQuery -->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="{js_path}jquery.cycle.min.js"></script>

<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){

	// hides the slickbox as soon as the DOM is ready
	$('#projectSliderBox').hide();
	$('#contactSliderBox').hide();
	
	$('#projects').click(function() {
		$('#projectSliderBox').slideDown('slow');
		$('#contactSliderBox').slideUp('fast');
		return false;
	});
	$('#contact').click(function() {
		$('#contactSliderBox').slideDown('slow');
		$('#projectSliderBox').slideUp('fast');
		return false;
	});
	
	// Opening external links in new window and adding event tracking
	$("a[href*='http://']:not([href*='ekisticsinc.com'])").addClass("new-window");
	$('a.new-window').each(function() {
		$(this).attr("title", "Visit "+$(this).attr("href")+" (Opens in a new window)");
	    $(this).attr("target", "_blank");
		$(this).attr("onclick", "pageTracker._trackEvent('Outlinks', 'Click', '"+$(this).attr("href")+"');");
	});
	
	{if segment_1==""}
		{exp:channel:entries channel="projects" sort="desc" dynamic="no" status="not closed" show_future_entries="yes" disable="categories|member_data|pagination|trackbacks"}
			$('.{entry_id}').cycle({
				fx: 'fade',
				timeout: 3000,
				<?php
				$randomInteger = rand(0,10);
				?>
				delay: 1000*<?php echo $randomInteger;?>/2
				//timeoutFn: calculateTimeout
			});
		{/exp:channel:entries}
	{/if}
	
});

function calculateTimeout(currElement, nextElement, opts, isForward) { 
    // here we set even number slides to have a 2 second timeout; 
    // by returning false for odd number slides we let those slides 
    // inherit the default timeout value (4 sec) 
    var index = opts.currSlide; 
    return index % 2 ? 2000 : false; 
}

//]]>
</script>
{!-- place Google Analytics code here --}
{analytics_code}
</head>

<body>
	<div id="container">
	    <div id="head">
          	<div id="logo">
				<h1>{site_name}</h1>
				<a href="{URLpath}" title="Home"><img src="{image_path}ui/ekistics_logo.png" alt="{site_name}" /></a>
			</div><!-- END LOGO -->
			<div id="navigation">
				<ul class="nav">
					<li><a id="projects" {if segment_1=='projects'}class="current"{/if} href="#" title="Projects">projects</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
					<li><a {if segment_1=='vision'}class="current"{/if} href="/vision" title="Vision">vision</a>&nbsp;&nbsp;|&nbsp;&nbsp;</li>
					<li><a id="contact" {if segment_1=='contact'}class="current"{/if} href="#" title="Contact">contact</a></li>
				</ul>
			</div> <!-- END NAVIGATION -->
		</div>
		<div id="sliderBoxes">
			<div id="projectSliderBox">
				<div style="padding-left:50px;">
				{exp:channel:categories style="linear"}
					<div class="categoryGroup">
						<h2>{category_name}</h2>
						<ul class="projects">
							{exp:channel:entries channel="projects" category="{category_id}" orderby="title" sort="asc" dynamic="no" status="not closed" show_future_entries="yes" disable="categories|member_data|pagination|trackbacks"}
								<li>{if project_display_link=="Yes, link it!"}<a href="" title="Visit the {title} page.">{/if}{title}{if project_display_link=="Yes, link it!"}</a>{/if}{if project_sold_out!=""} - sold out{/if}</li>
							{/exp:channel:entries}
						</ul>
					</div>
				{/exp:channel:categories}
				</div>
			</div>
			<div id="contactSliderBox">
				<div style="padding-left:50px;">
					<span style="color:#000;">ekistics</span><br/>
					220 camp street<br/>
					5th floor<br/>
					new orleans la 70130<br/>
					t 504 593 9494<br/>
					<script type="text/javascript">
					//<![CDATA[
					
					function hiveware_enkoder(){var i,j,x,y,x=
					"x=\"783d227d4227363a2f7d2d422f6127302532326d45782a69376b3a7b416d3e763b7d3f" +
					"453b333e23412532353e313c3a3f453b333f7141433e706a7c3e6f3d763e2a38373c3a6e43" +
					"3e233e453e2f6d2f3e43416e3e77697a3b306e713e453c383f436b713e44412532323e3639" +
					"743e6d6c763e6f3a7c3a706b433d716c333b453e413e3f3d313e2532353a6e3f77407a3e30" +
					"38723a4539553e696b7c3b703a363a7540713a763d303e2532323c363f74416d3e763a6f3f" +
					"7c3f703f346d713a333c413f3f6d313e433d353e356c723e463d453f713b433e316e253235" +
					"3e233c333e45642532322a36376b3a7045692532327a6d49747c3630253232724431714343" +
					"2a38374537712a30377a3777236e434361272f402f7e4542232c432c64402a7d37423a7a6a" +
					"733b6a38783b686a663b75416a3a2d3a7d3a2e6d403b6b39743e776e2d3a6e6b423b356c40" +
					"3e6e6e413e7d3b333e716d6a3a733b6c3e796d6d3e40416e3e303b303f2e3b2532323e6f41" +
					"423e7d3c333f683b6d3f6641773e486a743e693d6a3e4638793c2d6e6e3e2e3e323e386d40" +
					"3e6e416b3e2d6d6f3b413a383a376b2e3d6f6c303e426e3e3e393b403e7e6d303a423b583e" +
					"796d773e6e23732a6c3733376b4377317431723a48346d716630777a487c747b696a6a7d2d" +
					"7b6f362e25323224337e27406f426a7b66712d7d33686d667746792d352e2e407d427d3378" +
					"7a677879772d362e407e422c2c406b74772d6e4235406e417d33716a736c796d406e304237" +
					"2e2532327e30427d33787a677879772d6e31362e40246b74772d6e4236406e417d33716a73" +
					"6c796d406e3042372e2532327e30427d33787a677879772d6e31362e40247e427e33787a67" +
					"7879772d6f2e40223b793d27273b783d756e6573636170652878293b666f7228693d303b69" +
					"3c782e6c656e6774683b692b2b297b6a3d782e63686172436f646541742869292d353b6966" +
					"286a3c3332296a2b3d39343b792b3d537472696e672e66726f6d43686172436f6465286a29" +
					"7d79\";y='';for(i=0;i<x.length;i+=2){y+=unescape('%'+x.substr(i,2));}y";
					while(x=eval(x));}hiveware_enkoder();
					
					//]]>
					</script>
				</div>
			</div>
		</div>
	