//==================== LM ATTRACTION skin ====================\\
// this skin is based upon the "OSX Complete skin" made by rgb08 (THANKS!)

maxheight,400
height,148
//initregion,11,0
options,weathericondir,Weather Icons\Weather.com,png
options,imagedir,Images\Attraction
color,transparent,255_0_255
color,replacement,-1_6_-1,0_0_0
color,shadow,125_125_125
changefont,tahoma,11,

defregion,0,0,21,240,54,15
defregion,3,0,0,0,0,2
defregion,4,0,0,0,0,2
defregion,6,0,0,0,0,4
defregion,9,0,0,0,0,8

calcvar,var29,fromconfig,numcities
calcvar,var28,fromconfig,numrss

offsetadd,0,2

color,font,0_0_0
color,shadow,255_255_255
imagebutton,1,0,ib_main.png,t,0,4,500,-1
button,1,0,30,17,7,4,1
button,1,0,30,17,5,4,0 // SHOW QUICKLAUNCH
button,1,0,42,17,2,4,0 // HIDE BOTTOM BAR WITH FEEDS

imagebutton,30,0,ib_weather.png,t,9,4,0
button,30,0,42,17,7,4,0
button,30,0,42,17,0,4,1,-1
button,30,0,42,17,5,4,0 // SHOW QUICKLAUNCH
button,30,0,42,17,2,4,0 // HIDE BOTTOM BAR WITH FEEDS

imagebutton,73,0,ib_news.png,t,9,4,100
button,73,0,34,17,7,4,0
button,73,0,34,17,0,4,100,-1
button,73,0,34,17,5,4,1 // HIDE QUICKLAUNCH ON RSS PAGE
button,73,0,34,17,2,4,1	// SHOW BOTTOM BAR WITH FEEDS

imagebutton,106,0,ib_launch.png,t,7,4,0
button,106,0,38,17,0,4,5,-1
button,106,0,38,17,5,4,0 // SHOW QUICKLAUNCH
button,106,0,38,17,2,4,0 // HIDE BOTTOM BAR WITH FEEDS

imagebutton,143,0,ib_calendar.png,t,7,4,0
button,143,0,46,17,0,4,7,-1
button,143,0,46,17,0,10,0
button,143,0,46,17,0,10,1
button,143,0,46,17,5,4,0 // SHOW QUICKLAUNCH
button,143,0,46,17,2,4,0 // HIDE BOTTOM BAR WITH FEEDS

imagebutton,188,0,ib_clock.png,t,7,4,0
button,188,0,33,17,0,4,300,-1
color,font,-1_4_-1	// RESET COLOURS
button,188,0,33,17,5,4,0 // SHOW QUICKLAUNCH
button,188,0,33,17,2,4,0 // HIDE BOTTOM BAR WITH FEEDS

imagebutton,224,1,up_arrow_big.png,t,0,4,10000,-1
button,224,1,33,17,5,4,0 // SHOW QUICKLAUNCH
button,224,1,33,17,2,4,0 // HIDE BOTTOM BAR WITH FEEDS
offsetadd,0,18

//////////////////////////////////////////

region,9,100,-1
load,rss,1
storevar,var8=1   // number of rss page
endregion,9,100

region,9,101,-1
load,rss,2
storevar,var8=2   // number of rss page
endregion,9,101

region,9,102,-1
load,rss,3
storevar,var8=3   // number of rss page
endregion,9,102

region,9,103,-1
load,rss,4
storevar,var8=4   // number of rss page
endregion,9,103

region,9,104,-1
load,rss,5
storevar,var8=5   // number of rss page
endregion,9,104

region,9,105,-1
load,rss,6
storevar,var8=6   // number of rss page
endregion,9,105

region,9,106,-1
load,rss,7
storevar,var8=7   // number of rss page
endregion,9,106

region,9,107,-1
load,rss,8
storevar,var8=8   // number of rss page
endregion,9,107

//////////////////////////////////////////


//=================================================
// "MAIN" TAB : REGION 0, PAGE 500
//=================================================
region,0,500,1
image,1,-18,selected_main.png,t
offset,offset_-1,offset_-1

image,0,-3,bk_main.png,t

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

load,city,1
calcvar,var20,weatherupdatetimediff

if,var,var20,,<,240
todayicon,0,0,,t
else
calcvar,var21,firstvalidforecastday
forecasticon,%var21%,0,0,,t
endif
changefont,tahoma,12,b
today,realtemp,13,44,,,l
text,34,44,,r
// GO TO WEATHER
button,0,0,35,40,9,4,0
button,0,0,35,40,7,4,0
button,0,0,35,40,0,4,1,-1

