var Style = ({
	init: function() {
		this.fontColorNormal = '#ffffff';
		this.fontColorSelected = '#24b6f4';
		this.fontColorFocused = '#464646';
		
		this.topBackgroundColor = '#0f1826';
		this.mainBackgroundColor = '#1f2b3d';
		
		this.categorySeparatorWidth = 1;
		
		this.movieImageRootPath = 'resource/movie/';
		
		if (window.innerHeight > 1079) {
			this.width = 1920;
			this.height = 1080;
			this.topHeight = 100;
			this.titleMarginLeft = 44;
			this.titleFontSize = '50px';
			this.categoryBorder = '6px solid white';
			this.categoryWidth = 244;
			this.categoryHeight = 72;
			this.categoryTop = 14;
			this.categoryPadding = '13px 0';
			this.categoryFontSizeNormal = '32px';
			this.categoryFontSizeSelected = '36px';
			this.categoryFontSizeFocused = '36px';
			this.categorySeparatorPadding = '41px 0';
			this.categorySeparatorHeight = 18;
			this.categoryIconWidth = 102;
			this.categoryIconLeft = 24;
			this.categoryIconTop = 9;
			this.categoryIconRight = 142;
			this.imageRootPath = 'resource/image/1080/';
			this.listLeft = 80;
			this.listTop = 180;
			this.listMarginBottom = 44;
			this.listItemGap = 17;
			this.listBorderWidth = '18px';
			this.listBorderImage = 'url("' + this.imageRootPath + '/thumb/tumbnail_focus.png") 18 stretch';
			this.topPickListTop = 170;
			this.topPickListMarginBottom = 2;
			this.topPickMovieImageHeight = 777;
			this.topPickTvImageHeight = 377;
			this.tvImageHeight = 324;
			this.movieImageHeight = 324;
			this.descriptionMarginTop = 11;
			this.descriptionHorizontalPadding = 12;
			this.descriptionHeight = 68;
			this.descriptionTitleFontSize = '26px';
			this.descriptionSummaryFontSize = '20px';
			this.returnIconLeft = 15;
			this.returnIconTop = 24;
			this.searchTitleLeft = 169;
			this.searchInputLeft = 446;
			this.searchItemTop = 14;
			this.searchItemHeight = 72;
			this.searchButtonMarginLeft = 507;
			this.detailTop = 150;
			this.tvDetailLeft = 45;
			this.movieDetailLeft = 140;
			this.tvDetailImageWidth = 654;
			this.tvDetailImageHeight = 491;
			this.tvDetailDescriptionLeft = 35;
			this.movieDetailImageWidth = 442;
			this.movieDetailImageHeight = 589;
			this.movieDetailDescriptionLeft = 56;
			this.genreHeight = 41;
			this.genreFontSize = '32px';
			this.moreButtonRight = 45;
			this.moreButtonSize = 40;
			this.moreButtonIconSize = 22;
			this.detailArrowUpTop = 308;
			this.detailArrowDownTop = 866;
			this.detailArrowWidth = 52;
			this.detailArrowHeight = 38;
			this.closeButtonTop = 972;
			this.closeButtonWidth = 300;
			this.closeButtonHeight = 65;
			this.ratingMarginLeft = 22;
			this.ratingFontSize = '26px';
			this.starSize = 24;
			this.starMarginRight = 6;
			this.infoHeight = 50;
			this.infoIconHeight = 22;
			this.infoIconMarginRight = 6;
			this.dolbyWidth = 65;
			this.freeWidth = 51;
			this.hdWidth = 32;
			this.rg13Width = 57;
			this.sdWidth = 32;
			this.infoTextWidth = 1080;
			this.infoTextHeight = 38;
			this.infoTextFontSize = '26px';
			this.infoTextSeparatorPadding = '9px 22px';
			this.infoTextSeparatorWidth = 44;
			this.infoTextSeparatorHeight = 20;
			this.watchButtonLeft = 734;
			this.ratingButtonLeft = 1068;
			this.ratingButtonStarSize = 30;
			this.ratingButtonStarLeft = 68;
			this.ratingButtonStarTop = 17;
			this.ratingButtonStarMarginRight = 6;
			this.buttonTop = 674;
			this.buttonWidth = 310;
			this.buttonHeight = 65;
			this.relatedTextLeft = 80;
			this.relatedTextTop = 782;
			this.relatedTextHeight = 40;
			this.relatedTextHeightFocused = 45;
			this.relatedListLeft = 76;
			this.relatedListTop = 825;
			this.relatedListHeight = 255;
			this.relatedImageHeight = 180;
		} else {
			this.width = 1280;
			this.height = 720;
			this.topHeight = 66;
			this.titleMarginLeft = 29;
			this.titleFontSize = '33px';
			this.categoryBorder = '4px solid white'; 
			this.categoryWidth = 162;
			this.categoryHeight = 48;
			this.categoryTop = 9;
			this.categoryPadding = '9px 0';
			this.categoryFontSizeNormal = '21px';
			this.categoryFontSizeSelected = '24px';
			this.categoryFontSizeFocused = '24px';
			this.categorySeparatorPadding = '27px 0';
			this.categorySeparatorHeight = 12;
			this.categoryIconWidth = 68;
			this.categoryIconLeft = 16;
			this.categoryIconTop = 6;
			this.categoryIconRight = 94;
			this.imageRootPath = 'resource/image/720/';
			this.listLeft = 53;
			this.listTop = 120;
			this.listMarginBottom = 30;
			this.listItemGap = 11;
			this.listBorderWidth = '12px';
			this.listBorderImage = 'url("' + this.imageRootPath + '/thumb/tumbnail_focus.png") 12 stretch';
			this.topPickListTop = 113;
			this.topPickListMarginBottom = 3;
			this.topPickMovieImageHeight = 518;
			this.topPickTvImageHeight = 251;
			this.tvImageHeight = 216;
			this.movieImageHeight = 216;
			this.descriptionMarginTop = 7;
			this.descriptionHorizontalPadding = 8;
			this.descriptionHeight = 45;
			this.descriptionTitleFontSize = '17px';
			this.descriptionSummaryFontSize = '13px';
			this.returnIconLeft = 10;
			this.returnIconTop = 15;
			this.searchTitleLeft = 96;
			this.searchInputLeft = 263;
			this.searchItemTop = 10;
			this.searchItemHeight = 45;
			this.searchButtonMarginLeft = 288;
			this.detailTop = 100;
			this.tvDetailLeft = 30;
			this.movieDetailLeft = 93;
			this.tvDetailImageWidth = 436;
			this.tvDetailImageHeight = 327;
			this.tvDetailDescriptionLeft = 23;
			this.movieDetailImageWidth = 294;
			this.movieDetailImageHeight = 392;
			this.movieDetailDescriptionLeft = 37;
			this.genreHeight = 27;
			this.genreFontSize = '21px';
			this.moreButtonRight = 30;
			this.moreButtonSize = 26;
			this.moreButtonIconSize = 14;
			this.detailArrowUpTop = 205;
			this.detailArrowDownTop = 577;
			this.detailArrowWidth = 34;
			this.detailArrowHeight = 25;
			this.closeButtonTop = 648;
			this.closeButtonWidth = 200;
			this.closeButtonHeight = 43;
			this.ratingMarginLeft = 14;
			this.ratingFontSize = '17px';
			this.starSize = 16;
			this.starMarginRight = 4;
			this.infoHeight = 33;
			this.infoIconHeight = 14;
			this.infoIconMarginRight = 4;
			this.dolbyWidth = 41;
			this.freeWidth = 32;
			this.hdWidth = 20;
			this.rg13Width = 36;
			this.sdWidth = 20;
			this.infoTextWidth = 720;
			this.infoTextHeight = 25;
			this.infoTextFontSize = '17px';
			this.infoTextSeparatorPadding = '6px 14px';
			this.infoTextSeparatorWidth = 28;
			this.infoTextSeparatorHeight = 13;
			this.watchButtonLeft = 489;
			this.ratingButtonLeft = 712;
			this.ratingButtonStarSize = 20;
			this.ratingButtonStarLeft = 45;
			this.ratingButtonStarTop = 11;
			this.ratingButtonStarMarginRight = 4;
			this.buttonTop = 449;
			this.buttonWidth = 206;
			this.buttonHeight = 43;
			this.relatedTextLeft = 53;
			this.relatedTextTop = 521;
			this.relatedTextHeight = 26;
			this.relatedTextHeightFocused = 30;
			this.relatedListLeft = 50;
			this.relatedListTop = 550;
			this.relatedListHeight = 170;
			this.relatedImageHeight = 120;
		}
		
		var backgroundColors = ['#d9a6d2', '#a3bce3', '#93cac4', '#95a6bd', '#bf9eda'];
		var currentBackgroundColorIndex = -1;
		
		this.getBackgroundColor = function() {
			currentBackgroundColorIndex = (currentBackgroundColorIndex + 1) % backgroundColors.length;
			return backgroundColors[currentBackgroundColorIndex];
		}
		
		return this;
	}
}).init();