SelectedFleet=null;
Property=function(__Content){this.Content=__Content;}
FleetItem=function(__Name){
	this.Name=__Name;
	this.Properties=new Array();
	this.Shadow=null;
	this.Opacity=70;
	this.AddProperty=function(__Property){
		this.Properties[this.Properties.length]=__Property;
		}
	this.ShowProperty=function(__RowID){	
		if(this.Shadow==null){			
			var __ContainerCell=$('ContainerCell_'+__RowID);
			var __ParentElement=$('ItemImageContainer_'+__RowID);
			var __Image=$('ItemImage_'+__RowID);
			var __Width=parseInt(__ParentElement.style.width.replace('px',''));
			var __Height=parseInt(__ParentElement.style.height.replace('px',''));
			var __Position=(UsedBrowser.Type!=0?"absolute":(UsedBrowser.Explorer>6?"absolute":"absolute"));
			var __ImageFormat=(UsedBrowser.Type!=0?"png":(UsedBrowser.Explorer>6?"png":"gif"));
			$('ItemImage_'+__RowID).style.position=__Position;
			var __Shadow=_CreateElement({'TagName':'DIV','Name':'ShadowDiv','StyleName':{'overflow':'hidden','position':__Position,'display':'block','backgroundColor':'#000000','zIndex':2,'width':__ParentElement.style.width,'height':__ParentElement.style.height}});
			__Shadow.ParentElement=__ParentElement;
			__Shadow.style.filter = "progid:DXImageTransform.Microsoft.Alpha(opacity=" + this.Opacity +")";
			__Shadow.style.MozOpacity = this.Opacity / 100;
			__Shadow.style.opacity = this.Opacity / 100;
			this.Shadow=__Shadow;
			this.Shadow.onclick=function(e){
				this.style.display='none';
				}	
			__Image.Shadow=this.Shadow;	
			__ContainerCell.Shadow=this.Shadow;
			this.Shadow.onmouseout=function(e){
				this.style.display='none';
				}
			__ContainerCell.onmouseout=function(e){
				this.Shadow.style.display='none';
				}
			var __TextDiv=null;
			__TextDiv=_CreateElement({'TagName':'DIV','StyleName':{'fontSize':'3px','height':'3px'}});
			__TextDiv.innerHTML=' '
			this.Shadow.appendChild(__TextDiv);
			for(var __i=0;__i<(this.Properties.length>8?8:this.Properties.length);__i++){
				__TextDiv=_CreateElement({'TagName':'DIV','StyleName':{'fontSize':'9px','fontWeight':'bold','color':'#F0B80F','marginTop':'2px','marginLeft':'15px'}});
				__TextDiv.innerHTML='<img width="10" src="'+this.Owner.ImagePath+'/'+__ImageFormat+'/YPoint.'+__ImageFormat+'" align=absmiddle> '+this.Properties[__i].Content;
				this.Shadow.appendChild(__TextDiv);				
				}
			__ParentElement.appendChild(this.Shadow);
			}
		else{
			//Show ShahowDiv
			this.Shadow.style.display='block';
			}
		}
	}
Fleet=function(__ImagePath){
	this.ImagePath=__ImagePath;
	this.Items=new Array();
	this.Add=function(__FleetItem){
		__FleetItem.Owner=this;
		this.Items[this.Items.length]=__FleetItem;
		}
	this.Show=function(__Id,__RowID){
		this.Items[__Id].ShowProperty(__RowID);
		}
	}




