<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>

<style type="text/css"/>
	#nav {	margin-left: 34px; width:  340px;  }
	#video {	width:  420px;  }
	#video {	height: 280px; border: 0; }
	#options-video { position: absolute; top: 300px; }
	#options-video ul { padding: 0; margin: 0; list-style: none; }
	#options-video ul li { float: left; margin-right: 10px; }

	#nav { margin-top: -5px; padding-bottom: 100px;}
	.next-segment { display: block; width: 52px; height: 25px; text-align: center; line-height: 292px; font-size: 0pt; background: transparent url(<<theme_dir>>/vidbtn_fwd.png) left top no-repeat; font-weight: bold; font-family: Arial, Tahoma, Verdana, sans-serif; text-decoration: none; }
	.prev-segment { display: block; width: 52px; height: 25px; text-align: center; line-height: 292px; font-size: 0pt; background: transparent url(<<theme_dir>>/vidbtn_back.png) left top no-repeat; font-weight: bold; font-family: Arial, Tahoma, Verdana, sans-serif; text-decoration: none; }
	.next-segment:hover, .prev-segment:hover { background-position: 0-25px; color: #080; }
	.left { float: left; }
	.right { float: right; }
	body { padding: 0; margin: 0; }
	
</style>

<script type="text/javascript" src="ufo.js"></script>
<script type="text/javascript">

	var count = <<count>>;
	var url = "index.pl?action=vidiframe";

	function nextSegment(pCount) {

		if (pCount < 0) pCount = 0;
		count = pCount + 1;

		document.getElementById('video').src = url+pCount;
	}
</script>
<link href="<<theme_dir>>/wiipaperMV.css" rel="stylesheet" type="text/css"/>
<title>WiiCR Player</title>

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">

</head>
<body style="background: #000;">

<div id="info">
	<script type="text/javascript">
		document.write('<iframe id="video" src="'+url+(count-1)+'"></iframe>');
	</script>
	
	<div id="nav">
		<a class="prev-segment left" href="javascript:nextSegment(count-2);">&lt;&lt;</a>
		<a class="next-segment right" href="javascript:nextSegment(count);">&gt;&gt;</a>
	</div>

	<div id"options-video">
	</div>	

	<div id="options">
		<ul>
			<li><a href="/wiicr/index.pl"><img src="/wiicr/themes/WiipaperMV/ico_home.png" border="0" alt="Home"/></a></li>
			<li><a href="/wiicr/index.pl?action=config"><img src="/wiicr/themes/WiipaperMV/ico_config.png" border="0" alt="Config"/></a></li>
			<li><a href="/wiicr/themes/WiipaperMV/mp3play/"><img src="/wiicr/themes/WiipaperMV/ico_mp3play.png" border="0" alt="MP3 Play"/></a></li>
			<li><a href="/wiicr/themes/WiipaperMV/shoutcast/"><img src="/wiicr/themes/WiipaperMV/ico_shout.png" border="0" alt="Shoutcast"/></a></li>
			<li><a href="http://wiifii.net/"><img src="/wiicr/themes/WiipaperMV/ico_games.png" border="0" alt="WiiFii !!!"/></a></li>
			<li><a href="/wiicr/index.pl?action=links"><img src="/wiicr/themes/WiipaperMV/ico_links.png" border="0" alt="Links"/></a></li>
			<li><a href="/wiicr/index.pl?action=favs"><img src="/wiicr/themes/WiipaperMV/ico_favs.png" border="0" alt="Favourites"/></a></li>
			<li><a href="/wiicr/themes/WiipaperMV/Calculator/"><img src="/wiicr/themes/WiipaperMV/ico_calc.png" border="0" alt="Calculator"/></a></li>
		</ul>
	</div>
	
	<p id="player2"></p>
	</div>
</body>
</html>