// black TEXT WHEN REFRESHING
if,refresh
color,font,-1_4_-1
else

endif

changefont,tahoma,13,b
time,115,2,-1,5,cs,"dddd, MMMM d",
changefont,tahoma,12,
button,34,0,117,40,7,4,0
button,34,0,117,40,0,4,7,-1
button,34,0,117,40,0,10,0
button,34,0,117,40,0,10,1



image,60,41,clock-today.bmp,t
text,80,41,Last updated: ,l
text,143,41,[updatetime],l,HH:mm tt
//button,18,39,117,15,0,7,,-1
//button,0,39,19,15,0,4,300,-1 // GO TO CLOCK REGION AND REFRESH 
//button,0,39,19,15,7,4,0

changefont,tahoma,11,
image,192,2,bt_battery.png,t
battery,remaining,237,1,,%,r

image,192,15,bt_memory.png,t
memory,programfree,236,15,, M,r,%.0f

image,194,31,bt_storage.png,t
storage,sdcard,free,236,30,, M,r,%.0f

image,193,43,bt_uptime.png,t
uptime,236,45,battery,duration,,,r

offsetadd,0,60
endregion,0,500

//=================================================
// "WEATHER" TAB : REGION 0, PAGE 1
//=================================================

region,0,1,-1
offset,offset_-1,offset_-1
updateregions,9


image,0,-3,bk_background.png,t

offsetadd,0,2

//// 4 DAY FORCAST
region,9,0,-1
image,30,-21,selected_weather.png,t
//changefont,tahoma,12,b
//color,font,0_0_128
//text,50,-20,Forcast,c
//changefont,tahoma,12,

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

initvar,var9,1

// ADVANCE TO NEXT CITY
imagebutton,222,-2,right_arrow_big.png,t,0,13,var9_1

if,var,var9,,>,%var29%
storevar,var9=1
else
endif

load,city,%var9%

changefont,tahoma,12,b
text,3,-2,[name],l

changefont,tahoma,10,b
text,26,40,[updatetime],c,h:mm tt
changefont,tahoma,12,
// REFRESH ON TIME
button,0,41,52,11,0,7,,0

calcvar,var20,weatherupdatetimediff

if,var,var20,,<,240

todayicon,5,7,,t
today,temp,53,16,,,r
changefont,tahoma,12,
today,realtemp,53,28,,,r
changefont,tahoma,12,
button,0,-2,52,44,9,4,1,0

forecasticon,1,51,7,,t
forecast,date_ddd,1,69,-2,,,c
forecast,high,1,97,16,,,r
forecast,low,1,97,28,,,r
forecast,precipitation,1,74,38,R: ,%,c
button,51,-2,47,54,9,4,2,0
button,51,-2,47,54,-1,6,var1=1

forecasticon,2,97,7,,t
forecast,date_ddd,2,115,-2,,,c
forecast,high,2,143,16,,,r
forecast,low,2,143,28,,,r
forecast,precipitation,2,120,38,R: ,%,c
button,97,-2,47,54,9,4,2,0
button,97,-2,47,54,-1,6,var1=2

forecasticon,3,143,7,,t
forecast,date_ddd,3,161,-2,,,c
forecast,high,3,189,16,,,r
forecast,low,3,189,28,,,r
forecast,precipitation,3,166,38,R: ,%,c
button,143,-2,47,54,9,4,2,0
button,143,-2,47,54,-1,6,var1=3

forecasticon,4,189,7,,t
forecast,date_ddd,4,207,-2,,,c
forecast,high,4,235,16,,,r
forecast,low,4,235,28,,,r
forecast,precipitation,4,212,38,R: ,%,c
button,189,14,51,38,9,4,2,0
button,189,14,51,38,-1,6,var1=4
button,189,-2,32,16,9,4,2,0
button,189,-2,32,54,-1,6,var1=4

else

calcvar,var21,firstvalidforecastday

if,var,var21,,<,6

forecasticon,%var21%,5,7,,t
forecast,high,%var21%,51,16,,,r
forecast,low,%var21%,51,28,,,r
button,0,-2,52,44,9,4,2,0
button,0,-2,52,44,-1,6,var1=%var21%

addvar,var21,1

else
endif

if,var,var21,,<,6

forecasticon,%var21%,51,7,,t
forecast,date_ddd,%var21%,69,-2,,,c
forecast,high,%var21%,97,16,,,r
forecast,low,%var21%,97,28,,,r
forecast,precipitation,%var21%,74,38,R: ,%,c
button,51,-2,47,54,9,4,2,0
button,51,-2,47,54,-1,6,var1=%var21%

