<?xml version="1.0" encoding="ISO-8859-1"?>
<smil>
	<head>
		<layout>
			<root-layout height="600" width="600" background-color="rgb(110,110,250)"/>
			<region id="screen" left="20" top="20" height="450" width="500" z-index="1"/>
			<region id="texts" left="20" top="460" height="50" width="560" z-index="1"/>
		</layout>
	</head>
	<body>
		<seq>
			<text begin="0s" id="intro" type="text/plain" region="screen" src="data:,XHTML document inside SMIL." dur="2s"/>
			<par>
				<!-- Here we show an image, which is actually a XHTML file -->
                                <!--
				<img id="SVG Example" src="../xhtml/textdemo3.xhtml" region="screen" begin="0s" end="30s">
                                -->
				<img id="SVG Example" src="../demos.xml" region="screen" begin="0s" end="30s">
					<animate targetElement="screen" attributeName="height" from="0" to="450" begin="1s" dur="3s"/>
					<animate targetElement="screen" attributeName="width" from="0" to="500" begin="1s" dur="3s"/>
					
					<animate targetElement="screen" attributeName="left" from="0" to="250" begin="4s" dur="2s"/>
					<animate targetElement="screen" attributeName="top" from="0" to="0" begin="4s" dur="2s"/>
					
					<animate targetElement="screen" attributeName="top" from="0" to="250" begin="6s" dur="2s"/>
					<animate targetElement="screen" attributeName="left" from="250" to="250" begin="6s" dur="2s"/>

					<animate targetElement="screen" attributeName="left" from="250" to="0" begin="8s" dur="2s"/>
					<animate targetElement="screen" attributeName="top" from="250" to="250" begin="8s" dur="2s"/>

					<animate targetElement="screen" attributeName="top" from="250" to="0" begin="10s" dur="2s"/>
					<animate targetElement="screen" attributeName="left" from="0" to="0" begin="10s" dur="2s"/>

					<animate targetElement="screen" attributeName="top" from="0" to="0" begin="12s" dur="1s"/>
					<animate targetElement="screen" attributeName="left" from="0" to="0" begin="12s" dur="1s"/>
				</img>
				<text id="outoftime" type="text/plain" region="texts" src="data:,Time ends!!!" begin="27s" dur="2s"/>
			</par>
			<text begin="0s" id="end" type="text/plain" region="screen" src="data:,The End." dur="25s"/>
		</seq>
	</body>
</smil>
