//////////////////////////////////////////////////////
//////// H A M M E R   S K I N 
//////// Fr Today Plus Version 0.11.0
//////// Skin Version 01.04(ENG)
//////// Author: Wichtel
//////// Datum: 26.08.2004
///////  Modified By:  ZapMe1
///////  Date:  9-23-04
/////////////////////////////////////////////////////
// Region Summary:
//
// REGION	1,0       		Button Area
// REGION	2,0         		Main Page
// REGION  	4            		UNTERREGION FR MAINPAGE
// REGION  	4,1 - 4,2 		Battery And Memory Information on Main Page Region 2
// REGION  	4,3 - 4,8 		News Ticker on Main Page Region 6
// REGION  	3,0		Weather Area on Main Page
// REGION  	5,0           		Agenda Area on Main Page
// REGION  	6,0           		News Ticker on Main Page
// REGION  	7,0 - 7,5   		Weather Detail / Moon Phases / Zodiac Signs Popups for Wetahe Page
// REGION  	8,0 	   	Weather Menu Popup for Weather Page
// REGION  	9,0           		POOM Calendar
// REGION 	10,0          	POOM Tasks
// REGION 	11,0 -11,1 	World Time
// REGION 	12,0          	RSS
// REGION 	13,0          	RSS Headlines
// REGION 	14,0          	RSS Text
// REGION 	15,0 -15,4    	Shortcuts
// REGION	16,0		System Meters
// REGION	17,0		System Menu Popup
// REGION	18,0 -18,1		Owner Info PopUp / Skin Version Info PopUp

maxheight,267
height,267

initregion,1,0
initregion,2,0
initregion,6,0
initregion,3,999
initregion,7,999
initregion,8,999
initregion,9,999
initregion,10,999
initregion,11,999
initregion,12,999
initregion,13,999
initregion,14,999
initregion,15,999
initregion,16,999
initregion,17,999
initregion,18,999
initregion,19,999

initvar,var0,1	// Wetteranzeige Mainpage
initvar,var2,1  	// RSS Headlines
//initvar,var8,1	//  Weather / Sun Elevation
initvar,var9,1	// Wetteranzeige Wetterseite
initvar,var10,1	// Contols Weather Icon Set Display
initvar,var24,1	// Controls Button Icon Set Display
initvar,var13,1	// Wetterscroll
initvar,var17,0	// Controls Battery - Memory Display
initvar,var16,8	// Agenda & Tasks New Icon Buttons
initvar,var15,0	// RSS Mainpage Schlagzeilenwechsel
initvar,var31,1	// Photo Images
initvar,var32,1	// Photo Frames
initvar,var33,1	// Photo Frames Popup
initvar,var11,1	// Agenda & Tasks Program Buttons

if,var,var10,,=,1
	options,weathericondir,Weather Icons\weather faces 2.0,png
else
	options,weathericondir,Weather Icons\png transparent,png
endif

if,var,var24,,=,1
	options,imagedir,images\Hammerskin1
else
	options,imagedir,images\Hammerskin0
endif

color,transparent,255_0_255
color,replacement,0_0_0-,-1_6_-1
color,shadow,125_125_125
color,font,0_0_0

calcvar,var18,fromconfig,numlauncher
calcvar,var28,fromconfig,numrss
calcvar,var29,fromconfig,numcities

///////////////////////////////////////
//  REGION 2  MAIN PAGE   REGION 4,1-4,2
///////////////////////////////////////
region,2,0,30
	defregion,2,0,0,210,267,1
	cleararea,0,0,211,267
	deactivatebuttons,3
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,10
	deactivatebuttons,11
	deactivatebuttons,12
	deactivatebuttons,15
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,2
	activatebuttons,4
	activatebuttons,5
	updateregions,5
	updateregions,6
	
	//====================================
	// Date - Day - Time
	//====================================
	changefont,Tahoma,23,b
	color,font,0_0_195
	time,4,-1,-1,5,l,"dddd",
	color,font,-1_4_-1
	changefont,Tahoma,16,
	time,6,19,-1,5,l,"MMM d yyyy",
	changefont,Tahoma,16,b
	time,14,32,-1,5,l,,"h:mm tt"
	changefont,Tahoma,12,
	
	//===================================
	//Weather Actual + 1 Day
	//===================================

	calcvar,var29,fromconfig,numcities
	if,var,var9,,>,%var29%
		storevar,var9=1
	else
	endif
	load,city,%var9%
	//changefont,Tahoma,12,u
	color,font,0_0_255
	//text,5,100,City:,l
	changefont,Tahoma,12,b
	text,50,100,[name],c
	color,font,-1_4_-1
	button,20,100,58,11,2,13,var9_1-highlight,2
	changefont,Tahoma,12,
	calcvar,var20,weatherupdatetimediff
	if,var,var20,,<,360
		changefont,Tahoma,12,b
		forecast,date_ddd,1,21,58,,,c
		changefont,Tahoma,12,
		forecasticon,1,5,70,,t
		color,font,195_0_0
		forecast,high,1,39,70,,,l
		color,font,0_0_195
		forecast,low,1,39,79,,,l
		color,font,0_120_0
		forecast,precipitation,1,39,88,,%,l
		color,font,-1_4_-1
		changefont,Tahoma,12,b
		forecast,date_ddd,2,77,58,,,c
		changefont,Tahoma,12,
		forecasticon,2,61,70,,t
		color,font,195_0_0
		forecast,high,2,95,70,,,l
		color,font,0_0_195
		forecast,low,2,95,79,,,l
		color,font,0_120_0
		forecast,precipitation,2,95,88,,%,l
		color,font,-1_4_-1
	else
		calcvar,var21,firstvalidforecastday
		if,var,var21,,<,6
			forecast,date_ddd,%var21%,21,58,,,c
			forecasticon,%var21%,5,70,,t
			color,font,195_0_0
			forecast,high,%var21%,39,70,,,l
			color,font,0_0_195
			forecast,low,%var21%,39,79,,,l
			color,font,0_120_0
			forecast,precipitation,%var21%,39,88,,%,l
			addvar,var21,1
			color,font,-1_4_-1
		else
			image,5,75,none.png,t
		endif
		if,var,var21,,<,6
			forecast,date_ddd,%var21%,77,58,,,c
			forecasticon,%var21%,61,70,,t
			color,font,195_0_0
			forecast,high,%var21%,95,70,,,l
			color,font,0_0_195
			forecast,low,%var21%,95,79,,,l
			color,font,0_120_0
			forecast,precipitation,%var21%,95,88,,%,l
			addvar,var21,1
			color,font,-1_4_-1
		else
			image,61,75,none.png,t
		endif
	endif
	
	
	//========================================
	// AKTUALISIERUNGSZEIT
	//========================================
	if,var,var20,,<,240
		text,6,46,Last Update: ,l
		text,67,46,[updatetime],l,h:mm tt
	else
		if,var,var20,240,><,600
			calcvar,var20,/,%var20%,60
			color,font,255_0_0
			text,6,46,Updated ,l
			text,50,46,%var20%,l,
			text,62,46,Hours ago,l
			color,font,0_0_0
		else
			if,var,var20,600,><,1440
				calcvar,var20,/,%var20%,60
				color,font,255_0_0
				text,6,46,Updated ,l
				text,50,46,%var20%,l,
				text,62,46,Hours ago,l
				color,font,0_0_0
			else
				if,var,var20,1440,><,2880
					calcvar,var20,/,%var20%,1440
					color,font,255_0_0
					text,6,46,Updated ,l
					text,50,46,%var20%,r
					text,62,46,Days ago,l
					color,font,0_0_0
				else
					if,var,var20,2880,><,14400
						calcvar,var20,/,%var20%,1440
						color,font,255_0_0
						text,6,46,Updated ,l
						text,50,46,%var20%,r
						text,62,46,Days ago,l
						color,font,0_0_0
					else
						if,var,var20,,>,14401
							calcvar,var20,/,%var20%,1440
							color,font,255_0_0
							text,6,46,Updated ,l
							text,50,46,%var20%,r
							text,62,46,Days ago,l
							color,font,0_0_0
						else
						endif
					endif
				endif
			endif
		endif
	endif
	if,refresh
		image,4,46,Aktualisierung_main.png,t
	else
	endif
	imagebutton,4,46,Aktualisierungsbutton_main.png,,-1,7,-nohighlight,-1

	//========================================
	// Calendar - Current Month
	//========================================
	//image,181,5,kalender_header_senkrecht_main_grau.png
	image,194,5,kalender_header_senkrecht_main_rot.png
	image,116,5,kalender_header_senkrecht_main_rot.png
	image,116,1,kalender_header_main.png
	calendarheader,116,5,13
	calendar,0,0,116,18,13,10,l
	changefont,Tahoma,11,b
	text,162,-1,[caldate],0,c,"MMMM, yy"
	changefont,Tahoma,12
	button,116,18,97,60,-1,23,0,5
	button,116,18,97,60,-1,23,1,5
	button,116,18,97,60,-1,23,2,5
	button,116,18,97,60,-1,23,3,5
	button,116,18,97,60,-1,5,-highlight,5

	imagebutton,110,0,arrowbutt_left.png,t,-1,23,0
	button,110,0,12,12,-1,23,1
	button,110,0,12,12,-1,11,0
	button,110,0,12,12,-1,9,0,2
	button,110,0,12,12,-1,9,1,2

	imagebutton,100,109,refresh.png,t,3,10,0,2
	button,100,109,12,12,3,10,1,2
	button,100,109,12,12,-1,23,0,2
	button,100,109,12,12,-1,22,0,2		

	imagebutton,200,0,arrowbutt_right.png,t,-1,23,0
	button,200,0,12,12,-1,23,1
	button,200,0,12,12,-1,11,0
	button,200,0,12,12,-1,8,0,2
	button,200,0,12,12,-1,8,1,2
	
	//=================================
	// Battery - Memory
	//=================================
	if,var,var17,,=,0
		jumpregion,4,2
		storevar,var17=1
	else
		jumpregion,4,1
		storevar,var17=0
	endif
	
	// Battery ========================
	region,4,1,-1
		image,151,93,meters_background.png,t
		battery,bar,153,93,52,13,gradient_batterymain gradient.png
		image,151,93,meters.png,t
		imagebutton,151,93,Metersbutton.png,tr,-1,0,%apps-6-2-highlight
		changefont,Tahoma,11
		if,batterystatusunknown
			image,117,82,batterie_unbekannt.png,t
			text,155,83,Battery: ?,l
		else
			if,charging
				image,117,82,batterie_laden.png,t
				text,155,83,Charging.....,l
				battery,remaining,179,94,, %,c
			else
				if,externalpower,=,true
					image,117,82,batterie_geladen.png,t
					color,font,0_175_0
					text,179,83,Full,c
					color,font,-1_4_-1
				else
					image,120,82,batterie.png,t
					changefont,Tahoma,13,b
					battery,remaining,155,106,, %,l
					changefont,Tahoma,11,b
					text,155,83,Battery:,l
					changefont,Tahoma,11
				endif
			endif
		endif
	endregion,4,1

	// Memory ============================
	region,4,2,-1
		changefont,Tahoma,11,b
		text,149,82,Mem-Free:,l
		changefont,Tahoma,12,b
		memory,totalfree,149,106,, MB,l,%.1f
		changefont,Frutiger Linotype,14
		image,151,93,meters_background.png,t
		memory,barfree,153,93,52,13,gradient_Speichermain gradient.png
		image,151,93,meters.png,t
		text,200,92,P,l
		changefont,Frutiger Linotype,10
		text,153,94,S,l
		changefont,Tahoma,11
		imagebutton,151,93,Metersbutton.png,tr,-1,0,%apps-6-3-highlight
		calcvar,var17,programmemoryusedpercent
		if,var,var17,1,><,50
			image,117,82,Speicherleer.png,t
		else
			if,var,var17,51,><,80
				image,117,82,Speichervoll.png,t
			else
				image,117,82,Speicherhot.png,t
			endif
		endif
	endregion,4,2
	changefont,Tahoma,12,b

	//=======================================
	// Backlight Control 
	//=======================================
	//image,131,112,neonschatten.png,
	image,187,103,light.png,t
	button,193,109,15,17,-1,0,%apps-6-8-highlight
	
	//=======================================
	// Heading for News (RSS) Ticker
	//=======================================
	image,4,187,headline.png
	text,12,187,News Ticker,l
	
	//=======================================
	// Heading for Agenda 
	//=======================================
	image,4,113,headline.png
	text,25,113,Agenda,l
	changefont,Tahoma,12
	
	//=======================================
	// Program Shorcuts 
	//=======================================
	imagebutton,4,246,icon_button.png,t,-1,0,%apps-1-1
	shortcut,4,246,apps-1-1,s
	imagebutton,27,246,icon_button.png,t,-1,0,%apps-1-2
	shortcut,27,246,apps-1-2,s
	imagebutton,50,246,icon_button.png,t,-1,0,%apps-1-3
	shortcut,50,246,apps-1-3,s
	imagebutton,73,246,icon_button.png,t,-1,0,%apps-1-4
	shortcut,73,246,apps-1-4,s
	imagebutton,96,246,icon_button.png,t,-1,0,%apps-1-5
	shortcut,96,246,apps-1-5,s
	imagebutton,119,246,icon_button.png,t,-1,0,%apps-1-6
	shortcut,119,246,apps-1-6,s
	imagebutton,142,246,icon_button.png,t,-1,0,%apps-1-7
	shortcut,142,246,apps-1-7,s
	imagebutton,165,246,icon_button.png,t,-1,0,%apps-1-8
	shortcut,165,246,apps-1-8,s
	imagebutton,188,246,icon_button.png,t,-1,0,%apps-1-9
	shortcut,188,246,apps-1-9,s
	image,2,240,dotted_line.png,t
endregion,2,0
///////////////////////////////////////
//Main Page End
///////////////////////////////////////