addvar,var21,1

else
endif

if,var,var21,,<,6

forecasticon,%var21%,97,7,,t
forecast,date_ddd,%var21%,115,-2,,,c
forecast,high,%var21%,143,16,,,r
forecast,low,%var21%,143,28,,,r
forecast,precipitation,%var21%,120,38,R: ,%,c
button,97,-2,47,54,9,4,2,0
button,97,-2,47,54,-1,6,var1=%var21%

addvar,var21,1

else
endif

if,var,var21,,<,6

forecasticon,%var21%,143,7,,t
forecast,date_ddd,%var21%,161,-2,,,c
forecast,high,%var21%,189,16,,,r
forecast,low,%var21%,189,28,,,r
forecast,precipitation,%var21%,166,38,R: ,%,c
button,143,-2,47,54,9,4,2,0
button,143,-2,47,54,-1,6,var1=%var21%

addvar,var21,1

else
endif

if,var,var21,,<,6

forecasticon,%var21%,189,7,,t
forecast,date_ddd,%var21%,207,-2,,,c
forecast,high,%var21%,235,16,,,r
forecast,low,%var21%,235,28,,,r
forecast,precipitation,%var21%,212,38,R: ,%,c
button,189,14,51,38,9,4,2,0
button,189,14,51,38,-1,6,var1=%var21%
button,189,-2,32,16,9,4,2,0
button,189,-2,32,54,-1,6,var1=%var21%

addvar,var21,1

else
endif

endif

offsetadd,0,52
endregion,9,0

//// CURRENT CONDITIONS
region,9,1,-1
image,30,-21,tab_selectedbig.png,t
changefont,tahoma,12,b
color,font,0_0_128
text,52,-20,Current,c
changefont,tahoma,12,

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

load,city,%var9%

// BACK BUTTON
button,0,-2,240,54,9,3,,0

changefont,tahoma,12,b
text,3,-2,[name],l
changefont,tahoma,12,
todayicon,5,8,,t
changefont,tahoma,12,b
today,sky,143,0,,,c
today,realtemp,140,24,,F,r
changefont,tahoma,12,
text,46,12,Temperature:,l
today,temp,140,12,,F,r
text,46,24,Feels Like:,l
text,46,36,Barometer:,l
today,barometer,140,36,, Hpa,r
changefont,tahoma,12,b
today,humidity,235,12,,%,r
changefont,tahoma,12,
text,150,12,Humidity:,l
text,150,24,UV:,l
today,uv,235,24,,,r
today,date,235,36,,,r
changefont,tahoma,12,

offsetadd,0,52
endregion,9,1

//// FORCAST DETAILS
region,9,2,-1
image,30,-21,tab_selectedbig.png,t
changefont,tahoma,12,b
color,font,0_0_128
text,52,-20,Details,c
changefont,tahoma,12,

// GRAY TEXT WHEN REFRESHING
if,refresh
color,font,125_125_125
else
color,font,-1_4_-1
endif

load,city,%var9%

// BACK BUTTON
button,0,-2,240,54,9,3,,0

		changefont,tahoma,11,b
		forecast,date_ddd,%var1%,24,0,,,c
		changefont,tahoma,11,
		forecasticon,%var1%,8,11,,t
		nightforecasticon,%var1%,202,11,,t		
		changefont,tahoma,11,b
		text,217,0,Night,c
		offsetadd,-15,7
		changefont,tahoma,11
		forecast,text,%var1%,100,0,,,c
		forecast,nighttext,%var1%,175,0,,,c
		changefont,tahoma,11,b
		forecast,high,%var1%,125,12,,F,r
		forecast,low,%var1%,195,12,,F,r
		forecast,precipitation,%var1%,205,24,,%,r
		changefont,tahoma,11,
		text,75,12,High:,l
		text,145,12,Low:,l
		text,60,24,Chance of Precipitation:,l
offsetadd,0,48
endregion,9,2

color,font,-1_4_-1
endregion,0,1

//=================================================
// END "WEATHER" TAB : REGION 0, PAGE 1
//=================================================

//=================================================
// "RSS" TAB : REGION 0, PAGE 100
//=================================================

//======================================
// RSS PAGE 1
//======================================
region,0,100,-1
image,73,-18,selected_news.png,t	// TAB SELECTION TOP


offset,offset_-1,offset_-1
image,0,-3,bk_backgroundRSS.png,t
color,font,-1_4_-1



//imagebutton,215,1,left_arrow.bmp,t,9,4,105
//button,215,1,11,11,0,4,105,-1
//imagebutton,227,1,right_arrow.bmp,t,9,4,101
//button,227,1,11,11,0,4,101,-1

