snip_document-top - UltraTrains

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

#if($group.getRoot().getAttribute("catalog_host") && $group.getRoot().getAttribute("catalog_host").length() > 0)
   #set($catalogHost = "$group.getRoot().getAttribute('catalog_host')")
#else
   #set($catalogHost = 'secure.ultracart.com')
#end

#set($catalogHostUrl = "http://$catalogHost")
#if($group.getRoot().getAttribute('themecode') && $group.getRoot().getAttribute('themecode').length() > 0)
   #set($themeCode = $group.getRoot().getAttribute('themecode'))
#else
   #set($themeCode = "DFLT")
#end

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  #set($title = "Demo Store")
  <title>$title</title>

  #if($item)
     #set($object = $item)
  #else
     #set($object = $group)
  #end

  #if($object.getAttribute("meta_description") && $object.getAttribute("meta_description").length() > 0)
     <meta name="description" content="$object.getAttribute('meta_description')" />
  #end

  #if($object.getAttribute("meta_keywords") && $object.getAttribute("meta_keywords").length() > 0)
    <meta name="keywords" content="$object.getAttribute('meta_keywords')" />
  #end

  <link type="text/css" rel="stylesheet" media="screen" href="$baseUrl/assets/css/styles.css"/>
  <link type="text/css" rel="stylesheet" media="screen" href="$baseUrl/review.css"/>

  <script type="text/javascript" src="$baseUrl/assets/js/jquery-1.3.2.min.js"></script>
  <script type="text/javascript" src="$baseUrl/assets/js/common.js"></script>

  #if($merchantLoggedIn)
     $group.getCatalogJavaScript()
  #end

  #if($group.getRoot().getMultimediaByCode("logo"))
     <style type="text/css">
        .header .left a {
           background: transparent url($group.getRoot().getMultimediaByCode("logo").getViewUrl()) left top no-repeat;
        }
     </style>
  #end
</head>
<body>