<html lang="ru"> 
<head> 
<meta http-equiv="Content-Type" content="text/html;" /> 
<title></title> 
<meta name="keywords" content="" /> 
<meta name="robots" content="index, follow" /> 
<link rel="icon" type="image/png" href="icon_up.png">

<link rel="stylesheet" href="themes/base/jquery.ui.all.css">
<link rel="stylesheet" href="themes/demos.css">

<style>
	#draggable, #draggable2 { width: 320px; height: 270px; padding: 0.5em; float: left; margin: 0 10px 10px 0; }
	#draggable p, #draggable2 p { cursor: move; }
	#myflash {padding:0px}
	#textchat{width: 480px;height:100%;}
	
</style>




<!--[if IE]><link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, projection"><![endif]--> 
<script  language="javascript" type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script  language="javascript" type="text/javascript" src="js/ui/jquery.ui.core.js"></script>
<script  language="javascript" type="text/javascript" src="js/ui/jquery.ui.widget.js"></script>
<script  language="javascript" type="text/javascript" src="js/ui/jquery.ui.mouse.js"></script>
<script  language="javascript" type="text/javascript" src="js/ui/jquery.ui.draggable.js"></script>
<script  language="javascript" type="text/javascript" src="js/ui/jquery.ui.dialog.js"></script>

<script  language="javascript" type="text/javascript" src="js/ui/jquery.effects.core.js"></script>
<script  language="javascript" type="text/javascript" src="js/ui/jquery.effects.blind.js"></script>
<script  language="javascript" type="text/javascript" src="js/ui/effects.explode.js"></script>

	


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




<script language="javascript" type="text/javascript"> 

$(function() {
		$( "#draggable" ).draggable({ handle: "p"});
		$( "#draggable2" ).draggable({ handle: "p"});

		/*$( "div, p" ).disableSelection();
		*/
		
		
		$( "#dialog" ).dialog({
			autoOpen: false,
			show: "blind",
			hide: "explode"
		});
		
		
		$( "#dialogAlert" ).dialog({
			autoOpen: false,
			show: "blind",
			hide: "explode"
		});
		
	});

	
	
	function setCreatorMD5(value)
	{
		creatorMD5 = value;
	}
	function getCreatorMD5()
	{
		return creatorMD5;
	}
	
	
	
function getChannel(channelCode)
{
	dialogInfo.innerHTML = channelCode;
//	$( "#dialog" ).dialog( "open" );
	return false;
}
function getAlert(alertMessage)
{
	dialogInfo.innerHTML = alertMessage;
//	$( "#dialogAlert" ).dialog( "open" );
	return false;
}
	
</script>




<?php if(isset($_GET['key_hash'])) { ?>
<script type="text/javascript"> 
	var flashvars = {};
	var params = {};


    flashvars.f = "<?=$_GET['key_hash']?>";
    flashvars.domen = "http://videotell.redflasher.ru/";


			params.wmode = "transparent";
			params.swliveconnect = "true";
			params.allowscriptaccess = "always";
			params.allownetworking = "all";



	var attributes = {};
	swfobject.embedSWF("VideoTellService.swf", "myflash", "320", "240", "10.3.0", "expressInstall.swf", flashvars, params, attributes );
	swfobject.embedSWF("receive/VideoTellService.swf", "yourflash", "320", "240", "10.3.0", "expressInstall.swf", flashvars, params, attributes );
	</script> 	



<?php } else { ?>
<script type="text/javascript"> 
	var flashvars = {};

	flashvars.lang = "ru";
	var params = {};

	flashvars.domen = "http://videotell.redflasher.ru/";

			params.wmode = "transparent";
			params.swliveconnect = "true";
			params.allowscriptaccess = "always";
			params.allownetworking = "all";


	var attributes = {};
	swfobject.embedSWF("VideoTellService.swf", "myflash", "320", "240", "10.3.0", "expressInstall.swf", flashvars, params, attributes );
	swfobject.embedSWF("receive/VideoTellService.swf", "yourflash", "320", "240", "10.3.0", "expressInstall.swf", flashvars, params, attributes );

	</script> 
<?php } ?>
</head>

<body>        



<!--

<div id="textchat" class="ui-widget-content">
	<p class="ui-widget-header" align="center">Текстовый чат</p>
</div>

-->

<div id="draggable" class="ui-widget-content">
	<p class="ui-widget-header" align="center">Ваша камера</p>
	<div id="myflash"> 
			<h3><br>FilesOverMiles требует  Flash Player 10<br><br>
			<a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Установите Adobe Flash player" /></a></h3>                
	</div>
</div>



<div id="draggable2" class="ui-widget-content">
	<p class="ui-widget-header" align="center">Камера собеседника</p>
	<div id="yourflash"> 
            <h3><br>FilesOverMiles требует  Flash Player 10<br><br>
			<a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Установите Adobe Flash player" /></a></h3>                
    </div>
</div>


<div id="dialogInfo">test</div>


 
   
</body> 
</html>