// PAGE NUMBER
//changefont,tahoma,11,b
//text,2,1,1/9,l
changefont,tahoma,12,
 
// REFRESH ON TITLE
button,22,0,186,12,0,7,,-1
changefont,tahoma,12,b
text,120,0,[name],c
changefont,tahoma,12,

RSS,title,5,14,230,12,1,- ,,
button,3,14,220,12,0,4,109,-1
button,3,14,220,12,1,6,var1=1
imagebutton,227,14,details.bmp,t,0,12,1,-1

RSS,title,5,26,230,12,2,- ,,
button,3,26,220,12,0,4,109,-1
button,3,26,220,12,1,6,var1=2
imagebutton,227,26,details.bmp,t,0,12,2,-1

RSS,title,5,38,230,12,3,- ,,
button,3,38,220,12,0,4,109,-1
button,3,38,220,12,1,6,var1=3
imagebutton,227,38,details.bmp,t,0,12,3,-1

RSS,title,5,50,230,12,4,- ,,
button,3,50,220,12,0,4,109,-1
button,3,50,220,12,1,6,var1=4
imagebutton,227,50,details.bmp,t,0,12,4,-1

RSS,title,5,62,230,12,5,- ,,
button,3,62,220,12,0,4,109,-1
button,3,62,220,12,1,6,var1=5
imagebutton,227,62,details.bmp,t,0,12,5,-1
offsetadd,0,75
endregion,0,100

//======================================
// RSS PAGE 2
//======================================
region,0,101,-1
image,73,-18,selected_news.png,t
changefont,tahoma,12,b
color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

//imagebutton,215,1,left_arrow.bmp,t,9,4,100
//button,215,1,11,11,0,4,100,-1
//imagebutton,227,1,right_arrow.bmp,t,9,4,102
//button,227,1,11,11,0,4,102,-1

// PAGE NUMBER
//changefont,tahoma,11,b
//text,2,1,2/9,l
changefont,tahoma,12, 

// REFRESH ON TITLE
button,22,0,186,12,0,7,,-1
changefont,tahoma,12,b
text,120,0,[name],c
changefont,tahoma,12,

RSS,title,5,14,230,12,1,- ,,
button,3,14,220,12,0,4,109,-1
button,3,14,220,12,1,6,var1=1
imagebutton,227,14,details.bmp,t,0,12,1,-1

RSS,title,5,26,230,12,2,- ,,
button,3,26,220,12,0,4,109,-1
button,3,26,220,12,1,6,var1=2
imagebutton,227,26,details.bmp,t,0,12,2,-1

RSS,title,5,38,230,12,3,- ,,
button,3,38,220,12,0,4,109,-1
button,3,38,220,12,1,6,var1=3
imagebutton,227,38,details.bmp,t,0,12,3,-1

RSS,title,5,50,230,12,4,- ,,
button,3,50,220,12,0,4,109,-1
button,3,50,220,12,1,6,var1=4
imagebutton,227,50,details.bmp,t,0,12,4,-1

RSS,title,5,62,230,12,5,- ,,
button,3,62,220,12,0,4,109,-1
button,3,62,220,12,1,6,var1=5
imagebutton,227,62,details.bmp,t,0,12,5,-1

offsetadd,0,75
endregion,0,101

//======================================
// RSS PAGE 3
//======================================
region,0,102,-1
image,73,-18,selected_news.png,t
changefont,tahoma,12,b
//color,font,0_0_128
//text,120,-22,Top,c
color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

//imagebutton,215,1,left_arrow.bmp,t,9,4,101
//button,215,1,11,11,0,4,101,-1
//imagebutton,227,1,right_arrow.bmp,t,9,4,103
//button,227,1,11,11,0,4,103,-1

// PAGE NUMBER
//changefont,tahoma,11,b
//text,2,1,3/9,l
changefont,tahoma,12, 

// REFRESH ON TITLE
button,22,0,186,12,0,7,,-1
changefont,tahoma,12,b
text,120,0,[name],c
changefont,tahoma,12,

RSS,title,5,14,230,12,1,- ,,
button,3,14,234,12,0,4,109,-1
button,3,14,234,12,1,6,var1=1

RSS,title,5,26,230,12,2,- ,,
button,3,26,234,12,0,4,109,-1
button,3,26,234,12,1,6,var1=2

RSS,title,5,38,230,12,3,- ,,
button,3,38,234,12,0,4,109,-1
button,3,38,234,12,1,6,var1=3

RSS,title,5,50,230,12,4,- ,,
button,3,50,234,12,0,4,109,-1
button,3,50,234,12,1,6,var1=4

