guiTypes = {

	windowType = {
		name = "domesticpanel_religion"
		backGround=""
		position = { x=0 y=0 }	
		size = { x=1024 y=100 }
		moveable = 0
		dontRender = ""
		horizontalBorder= ""
		verticalBorder= ""
		fullScreen = yes	




		iconType =
		{
			name ="illustration_religion"
			spriteType = "GFX_illustration_religion_cathlic"
			position = { x= 250 y = 142 }
			Orientation = "UPPER_LEFT"
		}


		iconType =
		{
			name ="religion_bg"
			spriteType = "GFX_religion_bg"
			position = { x= 18 y = 142 }
			Orientation = "UPPER_LEFT"
		}

		instantTextBoxType = {
			name = "domestictext_ourreligion"
			position = { x = 70 y = 164 }
			textureFile = ""
			font = "Main_14_bold"
			borderSize = {x = 4 y = 4}
			text = ""	
			maxWidth = 180
			maxHeight = 130	
			Orientation = "UPPER_LEFT"

			
		}


		instantTextBoxType = {
			name = "label_tolerance"
			position = { x = 174 y = 270 }

			textureFile = ""
			font = "Main_14"
			borderSize = {x = 4 y = 4}
			text = "DOMESTIC_TOLERANCE"	
			maxWidth = 150
			maxHeight = 32	
			Orientation = "UPPER_LEFT"

			format = left
			
		}

		windowType = {
			name = "defender_window"
			backGround=""
			position = { x=46 y =610}
			size = { x=220 y=64 }
			moveable = 0
			dontRender = ""
			horizontalBorder= ""
			verticalBorder= ""
			fullScreen = no
			
			guiButtonType = {
				name = "shield_button"
				position = { x=0 y = 0 }
				quadTextureSprite ="GFX_minishield"	
				tooltip = ""
				tooltipText =""
				delayedTooltipText = ""
				buttonText = ""
				buttonFont = ""
			}
			
			instantTextBoxType = {
				name = "label_defender"
				position = { x = 48 y = 0 }
	
				textureFile = ""
				font = "Main_14"
				borderSize = {x = 1 y = 1}
				text = "DOMESTIC_DEFENDERD"	
				maxWidth = 220
				maxHeight = 32	
				Orientation = "UPPER_LEFT"
	
				format = left
			}
		}
		
		guiButtonType = {
				name = "defender_of_the_faith_button"
				position = { x=46 y =610}
				quadTextureSprite ="button_type_3"	
				tooltip = ""
				tooltipText =""
				delayedTooltipText = ""
				buttonText = "DOMESTIC_SOLE_DEFENDER"
				buttonFont = "Main_14_black"
			}


	}



	windowType = {
		name = "domestice_rel_tolerance"
		backGround=""
		position = { x=0 y=0 }	
		size = { x=1024 y=100 }
		moveable = 0
		dontRender = ""
		horizontalBorder= ""
		verticalBorder= ""
		fullScreen = no

	

		iconType =
			{
				name ="domestic_religion_icon"
				spriteType = "GFX_icon_religion_small"
				position = { x=81 y = 16 }
				Orientation = "UPPER_LEFT"
			}


		scrollbarType = {
				name = "tolerance_slider"	
				slider = "ds_SliderButton"
				track= "ds_TrackButton"
				leftbutton = "ds_upButton"
				rightbutton = "ds_downButton"
				size = {x =135 y =16 }
				position = {x= 110 y =25}
				priority = 100			
				borderSize = {x =16 y = 16}	
				maxValue = 10.0
				minValue = 0
				stepSize =1.0
				startValue = 0
				horizontal = 1
				lockable = yes
	
	
				guiButtonType = {
					name = "ds_SliderButton"	
					quadTextureSprite = "yearslider_slider"
					tooltip = ""
					tooltipText =""	
					delayedTooltipText = ""
					position = { x=0 y =0}
				}
	
				guiButtonType = {
					name = "ds_TrackButton"
					quadTextureSprite = "yearslider_background"
					position = { x=0 y =20}	
					tooltip = ""
					tooltipText =""
					delayedTooltipText = ""	
	
				}	
	
				guiButtonType = {
					parent = "ds_SliderButton"
					name = "ds_upButton"
					quadTextureSprite = "yearslider_leftbutton"
					position = { x=0 y =0}	
				}
				
				guiButtonType = {
					parent = "ds_SliderButton"
					name = "ds_downButton"
					quadTextureSprite = "yearslider_rightbutton"
					position = { x=0 y =120}	
				}
		}


		instantTextBoxType = {
			name = "religion_type"
			position = { x = -37 y =20 }

			textureFile = ""
			font = "Main_16"
			borderSize = {x = 4 y = 4}
			text = ""	
			maxWidth = 120
			maxHeight = 32	
			Orientation = "UPPER_LEFT"

			format = right

			
		}


		guiButtonType = {
			name = "button"
			position = { x=250 y =15 }
			quadTextureSprite ="button_type_2"
			tooltip = ""
			tooltipText =""
			delayedTooltipText = ""
			buttonText = "DOMESTIC_CONVERT_TO"
			buttonFont = "Main_14_plain"
		}



	}







	positionType = {
		name = "domestic_rel_tolerance_start"
		position = { x = 40 y =270 }
	}
	
	positionType = {
		name = "domestic_rel_tolerance_offset"
		position = { x = 0 y =24 }
	}








}