///////////////////////////////////////
// Region 5 - Agenda Display for Main Page 
///////////////////////////////////////
region,5,0,120
	defregion,5,0,126,209,60,
	
	options,calendarfilter,0
	options,taskfilter,0
	options,dateformat,3,15,18,%changefont,Tahoma,11,%%line,203,10,-1_6_-1%%bold%%date,l%%regularfont%
	options,today-text,'Today', MMMM d yyyy
	options,tomorrow-text,'Tomorrow', MMMM d yyyy

	options,apptformat,0,11,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,1,-4%%changefont,Tahoma ,11,%%image,10,2,small_arrow_right.png,t%%tab,30%%starttime,h:mm%%tab,85%%subject%%regularfont%
	options,apptallday,0,11,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,1,-1%%changefont,Tahoma,11,%%textcolor,0_128_0%%image,10,2,small_arrow_right.png,t%%tab,30%All Day%tab,85%%subject%%regularfont%%textcolor,0_0_0%
	
	options,taskformat,0,11,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,1,-1%%changefont,Tahoma ,11,%%checkbox,16,0,12,12,dot.png,dot1.png,t%%tab,30%[%enddate,MM/d%]%tab,85%%subject%%changefont,Tahoma,11,%
	options,taskoverdue,0,11,11,%textcolor,255_0_0%%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,1,-1%%changefont,Tahoma ,11,%%checkbox,16,0,12,12,dot.png,dot1.png,t%%tab,30%[%enddate,MM/d%]%tab,85%%subject%%changefont,Tahoma,11,%%resettextcolor%
	options,taskcomplete,0,11,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,1,-1%%changefont,Tahoma,11,s%%checkbox,16,0,12,12,dot.png,dot1.png,tr%%tab,30%[%enddate,MM/d%]%tab,85%%subject%%changefont,Tahoma,11,%
	
	options,blanktext,-1,11,11,
	outlook,4,126,203,64,0,0,228,,,5
	
	changefont,Tahoma,12,

endregion,5,0
///////////////////////////////////////
// Agenda Display for Main Page End
///////////////////////////////////////

//////////////////////////////////////////
// Region 6 - News Ticker Main Page
// Region 4,3-4,6
//////////////////////////////////////////
region,6,0,30
	defregion,6,0,200,210,38,
	if,var,var15,,=,0
		jumpregion,4,3
		storevar,var15=1
	else
		if,var,var15,,=,1
			jumpregion,4,4
			storevar,var15=2
		else
			if,var,var15,,=,2
				jumpregion,4,5
				storevar,var15=3
			else
				if,var,var15,,=,3
					jumpregion,4,6
					storevar,var15=4
				else
					if,var,var15,,=,4
						jumpregion,4,7
						storevar,var15=5
					else
						if,var,var15,,=,5
							jumpregion,4,8
							storevar,var15=0
						else
						endif
					endif
				endif
			endif
		endif
	endif

	// RSS NEWS TICKER ============================
	region,4,3,-1
		load,rss,1
		RSS,title,4,201,207,12,1,,,l
		RSS,title,4,212,207,12,2,,,l
		RSS,title,4,223,207,12,3,,,l
	endregion,4,3
	
	// RSS NEWS TICKER ============================
	region,4,4,-1
		load,rss,2
		RSS,title,4,201,207,12,1,,,l
		RSS,title,4,212,207,12,2,,,l
		RSS,title,4,223,207,12,3,,,l
	endregion,4,4
	
	// RSS NEWS TICKER ============================
	region,4,5,-1
		load,rss,1
		RSS,title,4,201,207,12,4,,,l
		RSS,title,4,212,207,12,5,,,l
		RSS,title,4,223,207,12,6,,,l
	endregion,4,5
	
	// RSS NEWS TICKER ============================
	region,4,6,-1
	load,rss,2
		RSS,title,4,201,207,12,4,,,l
		RSS,title,4,212,207,12,5,,,l
		RSS,title,4,223,207,12,6,,,l
	endregion,4,6
	
	// RSS NEWS TICKER ============================
	region,4,7,-1
		load,rss,1
		RSS,title,4,201,207,12,7,,,l
		RSS,title,4,212,207,12,8,,,l
		RSS,title,4,223,207,12,9,,,l
	endregion,4,7
	
	//RSS NEWSTICKER============================
	region,4,8,-1
		load,rss,2
		RSS,title,4,201,207,12,7,,,l
		RSS,title,4,212,207,12,8,,,l
		RSS,title,4,223,207,12,9,,,l
	endregion,4,8

endregion,6,0
///////////////////////////////////////
// News Ticker On Main Page End
///////////////////////////////////////

///////////////////////////////////////
// Region 3 - Weather Page  
///////////////////////////////////////

///////////////////////////////////////
// Region 3,0 - Weather Forecast  
///////////////////////////////////////
region,3,0,60
	defregion,3,0,0,211,267,1
	cleararea,0,0,211,267
	deactivatebuttons,2
	deactivatebuttons,5
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,10
	deactivatebuttons,11
	deactivatebuttons,12
	deactivatebuttons,15
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,3
	if,var,var9,,>,%var29%
		storevar,var9=1
	else
	endif	
	load,city,%var9%
	
	//===================================
	// Summary
	//===================================
	image,4,3,headline_breit_gelb_verlauf.png,t
	changefont,Tahoma,13,b
	
//		text,105,2,Weather - ,r
//		text,105,2,[name],l
		text,105,2,[name],c
	
	//===================================
	// Update Status
	//===================================
	changefont,Tahoma,12,
	image,4,18,headline_breit_blau_verlauf.png,t
	calcvar,var20,weatherupdatetimediff
	
	if,var,var20,,<,240
		text,45,18,Last Update: ,l
		text,129,18,[updatetime],l,h:mm t
	else
		if,var,var20,240,><,600
			calcvar,var20,/,%var20%,60
			color,font,255_0_0
			text,30,18,Last Updated ,l
			text,133,18,%var20%,l,
			text,142,18,Hours ago,l
			color,font,0_0_0
		else
			if,var,var20,600,><,1440
				calcvar,var20,/,%var20%,60
				color,font,255_0_0
				text,30,18,Last Updated ,l
				text,132,18,%var20%,l,
				text,146,18,Hours ago,l
				color,font,0_0_0
			else
				if,var,var20,1440,><,2880
					calcvar,var20,/,%var20%,1440
					color,font,255_0_0
					text,43,18,Last Updated ,l
					text,145,18,%var20%,l
					text,152,18,Days ago,l
					color,font,0_0_0
				else
					if,var,var20,2880,><,14400
						calcvar,var20,/,%var20%,1440
						color,font,255_0_0
						text,38,18,Last Updated ,l
						text,141,18,%var20%,l
						text,148,18,Days ago,l
						color,font,0_0_0
					else
						if,var,var20,,>,14401
							calcvar,var20,/,%var20%,1440
							color,font,255_0_0
							text,35,18,Last Updated ,l
							text,136,18,%var20%,l
							text,148,18,Days ago,l
							color,font,0_0_0
						else
						endif
					endif
				endif
			endif
		endif
	endif

	//===================================
	// Sun Details
	//===================================

	calcvar,var8,elevation,1
	image,0,47,mountains1.png,

		if,var,var8,,<,01.0
                   	 image,6,29,moon4.png,                      
	else
	endif

		if,var,var8,01.1,><,05.5 
                   	 image,7,36,sun1.png,                      
	else
	endif

		if,var,var8,05.6,><,11.0
                    	 image,7,36,sun2.png,                      
	else
	endif

		if,var,var8,11.1,><,15.5
                   	 image,7,36,sun3.png,                       
	else
	endif
 
		if,var,var8,15.6,><,20.5
                    	image,7,36,sun4.png,                      
	else
	endif
 
		if,var,var8,20.6,><,25.5
                    	image,7,36,sun5.png,                       
	else
	endif
 
		if,var,var8,25.6,><,31.0
                    	image,7,36,sun6.png,
	else
	endif
 
		if,var,var8,31.1,><,36.5
                   	 image,7,36,sun7.png, 
	else
	endif
 
		if,var,var8,36.6,><,42.0 
                   	 image,7,36,sun8.png, 
	else
	endif
 
		if,var,var8,42.1,><,48.0 
                   	 image,7,36,sun9.png, 
	else
	endif
 
		if,var,var8,48.1,><,55.0 
                    	image,7,36,sun10.png, 
	else
	endif

	suntime,%var9%,sunrise,official,43,31,h:mm t,Rise:     ,,l
	suntime,%var9%,sunset,official,43,41,h:mm t,Set:      ,,l
	suntime,%var9%,daylength,official,43,51,h:mm,Length:  ,,l
	changefont,Tahoma,11,b
	suntime,%var9%,elevation,,23,90,%05.2f,,,c
	changefont,Tahoma,12
	text,2,80,Elevation:,l

	image,13,102,radar_button2.png,t
	image,1,102,radar_sm.png,t
		if,var,var9,,=,1
			button,13,102,45,12,-1,0,\storage%20card2\todayplus\blacklick.ohio.htm-highlight,0
		else
		endif

		if,var,var9,,=,2
			button,13,102,45,12,-1,0,\storage%20card2\todayplus\columbus.ohio.htm-highlight,0
		else
		endif

		if,var,var9,,=,3
			button,13,102,45,12,-1,0,\storage%20card2\todayplus\portsmouth.ohio.htm-highlight,0
		else
		endif

		if,var,var9,,=,4
			button,13,102,45,12,-1,0,\storage%20card2\todayplus\cincinnati.ohio.htm-highlight,0
		else
		endif
	
	//===================================
	// Moon Details
	//===================================
	calcvar,var14,moonphase,0
	imagemeter,112,34,%var14%,phasen.png,tr,0,7
	moontime,%var9%,rise,0,142,31,h:mm t,Rise:  ,,l 
	moontime,%var9%,set,0,142,41,h:mm t,Set:   ,,l 
	moontime,%var9%,visible,0,142,51,,Visible: ,%,l

	//===================================
	// Current Weather Data
	//===================================
	calcvar,var20,weatherupdatetimediff
	if,var,var20,,<,360
		todayicon,165,70,,t
		changefont,Tahoma,12,b
		today,sky,60,66,,,l
		changefont,Tahoma,12
		color,font,0_0_255
		text,65,78,Temperature:,l
		changefont,Tahoma,14,b
		color,font,195_0_0
		today,temp,134,76,, ,l
		changefont,Tahoma,12
		color,font,-1_4_-1
		today,realtemp,120,88,, ,l
		today,visibility,157,114,, Miles,l
		today,barometer,120,98,, in,l
		today,humidity,70,114,, %,l
		today,uv,190,128,,,l
		color,font,0_0_195
		text,65,88,Feels Like:,l
		text,65,98,Barometer:,l
		text,115,114,Visibility:,l
		text,5,114,Rel.Humidity:,l
		text,5,128,Wind Dir:,l
		text,138,128,UV-Index:,l
		color,font,-1_4_-1
		today,winddir,51,128,,,l
		today,windspeed,81,128,@ , MPH,l
		//today,date,5,128,Weather Updated:   ,    ,l
	else
		changefont,Tahoma,14,b
		text,124,90,No Current,c
		text,124,108,Data Available,c
		changefont,Tahoma,12
	endif

	//===================================
	// WEATHER FORECAST 4 DAY
	//===================================
	calcvar,var20,weatherupdatetimediff
	if,var,var20,,<,360
		imagebutton,5,145,wetter_button_detail.png,tr,7,4,0,3
		button,5,145,95,13,-1,6,var1=1
		forecasticon,1,5,162,,t
		changefont,Tahoma,12,b
		forecast,date_dddd  M/d,1,7,145,,,l
		changefont,Tahoma,12,	
		text,40,160,High:,l
		text,40,170,Low:,l
		text,40,180,Prec:,l
		color,font,195_0_0
		forecast,high,1,100,160,, ,r
		color,font,0_0_195
		forecast,low,1,100,170,, ,r
		color,font,0_120_0
		forecast,precipitation,1,100,180,, %,r
		color,font,-1_4_-1
		imagebutton,110,145,wetter_button_detail.png,tr,7,4,0,3
		button,110,145,95,13,-1,6,var1=2
		forecasticon,2,110,162,,t
		changefont,Tahoma,12,b
		forecast,date_dddd  M/d,2,112,145,,,l
		changefont,Tahoma,12,
		text,145,160,High:,l
		text,145,170,Low:,l
		text,145,180,Prec:,l
		color,font,195_0_0
		forecast,high,2,205,160,, ,r
		color,font,0_0_195
		forecast,low,2,205,170,, ,r
		color,font,0_120_0
		forecast,precipitation,2,205,180,, %,r
		color,font,-1_4_-1
		imagebutton,5,198,wetter_button_detail.png,tr,7,4,0,3
		button,5,198,95,13,-1,6,var1=3
		forecasticon,3,5,215,,t
		changefont,Tahoma,12,b
		forecast,date_dddd  M/d,3,7,198,,,l
		changefont,Tahoma,12,
		text,40,213,High:,l
		text,40,223,Low:,l
		text,40,233,Prec:,l
		color,font,195_0_0
		forecast,high,3,100,213,, ,r
		color,font,0_0_195
		forecast,low,3,100,223,, ,r
		color,font,0_120_0
		forecast,precipitation,3,100,233,, %,r
		color,font,-1_4_-1
		imagebutton,110,198,wetter_button_detail.png,tr,7,4,0,3
		button,110,198,95,13,-1,6,var1=4
		forecasticon,4,110,215,,t
		changefont,Tahoma,12,b
		forecast,date_dddd  M/d,4,112,198,,,l
		changefont,Tahoma,12,
		text,145,213,High:,l
		text,145,223,Low:,l
		text,145,233,Prec:,l
		color,font,195_0_0
		forecast,high,4,205,213,, ,r
		color,font,0_0_195
		forecast,low,4,205,223,, ,r
		color,font,0_120_0
		forecast,precipitation,4,205,233,, %,r
		color,font,-1_4_-1
	else
		calcvar,var21,firstvalidforecastday
		if,var,var21,,<,6
			imagebutton,5,145,wetter_button_detail.png,tr,7,4,0,3
			button,5,145,95,13,-1,6,var1=%var21%
			forecasticon,%var21%,5,162,,t
			changefont,Tahoma,12,b
			forecast,date_dddd  M/d,%var21%,7,145,,,l
			changefont,Tahoma,12,	
			text,40,160,High:,l
			text,40,170,Low:,l
			text,40,180,Prec:,l
			color,font,195_0_0
			forecast,high,%var21%,100,160,, ,r
			color,font,0_0_195
			forecast,low,%var21%,100,170,, ,r
			color,font,0_120_0
			forecast,precipitation,%var21%,100,180,, %,r
			color,font,-1_4_-1
			addvar,var21,1
		else
			image,5,162,none.png,t
		endif
		if,var,var21,,<,6
			imagebutton,110,145,wetter_button_detail.png,tr,7,4,0,3
			button,110,145,95,13,-1,6,var1=%var21%
			forecasticon,%var21%,110,162,,t
			changefont,Tahoma,12,b
			forecast,date_dddd  M/d,%var21%,112,145,,,l
			changefont,Tahoma,12,
			text,145,160,High:,l
			text,145,170,Low:,l
			text,145,180,Prec:,l
			color,font,195_0_0
			forecast,high,%var21%,205,160,, ,r
			color,font,0_0_195
			forecast,low,%var21%,205,170,, ,r
			color,font,0_120_0
			forecast,precipitation,%var21%,205,180,, %,r
			color,font,-1_4_-1
			addvar,var21,1
		else
			image,110,162,none.png,t
		endif
		if,var,var21,,<,6
			imagebutton,5,198,wetter_button_detail.png,tr,7,4,0,3
			button,5,198,95,13,-1,6,var1=%var21%
			forecasticon,%var21%,5,215,,t
			changefont,Tahoma,12,b
			forecast,date_dddd  M/d,%var21%,7,198,,,l
			changefont,Tahoma,12,
			text,40,213,High:,l
			text,40,223,Low:,l
			text,40,233,Prec:,l
			color,font,195_0_0
			forecast,high,%var21%,100,213,, ,r
			color,font,0_0_195
			forecast,low,%var21%,100,223,, ,r
			color,font,0_120_0
			forecast,precipitation,%var21%,100,233,, %,r
			color,font,-1_4_-1
			addvar,var21,1
		else
			image,5,215,none.png,t
		endif
		if,var,var21,,<,6
			imagebutton,110,198,wetter_button_detail.png,tr,7,4,0,3
			button,110,198,95,13,-1,6,var1=%var21%
			forecasticon,%var21%,110,215,,t
			changefont,Tahoma,12,b
			forecast,date_dddd  M/d,%var21%,112,198,,,l
			changefont,Tahoma,12,
			text,145,213,High:,l
			text,145,223,Low:,l
			text,145,233,Prec:,l
			color,font,195_0_0
			forecast,high,%var21%,205,213,, ,r
			color,font,0_0_195
			forecast,low,%var21%,205,223,, ,r
			color,font,0_120_0
			forecast,precipitation,%var21%,205,233,, %,r
			color,font,-1_4_-1
			addvar,var21,1
		else
			image,110,215,none.png,t
		endif
	endif

	//===================================
	// Weather Menu
	//===================================
	imagebutton,125,251,wetter_auswahl.png,tr,8,4,0,3
	text,140,251,Menu,l

	//============================================
	// Update Button
	//============================================
	button,5,251,83,13,8,4,999
	button,5,251,83,13,7,4,999
	imagebutton,5,251,wetterbutton_aktualisieren.png,,-1,7,,3
	text,19,251,Update,l
	if,refresh
		image,5,251,Aktualisierung_wetter.png,
		jumpregion,7,999
		jumpregion,8,999
	else
	endif
	
	//===================================
	// Time
	//===================================
	image,91,249,Wetter_ortszeit.png,
	time,107,251,7,5,c,,"h:mmt"