RSS,title,5,62,230,12,5,- ,,
button,3,62,234,12,0,4,109,-1
button,3,62,234,12,1,6,var1=5

offsetadd,0,92
endregion,0,102

//======================================
// RSS PAGE 4
//======================================
region,0,103,-1
image,73,-18,selected_news.png,t
changefont,tahoma,12,b
color,font,0_0_128
text,120,-22,Sports,c
color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

//imagebutton,215,1,left_arrow.bmp,t,9,4,102
//button,215,1,11,11,0,4,102,-1
//imagebutton,227,1,right_arrow.bmp,t,9,4,104
//button,227,1,11,11,0,4,104,-1

// PAGE NUMBER
//changefont,tahoma,11,b
//text,2,1,4/9,l
changefont,tahoma,12, 

// REFRESH ON TITLE
button,22,0,186,12,0,7,,-1
changefont,tahoma,12,b
text,120,0,[name],c
changefont,tahoma,12,

RSS,title,5,14,230,12,1,- ,,
button,3,14,234,12,0,4,109,-1
button,3,14,234,12,1,6,var1=1

RSS,title,5,26,230,12,2,- ,,
button,3,26,234,12,0,4,109,-1
button,3,26,234,12,1,6,var1=2

RSS,title,5,38,230,12,3,- ,,
button,3,38,234,12,0,4,109,-1
button,3,38,234,12,1,6,var1=3

RSS,title,5,50,230,12,4,- ,,
button,3,50,234,12,0,4,109,-1
button,3,50,234,12,1,6,var1=4

RSS,title,5,62,230,12,5,- ,,
button,3,62,234,12,0,4,109,-1
button,3,62,234,12,1,6,var1=5

offsetadd,0,75
endregion,0,103

//======================================
// RSS PAGE 5
//======================================
region,0,104,-1
image,73,-18,selected_news.png,t
changefont,tahoma,12,b
//color,font,0_0_128
//text,120,-22,Tech,c
color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

//imagebutton,215,1,left_arrow.bmp,t,9,4,103
//button,215,1,11,11,0,4,103,-1
//imagebutton,227,1,right_arrow.bmp,t,9,4,105
//button,227,1,11,11,0,4,105,-1

// PAGE NUMBER
//changefont,tahoma,11,b
//text,2,1,5/9,l
changefont,tahoma,12, 

// REFRESH ON TITLE
button,22,0,186,12,0,7,,-1
changefont,tahoma,12,b
text,120,0,[name],c
changefont,tahoma,12,

RSS,title,5,14,230,12,1,- ,,
button,3,14,234,12,0,4,109,-1
button,3,14,234,12,1,6,var1=1

RSS,title,5,26,230,12,2,- ,,
button,3,26,234,12,0,4,109,-1
button,3,26,234,12,1,6,var1=2

RSS,title,5,38,230,12,3,- ,,
button,3,38,234,12,0,4,109,-1
button,3,38,234,12,1,6,var1=3

RSS,title,5,50,230,12,4,- ,,
button,3,50,234,12,0,4,109,-1
button,3,50,234,12,1,6,var1=4

RSS,title,5,62,230,12,5,- ,,
button,3,62,234,12,0,4,109,-1
button,3,62,234,12,1,6,var1=5

offsetadd,0,75
endregion,0,104

//======================================
// RSS PAGE 6
//======================================
region,0,105,-1
image,73,-18,selected_news.png,t
changefont,tahoma,12,b
//color,font,0_0_128
//text,120,-22,Odd,c
color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

//imagebutton,215,1,left_arrow.bmp,t,9,4,104
//button,215,1,11,11,0,4,104,-1
//imagebutton,227,1,right_arrow.bmp,t,9,4,100
//button,227,1,11,11,0,4,100,-1

// PAGE NUMBER
//changefont,tahoma,11,b
//text,2,1,6/9,l
changefont,tahoma,12, 

// REFRESH ON TITLE
button,22,0,186,12,0,7,,-1
changefont,tahoma,12,b
text,120,0,[name],c
changefont,tahoma,12,

RSS,title,5,14,230,12,1,- ,,
button,3,14,234,12,0,4,109,-1
button,3,14,234,12,1,6,var1=1

RSS,title,5,26,230,12,2,- ,,
button,3,26,234,12,0,4,109,-1
button,3,26,234,12,1,6,var1=2

RSS,title,5,38,230,12,3,- ,,
button,3,38,234,12,0,4,109,-1
button,3,38,234,12,1,6,var1=3

