
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 10/23/2008 4:34:58 PM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
function WebCoverFlow(v6ac97){ this.ClassName ="WebCoverFlow"; this.Version ="1.0.1000"; this.BuildNumber ="0"; this.MajorVersion ="1.0"; this.RequiredFrameworkVersion ="3.0.5000.1"; ISSilverlightControl.call(this,v6ac97);  this.WebResourceIdentifier ="A"; this.ScriptDirectory ="/CommonLibrary/WebAqua/V1_0_1000/"; this.ViewStateStorage ="PageCache"; this.AccessKey =""; this.Enabled =true; this.TabIndex =null; this.ToolTip =""; this.ClientID =v6ac97; this.ID =v6ac97; this.UniqueID =v6ac97; this.ImagesDirectory ="/CommonLibrary/Images/WebAqua/"; this.Width =800; this.Height =360; this.OriginalWidth =0; this.OriginalHeight =0; this.IsUnloaded =false;  this.IsLoading =true;  this.ColorTheme ="#FF000000"; this.ReflectionBackgroundColor ="#FF000000"; this.LayoutMode ="Auto"; this.CoverSize =200; this.AutoCoverSize =null; this.MaximumPreview =-1; this.StartUpPosition ="Center"; this.CustomStartIndex =0; this.EnableLoadOnDemand =false; this.PageSize =15; this.SlideShowLatency =1000; this.SlideShowRepeat =true; this.ReflectionOpacity =0.3; this.VideoMode ="Buffering"; this.BufferingTime =5; this.TitleShadowOffset =new ISPoint(); this.TitleShadowOffset.X =1; this.TitleShadowOffset.Y =1;  this.TitleShadow =false; this.TitleShadowOpacity =0.7; this.SubTitleShadowOffset =new ISPoint(); this.SubTitleShadowOffset.X =1; this.SubTitleShadowOffset.Y =1;  this.SubTitleShadow =false; this.SubTitleShadowOpacity =0.7;  this.TotalFocusItem =1;  this.Items =new ISArray();  this.ImagesSettings =new WebCoverFlowImagesSettings();  this.ClientSideEvents =new WebCoverFlowClientSideEvents();   this.TooltipSettings =new WebCoverFlowTooltipSettings(); this.TextSettings =new WebCoverFlowTextSettings(); this.BackgroundSettings =new WebCoverFlowBackgroundSettings(); this.BackgroundSettings.SimpleModeSettings.RadiusX =0;  this.BackgroundSettings.SimpleModeSettings.RadiusY =0;  this.BackgroundSettings.SimpleModeSettings.Opacity =1; this.BackgroundSettings.SimpleModeSettings.Stroke =0; this.BackgroundSettings.SimpleModeSettings.Fill.SolidColorBrush.Color ="Black";  this.LayoutSettings =new WebCoverFlowLayoutSettings(); this.TitleFontSettings =new ISFont(); this.TitleFontSettings.FontSize =16; this.TitleFontSettings.FontFamily ="Verdana"; this.SubTitleFontSettings =new ISFont(); this.SubTitleFontSettings.FontSize =12; this.SubTitleFontSettings.FontFamily ="Verdana"; this.VisualEffectSettings =new WebCoverFlowVisualEffectSettings();   this.GetElement =function() { return document.getElementById(this.Id +IS.FrameSuffix); };  this.OnUnload =function() { var vc4a72 =this.GetElement(); if (vc4a72) Listener.Unload(vc4a72);   this.IsUnloaded =true; };  this.OnInitialize =function() { if (this.Events.OnInitialize !="") { ISEvent.Raise(this.ClientSideEvents.OnInitialize,this.ID); } };   this.OnPropertiesInitialized =function() { if (this.Events !=null) { var v75850; for(v75850 in this.Events) { if (typeof(this.Events[v75850])=="string") this.ClientSideEvents[v75850] =this.Events[v75850]; } } };   this.GetAutoCoverSize =function() { var v4b614 =this.FrameObj.children[0].Content.WebCoverFlowBridge.Control; v4b614.DetermineAutoCoverSize(); };   this.SetFlowIndex =function(ve6f95,v26e85) { var v4b614 =this.FrameObj.children[0].Content.WebCoverFlowBridge.Control; v4b614.SetFlowIndex(ve6f95); };  this.Flow =function() { var v4b614 =this.FrameObj.children[0].Content.WebCoverFlowBridge.Control;  v4b614.Flow(); };  this.Collapse =function() { var v4b614 =this.FrameObj.children[0].Content.WebCoverFlowBridge.Control; v4b614.Collapse(); };  this.IsFullScreenMode =function() { var v4b614 =this.FrameObj.children[0].Content.WebCoverFlowBridge.Control; v4b614.IsFullScreen; };  this.RefreshUIElement =function() { this.Items.UpdateChanges();  this._Type =this.ClassName; IS.SetModifiedPropertiesToXml(this,this.XmlNode,true); for (var ve6f95 =0 ; ve6f95 <this.Items.length ; ve6f95++) IS.SetModifiedPropertiesToXml(this.Items[ve6f95],this.Items[ve6f95].XmlNode,true);  this.FrameObj.children[0].Content.WebCoverFlowBridge.InitializeControl(this.ID);   var v1c878 =ISPosLib.getWidth(this.FrameObj); var vc1d15 =ISPosLib.getHeight(this.FrameObj);  var v81723 =this.XmlNode;  ISXml.SetAttribute(v81723,"Width",v1c878 ); ISXml.SetAttribute(v81723,"Height",vc1d15 );  var vc4047 =ISXml.CreateNode(this.XmlDt,v81723,"ClientSideEvents",""); ISXml.SetAttribute(vc4047,"OnInitialize",this.ClientSideEvents.OnInitialize); ISXml.SetAttribute(vc4047,"OnBeforeItemSelect",this.ClientSideEvents.OnBeforeItemSelect); ISXml.SetAttribute(vc4047,"OnAfterItemSelect",this.ClientSideEvents.OnAfterItemSelect); ISXml.SetAttribute(vc4047,"OnActiveItemClick",this.ClientSideEvents.OnActiveItemClick); ISXml.SetAttribute(vc4047,"OnFullScreenChanged",this.ClientSideEvents.OnFullScreenChanged); ISXml.SetAttribute(vc4047,"OnVideoFullScreenChanged",this.ClientSideEvents.OnVideoFullScreenChanged); ISXml.SetAttribute(vc4047,"OnVideoPlay",this.ClientSideEvents.OnVideoPlay); ISXml.SetAttribute(vc4047,"OnVideoPause",this.ClientSideEvents.OnVideoPause); ISXml.SetAttribute(vc4047,"OnVideoRollBack",this.ClientSideEvents.OnVideoRollBack);  var va5396 =v81723.selectSingleNode("ImagesSettings"); ISXml.SetAttribute(va5396,"DefaultPicture",this.ResolveImagePath(this.ImagesDirectory,this.ImagesSettings.DefaultPicture)); ISXml.SetAttribute(va5396,"DefaultVideo",this.ResolveImagePath(this.ImagesDirectory,this.ImagesSettings.DefaultVideo));  this.FrameObj.children[0].Content.WebCoverFlowBridge.InitializeWebCoverFlow(this.XmlNode.xml);  }; }function WebCoverFlowItem(){ this._Type ="WebCoverFlowItem"; ISObject.call(this); this.Name ="";  this.Title =""; this.SubTitle ="";  this.MediaType ="Image";  this.Source =""; this.VideoSource ="";    this.SilverlightElement =null; this.FlowAnimation =null;  this.ImageCanvas =null; this.ImageElement =null; this.MediaElement =null;  this.ReflectionCanvas =null;  this.ReflectionElement =null; this.ReflectionMediaElement =null;  this.ImageLoaded =false; this.Prev =null; this.Next =null; this.Downloader =null;}function WebCoverFlowImagesSettings(){ this._Type ="WebCoverFlowImagesSettings"; ISObject.call(this);  this.DefaultPicture ="defaultPicture.png"; this.DefaultVideo ="defaultVideo.png";}function WebCoverFlowClientSideEvents(){ this._Type ="WebCoverFlowClientSideEvents"; ISObject.call(this);  this.OnInitialize =""; this.OnBeforeItemSelect =""; this.OnAfterItemSelect =""; this.OnActiveItemClick =""; this.OnFullScreenChanged =""; this.OnVideoFullScreenChanged =""; this.OnVideoPlay =""; this.OnVideoPause =""; this.OnVideoRollBack ="";}function WebCoverFlowBackgroundSettings(){ this._Type ="WebCoverFlowBackgroundSettings"; ISObject.call(this);  this.Mode ="Simple";  this.SimpleModeSettings =new WebCoverFlowSimpleBackgroundSettings();  this.ImageModeSettings =new WebCoverFlowImageBackgroundSettings(); this.CustomModeSettings =new WebCoverFlowCustomBackgroundSettings(); }function WebCoverFlowSimpleBackgroundSettings(){ this._Type ="WebCoverFlowSimpleBackgroundSettings"; ISObject.call(this);  this.Height =-1; this.Width =-1; this.Opacity =1.0; this.RadiusX =0.0; this.RadiusY =0.0; this.StrokeThickness =0.0; this.Fill =new ISBrushSettings(); this.OpacityMask =new ISBrushSettings(); this.Stroke =new ISBrushSettings(); }function WebCoverFlowImageBackgroundSettings(){ this._Type ="WebCoverFlowCustomBackgroundSettings"; ISObject.call(this);   this.ImageSource =""; this.StretchMode ="Fill"; this.Opacity =1; }function WebCoverFlowCustomBackgroundSettings(){ this._Type ="WebCoverFlowCustomBackgroundSettings"; ISObject.call(this);   this.XamlString =""; this.XamlUrl =""; }function WebCoverFlowLayoutSettings(){ this._Type ="WebCoverFlowLayoutSettings"; ISObject.call(this);   this.CoverFlowPadding =new ISPadding(); this.CoverFlowPadding.Top =20; this.CoverFlowPadding.Left =20; this.CoverFlowPadding.Right =20; this.CoverFlowPadding.Bottom =20;  this.TextInfoSpace =new WebCoverFlowTextInfoSpace(); this.ControlPanelSpace =new WebCoverFlowControlPanelSpace(); this.ItemSpace =40;}function WebCoverFlowTextInfoSpace(){ this._Type ="WebCoverFlowTextInfoSpace"; ISObject.call(this);  this.Visible =true; this.TitleSpace =20; this.SubTitleSpace =20;}function WebCoverFlowControlPanelSpace(){ this._Type ="WebCoverFlowTextInfoSpace"; ISObject.call(this);  this.Visible =true; this.ShowSlideShowButton =true; this.ShowFullScreenButton =true; this.ShowScrollBar =true; this.PanelSpace =32; this.PanelPosition =8; }function WebCoverFlowVisualEffectSettings(){ this._Type ="WebCoverFlowVisualEffectSettings"; ISObject.call(this);   this.PerspectiveMode ="Perspective"; this.Offset =0.8; this.PerspectiveDistance =1000; this.PerspectivePoint =0.7; this.PerspectiveTop =0.175; this.PerspectiveBottom =5; }function WebCoverFlowTooltipSettings(){ this._Type ="WebCoverFlowTooltipSettings"; ISObject.call(this);  this.Font =new ISFont();  this.Font.FontSize =11; this.Font.FontFamily ="Verdana";  this.TooltipShadowOffset =new ISPoint(); this.TooltipShadowOffset.X =1; this.TooltipShadowOffset.Y =1;  this.TooltipShadow =false; this.TooltipShadowOpacity =0.7; this.TooltipPosition =5; this.Visible =true;  this.BackgroundSettings =new WebCoverFlowBackgroundSettings();  this.BackgroundSettings.SimpleModeSettings.RadiusX =5;  this.BackgroundSettings.SimpleModeSettings.RadiusY =5;  this.BackgroundSettings.SimpleModeSettings.Opacity =0.3;  this.BackgroundSettings.SimpleModeSettings.Fill.SolidColorBrush.Color ="Black";}function WebCoverFlowTextSettings(){ this._Type ="WebCoverFlowTextSettings"; ISObject.call(this);  this.Play ="Start Slide Show"; this.Pause ="Stop Slide Show"; this.Rewind ="Go to First Item"; this.Next ="Next"; this.Prev ="Prev"; this.FastForward ="Go to Last Item"; this.FullScreen ="Full Screen"; this.FullScreenOut ="Exit Full Screen"; this.VideoPlay ="Play"; this.VideoPause ="Pause"; this.VideoGoToFirstFrame ="Go to First Frame"; this.VideoFullScreen ="Full Screen";  this.VideoFullScreenOut ="Exit Full Screen";}function InitWebCoverFlow(v62172){ var v8b652 =WebCoverFlowEngine.Create(v62172); v8b652.OnInitialize(); }function WebCoverFlowDestructor(){ var v6bd8 =delete WebCoverFlowEngine;}function LoadWebCoverFlow(v94238,v5e941){ var v0a98 =ISGetObject(v94238.getHost().id);  var vb8574 =v0a98.XmlDt.childNodes[0]; var v60841 =ISPosLib.getWidth(v0a98.FrameObj); var vdb053 =ISPosLib.getHeight(v0a98.FrameObj);  ISXml.SetAttribute(vb8574,"Width",v60841 ); ISXml.SetAttribute(vb8574,"Height",vdb053 );  var vf8e54 =ISXml.CreateNode(v0a98.XmlDt,vb8574,"ClientSideEvents",""); ISXml.SetAttribute(vf8e54,"OnInitialize",v0a98.ClientSideEvents.OnInitialize); ISXml.SetAttribute(vf8e54,"OnBeforeItemSelect",v0a98.ClientSideEvents.OnBeforeItemSelect); ISXml.SetAttribute(vf8e54,"OnActiveItemClick",v0a98.ClientSideEvents.OnActiveItemClick); ISXml.SetAttribute(vf8e54,"OnAfterItemSelect",v0a98.ClientSideEvents.OnAfterItemSelect); ISXml.SetAttribute(vf8e54,"OnFullScreenChanged",v0a98.ClientSideEvents.OnFullScreenChanged); ISXml.SetAttribute(vf8e54,"OnVideoFullScreenChanged",v0a98.ClientSideEvents.OnVideoFullScreenChanged); ISXml.SetAttribute(vf8e54,"OnVideoPlay",v0a98.ClientSideEvents.OnVideoPlay); ISXml.SetAttribute(vf8e54,"OnVideoPause",v0a98.ClientSideEvents.OnVideoPause); ISXml.SetAttribute(vf8e54,"OnVideoRollBack",v0a98.ClientSideEvents.OnVideoRollBack);  var vd716 =vb8574.selectSingleNode("ImagesSettings"); ISXml.SetAttribute(vd716,"DefaultPicture",v0a98.ResolveImagePath(v0a98.ImagesDirectory,v0a98.ImagesSettings.DefaultPicture)); ISXml.SetAttribute(vd716,"DefaultVideo",v0a98.ResolveImagePath(v0a98.ImagesDirectory,v0a98.ImagesSettings.DefaultVideo));  try { v94238.getHost().Content.WebCoverFlowBridge.InitializeControl(v0a98.ID); v94238.getHost().Content.WebCoverFlowBridge.InitializeWebCoverFlow(v0a98.XmlDt.xml);   ISWebCoverFlowCollection[ISWebCoverFlowCollection.length] =v0a98; } catch(e) { } }function WebCoverFlowResizeContainer(v9ee4,v1d979){ var v6a857 =ISGetObject(v9ee4); var v51351 =v6a857.FrameObj; var v7fd45 =v51351.children[0]; var v00e83 =v7fd45.Content.WebCoverFlowBridge;  if (v1d979) { v6a857.OriginalHeight =v51351.clientHeight; v6a857.OriginalWidth =v51351.clientWidth; v00e83.SetWidth(v7fd45.Content.actualWidth); v00e83.SetHeight(v7fd45.Content.actualHeight);  } else { v00e83.SetWidth(v6a857.OriginalWidth); v00e83.SetHeight(v6a857.OriginalHeight);  }  }var WebCoverFlowEngine ={ Create: function(id) { var control =new WebCoverFlow(id);  WebCoverFlowEngine.AssignProperties(control);  WebCoverFlowEngine.CreateSilverlight(control); control.IsInit =true; return control; },  AssignProperties: function(control,isRuntime,parameters) { if (control ==null) return;  if (!control.IsInit) { var parentNode =null;  try { parentNode =ISXml.GetNode(control.XmlDt,"//WebCoverFlow"); } catch(exception) { }  if (parentNode ==null) parentNode =control.XmlDt.documentElement; if (parentNode !=null) { IS.SetPropertiesRecursive(control,parentNode);  } } },  CreateSilverlight: function(control) { var stringBuilder =new ISCoreSilverlightEngine.StringBuilder(); stringBuilder.Append("<object "); stringBuilder.Append("id='" +control.ID +"' "); stringBuilder.Append("data='data:application/x-silverlight,' "); stringBuilder.Append("type='application/x-silverlight-2' "); stringBuilder.Append("width='" +control.FrameObj.style.width +"' "); stringBuilder.Append("height='" +control.FrameObj.style.height +"' "); stringBuilder.Append(">");  stringBuilder.Append("<param "); stringBuilder.Append("name='source' ");  stringBuilder.Append("value='" +control.InternalXapResource +"' "); stringBuilder.Append("/>");  stringBuilder.Append("<param "); stringBuilder.Append("name='onload' "); stringBuilder.Append("value='LoadWebCoverFlow' "); stringBuilder.Append("/>");  if (control.ClientSideEvents.OnError !="") { stringBuilder.Append("<param "); stringBuilder.Append("name='onerror' "); stringBuilder.Append("value='" +control.ClientSideEvents.OnError +"' "); stringBuilder.Append("/>");  } stringBuilder.Append("<param "); stringBuilder.Append("name='windowless' "); stringBuilder.Append("value='false' "); stringBuilder.Append("/>");   stringBuilder.Append("<param "); stringBuilder.Append("name='background' "); stringBuilder.Append("value='transparent' "); stringBuilder.Append("/>");   stringBuilder.Append("<a ");
 stringBuilder.Append("href='http://go.microsoft.com/fwlink/?LinkID=115261' ");
 stringBuilder.Append("style='text-decoration: none;'>");  stringBuilder.Append("<img ");
 stringBuilder.Append("src='http://go.microsoft.com/fwlink/?LinkId=108181' ");
 stringBuilder.Append("alt='Get Microsoft Silverlight' "); stringBuilder.Append("style='border-style: none' "); stringBuilder.Append("/>"); stringBuilder.Append("</a>"); stringBuilder.Append("</object>");   control.FrameObj.innerHTML =stringBuilder.ToString();  },  ResizeAllCoverFlowTO: function() { window.setTimeout(WebCoverFlowEngine.ResizeAllCoverFlow,5); },  ResizeAllCoverFlow: function() { for (var i =0 ; i <ISWebCoverFlowCollection.length; i++) { var webCoverFlow =ISWebCoverFlowCollection[i];   var frameObj =webCoverFlow.FrameObj; var host =frameObj.children[0]; var bridge =host.Content.WebCoverFlowBridge;  bridge.SetWidth(host.Content.actualWidth); bridge.SetHeight(host.Content.actualHeight);  } }};window.attachEvent("onunload",WebCoverFlowDestructor);window.attachEvent("onresize",WebCoverFlowEngine.ResizeAllCoverFlowTO);var ISWebCoverFlowCollection =new Array();