<!DOCTYPE html>
<html>
<head>
  <title><%= full_title(yield(:title)) %></title>
  <link href='http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700' rel='stylesheet' type='text/css'>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <%= stylesheet_link_tag    "corp/corporate", :media => "all" %>
  <% if bugsnag? %>
      <!-- THIS NEEDS TO BE IN FRONT OF ANY OTHER JAVASCRIPT INCLUDES ACCORDING TO BUGSNAG -->
      <script src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-1.0.9.min.js" data-apikey="<%= Rails.application.config.bugsnag_key %>"></script>
  <% end %>
  <%= javascript_include_tag "corp/corporate" %>
  <%= csrf_meta_tags %>
</head>
<body class="corporate" data-purpose="<%= yield(:purpose) %>">

<div class="wrapper">

  <!-- header -->

  <div class="logo-home"><a href="/"><%= image_tag("logo_corporate.png", height: '54', width: '298') %></a></div>
  <div class="right"><br>
    <br>
    <br>
    <a href="/" class="button-orange">BACK TO JAMKAZAM HOME</a>
  </div>
  <br clear="all">

  <!-- start navigation -->
  <div id="nav">
    <%= link_to "about us", corp_about_path, :data => { :purpose => 'about'} %>
    <%= link_to "news", corp_news_path, :data => { :purpose => 'news'} %>
    <%= link_to "media center", corp_media_center_path, :data => { :purpose => 'media_center'} %>
    <%= link_to "contact", corp_contact_path, :data => { :purpose => 'contact'} %>
    <%= link_to "privacy", corp_privacy_path, :data => { :purpose => 'privacy'} %>
    <%= link_to "terms of service", corp_terms_path, :data => { :purpose => 'terms'} %>
    <%= link_to "help", corp_help_path, :data => { :purpose => 'help'} %>
  </div>
  <!-- end navigation -->
  <br clear="all">

  <%= yield %>


  <div id="footer">

    <!-- copyright -->
    <div id="copyright">Copyright &copy; <%= Time.now.year %> JamKazam, Inc. All Rights Reserved</div>

    <!-- footer links -->
    <div id="footer-links"><%= link_to "about", corp_about_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "news", corp_news_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "media", corp_media_center_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "contact", corp_contact_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "privacy", corp_privacy_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "terms of service", corp_terms_path %>&nbsp;&nbsp;|&nbsp;<%= link_to "help", corp_help_path %></div>

    <div id="version"><%= version %></div>
  </div>
</div>

<%= render "shared/ga" %>
</body>
</html>