endregion,3,0

///////////////////////////////////////
// REGION 7,0 - WEATHER DETAILS 
///////////////////////////////////////
region,7,0,60
	cleararea,11,47,192,151
	clearregion,8
	deactivatebuttons,3
	deactivatebuttons,8
	activatebuttons,7
	load,city,%var9%
	image,10,45,wetterpopup.png

	//===================================
	// Close Button
	//===================================
	imagebutton,180,51,popupschliessen.png,t,7,4,999,3

	//===================================
	// Heading
	//===================================
	changefont,Tahoma,13,b
	//text,114,47,Forecast - ,r
	//text,114,47,[name],l
	text,100,47,[name],c
	changefont,Tahoma,12,
	forecast,date_dddd MMMM d yyyy,%var1%,105,60,,,c

	//===================================
	// Weather Details
	//===================================
	forecasticon,%var1%,15,80,,t
	text,49,82,Day:,l
	changefont,Tahoma,12,b
	forecast,text,%var1%,49,94,,,l
	changefont,Tahoma,12,
	text,35,115,Maximum Temperature:,l
	text,35,125,Minimum Temperature :,l
	text,35,135,Chance of Precipitation :,l
	changefont,Tahoma,13,b
	color,font,255_0_0
	forecast,high,%var1%,175,115,,,r
	color,font,0_0_255
	forecast,low,%var1%,175,125,,,r
	color,font,0_120_0
	forecast,precipitation,%var1%,185,135,, %,r
	color,font,0_0_0
	changefont,Tahoma,12,
	nightforecasticon,%var1%,15,155,,t
	text,49,157,Night:,l
	changefont,Tahoma,12,b
	forecast,nighttext,%var1%,49,169,,,l
	changefont,Tahoma,12,

endregion,7,0

///////////////////////////////////////
// REGION 8,0 - Weather Menu PopUp
///////////////////////////////////////
region,8,0,-1
	cleararea,86,157,124,92
	clearregion,7
	deactivatebuttons,3
	deactivatebuttons,7
	activatebuttons,8
	image,85,157,wetter_auswahl_popup.png
	changefont,Tahoma,12,b
	
	if,var,var10,,=,1
		options,weathericondir,Weather Icons\weather faces 2.0,png
		imagebutton,87,158,wetter_icon_wechsel_button.png,t,-1,6,var10=2,-1
		button,87,158,100,15,8,4,999,3
	else
		options,weathericondir,Weather Icons\png transparent,png
		imagebutton,87,158,wetter_icon_wechsel_button.png,t,-1,6,var10=1,-1
		button,87,158,100,15,8,4,999,3
	endif
	
	text,91,160,Change Icons,l
	text,91,174,Zodiac Signs,l
	imagebutton,87,171,wetter_auswahl_popup_button.png,tr,7,4,2,3
	button,87,171,100,15,8,4,999
	text,91,188,Moon Phases,l
	imagebutton,87,186,wetter_auswahl_popup_button.png,tr,7,4,1,3
	button,87,186,100,12,15,4,999
	imagebutton,191,178,scrollup.png,t,8,13,var13_-2
	imagebutton,191,231,scrolldown.png,t,8,13,var13_2
	if,var,var13,,<,1
		storevar,var13=1
	else
	endif
	if,var,var13,,>,%var29%
		storevar,var13=1
	else
	endif
	if,var,var13,,<,1
		storevar,var13=%var29%
	else
	endif
	text,193,159,%var29%,l
	text,193,203,%var13%,l
	load,city,%var13%
	image,91,204,small_arrow_right.png,t
	text,98,202,[name],l
	imagebutton,87,201,wetter_auswahl_popup_button.png,tr,3,4,0,3
	button,87,201,100,15,-1,6,var9=%var13%
	button,87,201,100,15,8,4,999
	addvar,var13,1
	load,city,%var13%
	image,91,218,small_arrow_right.png,t
	text,98,216,[name],l
	imagebutton,87,216,wetter_auswahl_popup_button.png,tr,3,4,0,3
	button,87,216,100,15,-1,6,var9=%var13%
	button,87,216,100,15,8,4,999
	addvar,var13,-1
	color,font,255_0_0
	text,110,233,Cancel,l
	imagebutton,87,231,wetter_auswahl_popup_button_abbrechen.png,tr,8,4,999,3
	color,font,0_0_0
	changefont,Tahoma,12,
endregion,8,0

///////////////////////////////////////
// REGION 7,1 - Moon Phases 1
///////////////////////////////////////
region,7,1,-1
	cleararea,12,78,191,84
	deactivatebuttons,3
	deactivatebuttons,8
	activatebuttons,7
	clearregion,8
	image,10,78,Mondphasenpopup.png
	changefont,Tahoma,13,
	text,105,80,Moon Phases,c
	changefont,Tahoma,12,
	imagebutton,180,83,popupschliessen.png,t,7,4,999,3
	button,180,83,15,15,-1,6,var7=1
	load,city,%var0%
	changefont,Tahoma,11,
	//=================================================
	time,19,101,-1,5,l,"MMM d",,%var7%
	calcvar,var14,moonphase,%var7%
	imagemeter,19,114,%var14%,phasen.png,tr,0,7
	moontime,%var0%,visible,%var7%,32,143,,, %,c
	//=================================================
	addvar,var7,1
	time,51,101,-1,5,l,"MMM d",,%var7%
	calcvar,var14,moonphase,%var7%
	imagemeter,51,114,%var14%,phasen.png,tr,0,7
	moontime,%var0%,visible,%var7%,64,143,,, %,c
	//=================================================
	addvar,var7,1
	time,83,101,-1,5,l,"MMM d",,%var7%
	calcvar,var14,moonphase,%var7%
	imagemeter,83,114,%var14%,phasen.png,tr,0,7
	moontime,%var0%,visible,%var7%,96,143,,, %,c
	//=================================================
	addvar,var7,1
	time,115,101,-1,5,l,"MMM d",,%var7%
	calcvar,var14,moonphase,%var7%
	imagemeter,115,114,%var14%,phasen.png,tr,0,7
	moontime,%var0%,visible,%var7%,128,143,,, %,c
	//=================================================
	addvar,var7,1
	time,147,101,-1,5,l,"MMM d",,%var7%
	calcvar,var14,moonphase,%var7%
	imagemeter,147,114,%var14%,phasen.png,tr,0,7
	moontime,%var0%,visible,%var7%,160,143,,, %,c
	//=================================================
	imagebutton,181,118,pfeilrechts.png,t,0,13,var7_1
	button,181,118,15,15,7,4,1
endregion,7,1

///////////////////////////////////////
// REGION 7,2 - Zodiac Signs 1/4
///////////////////////////////////////
region,7,2,100
	deactivatebuttons,3
	deactivatebuttons,8
	activatebuttons,7
	clearregion,8
	cleararea,12,78,191,84
	image,10,78,Mondphasenpopup.png
	changefont,Tahoma,13,
	text,105,80, Zodiac Signs 1/4,c
	changefont,Tahoma,12,
	imagebutton,180,83,popupschliessen.png,t,7,4,999,3
	changefont,Tahoma,11,
	text,52,109,12/22,c
	image,42,118,Tierkreis_Steinbock.png,c		
	text,52,137,Capricorn,c
	text,106,109,1/21,c
	image,96,118,Tierkreis_Wassermann.png,c		
	text,106,137,Aquarius,c
	text,162,109,2/20,c
	image,152,118,Tierkreis_Fische.png,c		
	text,162,137,Pisces,c
	changefont,Tahoma,12,
	imagebutton,16,120,pfeillinks.png,t,7,4,5,3
	imagebutton,183,120,pfeilrechts.png,t,7,4,3,3
endregion,7,2

///////////////////////////////////////
// REGION 7,3 - Zodiac Signs 2/4
///////////////////////////////////////
region,7,3,100
	deactivatebuttons,3
	deactivatebuttons,8
	activatebuttons,7
	clearregion,8
	cleararea,12,78,191,84
	image,10,78,Mondphasenpopup.png
	changefont,Tahoma,13,
	text,105,80, Zodiac Signs 2/4,c
	changefont,Tahoma,12,
	imagebutton,180,83,popupschliessen.png,t,7,4,999,3
	changefont,Tahoma,11,
	text,52,109,3/21,c
	image,42,118,Tierkreis_Widder.png,c		
	text,52,137,Aries,c
	text,106,109,4/21,c
	image,96,118,Tierkreis_Stier.png,c		
	text,106,137,Taurus,c
	text,162,109,5/21,c
	image,152,118,Tierkreis_Zwillinge.png,c		
	text,162,137,Gemini,c
	changefont,Tahoma,12,
	imagebutton,16,120,pfeillinks.png,t,7,4,2,3
	imagebutton,183,120,pfeilrechts.png,t,7,4,4,3
endregion,7,3

///////////////////////////////////////
// REGION 7,4 - Zodiac Signs 3/4
///////////////////////////////////////
region,7,4,100
	deactivatebuttons,3
	deactivatebuttons,8
	activatebuttons,7
	clearregion,8
	cleararea,12,78,191,84
	image,10,78,Mondphasenpopup.png
	changefont,Tahoma,13,
	text,105,80, Zodiac Signs 3/4,c
	changefont,Tahoma,12,
	imagebutton,180,83,popupschliessen.png,t,7,4,999,3
	changefont,Tahoma,11,
	text,52,109,6/22,c
	image,42,118,Tierkreis_krebs.png,c		
	text,52,137,Cancer,c
	text,106,109,7/23,c
	image,96,118,Tierkreis_lwe.png,c		
	text,106,137,Leo,c
	text,162,109,8/24,c
	image,152,118,Tierkreis_jungfrau.png,c		
	text,162,137,Virgo,c
	changefont,Tahoma,12,
	imagebutton,16,120,pfeillinks.png,t,7,4,3,3
	imagebutton,183,120,pfeilrechts.png,t,7,4,5,3
endregion,7,4

///////////////////////////////////////
// REGION 7,5 - Zodiac Signs 4/4
///////////////////////////////////////
region,7,5,100
	deactivatebuttons,3
	deactivatebuttons,8
	activatebuttons,7
	clearregion,8
	cleararea,12,78,191,84
	image,10,78,Mondphasenpopup.png
	changefont,Tahoma,13,
	text,105,80, Zodiac Signs 4/4,c
	changefont,Tahoma,12,
	imagebutton,180,83,popupschliessen.png,t,7,4,999,3
	changefont,Tahoma,11,
	text,52,109,9/24,c
	image,42,118,Tierkreis_waage.png,c		
	text,52,137,Libra,c
	text,106,109,10/24,c
	image,96,118,Tierkreis_skorpion.png,c		
	text,106,137,Scorpio,c
	text,162,109,11/23,c
	image,152,118,Tierkreis_Schtze.png,c		
	text,162,137,Sagittarius,c
	changefont,Tahoma,12,
	imagebutton,16,120,pfeillinks.png,t,7,4,4,3
	imagebutton,183,120,pfeilrechts.png,t,7,4,2,3
