/* ------------------------------------------------------------------------- *
 * $Id$
 *
 * Copyright (c) 2007, Steven Bakker; all rights reserved.
 *
 * This code is released under the GNU Public License.
 *
 * Construct the block of HTML that contains the "now playing"
 * information. This assumes you already loaded the JavaScript
 * that defines the "getPlaying()" function.
 *
 * ------------------------------------------------------------------------- */
document.getElementById('nowPlaying').innerHTML =
	'<table class="nowPlaying">'
	+ '<tr>'
	+   '<td rowspan="4">'
	+     '<img id="nowPlaying.cover"'
	+        ' border="0" style="border:none; width:47px; height:47px"'
	+        ' src="/playlist/cover-null.png"/>'
	+   '</td>'
	+   '<td></td>'
	+ '</tr>'
	+ '<tr><td id="nowPlaying.title"></td></tr>'
	+ '<tr><td id="nowPlaying.artist"></td></tr>'
	+ '<tr><td id="nowPlaying.album"></td></tr>'
	+ '</table>'
    ;
getPlaying('/playlist/current.json', 'nowPlaying');

