var CurrTime=new Array();
CurrTime[1] = 0;
CurrTime[2] = EndTime;
DisplayCrosshair(1);

var lt=new Array();
var ln=new Array();
var d=new Array();
var a=new Array();
var s=new Array();
var v=new Array();
</script>

<script src="<?php 
echo $flight->getJsRelPath(1);
?>
" type="text/javascript"></script>

<script type="text/javascript">
//	var map = new GMap2(document.getElementById("map"),   {mapTypes:[G_HYBRID_MAP,G_SATELLITE_MAP,G_NORMAL_MAP]}); 
//	map.addControl(new GLargeMapControl());
//	map.addControl(new GMapTypeControl());
//	map.setCenter (new GLatLng(0,0), 4);

	// var kmlOverlay = new GGeoXml("http://pgforum.thenet.gr/modules/leonardo/download.php?type=kml_task&flightID=5251");
	// var kmlOverlay = new GGeoXml("http://pgforum.thenet.gr/1.kml");
	// map.addOverlay(kmlOverlay);

	var tp = <?php 
echo $flight->gMapsGetTaskJS();