endregion,7,5
///////////////////////////////////////
// Weather Page End
///////////////////////////////////////

///////////////////////////////////////
// REGION 9,0 Tasks & Agenda Summary
///////////////////////////////////////
region,9,0,60
	defregion,9,0,0,210,267,1
	initvar,var16,8
	cleararea,0,0,211,67
	deactivatebuttons,2
	deactivatebuttons,3
	deactivatebuttons,5
	deactivatebuttons,4
	deactivatebuttons,6
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,10
	deactivatebuttons,11
	deactivatebuttons,12
	deactivatebuttons,15
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,9


	//===========================================
	// Heading
	//===========================================
	image,4,25,headline_breit_gelb_verlauf.png

if,var,var16,,=,1
	image,2,-1,butt_hammer_sel.png
	button,2,-1,25,25,-1,6,var16=1-highlight,9
	button,2,-1,25,25,-1,23,0
else
	image,2,-1,butt_hammer.png
	button,2,-1,25,25,-1,6,var16=1-highlight,9
	button,2,-1,25,25,-1,23,0
else
endif
endif

if,var,var16,,=,2
	image,32,-1,butt_schd_sel.png
	button,32,-1,25,25,-1,6,var16=2-highlight,9
	button,32,-1,25,25,-1,23,0
else
	image,32,-1,butt_schd.png
	button,32,-1,25,25,-1,6,var16=2-highlight,9
	button,32,-1,25,25,-1,23,0
else
endif
endif

if,var,var16,,=,5
	image,62,-1,butt_buscal_sel.png
	button,62,-1,25,25,-1,6,var16=5-highlight,9
	button,62,-1,25,25,-1,23,0
else
	image,62,-1,butt_buscal.png
	button,62,-1,25,25,-1,6,var16=5-highlight,9
	button,62,-1,25,25,-1,23,0
else
endif
endif

if,var,var16,,=,3
	image,92,-1,butt_bustsk_sel.png
	button,92,-1,25,25,-1,6,var16=3-highlight,9
	button,92,-1,25,25,-1,23,0
else
	image,92,-1,butt_bustsk.png
	button,92,-1,25,25,-1,6,var16=3-highlight,9
	button,92,-1,25,25,-1,23,0
else
endif
endif

if,var,var16,,=,6
	image,122,-1,butt_percal_sel.png
	button,122,-1,25,25,-1,6,var16=6-highlight,9
	button,122,-1,25,25,-1,23,0
else
	image,122,-1,butt_percal.png
	button,122,-1,25,25,-1,6,var16=6-highlight,9
	button,122,-1,25,25,-1,23,0
else
endif
endif

if,var,var16,,=,8
	image,152,-1,butt_pertsk_sel.png
	button,152,-1,25,25,-1,6,var16=8-highlight,9
	button,152,-1,25,25,-1,23,0
else
	image,152,-1,butt_pertsk.png
	button,152,-1,25,25,-1,6,var16=8-highlight,9
	button,152,-1,25,25,-1,23,0
else
endif
endif

if,var,var16,,=,7
	image,182,-1,butt_aniv_sel.png
	button,182,-1,25,25,-1,6,var16=7-highlight,9
	button,182,-1,25,25,-1,23,0
else
	image,182,-1,butt_aniv.png
	button,182,-1,25,25,-1,6,var16=7-highlight,9
	button,182,-1,25,25,-1,23,0
else
endif
endif

//===========================================
// FILTER
//===========================================

options,dateformat,1,14,15,%changefont,tahoma,11,%%line,202,10,-1_4_-1%%bold%%date,l%%regularfont%
options,today-text,'Today', MMMM d  yyyy
options,tomorrow-text,'Tomorrow', MMMM d  yyyy


options,apptformat,0,13,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,0,-1%%changefont,tahoma,11,%%image,16,0,arrow_right.png,t%%tab,30%%starttime,h:mmt%%tab,85%%//bold%%subject%%regularfont%

options,apptallday,0,13,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,0,-1%%changefont,tahoma,11,%%textcolor,0_128_0%%image,16,0,arrow_right.png,t%%tab,30%All Day%tab,85%%//bold%%subject%%regularfont%%textcolor,0_0_0%
options,taskformat,0,13,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,0,-1%%changefont,tahoma,11,%%checkbox,16,0,12,12,dot.png,dot1.png,t%%tab,30%[%enddate,MM/d%]%tab,85%%subject%%changefont,tahoma,11,%

options,taskoverdue,0,13,11,%textcolor,255_0_0%%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,0,-1%%changefont,tahoma,11,%%checkbox,16,0,12,12,dot.png,dot1.png,t%%tab,30%[%enddate,MM/d%]%tab,85%%subject%%changefont,tahoma,11,%%resettextcolor%

options,taskcomplete,0,13,11,%iconstart,68%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,0,-1%%changefont,tahoma,11,s%%checkbox,16,0,12,12,dot.png,dot1.png,tr%%tab,30%[%enddate,MM/d%]%tab,85%%subject%%changefont,tahoma,11,%

options,blanktext,-1,15,11,

imagebutton,5,25,refresh.png,,-1,22,,-1
button,5,25,12,12,-1,23,1
button,5,25,12,12,-1,23,2
button,5,25,12,12,-1,23,0
button,5,25,12,12,-1,23,3


if,var,var16,,=,1
storevar,var16=1
cleararea,0,40,210,260
changefont,Tahoma,16,bi
color,font,255_0_0
text,105,23,*Jobs List*,c
color,font,-1_4_-1
options,taskfilter,4
changefont,tahoma,11,
outlook,5,40,205,280,2,0,228,,,9

else

if,var,var16,,=,2
storevar,var16=2
cleararea,0,40,210,260
changefont,Tahoma,16,bi
color,font,255_0_0
text,105,23,*Job Schedule*,c
color,font,-1_4_-1
options,taskfilter,5
changefont,tahoma,11,
outlook,5,40,205,280,2,0,228,,,9

else

if,var,var16,,=,3
storevar,var16=3
cleararea,0,40,210,260
changefont,Tahoma,16,bi
color,font,255_0_0
text,105,23,*Business Tasks*,c
color,font,-1_4_-1
options,taskfilter,2
changefont,tahoma,11,
outlook,5,40,205,280,2,0,228,,,9

else

if,var,var16,,=,5
storevar,var16=5
cleararea,0,40,210,260
changefont,Tahoma,16,bi
color,font,255_0_0
text,105,23,*Business Agenda*,c,
color,font,-1_4_-1
options,calendarfilter,2
changefont,tahoma,11,
outlook,5,40,205,280,1,0,228,,,9

else

if,var,var16,,=,6
storevar,var16=6
cleararea,0,40,210,260
changefont,Tahoma,16,bi
color,font,255_0_0
text,105,23,*Personal Agenda*,c
color,font,-1_4_-1
options,calendarfilter,3
changefont,tahoma,11,
outlook,5,40,205,280,1,0,228,,,9

else

if,var,var16,,=,7
storevar,var16=7
cleararea,0,40,210,260
changefont,Tahoma,16,bi
color,font,255_0_0
text,105,23,*Anniversaries*,c
color,font,-1_4_-1
options,calendarfilter,4
changefont,tahoma,11,
outlook,5,40,205,280,1,0,228,,,9

else

if,var,var16,,=,8
storevar,var16=8
cleararea,0,40,210,260
changefont,Tahoma,16,bi
color,font,255_0_0
text,105,23,*Personal Tasks*,c
color,font,-1_4_-1
options,taskfilter,3
changefont,tahoma,11,
outlook,5,40,205,280,2,0,228,,,9

else

endif
endif
endif
endif
endif
endif
endif

changefont,tahoma,12,
color,font,-1_4_-1
endregion,9,0
///////////////////////////////////////
// Calendar End
///////////////////////////////////////

///////////////////////////////////////
// REGION 10,0 Tasks & Agenda Summary
///////////////////////////////////////
region,10,0,60
	defregion,10,0,0,210,267,1
	cleararea,0,0,211,267
	deactivatebuttons,2
	deactivatebuttons,3
	deactivatebuttons,5
	deactivatebuttons,4
	deactivatebuttons,6
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,11
	deactivatebuttons,12
	deactivatebuttons,15
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,10
	
	//===========================================
	// Heading
	//===========================================
	image,4,3,headline_breit_gelb_verlauf.png
	imagebutton,5,3,calendar_img.png,t,-1,6,var11=1,10
	button,5,3,15,15,-1,23,0,10
	button,5,3,15,15,-1,23,1,10
	imagebutton,195,3,tasks.png,t,-1,6,var11=2,10
	button,195,3,15,15,-1,23,0,10
	button,195,3,15,15,-1,23,1,10
	changefont,Tahoma,12
	
	/===========================================
	// Tasks - Current Month
	//===========================================
	image,5,159,Kalender_header_poom.png
	image,83,170,kalender_header_senkrecht_main_rot.png
	image,6,170,kalender_header_senkrecht_main_rot.png
	image,5,162,kalender_header_main1.png
	calendarheader,6,170,13
	calendar,0,0,6,183,13,10,l
	button,6,183,97,60,-1,5,0-highlight,10
	button,6,183,97,60,-1,23,0,10
	button,6,183,97,60,-1,23,1,10
	button,6,183,97,60,-1,23,2,10
	button,6,183,97,60,-1,23,3,10
	button,6,183,97,60,-1,11,0,10
	changefont,Tahoma,12,b
	text,52,161,[caldate],0,c,"MMMM, yy"
	changefont,Tahoma,12
	imagebutton,3,250,kalenderpfeil_links.png,t,-1,9,0,10
	button,3,250,70,12,-1,9,1,10
	
	//===========================================
	// Tasks - Next Month
	//===========================================
	image,115,159,kalender_header_poom.png
	image,193,170,kalender_header_senkrecht_main_rot.png
	image,116,170,kalender_header_senkrecht_main_rot.png
	image,115,162,kalender_header_main1.png
	calendarheader,116,170,13
	calendar,1,1,116,183,13,10,l
	button,116,183,97,60,-1,5,1-highlight,10
	button,116,183,97,60,-1,23,0,10
	button,116,183,97,60,-1,23,1,10
	button,116,183,97,60,-1,23,2,10
	button,116,183,97,60,-1,23,3,10
	button,116,183,97,60,-1,11,1,10
	changefont,Tahoma,12,b
	text,160,161,[caldate],1,c,"MMMM, yy"
	changefont,Tahoma,12
	imagebutton,139,250,kalenderpfeil_rechts.png,t,-1,8,1,10
	button,139,250,70,12,-1,8,0,10
	
	//===========================================
	// Reset Tasks
	//===========================================
	imagebutton,75,250,kalender_reset.png,t,10,10,0,10
	button,75,250,62,12,10,10,1,10
	button,75,250,62,12,-1,22,0,10
	button,75,250,62,12,-1,23,0,10
	button,75,250,62,12,-1,23,1,10
	
	time,106,250,-1,5,c,MM/d ,h:mm t,
	
	//===========================================
	// FILTER
	//===========================================
	
if,var,var11,,=,1

changefont,Tahoma,16,bi
color,font,255_0_0
text,105,2,*Agenda Countdown*,c
color,font,-1_4_-1
options,calendarfilter,0
options,blanktext,-1,12,13,
options,today-text,'Today',
options,tomorrow-text,'Tomorrow',
changefont,tahoma,11,
options,dateformat,0,0,0,%date,MM/dd (ddd)%%regularfont%
options,apptformat,0,13,10,%changefont,Tahoma,11,u%%tab,50%%countdown%-Days %changefont,tahoma,11,%%iconstart,90%%categoryicons,0,-1%%tab,110%%subject%%changefont,tahoma,11,%
				options,apptallday,0,13,10,%changefont,Tahoma,11,u%%tab,50%%countdown%-%changefont,tahoma,11,u%%subject%%changefont,tahoma,11,%
outlook,5,20,205,133,1,0,228,,,10

else
endif


if,var,var11,,=,2

changefont,Tahoma,16,bi
color,font,255_0_0
text,105,2,*Tasks Countdown*,c
color,font,-1_4_-1
options,taskfilter,0
options,blanktext,-1,12,13,
options,today-text,'Today',
options,tomorrow-text,'Tomorrow',
changefont,tahoma,11,
options,dateformat,0,0,0,%date,MM/dd (ddd)%%regularfont%
options,taskformat,0,13,12,%changefont,Tahoma,11,u%%tab,50%%countdown%-Days %changefont,tahoma,11,%%iconstart,90%%categoryicons,0,-1%%tab,110%%subject%%changefont,tahoma,11,%
				options,apptallday,0,13,10,%changefont,Tahoma,11,u%%tab,50%%countdown%-%changefont,tahoma,11,u%%subject%%changefont,tahoma,11,%
outlook,5,20,205,133,2,0,228,,,10

else
endif

endregion,10,0
///////////////////////////////////////
// Tasks End 
///////////////////////////////////////

///////////////////////////////////////
// Region 11 - World Time
///////////////////////////////////////