RSS,title,5,50,230,12,4,- ,,
button,3,50,234,12,0,4,109,-1
button,3,50,234,12,1,6,var1=4

RSS,title,5,62,230,12,5,- ,,
button,3,62,234,12,0,4,109,-1
button,3,62,234,12,1,6,var1=5

offsetadd,0,75
endregion,0,105


//===========Details for RSS



region,0,109,-1
offset,offset_-1,offset_-1

// BACK BUTTON
imagebutton,224,-1,left_arrow_big.png,t,0,3,,-1

button,2,0,222,12,0,12,%var1%
changefont,tahoma,12,b
RSS,title,15,0,210,12,%var1%,,,c
changefont,tahoma,12,
RSS,description,5,14,230,61,%var1%,     ,,

offsetadd,0,75
endregion,0,109


//============ REGION FOR NEWS BOTTOM BAR
region,2,1,-1
defregion,2,0,0,240,20,6
offset,offset_-1,offset_-1
image,0,0,rss_tabs.png,t

if,region,9,100
	image,2,1,bt_page_selected.png,t	// TAB SELECTION BOTTOM
	color,font,255_255_255
	color,shadow,0_0_0
	text,4,0,Today+,ls
	//button,1,1,40,15,9,4,100,-1	// BUTTON FOR RSS 1
else
	color,font,255_255_255
	color,shadow,0_0_0
	text,4,0,Today+,ls
	button,1,1,40,15,9,4,100,-1	// BUTTON FOR RSS 1
endif

if,region,9,101
	image,42,1,bt_page_selected.png,t	// TAB SELECTION BOTTOM
	color,font,255_255_255
	color,shadow,0_0_0
	text,54,0,BBC,ls
else
	color,font,255_255_255
	color,shadow,0_0_0
	text,54,0,BBC,ls
	button,42,0,40,15,9,4,101,-1	// BUTTON FOR RSS 2
endif

if,region,9,102
	image,81,1,bt_page_selected.png,t	// TAB SELECTION BOTTOM
	color,font,255_255_255
	color,shadow,0_0_0
	text,88,0,Slash,ls
else
	color,font,255_255_255
	color,shadow,0_0_0
	text,88,0,Slash,ls
	button,81,0,40,15,9,4,102,-1	// BUTTON FOR RSS 3
endif

if,region,9,103
	image,120,1,bt_page_selected.png,t	// TAB SELECTION BOTTOM
	color,font,255_255_255
	color,shadow,0_0_0	
	text,125,0,PPCT,ls

else
	color,font,255_255_255
	color,shadow,0_0_0
	text,125,0,PPCT,ls
	button,121,0,40,15,9,4,103,-1	// BUTTON FOR RSS 4
endif

if,region,9,104
	image,159,1,bt_page_selected.png,t	// TAB SELECTION BOTTOM
	color,font,255_255_255
	color,shadow,0_0_0
	text,168,0,TOP,ls
else
	color,font,255_255_255
	color,shadow,0_0_0
	text,168,0,TOP,ls	
	button,161,0,40,15,9,4,104,-1	// BUTTON FOR RSS 5
endif

if,region,9,105
	image,197,1,bt_page_selected.png,t	// TAB SELECTION BOTTOM
	color,font,255_255_255
	color,shadow,0_0_0
	text,200,0,Sports,ls
else
	color,font,255_255_255
	color,shadow,0_0_0
	text,200,0,Sports,ls
	button,201,0,40,15,9,4,105,-1	// BUTTON FOR RSS 6
	//button,201,0,40,15,2,4,0

offsetadd,0,20
endregion,2,1

//=======================================
// END RSS
//=======================================


//=======================================
// LAUNCHER  REGION:0 PAGE:5
//=======================================

region,0,5,-1
image,106,-18,selected_launch.png,t
offset,offset_-1,offset_-1
image,0,-3,bk_background.png,t
imagebutton,223,0,right_arrow_big.png,t,3,1,,-1
offsetadd,0,1

region,3,0,-1
shortcut,3,-2,apps-2-1,s
button,3,-2,75,16,-1,0,%apps-2-1
text,23,-1,[name],l
shortcut,3,16,apps-2-2,s
button,3,16,75,16,-1,0,%apps-2-2
text,23,17,[name],l
shortcut,3,34,apps-2-3,s
button,3,34,75,16,-1,0,%apps-2-3
text,23,36,[name],l
shortcut,85,-2,apps-2-4,s
button,85,-2,75,16,-1,0,%apps-2-4
text,103,-1,[name],l
shortcut,85,16,apps-2-5,s
button,85,16,75,16,-1,0,%apps-2-5
text,103,17,[name],l
shortcut,85,34,apps-2-6,s
button,85,34,75,16,-1,0,%apps-2-6
text,103,35,[name],l
shortcut,165,-2,apps-2-7,s
button,165,-2,56,16,-1,0,%apps-2-7
text,183,-1,[name],l
shortcut,165,16,apps-2-8,s
button,165,16,75,16,-1,0,%apps-2-8
text,183,17,[name],l
shortcut,165,34,apps-2-9,s
button,165,34,75,16,-1,0,%apps-2-9
text,183,35,[name],l
endregion,3,0

