/*
5digistar株式会社 [ActionBrowserサービス] 
Email： support@5digistar.co.jp 
URL： http://www.5digistar.co.jp/ 

Copyright (C) 2005 5digistar Inc. All Rights Reserved.
*/

function ABViewer()
{
	this.Id = "";
	this.Title = "";
	this.URL = "";	
	this.Author = "";
	this.Publisher = "";
	this.IssueDate = "";
	this.PublishDate = "";
	this.PageCount = 0;
	this.FlipDirection = 0;
	this.Flipping = true;
	this.Printing = true;
	this.ShowPageNum = true;
	this.ZoomRatio = 1;
	this.Navigation = true;
	this.LinkOnOff = true;
	this.BGMOnOff = true;
	this.ThumbImgPath = "../data/images/thumb";
	this.SmallImgPath = "../data/images/small";
	this.MiddleImgPath = "../data/images/middle";
	this.LargeImgPath = "../data/images/large";
	this.MediaPath = "../data/media/";
	this.CurrentLinkXML = "link0.xml";
	this.BackgroundImage = "./menu/bg.gif";
	this.BGM = "";
	this.PageBackgroundImage = "";
	this.TImageMain = "";
	this.TImageFrame = "";
	this.TImageTool = "";
	this.TImageFunction = "";
	this.TImageLink = "";
	this.ToolBarHeight = 44;
	this.PageJumpNum = null;
	this.StartPageNum = 0;
	this.StatusMsg = "Version : 1.3.1.0";
		
	this.WindowSizeWidth = 1014;
	this.WindowSizeHeight = 674;
	this.FlippingSpeed = 30;
	this.FlipSlideCount = 4;
	this.SmallImage = 0.29;
	this.MiddleImage = 0.58;	
	this.BookmarkCount = 20;
	this.Buffering = true;
	this.BufferCount = 2;
	this.iFlipCount = 1;	
	this.FlipAnimation = 0;
	this.ViewerStatus = 0;
	this.ActivateLink = false;
	this.flagCenterBorder = true;
	this.ScrollTimer = "";
							
	this.LoadCompletedCount = 0;
	this.IsLoadCompletedCount = false;
	this.LoadedCount = 0;
	this.IsLoadedCount = false;
	this.BufferTime = 300;
	this.BufferTmpSetTimer = null;
	this.BufferSetTimer = null;
	this.MZBufferSetTimer = null;
	this.LZBufferSetTimer = null;
	this.WheelScrollSize = 30;
	this.IndexCurrentPage = 0;
	this.IndexBeforePage = 0;
	this.ImageSizeWidth = 0;
	this.ImageSizeHeight = 0;
	this.ViewerMainWidth = 0;
	this.ViewerMainHeight = 0;
	this.ViewerMaxWidth = 0;
	this.ViewerMaxHeight = 0;
	this.ViewerMidWidth = 0;
	this.ViewerMidHeight = 0;	
	this.ViewerLeftBorder = 15;
	this.ViewerRightBorder = 15;
	this.ViewerTopMargin = 0;
	this.ViewerTopBar = 20;
	this.ViewerBottomBar = 44;
	this.ViewerLeftMargin = 22;
	this.ViewerSquareBorderHeight = 9;
	this.ViewerTopBorder = 0;
	this.ViewerBottomBorder = 0;
	this.ViewerLeftGradation = 7; 
	this.ViewerRightGradation = 7;
	this.ScrollTopWidth = 49;
	this.ScrollTopHeight = 43;
	this.ScrollLeftWidth = 43;
	this.ScrollLeftHeight = 49;
	
	this.oViewer = null;
	this.lyBookBase = new Array();
	this.lyBorderLeft = new Array();
	this.lyBorderLeftMiddle = new Array();
	this.lyBorderLeftBottom = new Array();
	this.lyBorderLeftTop = new Array();
	this.lyBorderRight = new Array();
	this.lyBorderRightMiddle = new Array();
	this.lyBorderRightBottom = new Array();
	this.lyBorderRightTop = new Array();
	this.lyLeftCanvas = new Array();
	this.lyLeftLinks = new Array();
	this.lyLeftMedia = new Array();
	this.lyLeftImage = new Array();
	this.lyLeftGradation = new Array();
	this.lyLeftTmpUp = new Array();
	this.lyLeftTmpUpImage = new Array();
	this.lyLeftTmpDown = new Array();
	this.lyLeftTmpDownImage = new Array();	
	this.lyRightCanvas = new Array();
	this.lyRightLinks = new Array();
	this.lyRightMedia = new Array();
	this.lyRightImage = new Array();
	this.lyRightGradation = new Array();
	this.lyRightTmpUp = new Array();
	this.lyRightTmpUpImage = new Array();
	this.lyRightTmpDown = new Array();
	this.lyRightTmpDownImage = new Array();	
	this.lyToolBar = new Array();
	this.lyInfo = new Array();
	this.lyInfoBar = new Array();
	this.lyPrint = new Array();
	this.lyContentList = new Array();
	this.lyNavigation = new Array();
	this.lyNavi = new Array();
	this.lyNaviImg = new Array();
	this.lyNaviRect = new Array();
	this.lyZoomView = new Array();
	this.lyZoom = new Array();
	this.lyScrollTop = new Array();
	this.lyScrollBottom = new Array();
	this.lyZoomImage = new Array();
	this.lyZoomLinks = new Array();
	this.lyZoomMedia = new Array();
	this.lyZoomView3 = new Array();
	this.lyZoom3 = new Array();
	this.lyScrollTop3 = new Array();
	this.lyScrollBottom3 = new Array();
	this.lyScrollLeft3 = new Array();
	this.lyScrollRight3 = new Array();
	this.lyZoomImage3 = new Array();
	this.lyZoomLinks3 = new Array();
	this.lyZoomMedia3 = new Array();	
	this.lyBookmarkLeft = new Array();
	this.lyBookmarkRight = new Array();
	this.DisplayTitle = new Array();

	this.setWindowConfig = setWindowConfiguration;
	this.setData = importXML;
	this.initializeLayout = createLayout;
	this.navigateMap = createNavigation;
	this.gotoFirst = gotoFirstPage;
	this.gotoLast = gotoLastPage;
	this.gotoPrev = gotoPrevPage;
	this.gotoNext = gotoNextPage;
	this.gotoPage = gotoPage;
}