///////////////////////////////////////
// Region 11,0 - World Time - Digital
///////////////////////////////////////
region,11,0,30
	defregion,11,0,0,211,267
	cleararea,0,0,211,267
	deactivatebuttons,2
	deactivatebuttons,3
	deactivatebuttons,4
	deactivatebuttons,5
	deactivatebuttons,6
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,10
	deactivatebuttons,12
	deactivatebuttons,15
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,11
	

	image,4,3,headline_breit_gelb_verlauf.png
	changefont,Tahoma,14,b
	text,105,2,World Times,c
	changefont,Tahoma,12

	// City 1 ====================================
	image,17,24,Digitaluhr.png
	changefont,Tahoma,18
	time,53,36,1,5,c,,"h:mm t"
	changefont,Tahoma,12
	image,7,75,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,7,75,[name],l
	changefont,Tahoma,12
	time,98,75,1,5,r,MM/d/yy,,
	
	// City 2 ====================================
	image,121,24,Digitaluhr.png
	changefont,Tahoma,18
	time,157,36,2,5,c,,"h:mm t"
	changefont,Tahoma,12
	image,111,75,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,111,75,[name],l
	changefont,Tahoma,12
	time,202,75,2,5,r,MM/d/yy,,
	
	// City 3 ====================================
	image,17,99,Digitaluhr.png
	changefont,Tahoma,18
	time,53,112,3,5,c,,"h:mm t"
	changefont,Tahoma,12
	image,7,151,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,7,151,[name],l
	changefont,Tahoma,12
	time,98,151,3,5,r,MM/d/yy,,
	
	// City 4 ====================================
	image,121,99,Digitaluhr.png
	changefont,Tahoma,18
	time,157,112,4,5,c,,"h:mm t"
	changefont,Tahoma,12
	image,111,151,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,111,151,[name],l
	changefont,Tahoma,12
	time,202,151,4,5,r,MM/d/yy,,
	
	// City 5 ====================================
	image,17,176,Digitaluhr.png
	changefont,Tahoma,18
	time,53,188,5,5,c,,"h:mm t"
	changefont,Tahoma,12
	image,7,227,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,7,227,[name],l
	changefont,Tahoma,12
	time,98,227,5,5,r,MM/d/yy,,
	
	// City 6 ====================================
	image,121,176,Digitaluhr.png
	changefont,Tahoma,18
	time,157,188,6,5,c,,"h:mm t"
	changefont,Tahoma,12
	image,111,227,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,111,227,[name],l
	changefont,Tahoma,12
	time,202,227,6,5,r,MM/d/yy,,

	// Status Block ==============================
	image,5,251,ortszeit.png
	image,91,249,wetter_ortszeit.png,
	text,7,251,Current:,l
	time,48,251,-1,5,l,MM/d/yy,,
	changefont,Tahoma,11
	time,107,252,-1,5,c,,"h:mmt"
	changefont,Tahoma,12
	imagebutton,91,249,Ortszeitbutton.png,tr,-1,0,%apps-6-7-highlight
	imagebutton,125,251,zeitumschaltung_button.png,,11,4,1,1
	text,135,251,Digital Clocks,l

endregion,11,0

///////////////////////////////////////
// Region 11,1 - World Times Analog
///////////////////////////////////////
region,11,1,30
	defregion,11,0,0,211,267
	cleararea,0,0,211,267
	image,4,3,headline_breit_gelb_verlauf.png
	changefont,Tahoma,14,b
	text,105,2,World Times,c
	changefont,Tahoma,12

	// City 1 ====================================
	image,28,20,analoguhr.png
	time,54,44,1,analog,Stundenzeiger.png,minutenzeiger.png
	image,7,75,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,7,75,[name],l
	changefont,Tahoma,12
	time,98,75,1,5,r,MM/d/yy,,
	
	// City 2 ====================================
	image,132,20,analoguhr.png
	time,158,44,2,analog,Stundenzeiger.png,minutenzeiger.png
	image,111,75,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,111,75,[name],l
	changefont,Tahoma,12
	time,202,75,2,5,r,MM/d/yy,,
	
	// City 3 ====================================
	image,28,96,analoguhr.png
	time,54,120,3,analog,Stundenzeiger.png,minutenzeiger.png
	image,7,151,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,7,151,[name],l
	changefont,Tahoma,12
	time,98,151,3,5,r,MM/d/yy,,
	
	// City 4 ====================================
	image,132,96,analoguhr.png
	time,158,120,4,analog,Stundenzeiger.png,minutenzeiger.png
	image,111,151,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,111,151,[name],l
	changefont,Tahoma,12
	time,202,151,4,5,r,MM/d/yy,,
	
	// City 5 ====================================
	image,28,172,analoguhr.png
	time,54,196,5,analog,Stundenzeiger.png,minutenzeiger.png
	image,7,227,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,7,227,[name],l
	changefont,Tahoma,12
	time,98,227,5,5,r,MM/d/yy,,
	
	// City 6 ====================================
	image,132,172,analoguhr.png
	time,158,196,6,analog,Stundenzeiger.png,minutenzeiger.png
	image,111,227,Kalender_header_poom.png
	changefont,Tahoma,12,b
	text,111,227,[name],l
	changefont,Tahoma,12
	time,202,227,6,5,r,MM/d/yy,,

	// Status Block ==============================
	image,5,251,ortszeit.png
	image,91,249,wetter_ortszeit.png,
	text,7,251,Current:,l
	time,48,251,-1,5,l,MM/d/yy,,
	time,107,252,-1,5,c,,"h:mmt"
	imagebutton,91,249,Ortszeitbutton.png,tr,-1,0,%apps-6-7-highlight
	imagebutton,125,251,zeitumschaltung_button.png,,11,4,0,1
	text,135,251,Analog Clocks,l

endregion,11,1
///////////////////////////////////////
// Region 11 - World Time End 
///////////////////////////////////////

///////////////////////////////////////
// Region 12 - RSS  
///////////////////////////////////////
region,12,0,60
	defregion,12,0,0,211,267
	cleararea,0,0,211,267
	deactivatebuttons,2
	deactivatebuttons,3
	deactivatebuttons,4
	deactivatebuttons,5
	deactivatebuttons,6
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,10
	deactivatebuttons,11
	deactivatebuttons,15
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,12
	activatebuttons,13
	updateregions,13,14
		
	///////////////////////////////////////
	// Region 13,0 RSS - Heading
	///////////////////////////////////////
	region,13,0,-1
		// Buttons & Scrollbars =============================
		if,online
			imagebutton,79,248,linkonline.png,t,12,31,
		else
			imagebutton,79,248,linkoffline.png,t,12,30,
		endif
		initvar,var2,1
		imagebutton,100,249,refresh.png,t,-1,7,,12
		imagebutton,3,250,kalenderpfeil_links.png,t,12,13,var2_-1
		button,3,250,70,12,-1,6,var5=1
		button,3,250,70,12,-1,6,var6=207
		imagebutton,139,250,kalenderpfeil_rechts.png,t,12,13,var2_1
		button,139,250,70,12,-1,6,var5=1
		button,139,250,70,12,-1,6,var6=207
		image,197,207,scrollbar.png,t
		image,197,209,scrollbar.png,t
		imagebutton,195,192,scrollup.png,t,12,13,var5_-4
		button,195,192,11,12,-1,13,var6_-5	
		imagebutton,195,236,scrolldown.png,t,12,13,var5_4
		button,195,236,11,12,-1,13,var6_5
		if,var,var5,,>,19
			storevar,var5=17
			storevar,var6=227
		else
		endif
		if,var,var5,,<,1
			storevar,var5=1
			storevar,var6=207
		else
		endif
		image,197,%var6%,scroll1.png,t
		
		// Heading =============================
		if,var,var2,,>,%var28%
			storevar,var2=1
		else
		endif
		if,var,var2,,<,1
			storevar,var2=%var28%
		else
		endif
		load,rss,%var2%
		image,4,177,headline_breit_blau_verlauf.png
		text,107,177,%var2%,l
		text,112,177,/%var28%,l
		changefont,Tahoma,12,b
		text,9,177,[name],l
		changefont,Tahoma,12,
	
		//========================================
		// Update Information
		//========================================
		calcvar,var20,weatherupdatetimediff
		if,var,var20,,<,240
			text,130,177,Updated:,l
			text,176,177,[updatetime],l,h:mm t
		else
			color,font,255_0_0
			text,130,177,Upd. ,l
			if,var,var20,240,><,600
				calcvar,var20,/,%var20%,60
				text,168,177,Hrs ago,l
			else
				if,var,var20,600,><,1440
					calcvar,var20,/,%var20%,60
					text,168,177,Hrs ago,l
				else
					if,var,var20,1440,><,14400
						calcvar,var20,/,%var20%,1440
						text,168,177,Days ago,l
					else
						if,var,var20,,>,14401
							calcvar,var20,/,%var20%,1440
							text,168,177,Days ago,l
						else
						endif
					endif
				endif
			endif
			text,155,177,%var20%,l,
			color,font,0_0_0
		endif
	
		RSS,title,13,194,180,12,%var5%,,,
		button,13,194,180,12,14,4,0-highlight,12
		button,13,194,180,12,-1,6,var4=%var5%
		if,online
			image,5,197,Markergrn.png,t
		else
			if,pagecached,%var5%
				image,5,197,Markergrn.png,t
			else
				image,5,197,Markerrot.png,t
			endif
		endif
		addvar,var5,1
		RSS,title,13,206,180,12,%var5%,,,
		button,13,206,180,12,14,4,0-highlight,12
		button,13,206,180,12,-1,6,var4=%var5%
		if,online
			image,5,209,Markergrn.png,t
		else
			if,pagecached,%var5%
				image,5,209,Markergrn.png,t
			else
				image,5,209,Markerrot.png,t
			endif
		endif
		addvar,var5,1
		RSS,title,13,218,180,12,%var5%,,,
		button,13,218,180,12,14,4,0-highlight,12
		button,13,218,180,12,-1,6,var4=%var5%
		if,online
			image,5,221,Markergrn.png,t
		else
			if,pagecached,%var5%
				image,5,221,Markergrn.png,t
			else
				image,5,221,Markerrot.png,t
			endif
		endif
		addvar,var5,1
		RSS,title,13,230,180,12,%var5%,,,
		button,13,230,180,12,14,4,0-highlight,12
		button,13,230,180,12,-1,6,var4=%var5%
		if,online
			image,5,233,Markergrn.png,t
		else
			if,pagecached,%var5%
				image,5,233,Markergrn.png,t
			else
				image,5,233,Markerrot.png,t
			endif
		endif
		if,online
			imagebutton,79,248,linkonline.png,t,12,31,
			imagebutton,118,248,News_verbunden.png,t,-1,12,%var4%
		else
			imagebutton,79,248,linkoffline.png,t,12,30,
			if,pagecached,%var4%
				imagebutton,118,248,News_verbunden.png,t,-1,12,%var4%
			else
				imagebutton,118,248,News_getrennt.png,t,-1,12,%var4%
			endif
		endif
		
		addvar,var5,-3
		if,refresh
			image,4,177,Rss_Aktualisierung.png,t
		else
		endif
	endregion,13,0
	///////////////////////////////////////
	// Region 13,0 RSS - Heading End
	///////////////////////////////////////
	
	///////////////////////////////////////
	// Region 14,0 RSS - Text
	///////////////////////////////////////
	region,14,0,-1
		load,rss,%var2%
		image,4,3,headline_breit_gelb_verlauf.png
		changefont,Tahoma,12,b
		RSS,title,5,3,200,12,%var4%,,,c
		changefont,Tahoma,12,	
		RSS,description,5,18,205,158,%var4%,,,
	endregion,14,1
	///////////////////////////////////////
	// Region 14,0 RSS - Text End
	///////////////////////////////////////

endregion,12,0
///////////////////////////////////////
// RSS End
///////////////////////////////////////

///////////////////////////////////////
// Region 15 - Program Launcher
///////////////////////////////////////