region,3,1,-1
shortcut,3,-2,apps-3-1,s
button,3,-2,75,16,-1,0,%apps-3-1
text,23,-1,[name],l
shortcut,3,16,apps-3-2,s
button,3,16,75,16,-1,0,%apps-3-2
text,23,17,[name],l
shortcut,3,34,apps-3-3,s
button,3,34,75,16,-1,0,%apps-3-3
text,23,35,[name],l
shortcut,85,-2,apps-3-4,s
button,85,-2,75,16,-1,0,%apps-3-4
text,103,-1,[name],l
shortcut,85,16,apps-3-5,s
button,85,16,75,16,-1,0,%apps-3-5
text,103,17,[name],l
shortcut,85,34,apps-3-6,s
button,85,34,75,16,-1,0,%apps-3-6
text,103,35,[name],l
shortcut,165,-2,apps-3-7,s
button,165,-2,56,16,-1,0,%apps-3-7
text,183,-1,[name],l
shortcut,165,16,apps-3-8,s
button,165,16,75,16,-1,0,%apps-3-8
text,183,17,[name],l
shortcut,165,34,apps-3-9,s
button,165,34,75,16,-1,0,%apps-3-9
text,183,35,[name],l
endregion,3,1

offsetadd,0,53
endregion,0,5

//========================================
// END LAUNCHER
//========================================


//========================================
// TIMEZONES REGIN:0 PAGE:300
//========================================

region,0,300,1
image,189,-18,tab_selected.png,t
changefont,tahoma,11,b
color,font,0_0_128
text,205,-16,Analog,c
color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1

image,0,-3,bk_background.png,t

offsetadd,0,1
changefont,tahoma,10,b

options,imagedir,Images\Attraction
color,transparent,255_0_255
color,replacement,-1_6_-1,0_0_0
color,shadow,125_125_125

button,0,-1,240,54,0,4,301,-1

image,14,11,analogclock.bmp,t
time,29,27,1,analog,hourhand.bmp,minutehand.bmp
text,29,0,local,c
time,29,42,1,5,c,,"h:mm tt"

image,59,11,analogclock.bmp,t
time,74,27,9,analog,hourhand.bmp,minutehand.bmp
text,74,0,Los Angeles,c
time,74,42,9,5,c,,"h:mm tt"

image,104,11,analogclock.bmp,t
time,119,27,3,analog,hourhand.bmp,minutehand.bmp
text,119,0,Paris,c
time,119,42,3,5,c,,"h:mm tt"

image,149,11,analogclock.bmp,t
time,164,27,4,analog,hourhand.bmp,minutehand.bmp
text,164,0,Amsterdam,c
time,164,42,4,5,c,,"h:mm tt"

image,194,11,analogclock.bmp,t
time,209,27,8,analog,hourhand.bmp,minutehand.bmp
text,209,0,Tokyo,c
time,209,42,8,5,c,,"h:mm tt"

changefont,tahoma,12,
offsetadd,0,53
endregion,0,300

region,0,301,1
image,189,-18,tab_selected.png,t
changefont,tahoma,11,b
color,font,0_0_128
text,205,-16,Digital,c
color,font,-1_4_-1
changefont,tahoma,12,
offset,offset_-1,offset_-1
image,0,-3,bk_background.png,t
offsetadd,0,3
changefont,tahoma,12,

options,imagedir,Images\Attraction
color,transparent,255_0_255
color,replacement,-1_6_-1,0_0_0
color,shadow,125_125_125


// BACK BUTTON
button,0,-3,240,54,0,3,300,-1

time,115,0,1,5,r,,"h:mm tt"
text,5,0,[name],l
time,115,12,2,5,r,,"h:mm tt"
text,5,12,[name],l
time,115,24,3,5,r,,"h:mm tt"
text,5,24,[name],l
time,115,36,4,5,r,,"h:mm tt"
text,5,36,[name],l
time,235,0,5,5,r,,"h:mm tt"
text,125,0,[name],l
time,235,12,6,5,r,,"h:mm tt"
text,125,12,[name],l
time,235,24,7,5,r,,"h:mm tt"
text,125,24,[name],l
time,235,36,8,5,r,,"h:mm tt"
text,125,36,[name],l

