function HoverPanel()
{
	this.image;
	this.face;
	this.size;
	this.color;
	this.style;
	this.controlText;
	this.verticalPos;
	this.horizontalPos;
	this.verticalOffset;
	this.horizontalOffset;
	this.topPos;
	this.leftPos;
	this.hasTitle;
	this.titleText;
	this.title_Fore_Color;
	this.title_Back_Color;
	this.position;
	this.panelWidth;
	this.panelHeight;
	this.effect;
	this.Width;
	this.Height;
	this.controlType;
	this.panelLink;
	this.clickToFix;

	// Databinding for property style
	this.Setstyle = function(data)
	{
		///UserCodeRegionStart:[Setstyle] (do not remove this comment.)


		
		
		///UserCodeRegionEnd: (do not remove this comment.)
	}

	// Databinding for property style
	this.Getstyle = function()
	{
		///UserCodeRegionStart:[Getstyle] (do not remove this comment.)


		
		
		///UserCodeRegionEnd: (do not remove this comment.)
	}

	this.show = function()
	{
		///UserCodeRegionStart:[show] (do not remove this comment.)
		var ajaxwin
		
		var titleFC = 'rgb(' + this.title_Fore_Color.R + ',' + this.title_Fore_Color.G + ',' + this.title_Fore_Color.B + ')'
		var titleBC = 'rgb(' + this.title_Back_Color.R + ',' + this.title_Back_Color.G + ',' + this.title_Back_Color.B + ')'
		
		var buffer = ''
		
		var rand_no = Math.floor((1000-4) * Math.random()) + 1;
		
		if (this.controlType == "Image")
			buffer += '<img id="' + this.ControlName + rand_no + '" src="' + this.image + '" '
		else
			buffer += '<span id="' + this.ControlName + rand_no + '" '
		buffer += 'onMouseOver="ajaxwin=dhtmlwindow.open(' + "'ajaxbox', 'ajax', '" + this.panelLink  + "' , '" + this.effect + "' , '" + this.hasTitle + "','" + this.titleText 
		buffer += "', '" + titleFC + "', '" + titleBC + "', 'width=" + this.panelWidth + "px,height=" + this.panelHeight + "px,top=" + this.topPos + "px,left=" + this.leftPos + "px', '0','" + this.ControlName + rand_no + "'" 
		buffer += ",'" + this.position + "','" + this.verticalPos + "','" + this.horizontalPos + "','" + this.verticalOffset + "','" + this.horizontalOffset + "' ); return false" + '" ' 
		buffer += 'onMouseUp="ajaxwin.setClick(' + "'" + this.clickToFix + "'" + '); return false" '
		buffer += 'onMouseOut="ajaxwin.hide(); return false" '
		
		if (this.controlType == "TextBlock") {
		
			var fontcolor = 'rgb(' + this.color.R + ',' + this.color.G + ',' + this.color.B + ')'
			buffer += 'style="font-family:' + "'" + this.face + "'" + '; color:' +  fontcolor + '; font-size:' + this.size + 'pt; '
			
			if (this.style == "Italic" || this.style == "BoldItalic") {
				buffer += 'font-style: italic; '
			}
			else {
				buffer += 'font-style: normal; '
			}
			
			if (this.style == "Bold" || this.style == "BoldItalic") {
				buffer += 'font-weight: bold; '
			}
			
			buffer += '">' + this.controlText + '</span>'
		}
		else
			buffer += '>'
			
			
		
			
		this.setHtml(buffer)
					
		
		
		
		
		
		
		///UserCodeRegionEnd: (do not remove this comment.)
	}
	///UserCodeRegionStart:[User Functions] (do not remove this comment.)

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	///UserCodeRegionEnd: (do not remove this comment.):
}