///////////////////////////////////////
// Region 15,0 - Launcher with Small Icons
///////////////////////////////////////
region,15,0,-1
	defregion,15,0,0,211,267,
	cleararea,0,0,211,267
	deactivatebuttons,2
	deactivatebuttons,3
	deactivatebuttons,4
	deactivatebuttons,5
	deactivatebuttons,6
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,10
	deactivatebuttons,11
	deactivatebuttons,12
	deactivatebuttons,13
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,15
	image,4,3,headline_breit_gelb_verlauf.png
	changefont,Tahoma,12,b
	text,105,3,Program Launcher,c
	changefont,Tahoma,11,

	imagebutton,70,255,wetter_auswahl.png,,15,4,5,15
	color,font,0_0_255
	text,74,256,Today Plugins,l
	color,font,-1_4_-1
	changefont,Tahoma,12

	// Page 1 - Apps 2 ===============================
	image,4,20,headline_breit_blau_verlauf.png
	text,9,20,%apps-2%,l
	text,200,20,%apps-2%,r
	imagebutton,4,20,iconzeilegross.png,,15,4,1,1
	// 1st Row ======
	imagebutton,4,40,icon_button2.png,t,-1,0,%apps-2-1
	shortcut,4,40,apps-2-1,s
	imagebutton,27,40,icon_button2.png,t,-1,0,%apps-2-2
	shortcut,27,40,apps-2-2,s
	imagebutton,50,40,icon_button2.png,t,-1,0,%apps-2-3
	shortcut,50,40,apps-2-3,s
	imagebutton,73,40,icon_button2.png,t,-1,0,%apps-2-4
	shortcut,73,40,apps-2-4,s
	imagebutton,96,40,icon_button2.png,t,-1,0,%apps-2-5
	shortcut,96,40,apps-2-5,s
	imagebutton,119,40,icon_button2.png,t,-1,0,%apps-2-6
	shortcut,119,40,apps-2-6,s
	imagebutton,142,40,icon_button2.png,t,-1,0,%apps-2-7
	shortcut,142,40,apps-2-7,s
	imagebutton,165,40,icon_button2.png,t,-1,0,%apps-2-8
	shortcut,165,40,apps-2-8,s
	imagebutton,188,40,icon_button2.png,t,-1,0,%apps-2-9
	shortcut,188,40,apps-2-9,s
	// 2nd Row ======
	imagebutton,4,60,icon_button2.png,t,-1,0,%apps-2-10
	shortcut,4,60,apps-2-10,s
	imagebutton,27,60,icon_button2.png,t,-1,0,%apps-2-12
	shortcut,27,60,apps-2-12,s
	imagebutton,50,60,icon_button2.png,t,-1,0,%apps-2-13
	shortcut,50,60,apps-2-13,s
	imagebutton,73,60,icon_button2.png,t,-1,0,%apps-2-14
	shortcut,73,60,apps-2-14,s
	imagebutton,96,60,icon_button2.png,t,-1,0,%apps-2-15
	shortcut,96,60,apps-2-15,s
	imagebutton,119,60,icon_button2.png,t,-1,0,%apps-2-16
	shortcut,119,60,apps-2-16,s
	imagebutton,142,60,icon_button2.png,t,-1,0,%apps-2-17
	shortcut,142,60,apps-2-17,s
	imagebutton,165,60,icon_button2.png,t,-1,0,%apps-2-18
	shortcut,165,60,apps-2-18,s
	imagebutton,188,60,icon_button2.png,t,-1,0,%apps-2-19
	shortcut,188,60,apps-2-19,s
	// 3rd Row ======
	imagebutton,4,80,icon_button2.png,t,-1,0,%apps-2-20
	shortcut,4,80,apps-2-20,s
	imagebutton,27,80,icon_button2.png,t,-1,0,%apps-2-21
	shortcut,27,80,apps-2-21,s
	imagebutton,50,80,icon_button2.png,t,-1,0,%apps-2-22
	shortcut,55,80,apps-2-22,s
	imagebutton,73,80,icon_button2.png,t,-1,0,%apps-2-23
	shortcut,73,80,apps-2-23,s
	imagebutton,96,80,icon_button2.png,t,-1,0,%apps-2-24
	shortcut,96,80,apps-2-24,s
	imagebutton,119,80,icon_button2.png,t,-1,0,%apps-2-25
	shortcut,119,80,apps-2-25,s
	imagebutton,142,80,icon_button2.png,t,-1,0,%apps-2-26
	shortcut,142,80,apps-2-26,s
	imagebutton,165,80,icon_button2.png,t,-1,0,%apps-2-27
	shortcut,165,80,apps-2-27,s
	imagebutton,188,80,icon_button2.png,t,-1,0,%apps-2-28
	shortcut,188,80,apps-2-28,s
	// Page 2 - Apps 3 ================================
	image,4,100,headline_breit_blau_verlauf.png
	text,9,100,%apps-3%,l
	text,200,100,%apps-3%,r
	imagebutton,4,100,iconzeilegross.png,,15,4,2,1
	// 1st Row ======
	imagebutton,4,120,icon_button2.png,t,-1,0,%apps-3-1
	shortcut,4,120,apps-3-1,s
	imagebutton,27,120,icon_button2.png,t,-1,0,%apps-3-2
	shortcut,27,120,apps-3-2,s
	imagebutton,50,120,icon_button2.png,t,-1,0,%apps-3-3
	shortcut,50,120,apps-3-3,s
	imagebutton,73,120,icon_button2.png,t,-1,0,%apps-3-4
	shortcut,73,120,apps-3-4,s
	imagebutton,96,120,icon_button2.png,t,-1,0,%apps-3-5
	shortcut,96,120,apps-3-5,s
	imagebutton,119,120,icon_button2.png,t,-1,0,%apps-3-6
	shortcut,119,120,apps-3-6,s
	imagebutton,142,120,icon_button2.png,t,-1,0,%apps-3-7
	shortcut,142,120,apps-3-7,s
	imagebutton,165,120,icon_button2.png,t,-1,0,%apps-3-8
	shortcut,165,120,apps-3-8,s
	imagebutton,188,120,icon_button2.png,t,-1,0,%apps-3-9
	shortcut,188,120,apps-3-9,s
	// 2nd Row ======
	imagebutton,4,140,icon_button2.png,t,-1,0,%apps-3-10
	shortcut,4,140,apps-3-10,s
	imagebutton,27,140,icon_button2.png,t,-1,0,%apps-3-11
	shortcut,27,140,apps-3-11,s
	imagebutton,50,140,icon_button2.png,t,-1,0,%apps-3-12
	shortcut,50,140,apps-3-12,s
	imagebutton,73,140,icon_button2.png,t,-1,0,%apps-3-13
	shortcut,73,140,apps-3-13,s
	imagebutton,96,140,icon_button2.png,t,-1,0,%apps-3-14
	shortcut,96,140,apps-3-14,s
	imagebutton,119,140,icon_button2.png,t,-1,0,%apps-3-15
	shortcut,119,140,apps-3-15,s
	imagebutton,142,140,icon_button2.png,t,-1,0,%apps-3-16
	shortcut,142,140,apps-3-16,s
	imagebutton,165,140,icon_button2.png,t,-1,0,%apps-3-17
	shortcut,165,140,apps-3-17,s
	imagebutton,188,140,icon_button2.png,t,-1,0,%apps-3-18
	shortcut,188,140,apps-3-18,s
	// Page 3 - Apps 4 ================================
	image,4,160,headline_breit_blau_verlauf.png
	text,9,160,%apps-4%,l
	text,200,160,%apps-4%,r
	imagebutton,4,160,iconzeilegross.png,,15,4,3,1
	// 1st Row ======
	imagebutton,4,180,icon_button2.png,t,-1,0,%apps-4-1
	shortcut,4,180,apps-4-1,s
	imagebutton,27,180,icon_button2.png,t,-1,0,%apps-4-2
	shortcut,27,180,apps-4-2,s
	imagebutton,50,180,icon_button2.png,t,-1,0,%apps-4-3
	shortcut,50,180,apps-4-3,s
	imagebutton,73,180,icon_button2.png,t,-1,0,%apps-4-4
	shortcut,73,180,apps-4-4,s
	imagebutton,96,180,icon_button2.png,t,-1,0,%apps-4-5
	shortcut,96,180,apps-4-5,s
	imagebutton,119,180,icon_button2.png,t,-1,0,%apps-4-6
	shortcut,119,180,apps-4-6,s
	imagebutton,142,180,icon_button2.png,t,-1,0,%apps-4-7
	shortcut,142,180,apps-4-7,s
	imagebutton,165,180,icon_button2.png,t,-1,0,%apps-4-8
	shortcut,165,180,apps-4-8,s
	imagebutton,188,180,icon_button2.png,t,-1,0,%apps-4-9
	shortcut,188,180,apps-4-9,s
	// 2nd Row ======
	imagebutton,4,200,icon_button2.png,t,-1,0,%apps-4-10
	shortcut,4,200,apps-4-10,s
	imagebutton,27,200,icon_button2.png,t,-1,0,%apps-4-11
	shortcut,27,200,apps-4-11,s
	imagebutton,50,200,icon_button2.png,t,-1,0,%apps-4-12
	shortcut,50,200,apps-4-12,s
	imagebutton,73,200,icon_button2.png,t,-1,0,%apps-4-13
	shortcut,73,200,apps-4-13,s
	imagebutton,96,200,icon_button2.png,t,-1,0,%apps-4-14
	shortcut,96,200,apps-4-14,s
	imagebutton,119,200,icon_button2.png,t,-1,0,%apps-4-15
	shortcut,119,200,apps-4-15,s
	imagebutton,142,200,icon_button2.png,t,-1,0,%apps-4-16
	shortcut,142,200,apps-4-16,s
	imagebutton,165,200,icon_button2.png,t,-1,0,%apps-4-17
	shortcut,165,200,apps-4-17,s
	imagebutton,188,200,icon_button2.png,t,-1,0,%apps-4-18
	shortcut,188,200,apps-4-18,s
	// Page 4 - Apps 5 ================================
	image,4,220,headline_breit_blau_verlauf.png
	text,9,220,%apps-5%,l
	text,200,220,%apps-5%,r
	imagebutton,4,220,iconzeilegross.png,,15,4,4,1
	// 1st Row ======
	imagebutton,4,238,icon_button2.png,t,-1,0,%apps-5-1
	shortcut,4,238,apps-5-1,s
	imagebutton,27,238,icon_button2.png,t,-1,0,%apps-5-2
	shortcut,27,238,apps-5-2,s
	imagebutton,50,238,icon_button2.png,t,-1,0,%apps-5-3
	shortcut,50,238,apps-5-3,s
	imagebutton,73,238,icon_button2.png,t,-1,0,%apps-5-4
	shortcut,73,238,apps-5-4,s
	imagebutton,96,238,icon_button2.png,t,-1,0,%apps-5-5
	shortcut,96,238,apps-5-5,s
	imagebutton,119,238,icon_button2.png,t,-1,0,%apps-5-6
	shortcut,119,238,apps-5-6,s
	imagebutton,142,238,icon_button2.png,t,-1,0,%apps-5-7
	shortcut,142,238,apps-5-7,s
	imagebutton,165,238,icon_button2.png,t,-1,0,%apps-5-8
	shortcut,165,238,apps-5-8,s
	imagebutton,188,238,icon_button2.png,t,-1,0,%apps-5-9
	shortcut,188,238,apps-5-9,s
endregion,15,0

///////////////////////////////////////
// Region 15,1 - Launcher - Large Icons - Apps 2
///////////////////////////////////////
region,15,1,-1
	defregion,15,0,0,211,267
	cleararea,0,0,211,267
	image,4,3,headline_breit_blau_verlauf.png
	text,9,3,%apps-2%,l
	text,200,3,%apps-2%,r
	imagebutton,4,3,iconzeileklein.png,,15,4,0,1
	// 1st Row ======
	shortcut,6,20,apps-2-1,l
	button,6,20,32,32,-1,0,%apps-2-1-highlight
	shortcut,48,20,apps-2-2,l
	button,48,20,32,32,-1,0,%apps-2-2-highlight
	shortcut,90,20,apps-2-3,l
	button,90,20,32,32,-1,0,%apps-2-3-highlight
	shortcut,132,20,apps-2-4,l
	button,132,20,32,32,-1,0,%apps-2-4-highlight
	shortcut,174,20,apps-2-5,l
	button,174,20,32,32,-1,0,%apps-2-5-highlight
	// 2nd Row ======
	shortcut,27,61,apps-2-6,l
	button,27,61,32,32,-1,0,%apps-2-6-highlight
	shortcut,69,61,apps-2-7,l
	button,69,61,32,32,-1,0,%apps-2-7-highlight
	shortcut,111,61,apps-2-8,l
	button,111,61,32,32,-1,0,%apps-2-8-highlight
	shortcut,153,61,apps-2-9,l
	button,153,61,32,32,-1,0,%apps-2-9-highlight
	// 3rd Row ======
	shortcut,6,102,apps-2-10,l
	button,6,102,32,32,-1,0,%apps-2-10-highlight
	shortcut,48,102,apps-2-11,l
	button,48,102,32,32,-1,0,%apps-2-11-highlight
	shortcut,90,102,apps-2-12,l
	button,90,102,32,32,-1,0,%apps-2-12-highlight
	shortcut,132,102,apps-2-13,l
	button,132,102,32,32,-1,0,%apps-2-13-highlight
	shortcut,174,102,apps-2-14,l
	button,174,102,32,32,-1,0,%apps-2-14-highlight
	// 4th Row ===========================
	shortcut,27,143,apps-2-15,l
	button,27,143,32,32,-1,0,%apps-2-15-highlight
	shortcut,69,143,apps-2-16,l
	button,69,143,32,32,-1,0,%apps-2-16-highlight
	shortcut,111,143,apps-2-17,l
	button,111,143,32,32,-1,0,%apps-2-17-highlight
	shortcut,153,143,apps-2-18,l
	button,153,143,32,32,-1,0,%apps-2-18-highlight
	// 5th Row ===========================
	shortcut,6,184,apps-2-19,l
	button,6,184,32,32,-1,0,%apps-2-19-highlight
	shortcut,48,184,apps-2-20,l
	button,48,184,32,32,-1,0,%apps-2-20-highlight
	shortcut,90,184,apps-2-21,l
	button,90,184,32,32,-1,0,%apps-2-21-highlight
	shortcut,132,184,apps-2-22,l
	button,132,184,32,32,-1,0,%apps-2-22-highlight
	shortcut,174,184,apps-2-23,l
	button,174,184,32,32,-1,0,%apps-2-23-highlight
	// 6th Row ===========================
	shortcut,27,225,apps-2-24,l
	button,27,225,32,32,-1,0,%apps-2-24-highlight
	shortcut,69,225,apps-2-25,l
	button,69,225,32,32,-1,0,%apps-2-25-highlight
	shortcut,111,225,apps-2-26,l
	button,111,225,32,32,-1,0,%apps-2-26-highlight
	shortcut,153,225,apps-2-27,l
	button,153,225,32,32,-1,0,%apps-2-27-highlight

endregion,15,1

///////////////////////////////////////
// Region 15,2 - Launcher - Large Icons - Apps-3
///////////////////////////////////////
region,15,2,-1
	defregion,15,0,0,211,267
	cleararea,0,0,211,267
	image,4,3,headline_breit_blau_verlauf.png
	text,9,3,%apps-3%,l
	text,200,3,%apps-3%,r
	imagebutton,4,3,iconzeileklein.png,,15,4,0,1
	// 1st Row ==========================
	shortcut,28,20,apps-3-1,l
	button,28,20,32,32,-1,0,%apps-3-1-highlight
	shortcut,90,20,apps-3-2,l
	button,90,20,32,32,-1,0,%apps-3-2-highlight
	shortcut,152,20,apps-3-3,l
	button,152,20,32,32,-1,0,%apps-3-3-highlight
	// 2nd Row ===========================
	shortcut,28,61,apps-3-4,l
	button,28,61,32,32,-1,0,%apps-3-4-highlight
	shortcut,90,61,apps-3-5,l
	button,90,61,32,32,-1,0,%apps-3-5-highlight
	shortcut,152,61,apps-3-6,l
	button,152,61,32,32,-1,0,%apps-3-6-highlight
	// 3rd Row ===========================
	shortcut,28,102,apps-3-7,l
	button,28,102,32,32,-1,0,%apps-3-7-highlight
	shortcut,90,102,apps-3-8,l
	button,90,102,32,32,-1,0,%apps-3-8-highlight
	shortcut,152,102,apps-3-9,l
	button,152,102,32,32,-1,0,%apps-3-9-highlight
	// 4th Row ===========================
	shortcut,28,143,apps-3-10,l
	button,28,143,32,32,-1,0,%apps-3-10-highlight
	shortcut,90,143,apps-3-11,l
	button,90,143,32,32,-1,0,%apps-3-11-highlight
	shortcut,152,143,apps-3-12,l
	button,152,143,32,32,-1,0,%apps-3-12-highlight
	// 5th Row ===========================
	shortcut,28,184,apps-3-13,l
	button,28,184,32,32,-1,0,%apps-3-13-highlight
	shortcut,90,184,apps-3-14,l
	button,90,184,32,32,-1,0,%apps-3-14-highlight
	shortcut,152,184,apps-3-15,l
	button,152,184,32,32,-1,0,%apps-3-15-highlight
	// 6th Row ===========================
	shortcut,28,225,apps-3-16,l
	button,28,225,32,32,-1,0,%apps-3-16-highlight
	shortcut,90,225,apps-3-17,l
	button,90,225,32,32,-1,0,%apps-3-17-highlight
	shortcut,152,225,apps-3-18,l
	button,152,225,32,32,-1,0,%apps-3-18-highlight
	