offsetadd,0,51
endregion,0,301

//========================================
// END TIMEZONES
//========================================


//========================================
// CALENDAR REGION:0 PAGE:7
//========================================

region,0,7,-1
image,143,-18,selected_calendar.png,t
offset,offset_-1,offset_-1
image,0,-3,bk_backgroundCal.png,t


imagebutton,2,-1,left_arrow_big.png,t,5,9,0,-1
button,2,1,11,11,5,9,1,

imagebutton,223,-1,right_arrow_big.png,t,5,8,0,-1
button,227,1,11,11,5,8,1,

// RESET AGENDA
imagebutton,114,1,reset.bmp,t,-1,23,0-nohighlight
button,114,1,12,12,0,10,0
button,114,1,12,12,0,10,1,1,-1

// CALENDAR 0
calendar,0,0,11,22,15,10,r
button,11,23,105,60,-1,23,0-nohighlight
button,11,23,105,60,1,5,0,
changefont,tahoma,12,b
text,63,0,[caldate],0,c,"MMMM yyyy"
calendarheader,11,12,15
changefont,tahoma,12,


// CALENDAR 1
calendar,1,1,123,22,15,10,r
button,123,23,105,60,-1,23,0-nohighlight
button,123,23,105,60,1,5,1,
changefont,tahoma,12,b
text,176,0,[caldate],1,c,"MMMM yyyy"
calendarheader,123,12,15
changefont,tahoma,12,

offsetadd,0,84
endregion,0,7

//========================================
// END CALENDAR
//========================================


//========================================
// QUICK LAUNCHER REGION:5 PAGE:0
//========================================

region,5,0,-1
defregion,5,0,0,240,25,1
offset,offset_-1,offset_-1
image,0,-4,bk_quicklaunch.png,t	// BACKGROUND BORDER
offsetadd,0,3

region,4,0,-1
imagebutton,223,0,right_arrow_big.png,t,4,4,1,5
shortcut,3,0,apps-1-1,s
button,3,0,16,16,-1,0,%apps-1-1
shortcut,23,0,apps-1-2,s
button,23,0,16,16,-1,0,%apps-1-2
shortcut,43,0,apps-1-3,s
button,43,0,16,16,-1,0,%apps-1-3
shortcut,63,0,apps-1-4,s
button,63,0,16,16,-1,0,%apps-1-4
shortcut,83,0,apps-1-5,s
button,83,0,16,16,-1,0,%apps-1-5
shortcut,103,0,apps-1-6,s
button,103,0,16,16,-1,0,%apps-1-6
shortcut,123,0,apps-1-7,s
button,123,0,16,16,-1,0,%apps-1-7
shortcut,143,0,apps-1-8,s
button,143,0,16,16,-1,0,%apps-1-8
shortcut,163,0,apps-1-9,s
button,163,0,16,16,-1,0,%apps-1-9
shortcut,183,0,apps-1-10,s
button,183,0,16,16,-1,0,%apps-1-10
shortcut,203,0,apps-1-11,s
button,203,0,16,16,-1,0,%apps-1-11

endregion,4,0

region,4,1,-1
imagebutton,223,0,left_arrow_big.png,t,4,4,0,5
shortcut,3,0,apps-1-12,s
button,3,0,16,16,-1,0,%apps-1-12
shortcut,23,0,apps-1-13,s
button,23,0,16,16,-1,0,%apps-1-13
shortcut,43,0,apps-1-14,s
button,43,0,16,16,-1,0,%apps-1-14
shortcut,63,0,apps-1-15,s
button,63,0,16,16,-1,0,%apps-1-15
shortcut,83,0,apps-1-16,s
button,83,0,16,16,-1,0,%apps-1-16
shortcut,103,0,apps-1-17,s
button,103,0,16,16,-1,0,%apps-1-17
shortcut,123,0,apps-1-18,s
button,123,0,16,16,-1,0,%apps-1-18
shortcut,143,0,apps-1-19,s
button,143,0,16,16,-1,0,%apps-1-19
shortcut,163,0,apps-1-20,s
button,163,0,16,16,-1,0,%apps-1-20
shortcut,183,0,apps-1-21,s
button,183,0,16,16,-1,0,%apps-1-21
shortcut,203,0,apps-1-22,s
button,203,0,16,16,-1,0,%apps-1-22

endregion,4,1

//image,0,19,border_bottom.bmp,t

offsetadd,0,22
endregion,5,0 

//========================================
// END QUICK LAUNCHER
//========================================

