<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>Pluto Tracks</title>
  <link href="/stylesheets/layout.css" rel="stylesheet" type="text/css" />
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag 'swfobject' %>
  <%= ajaxful_rating_style %>



<script language="JavaScript1.2" type="text/javascript">
<!--
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];}
}
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];}}
}

//-->
</script>


</head>

<body class="oneColFixCtrHdr">

  <div id="container">
    <div id="header">
     	<table border="0" cellpadding="0" cellspacing="0" width="990">
		<!-- fwtable fwsrc="pluto_menu.png" fwpage="Page 1" fwbase="pluto_layout.png" fwstyle="Dreamweaver" fwdocid = "1484877453" fwnested="0" -->
		  <tr>
		   <td><img src="/images/spacer.gif" width="63" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="224" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="326" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="58" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="14" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="116" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="20" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="79" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="90" height="1" border="0" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
		  </tr>

		  <tr>
		   <td colspan="9"><img name="pluto_head" src="/images/pluto_head.jpg" width="990" height="13" border="0" id="pluto_head" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="1" height="13" border="0" alt="" /></td>
		  </tr>
		  <tr>
		   <td colspan="3"><img name="pluto_layout_r2_c1" src="/images/pluto_layout_r2_c1.jpg" width="613" height="9" border="0" id="pluto_layout_r2_c1" alt="" /></td>
		   <td rowspan="2"><a href="/home" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('home_button','','/images/home_button_f2.jpg',1);"><img name="home_button" src="/images/home_button.jpg" width="58" height="20" border="0" id="home_button" alt="" /></a></td>
		   <td rowspan="4"><img name="pluto_layout_r2_c5" src="/images/pluto_layout_r2_c5.jpg" width="14" height="300" border="0" id="pluto_layout_r2_c5" alt="" /></td>
		   <td rowspan="2"><a href="/songs" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('browse_button','','/images/browse_button_f2.jpg',1);"><img name="browse_button" src="/images/browse_button.jpg" width="116" height="20" border="0" id="browse_button" alt="" /></a></td>
		   <td rowspan="4"><img name="pluto_layout_r2_c7" src="/images/pluto_layout_r2_c7.jpg" width="20" height="300" border="0" id="pluto_layout_r2_c7" alt="" /></td>
		   <td rowspan="2"><a href="/about" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('about_us_button','','/images/about_us_button_f2.jpg',1);"><img name="about_us_button" src="/images/about_us_button.jpg" width="79" height="20" border="0" id="about_us_button" alt="" /></a></td>
		   <td rowspan="4"><img name="pluto_layout_r2_c9" src="/images/pluto_layout_r2_c9.jpg" width="90" height="300" border="0" id="pluto_layout_r2_c9" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="1" height="9" border="0" alt="" /></td>
		  </tr>
		  <tr>
		   <td rowspan="3"><img name="pluto_layout_r3_c1" src="/images/pluto_layout_r3_c1.jpg" width="63" height="291" border="0" id="pluto_layout_r3_c1" alt="" /></td>
		   <td rowspan="2"><a href="/home" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('pluto_button','','/images/pluto_button_f2.jpg',1);"><img name="pluto_button" src="/images/pluto_button.jpg" width="224" height="57" border="0" id="pluto_button" alt="" /></a></td>
		   <td rowspan="3"><img name="pluto_layout_r3_c3" src="/images/pluto_layout_r3_c3.jpg" width="326" height="291" border="0" id="pluto_layout_r3_c3" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="1" height="11" border="0" alt="" /></td>
		  </tr>
		  <tr>
		   <td rowspan="2"><img name="pluto_layout_r4_c4" src="/images/pluto_layout_r4_c4.jpg" width="58" height="280" border="0" id="pluto_layout_r4_c4" alt="" /></td>
		   <td rowspan="2"><img name="pluto_layout_r4_c6" src="/images/pluto_layout_r4_c6.jpg" width="116" height="280" border="0" id="pluto_layout_r4_c6" alt="" /></td>
		   <td rowspan="2"><img name="pluto_layout_r4_c8" src="/images/pluto_layout_r4_c8.jpg" width="79" height="280" border="0" id="pluto_layout_r4_c8" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="1" height="46" border="0" alt="" /></td>
		  </tr>
		  <tr>
		   <td><img name="pluto_layout_r5_c2" src="/images/pluto_layout_r5_c2.jpg" width="224" height="234" border="0" id="pluto_layout_r5_c2" alt="" /></td>
		   <td><img src="/images/spacer.gif" width="1" height="234" border="0" alt="" /></td>
		  </tr>
		</table>
    </div>
    <div id="mainContent">
	<div id="mainContentHeader">
		<img src="/images/content_top_bar.jpg" width="990" height="25" border="0">
		  
		
	</div>
	<div id="mainContentCenter">
		
		<% if logged_in? -%>
		  <div id="user-bar-greeting">Logged in as <%= link_to_current_user :content_method => :login %></div>
		  <div id="user-bar-action"  >(<%= link_to "Log out", logout_path, { :title => "Log out" }    %>)</div>
		<% else -%>
		  <div id="user-bar-greeting"><%= link_to_login_with_IP 'Not logged in', :style => 'border: none;' %></div>
		  <div id="user-bar-action"  ><%= link_to "Log in",  login_path,  { :title => "Log in" } %> /
		                               <%= link_to "Sign up", signup_path, { :title => "Create an account" } %></div>
		<% end -%>
			<div style="clear:both;"></div>
				    	<div id="body">
							<p style="color: green" id="notice"><%= flash[:notice] %></p>
							<p style="color: red" id="alert"><%= flash[:alert] %></p>
							<p style="color: red" id="error"><%= flash[:error] %></p>
						
			</div> <!-- end of body div -->
	
      <%= yield %>


		</br>
		</br>

</div>

  <div id="mainContentFooter">
    <img src="/images/content_bottom.jpg" width="990" height="124" />
	</div>

<!-- end of mainContent-->
</div>
  
  

<!-- end of container-->
</div>
</body>
</html>