endregion,15,2

///////////////////////////////////////
// Region 15,3 - Launcher - Large Icons - Apps-4
///////////////////////////////////////
region,15,3,-1
	defregion,15,0,0,211,267
	cleararea,0,0,211,267
	image,4,3,headline_breit_blau_verlauf.png
	text,9,3,%apps-4%,l
	text,200,3,%apps-4%,r
	imagebutton,4,3,iconzeileklein.png,,15,4,0,1	
	// 1st Row ==========================
	shortcut,28,20,apps-4-1,l
	button,28,20,32,32,-1,0,%apps-4-1-highlight
	shortcut,90,20,apps-4-2,l
	button,90,20,32,32,-1,0,%apps-4-2-highlight
	shortcut,152,20,apps-4-3,l
	button,152,20,32,32,-1,0,%apps-4-3-highlight
	// 2nd Row ===========================
	shortcut,28,61,apps-4-4,l
	button,28,61,32,32,-1,0,%apps-4-4-highlight
	shortcut,90,61,apps-4-5,l
	button,90,61,32,32,-1,0,%apps-4-5-highlight
	shortcut,152,61,apps-4-6,l
	button,152,61,32,32,-1,0,%apps-4-6-highlight	
	// 3rd Row ===========================
	shortcut,28,102,apps-4-7,l
	button,28,102,32,32,-1,0,%apps-4-7-highlight
	shortcut,90,102,apps-4-8,l
	button,90,102,32,32,-1,0,%apps-4-8-highlight
	shortcut,152,102,apps-4-9,l
	button,152,102,32,32,-1,0,%apps-4-9-highlight
	// 4th Row ===========================
	shortcut,28,143,apps-4-10,l
	button,28,143,32,32,-1,0,%apps-4-10-highlight
	shortcut,90,143,apps-4-11,l
	button,90,143,32,32,-1,0,%apps-4-11-highlight
	shortcut,152,143,apps-4-12,l
	button,152,143,32,32,-1,0,%apps-4-12-highlight
	// 5th Row ===========================
	shortcut,28,184,apps-4-13,l
	button,28,184,32,32,-1,0,%apps-4-13-highlight
	shortcut,90,184,apps-4-14,l
	button,90,184,32,32,-1,0,%apps-4-14-highlight
	shortcut,152,184,apps-4-15,l
	button,152,184,32,32,-1,0,%apps-4-15-highlight
	// 6th Row ===========================
	shortcut,28,225,apps-4-16,l
	button,28,225,32,32,-1,0,%apps-4-16-highlight
	shortcut,90,225,apps-4-17,l
	button,90,225,32,32,-1,0,%apps-4-17-highlight
	shortcut,152,225,apps-4-18,l
	button,152,225,32,32,-1,0,%apps-4-18-highlight
endregion,15,3


///////////////////////////////////////
// Region 15,4 - Launcher - Large Icons - Apps-5
///////////////////////////////////////
region,15,4,-1
	defregion,15,0,0,211,267
	cleararea,0,0,211,267
	image,4,3,headline_breit_blau_verlauf.png
	text,9,3,%apps-5%,l
	text,200,3,%apps-5%,r
	imagebutton,4,3,iconzeileklein.png,,15,4,0,1
	// 1st Row ==========================
	shortcut,28,20,apps-5-1,l
	button,28,20,32,32,-1,0,%apps-5-1-highlight
	shortcut,152,20,apps-5-2,l
	button,152,20,32,32,-1,0,%apps-5-2-highlight
	// 2nd Row ===========================
	shortcut,28,61,apps-5-3,l
	button,28,61,32,32,-1,0,%apps-5-3-highlight
	shortcut,152,61,apps-5-4,l
	button,152,61,32,32,-1,0,%apps-5-4-highlight
	// 3rd Row ===========================
	shortcut,28,102,apps-5-5,l
	button,28,102,32,32,-1,0,%apps-5-5-highlight
	shortcut,152,102,apps-5-6,l
	button,152,102,32,32,-1,0,%apps-5-6-highlight
	// 4th Row ===========================
	shortcut,28,143,apps-5-7,l
	button,28,143,32,32,-1,0,%apps-5-7-highlight
	shortcut,152,143,apps-5-8,l
	button,152,143,32,32,-1,0,%apps-5-8-highlight
	// 5th Row ===========================
	shortcut,90,184,apps-5-9,l
	button,90,184,32,32,-1,0,%apps-5-9-highlight
endregion,15,4

///////////////////////////////////////
// Region 15,5 - Today Plugins
///////////////////////////////////////
region,15,5,-1
	defregion,15,0,0,211,267
	cleararea,0,0,211,267
	image,4,3,headline_breit_blau_verlauf.png
	changefont,Tahoma,13,b
	text,110,3,Today Plugins,c
	changefont,Tahoma,12

	imagebutton,190,18,popupschliessen.png,t,15,4,0,15
	button,190,18,14,14,15,4,999,-1

	plugin,5,35,211,20,2,1
	plugin,5,60,211,35,3,2

endregion,15,5
///////////////////////////////////////
// Region 15 - Lancher EndVERKNPFUNGEN  ENDE / End Plugins
///////////////////////////////////////

///////////////////////////////////////
// Region 16 - System
///////////////////////////////////////
region,16,0,60
	defregion,16,0,0,211,267
	cleararea,0,0,211,267
	deactivatebuttons,2
	deactivatebuttons,3
	deactivatebuttons,4
	deactivatebuttons,5
	deactivatebuttons,6
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,10
	deactivatebuttons,11
	deactivatebuttons,12
	deactivatebuttons,15
	deactivatebuttons,17
	deactivatebuttons,18
	deactivatebuttons,19
	activatebuttons,16
	image,4,3,headline_breit_gelb_verlauf.png
	changefont,Tahoma,14,b
	text,105,2,System Status,c
	changefont,Tahoma,12

	// Battery ==============================
	image,40,58,meters_background.png,t
	battery,bar,42,58,52,13,gradient_batterymain gradient.png
	image,40,58,meters.png,t
	imagebutton,40,58,Metersbutton.png,tr,-1,0,%apps-6-2-highlight
	changefont,Tahoma,11
	if,batterystatusunknown
		image,6,46,batterie_unbekannt.png,t
		text,68,47,Batt: ?,c
	else
		if,charging
			image,6,46,batterie_laden.png,t
			text,68,47,Charging..,c
		else
			if,externalpower,=,true
				image,6,46,batterie_geladen.png,t
				text,68,47,AC Power,c
			else
				image,6,46,batterie.png,t
				battery,remaining,72,47,Batt: , %,c
			endif
		endif
	endif
	changefont,Tahoma,12
	uptime,10,18,softreset,time,s,    h:mm tt,Last Soft Reset:    ,,l 
	uptime,10,31,softreset,duration,Time Since Last Reset:              , Hrs,l
	//text,97,51,Voltage:,l
	//battery,voltage,208,51,, V,r
	text,97,58,UpTime:,l 
	uptime,208,58,battery,duration,, Hrs,r
	
	// Memory =======================================
	changefont,Tahoma,12,b
	memory,total,125,73,Memory/Storage Total:   , MB,c,%.1f
	changefont,Tahoma,12
	text,68,85,Program,c
	image,40,97,meters_background.png,t
	memory,barused,42,97,52,13,gradient_Speichermain gradient.png
	image,40,97,meters.png,t
	imagebutton,40,97,Metersbutton.png,tr,-1,0,%apps-6-3-highlight
	text,68,110,Status -Used,c
	//memory,total,62,110,Total:, MB,c,%.1f
	//memory,programused,94,110,,,r,%.1f
	calcvar,var17,programmemoryusedpercent
	if,var,var17,1,><,50
		image,6,88,Speicherleer.png,t
	else
		if,var,var17,51,><,80
			image,6,88,Speichervoll.png,t
		else
			image,6,88,Speicherhot.png,t
		endif
	endif
	color,font,255_0_0
	text,97,92,Used:,l
	memory,programused,186,92,, MB/,r
	memory,programusedpercent,208,92,,%,r,%.0f
	color,font,0_0_255
	text,97,105,Free:,l
	memory,programfree,186,105,, MB/,r
	memory,programfreepercent,208,105,,%,r,%.0f
	color,font,-1_4_-1
	
	// File Storage =====================================
	image,3,131,memory_big.png,t
	image,40,136,meters_background.png,t
	memory,barfree,42,136,52,13,gradient_storage gradient.png
	image,40,136,meters.png,t
	imagebutton,40,136,Metersbutton.png,tr,-1,0,%apps-6-4-highlight
	text,68,124,Storage,c
	text,68,147,Status -Free,c
	//storage,3,total,68,147,, MB,c
	color,font,255_0_0
	text,97,129,Used: ,l
	storage,3,used,186,129,, MB/,r
	storage,3,usedpercent,208,129,,%,r,%.0f
	color,font,0_0_255
	text,97,142,Free: ,l
	storage,3,free,187,142,, MB/,r
	storage,3,freepercent,208,142,,%,r,%.0f
	color,font,-1_4_-1
	
	// SD Card ==========================================
	image,14,171,sd.png,t
	image,40,175,meters_background.png,t
	storage,2,bar,42,175,52,13,gradient_storage gradient.png
	image,40,175,meters.png,t
	imagebutton,40,175,Metersbutton.png,tr,-1,0,%apps-6-5-highlight
	text,68,163,SD Card,c
	storage,2,total,68,187,, MB,c
	color,font,255_0_0
	text,97,168,Used: ,l
	storage,2,used,186,168,, MB/,r
	storage,2,usedpercent,208,168,,%,r,%.0f
	color,font,0_0_255
	text,97,181,Free: ,l
	storage,2,free,186,181,, MB/,r
	storage,2,freepercent,208,181,,%,r,%.0f
	color,font,-1_4_-1
	
	// CF Card ==========================================
	image,10,211,cf.png,t
	image,40,215,meters_background.png,t
	storage,1,bar,42,215,52,13,gradient_storage gradient.png
	image,40,215,meters.png,t
	imagebutton,40,215,Metersbutton.png,tr,-1,0,%apps-6-6-highlight
	text,68,203,CF Card,c
	storage,1,total,68,228,, MB,c
	color,font,255_0_0
	text,97,208,Used: ,l
	storage,1,used,186,208,, MB/,r
	storage,1,usedpercent,208,208,,%,r,%.0f
	color,font,0_0_255
	text,97,221,Free: ,l
	storage,1,free,186,221,, MB/,r
	storage,1,freepercent,208,221,,%,r,%.0f
	color,font,-1_4_-1
	
	// Status Area ==============================
	if,var,var24,,=,1
		options,imagedir,images\Hammerskin1
		imagebutton,5,251,buttonwechsel.png,t,-1,6,var24=2,-1
		button,5,251,82,13,17,4,999,16
	else
		options,imagedir,images\Hammerskin0
		imagebutton,5,251,buttonwechsel.png,t,-1,6,var24=1,-1
		button,5,251,82,13,17,4,999,16
	endif
	text,12,251,Change Theme,l
	image,91,249,wetter_ortszeit.png,
	changefont,Tahoma,11
	time,107,252,-1,5,c,,"h:mmt"
	changefont,Tahoma,12
	imagebutton,91,249,Ortszeitbutton.png,tr,-1,0,%apps-6-7-highlight
	imagebutton,125,251,wetter_auswahl.png,,17,4,0,16
	text,140,251,Menu,l
endregion,16,0

///////////////////////////////////////
// Region 17,0 - System Menu 
///////////////////////////////////////
region,17,0,-1
	cleararea,104,171,106,78
	deactivatebuttons,16
	activatebuttons,17
	image,103,171,System_auswahl_popup.png
	changefont,Tahoma,12,b
	text,109,174,Owner Info,l
	imagebutton,105,171,wetter_auswahl_popup_button.png,tr,18,4,0,16
	button,105,171,100,15,17,4,999
	text,109,188,Skin Version,l
	imagebutton,105,186,wetter_auswahl_popup_button.png,tr,18,4,1,16
	button,105,186,100,15,17,4,999
	imagebutton,105,201,wetter_auswahl_popup_button.png,tr,-1,0,%apps-6-9,16
	shortcut,1105,201,apps-6-9,s
	text,109,202,[name],l
	button,105,201,100,15,17,4,999
	imagebutton,105,216,wetter_auswahl_popup_button.png,tr,-1,0,%apps-6-10,16
	shortcut,1105,216,apps-6-10,s
	text,109,216,[name],l
	button,105,216,100,15,17,4,999
	color,font,255_0_0
	text,128,233,Cancel,l
	imagebutton,105,231,wetter_auswahl_popup_button_abbrechen.png,tr,17,4,999,16
	color,font,0_0_0
	changefont,Tahoma,12,
endregion,17,0

///////////////////////////////////////
// Region 18,0 - Owner Information
///////////////////////////////////////
region,18,0,100
	cleararea,11,47,192,151
	deactivatebuttons,16
	deactivatebuttons,17
	activatebuttons,18
	clearregion,17
	image,10,45,wetterpopup.png
	
	//===================================
	// Close Button
	//===================================
	imagebutton,180,51,popupschliessen.png,t,18,4,999,16
	
	//===================================
	// Heading
	//===================================
	changefont,Tahoma,12,b
	text,105,47,Owner,c
	text,105,60,Information,c
	changefont,Tahoma,12,
	
	//===================================
	// Owner Details
	//===================================
	image,20,80,%owner image%,
	text,98,100,Name:,l
	changefont,Tahoma,12,b
	text,98,115,%owner name%,l
	changefont,Tahoma,11,
	text,20,144,Address:,l
	text,20,156,Address:,l
	text,20,168,Email:,l
	text,20,180,Telephone:,l
	text,75,144,%owner address%,l
	text,75,156,%owner address2%,l
	text,75,168,%owner email%,l
	text,75,180,%owner phone%,l
endregion,18,0

