<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0025)http://m2t.321.lt/sviesa/ -->
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
	$width = 800;
	$height = 600;
	$fullscreen = 0;
	$o_id = 0;
	if(isset($_GET['width']) && isset($_GET['height'])) {
		$width = $_GET['width'];
		$height = $_GET['height'];
		$fullscreen = 1;
	}
	if(isset($_GET['o_id'])) {
		$o_id = $_GET['o_id'];
	}
?>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta content="MSHTML 6.00.6000.16544" name=GENERATOR>
    <title>Demonstracija</title>
    <?php if($fullscreen == 0) { ?>
    <link rel="stylesheet" type="text/css" href="data/styles/style.css" media="screen" />
    <?php } ?>
	<script type="text/javascript" language="JavaScript" src="data/scripts/swfobject.js"></script>
</head>
<body>

<div class="horizon">
<div class="player">                                           
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="<?php print $width; ?>" height="<?php print $height; ?>" id="grotuvas_prototype" align="left">
		<param name="movie" value="data/player.swf?playerType=do_ld&get_id=1" />
		<param name="quality" value="high" />
		<param name="bgcolor" value="#ffffff" />
		<param name="allowScriptAccess" value="always" />
		<param name="allowFullScreen" value="true" />
		<embed src="data/player.swf?playerType=do_ld&get_id=1" quality="high" bgcolor="#ffffff" width="<?php print $width; ?>" height="<?php print $height; ?>" name="grotuvas_prototype" align="left" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
	</object>  
	<script type="text/javascript" language="JavaScript" src="data/scripts/noieactivate.js"></script>
</div>
</div>
<script type="text/javascript" language="JavaScript"> 
function playerFullScreen() {
	var fullscreen = <?php print $fullscreen; ?>;
	var URL = "";  
	URL = "http://mkp.emokykla.lt/fizika9-10/fobjects/view_fullscreen/<?php print $o_id; ?>/" + screen.width + "/" + (screen.height - 90);
	full_window = window.open(URL, "flashplayer", "status=0, titlebar=0, toolbar=0, location=0, menubar=0, directories=0, resizable=0, scrollbars=0, width=" + screen.width + ", height=" + screen.height);

	if(fullscreen == 1) {
		full_window.close();
	} 
}
</script>
</body>
</html>