///////////////////////////////////////
// Region 18,1 - Skin Information
///////////////////////////////////////
region,18,1,100
deactivatebuttons,16
deactivatebuttons,17
activatebuttons,18
clearregion,17
cleararea,12,78,191,84
image,10,78,Mondphasenpopup.png
imagebutton,180,83,popupschliessen.png,t,18,4,999,16
image,20,109,Hammerskin.png
image,157,109,Hammerskin.png
changefont,Tahoma,12,
text,105,80,H A M M E R S K I N,c
text,105,96,Skin Version,c
text,105,106,01.04(ENG),c
text,105,116,Date: 26.08.2004,c
changefont,Tahoma,11,
text,105,131,powered by,c
changefont,Tahoma,12,b
text,105,142,Wichtel,c
changefont,Tahoma,12,
endregion,18,1
///////////////////////////////////////
// End Region 18,1 - Skin Information End
///////////////////////////////////////

///////////////////////////////////////
// System End
///////////////////////////////////////

///////////////////////////////////////
// Region 19  -  Photos
///////////////////////////////////////
region,19,0,-1
	defregion,19,0,0,211,267
	cleararea,0,0,211,267
	deactivatebuttons,2
	deactivatebuttons,3
	deactivatebuttons,4
	deactivatebuttons,5
	deactivatebuttons,6
	deactivatebuttons,7
	deactivatebuttons,8
	deactivatebuttons,9
	deactivatebuttons,10
	deactivatebuttons,11
	deactivatebuttons,12
	deactivatebuttons,15
	deactivatebuttons,16
	deactivatebuttons,17
	deactivatebuttons,18
	activatebuttons,19
	
image,0,0,%var31%.png,t

	if,var,var32,,=,1
		image,0,0,frame1.png
	else

		if,var,var32,,=,2
			image,0,0,frame2.png
		else

			if,var,var32,,=,3
				image,0,0,frame3.png
			else

				if,var,var32,,=,4
					image,0,0,frame4.png
				else
				endif
			endif
		endif
	endif

		imagebutton,6,250,arrowbutt_frame_left.png,t,19,13,var31_-1,-1
		
		imagebutton,195,250,arrowbutt_frame_right.png,t,19,13,var31_1,-1
		
	if,var,var31,,=,11
			storevar,var31=1
		else
		endif

	if,var,var31,,=,0
			storevar,var31=10
		else
		endif

	imagebutton,70,251,wetter_auswahl.png,,-1,6,var33=2,-1
	text,85,251,Frames,l

if,var,var33,,=,2

	activatebuttons,19
	image,103,171,System_auswahl_popup.png
	changefont,Tahoma,12,b
	text,109,174,Frame #1,l
	imagebutton,105,174,wetter_auswahl_popup_button.png,tr,-1,6,var32=1,-1
	button,109,174,100,15,-1,6,var33=1,-1
	text,109,188,Frame #2,l
	imagebutton,105,188,wetter_auswahl_popup_button.png,tr,-1,6,var32=2,-1
	button,109,188,100,15,-1,6,var33=1,-1
	text,109,202,Frame #3,l
	imagebutton,105,202,wetter_auswahl_popup_button.png,tr,-1,6,var32=3,-1
	button,109,202,100,15,-1,6,var33=1,-1
	text,109,216,Frame #4,l
	imagebutton,105,216,wetter_auswahl_popup_button.png,tr,-1,6,var32=4,-1
	button,109,216,100,15,-1,6,var33=1,-1
	color,font,255_0_0
	text,128,233,Cancel,l
	imagebutton,105,231,wetter_auswahl_popup_button_abbrechen.png,tr,-1,6,var33=1,-1
	color,font,-1_4_-1
	changefont,Tahoma,12,
else
endif

endregion,19,0

///////////////////////////////////////
// Photos End
///////////////////////////////////////

///////////////////////////////////////
// Region 1 - Button Area 
///////////////////////////////////////
region,1,0,30
	defregion,1,210,0,29,267,1
	
	//// Main Button ======================
	imagebutton,211,3,mainbutton.png,tr,2,4,0,1
	button,211,3,29,29,3,4,999,
	button,211,3,29,29,7,4,999,
	button,211,3,29,29,8,4,999,
	button,211,3,29,29,9,4,999,
	button,211,3,29,29,10,4,999
	button,211,3,29,29,11,4,999,
	button,211,3,29,29,12,4,999,
	button,211,3,29,29,15,4,999,
	button,211,3,29,29,16,4,999,
	button,211,3,29,29,17,4,999,
	button,211,3,29,29,18,4,999,
	button,211,3,29,29,19,4,999,
	button,211,3,29,29,2,10,0,2
	button,211,3,29,29,2,22,0,2
	button,211,3,29,29,2,23,0,2
	button,211,3,29,29,4,4,0
	button,211,3,29,29,5,4,0
	button,211,3,29,29,6,4,0
	
	//// Weather Button ====================
	if,region,3,0
		imagebutton,211,32,wetterbutton_grau.png,tr,3,4,0,1
		button,211,32,29,29,7,4,999,3
		//text,225,50,Weather,c
	else
		imagebutton,211,32,wetterbutton.png,tr,3,4,0,1
		button,211,32,29,29,2,4,999,3
		button,211,32,29,29,5,4,999,3
		button,211,32,29,29,6,4,999,3
		button,211,32,29,29,9,4,999,3
		button,211,32,29,29,10,4,999,3
		button,211,32,29,29,11,4,999,
		button,211,32,29,29,12,4,999,
		button,211,32,29,29,13,4,999,
		button,211,32,29,29,14,4,999,
		button,211,32,29,29,15,4,999,
		button,211,32,29,29,16,4,999,
		button,211,32,29,29,17,4,999,
		button,211,32,29,29,18,4,999,
		button,211,32,29,29,19,4,999,
		
	endif
	
	//// Agenda Button ====================
	if,region,9,0
		imagebutton,211,61,kalenderbutton_grau.png,tr,9,4,0,1
		button,211,61,29,29,9,10,0,9
		button,211,61,29,29,9,22,0,9
		button,211,61,29,29,9,23,0,9
		button,211,61,29,29,9,10,1,9
		button,211,61,29,29,9,22,1,9
		button,211,61,29,29,9,23,1,9

	else
		imagebutton,211,61,kalenderbutton.png,tr,9,4,0,1
		button,211,61,29,29,2,4,999,
		button,211,61,29,29,3,4,999,
		button,211,61,29,29,4,4,999,
		button,211,61,29,29,5,4,999,
		button,211,61,29,29,6,4,999,
		button,211,61,29,29,7,4,999,
		button,211,61,29,29,8,4,999,
		button,211,61,29,29,10,4,999,
		button,211,61,29,29,11,4,999,
		button,211,61,29,29,12,4,999,
		button,211,61,29,29,13,4,999,
		button,211,61,29,29,14,4,999,
		button,211,61,29,29,15,4,999,
		button,211,61,29,29,16,4,999,
		button,211,61,29,29,17,4,999,
		button,211,61,29,29,18,4,999,
		button,211,61,29,29,19,4,999,
		button,211,61,29,29,9,10,0,9
		button,211,61,29,29,9,22,0,9
		button,211,61,29,29,9,23,0,9
		button,211,61,29,29,9,10,1,9
		button,211,61,29,29,9,22,1,9
		button,211,61,29,29,9,23,1,9
	endif

	//// Tasks Button ====================
	if,region,10,0
		imagebutton,211,90,aufgabenbutton_grau.png,tr,10,4,0,1
		button,211,90,29,29,10,10,0,10
		button,211,90,29,29,10,22,0,10
		button,211,90,29,29,10,23,0,10
		button,211,90,29,29,10,10,1,10
	else
		imagebutton,211,90,aufgabenbutton.png,tr,10,4,0,1
		button,211,90,29,29,2,4,999,
		button,211,90,29,29,3,4,999,
		button,211,90,29,29,4,4,999,
		button,211,90,29,29,5,4,999,
		button,211,90,29,29,6,4,999,
		button,211,90,29,29,7,4,999,
		button,211,90,29,29,8,4,999,
		button,211,90,29,29,9,4,999,
		button,211,90,29,29,11,4,999,
		button,211,90,29,29,12,4,999,
		button,211,90,29,29,13,4,999,
		button,211,90,29,29,14,4,999,
		button,211,90,29,29,15,4,999,
		button,211,90,29,29,16,4,999,
		button,211,90,29,29,17,4,999,
		button,211,90,29,29,18,4,999,
		button,211,90,29,29,19,4,999,
		button,211,90,29,29,10,10,0,10
		button,211,90,29,29,10,22,0,10
		button,211,90,29,29,10,23,0,10
		button,211,90,29,29,10,10,1,10
	endif

	//// World Time Button ====================
	if,region,11,0
		imagebutton,211,119,zeitbutton_grau.png,tr,11,4,0,1
	else
		if,region,11,1
			imagebutton,211,119,zeitbutton_grau.png,tr,11,4,1,1
			
			
		else
			imagebutton,211,119,zeitbutton.png,tr,11,4,0,1
			button,211,119,29,29,2,4,999,
			button,211,119,29,29,3,4,999,
			button,211,119,29,29,4,4,999,
			button,211,119,29,29,5,4,999,
			button,211,119,29,29,6,4,999,
			button,211,119,29,29,7,4,999,
			button,211,119,29,29,8,4,999,
			button,211,119,29,29,9,4,999,
			button,211,119,29,29,10,4,999,
			button,211,119,29,29,12,4,999,
			button,211,119,29,29,13,4,999,
			button,211,119,29,29,14,4,999,
			button,211,119,29,29,15,4,999,
			button,211,119,29,29,16,4,999,
			button,211,119,29,29,17,4,999,
			button,211,119,29,29,18,4,999,
			button,211,119,29,29,19,4,999,
		endif
	endif

	//// RSS  BUTTON====================
	if,region,12,0
		imagebutton,211,148,rssbutton_grau.png,tr,12,4,0,1
		button,211,148,29,29,13,4,0,1
		button,211,148,29,29,14,4,0,1
	else
		imagebutton,211,148,rssbutton.png,tr,12,4,0,1
		button,211,148,29,29,13,4,0,1
		button,211,148,29,29,14,4,0,1
		button,211,148,29,29,2,4,999,
		button,211,148,29,29,3,4,999,
		button,211,148,29,29,4,4,999,
		button,211,148,29,29,5,4,999,
		button,211,148,29,29,6,4,999,
		button,211,148,29,29,7,4,999,
		button,211,148,29,29,8,4,999,
		button,211,148,29,29,9,4,999,
		button,211,148,29,29,10,4,999,
		button,211,148,29,29,11,4,999,
		button,211,148,29,29,16,4,999,
		button,211,148,29,29,17,4,999,
		button,211,148,29,29,18,4,999,
		button,211,148,29,29,19,4,999,
		button,211,148,29,29,15,4,999,
	endif
	
	//// Launcher Button ====================
	if,region,15,0
		imagebutton,211,177,verknuepfung_button_grau.png,tr,15,4,0,1
	else
		if,region,15,1
			imagebutton,211,177,verknuepfung_button_grau.png,tr,15,4,0,1
		else
			if,region,15,2
				imagebutton,211,177,verknuepfung_button_grau.png,tr,15,4,0,1
			else
				if,region,15,3
					imagebutton,211,177,verknuepfung_button_grau.png,tr,15,4,0,1
				else
					if,region,15,4
						imagebutton,211,177,verknuepfung_button_grau.png,tr,15,4,0,1
					else
						imagebutton,211,177,verknuepfung_button.png,tr,15,4,0,1
						button,211,177,29,29,2,4,999,
						button,211,177,29,29,3,4,999,
						button,211,177,29,29,4,4,999,
						button,211,177,29,29,5,4,999,
						button,211,177,29,29,6,4,999,
						button,211,177,29,29,7,4,999,
						button,211,177,29,29,8,4,999,
						button,211,177,29,29,9,4,999,
						button,211,177,29,29,10,4,999,
						button,211,177,29,29,11,4,999,
						button,211,177,29,29,12,4,999,
						button,211,177,29,29,13,4,999,
						button,211,177,29,29,14,4,999,
						button,211,177,29,29,16,4,999,
						button,211,177,29,29,17,4,999,
						button,211,177,29,29,18,4,999,
						button,211,177,29,29,19,4,999,
					endif
				endif
			endif
		endif
	endif

	//// System Button ====================
	if,region,16,0
		imagebutton,211,206,systembutton_grau.png,tr,16,4,0,1
		button,211,206,29,29,17,4,999,
		button,211,206,29,29,18,4,999,
	else
		imagebutton,211,206,systembutton.png,tr,16,4,0,1
		button,211,206,29,29,2,4,999,
		button,211,206,29,29,3,4,999,
		button,211,206,29,29,4,4,999,
		button,211,206,29,29,5,4,999,
		button,211,206,29,29,6,4,999,
		button,211,206,29,29,7,4,999,
		button,211,206,29,29,8,4,999,
		button,211,206,29,29,9,4,999,
		button,211,206,29,29,10,4,999,
		button,211,206,29,29,11,4,999,
		button,211,206,29,29,12,4,999,
		button,211,206,29,29,13,4,999,
		button,211,206,29,29,14,4,999,
		button,211,206,29,29,15,4,999,
		button,211,206,29,29,19,4,999,
	endif

	//// Photos ====================

					if,region,19,0
						imagebutton,211,235,camera_butt_gray.png,tr,19,4,0,1
						
						
					else
						imagebutton,211,235,camera_butt.png,tr,19,4,0,1
						
						button,211,235,29,29,2,4,999,
						button,211,235,29,29,3,4,999,
						button,211,235,29,29,4,4,999,
						button,211,235,29,29,5,4,999,
						button,211,235,29,29,6,4,999,
						button,211,235,29,29,7,4,999,
						button,211,235,29,29,8,4,999,
						button,211,235,29,29,9,4,999,
						button,211,235,29,29,10,4,999,
						button,211,235,29,29,11,4,999,
						button,211,235,29,29,12,4,999,
						button,211,235,29,29,13,4,999,
						button,211,235,29,29,14,4,999,
						button,211,235,29,29,15,4,999,
						button,211,235,29,29,16,4,999,
						button,211,235,29,29,17,4,999,
						button,211,235,29,29,18,4,999,
						
						
					else
					endif
					endif
	

endregion,1,0
////////////////////////////////////////////////////////////////////////
// Button Area End
////////////////////////////////////////////////////////////////////////
offset,0,267
