<?xml version="1.0" encoding="UTF-8"?>
<Screen>
  <LeftStatusBar>
    <Layout width="90">
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/etc/account_s_bg.bmp</Bitmap>
        <X>0</X>
        <Y>0</Y>
      </DisplayBitmap>
      <DisplayList>
        <X>0</X>
        <Y>0</Y>
      </DisplayList>
    </Layout>
    <Account height="23">
      <DisplayElement>
        <DisplayBitmap isfile="true">
          <Bitmap>/app/resource/etc/account_line_bg.bmp</Bitmap>
          <X>6</X>
          <Y>0</Y>
        </DisplayBitmap>
        <DisplayRectangle x="1" y="0" width="6" height="23" bgcolor="Light6"></DisplayRectangle>
        <DisplayBitmap isfile="true" renew-rate="second" isrenew="true">
          <Bitmap>/app/resource/etc/account_r.bmp</Bitmap>
          <X>1</X>
          <Y>0</Y>
          <displayCondition>
            <conditionType>accountRegistered</conditionType>
          </displayCondition>
        </DisplayBitmap>        
        <DisplayBitmap isfile="true" isflash="true" renew-rate="second">
          <Bitmap>/app/resource/etc/account_nr.bmp</Bitmap>
          <X>1</X>
          <Y>0</Y>
          <displayCondition negate="true">
            <conditionType>accountRegistered</conditionType>
          </displayCondition>
        </DisplayBitmap>
      </DisplayElement>
      <DisplayElement>
        <DisplayString font="unifont" width="78" height="16" bgcolor="Light5" renew-rate="second">
          <DisplayStr>$a</DisplayStr>
          <X>8</X>
          <Y>3</Y>
          <displayCondition>
            <conditionType>accountRegistered</conditionType>
          </displayCondition>
        </DisplayString>

        <DisplayString font="unifont" width="78" height="16" color="Light2" bgcolor="Light5" shadow-color="White" renew-rate="second">
          <DisplayStr>$a</DisplayStr>
          <X>8</X>
          <Y>3</Y>
          <displayCondition negate="true">
            <conditionType>accountRegistered</conditionType>
          </displayCondition>
        </DisplayString>

      </DisplayElement>

      <DisplayElement>
        <DisplayBitmap isfile="true" bgcolor="Light6" renew-rate="minute">
          <Bitmap>/app/resource/icon/vm1.bmp</Bitmap>
          <X>71</X>
          <Y>4</Y>
          <displayCondition>
            <conditionType>hasVoiceMail</conditionType>
          </displayCondition>
        </DisplayBitmap>
        <DisplayBitmap isfile="true" isflash="true" bgcolor="None" renew-rate="minute">
          <Bitmap>/app/resource/icon/vm2.bmp</Bitmap>
          <X>71</X>
          <Y>4</Y>
          <displayCondition>
            <conditionType>hasVoiceMail</conditionType>
          </displayCondition>
        </DisplayBitmap>
        <DisplayBitmap isfile="true" bgcolor="Light5" >
          <Bitmap>/app/resource/icon/im1.bmp</Bitmap>
          <X>71</X>
          <Y>4</Y>
          <displayCondition>
            <conditionType>hasIM</conditionType>
          </displayCondition>
        </DisplayBitmap>
        <DisplayBitmap isfile="true" isflash="true" bgcolor="None" >
          <Bitmap>/app/resource/icon/im2.bmp</Bitmap>
          <X>71</X>
          <Y>4</Y>
          <displayCondition>
            <conditionType>hasIM</conditionType>
          </displayCondition>
        </DisplayBitmap>
        <DisplayBitmap isfile="true" bgcolor="Light5" >
          <Bitmap>/app/resource/icon/im_vm1.bmp</Bitmap>
          <X>71</X>
          <Y>4</Y>
          <displayCondition>
            <conditionType>hasVM_IM</conditionType>
          </displayCondition>
        </DisplayBitmap>
        <DisplayBitmap isfile="true" isflash="true" bgcolor="None" >
          <Bitmap>/app/resource/icon/im_vm2.bmp</Bitmap>
          <X>71</X>
          <Y>4</Y>
          <displayCondition>
            <conditionType>hasVM_IM</conditionType>
          </displayCondition>
        </DisplayBitmap>

      </DisplayElement>
    </Account>
  </LeftStatusBar>
  <SoftkeyBar>
    <Layout height="22" >

      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/etc/softkey_bg.bmp</Bitmap>
        <X>0</X>
        <Y>1</Y>
      </DisplayBitmap>
      <DisplayList>
        <X>2</X>
        <Y>4</Y>
      </DisplayList>

    </Layout>
    <ButtonShape id="0" width="79" height="17">
      <DisplayElement>
        <DisplayBitmap isfile="true">
          <Bitmap>/app/resource/etc/softkey_button_b.bmp</Bitmap>
          <X>0</X>
          <Y>0</Y>
        </DisplayBitmap>
      </DisplayElement>
      <DisplayElement>
        <DisplayString font="unifont" halign="center" color="White" bgcolor="Black" width="75">
          <DisplayStr>$A</DisplayStr>
          <X>1</X>
          <Y>2</Y>
        </DisplayString>
      </DisplayElement>
    </ButtonShape>
    <ButtonShape id="1" width="79" >
      <DisplayElement>
        <DisplayBitmap isfile="true">
          <Bitmap>/app/resource/etc/softkey_button_w.bmp</Bitmap>
          <X>0</X>
          <Y>0</Y>
        </DisplayBitmap>
      </DisplayElement>
      <DisplayElement>
        <DisplayString font="unifont" halign="left" color="Black" bgcolor="White" width="70">
          <DisplayStr>$A</DisplayStr>
          <X>1</X>
          <Y>2</Y>
        </DisplayString>
      </DisplayElement>
    </ButtonShape>

  </SoftkeyBar>





  <IdleScreen>

    <ShowStatusLine>true</ShowStatusLine>

    <!-- TOP -->
    <DisplayElement>
      <!-- frame -->
      <DisplayRectangle x="1" y="0" width="230" height="1" bgcolor="Light6" ></DisplayRectangle>
      <DisplayRectangle x="1" y="2" width="230" height="33" bgcolor="White" fgcolor="Light6"></DisplayRectangle>
      <DisplayRectangle x="1" y="35" width="230" height="1" bgcolor="Light4" ></DisplayRectangle>

      <!-- WEATHER -->
      <DisplayBitmap isfile="true" isrenew="true">
        <Bitmap>/tmp/weather.bmp</Bitmap>
        <!--<Bitmap>/app/resource/weather/mostly_cloudy_night.bmp</Bitmap>-->
        <X>199</X>
        <Y>2</Y>
      </DisplayBitmap>

      <!-- DATE -->
      <DisplayString font="bold" fgcolor="White" bgcolor="Light6" width="194" >
        <DisplayStr>$f</DisplayStr>
        <X>2</X>
        <Y>3</Y>
      </DisplayString>
      <!-- IP -->
      <DisplayString font="unifont" fgcolor="White" bgcolor="Light6" width="145" >
        <DisplayStr>$I</DisplayStr>
        <X>2</X>
        <Y>20</Y>
      </DisplayString>
      <!-- TIME -->
      <DisplayString font="unifont" halign="right" bgcolor="White" fgcolor="Light6" width="50" height="13" renew-rate="second">
        <DisplayStr>$T</DisplayStr>
        <X>147</X>
        <Y>20</Y>
      </DisplayString>
    </DisplayElement>

    <DisplayElement>
      <DisplayBitmap isfile="flase">
        <Bitmap>Qk1mBQAAAAAAAD4AAAAoAAAAiAAAAEIAAAABAAEAAAAAACgFAAATCwAAEwsAAAIAAAAAAAAA
AAAAAP///wD//////////////////////wAAAP//////////////////////AAAA////////
//////////////8AAAD//////////////////////wAAAP//////////////////////AAAA
//////////////////////8AAAD//////////////////////wAAAP/8AH/////8AP/wA///
//ADAAAA/+AAD////8AAD/gB////4AMAAAD/gAAD///+AAAD/AD////gBwAAAP4AAAD///gA
AAD8AH///8APAAAA/AAAAH//8AAAAD4AP///gA8AAAD4AAAAP//AAAAAHwAf//8AHwAAAPgA
AAAf/4AAeAAfgA///gA/AAAA8AAAAA//AA//gB/AD//8AH8AAADgADgAD/4AP//wH8AH//wA
/wAAAOAB/wAH/AD///wf4AP/+AD/AAAAwAP/gAf4Af///h/wAf/wAf8AAADAB//AB/AD////
n/gA/+AD/wAAAMAP/+AD8A/////f/AB/wAf/AAAAwA//4APgD//////+AH+AD/8AAACAD//g
A+Af//////4AP4Af/wAAAIAf/+ADwD///////wAfAB//AAAAgB//4APAf////+//gA4AP/8A
AACAH//gA4B/////5//ABAB//wAAAP///+ADgP/////j/+AAAP//AAAA////4AOA/////+H/
4AAB//8AAAD////ABwD/////4f/wAAH//wAAAP///4AHAf/////g//gAA///AAAA///8AA8B
/////+B//AAH//8AAAD//wAADwH/////4D/+AA///wAAAP//AAAfAf/////gH/8AH///AAAA
//8AAD8B/////+AP/wAf//8AAAD//wAA/wH/////4B/+AA///wAAAP//AAP/Af/////gP/wA
B///AAAA//8AAP8B/////+B/+AAD//8AAAD//wAAfwH/////4P/wAAP//wAAAP//+AA/AP//
///h//AAAf//AAAA////AB+A/////+P/4AAA//8AAAD///+AH4D/////4//ABAB//wAAAP//
/8APgH/////n/4AOAD//AAAA4A//wA/Af////+//AB8AH/8AAADgD//AD8A///////4AP4Af
/wAAAOAP/8AP4B///////gB/gA//AAAA4Af/wA/gD//////8AH/AB/8AAADgB//AD/AP////
3/gA/+AD/wAAAOAD/8AP8AP///+f8AH/8AH/AAAA8AP/gA/4Af///h/gA//4AP8AAADwAf8A
D/wA///8H+AH//gA/wAAAPgAOAAf/gA///AfwAf//AB/AAAA+AAAAB//AA//gB+AD//+AD8A
AAD8AAAAP/+AAHAAHwAf//8AHwAAAP4AAAB//8AAAAAeAD///4APAAAA/gAAAP//8AAAADwA
f///wA8AAAD/gAAB///8AAAA/AD////ABwAAAP/AAAP///8AAAH4AP///+ADAAAA//AAD///
/8AAD/AB////8AMAAAD//gB//////AD//////////wAAAP//////////////////////AAAA
//////////////////////8AAAD//////////////////////wAAAP//////////////////
////AAAA//////////////////////8AAAD//////////////////////wAAAP//////////
////////////AAAA//////////////////////8AAAA=</Bitmap>
        <X>40</X>
        <Y>50</Y>
      </DisplayBitmap>
    </DisplayElement>


    <!-- ICONS -->
    <DisplayElement>
      <!-- WRITING -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/icon_save.bmp</Bitmap>
        <X>213</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>writing</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <!-- DND -->
      <DisplayBitmap isfile="true" renew-rate="second">
        <Bitmap>/app/resource/icon/dnd2.bmp</Bitmap>
        <X>213</X>
        <Y>37</Y>
        <displayCondition>
          <customCondition valueToCompare="#dnd" compareOP="eq" value="1"></customCondition>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true" renew-rate="second">
        <Bitmap>/app/resource/icon/dnd.bmp</Bitmap>
        <X>213</X>
        <Y>37</Y>
        <displayCondition>
          <customCondition valueToCompare="#dnd" compareOP="eq" value="1"></customCondition>
        </displayCondition>
      </DisplayBitmap>
      <!-- NETWORK DOWN -->
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/network_down2.bmp</Bitmap>
        <X>213</X>
        <Y>37</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/network_down.bmp</Bitmap>
        <X>213</X>
        <Y>37</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <!-- CORE DUMP -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/coredump.bmp</Bitmap>
        <X>1</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>coredump</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <!-- CALL FORWARDED -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/fwd_noanswer.bmp</Bitmap>
        <X>195</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>delayedFwded</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/fwd_busy.bmp</Bitmap>
        <X>195</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>busyFwded</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/fwd_busy_noanswer.bmp</Bitmap>
        <X>195</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>busyNoAnswerFwded</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/fwd_all.bmp</Bitmap>
        <X>195</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>callFwded</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <!-- KEYPAD LOCK -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/lock_g.bmp</Bitmap>
        <X>213</X>
        <Y>70</Y>
        <displayCondition>
          <conditionType>keypadLock</conditionType>
        </displayCondition>
      </DisplayBitmap>

      <!-- Headset -->
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/empty.bmp</Bitmap>
        <X>177</X>
        <Y>37</Y>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/headset.bmp</Bitmap>
        <X>177</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>headsetMode</conditionType>
        </displayCondition>
      </DisplayBitmap>

      <!-- MISSED CALLED -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/miss2.bmp</Bitmap>
        <X>159</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/miss.bmp</Bitmap>
        <X>159</X>
        <Y>37</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <DisplayElement>
      <DisplayString font = "unifont" halign="center" width="228">
        <DisplayStr>$j</DisplayStr>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>hasFowardedCallLog</conditionType>
        </displayCondition>
      </DisplayString>
    </DisplayElement>

    <DisplayElement>
      <DisplayString font="unifont" halign="center" width="228">
        <DisplayStr>$c</DisplayStr>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayString>
    </DisplayElement>

    <!-- 5v error -->
    <DisplayElement>

      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/etc/whitebox_small.bmp</Bitmap>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>wrongPower</conditionType>
        </displayCondition>
      </DisplayBitmap>

      <DisplayString font="unifont" halign="center">
        <DisplayStr>$v</DisplayStr>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>wrongPower</conditionType>
        </displayCondition>
      </DisplayString>
    </DisplayElement>

    <!-- 5v error -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/etc/whitebox_small.bmp</Bitmap>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>kdump</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayString font="unifont" halign="center" width="228">
        <DisplayStr>kdump</DisplayStr>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>kdump</conditionType>
        </displayCondition>
      </DisplayString>
    </DisplayElement>
    <!-- application crashed -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/etc/whitebox_small.bmp</Bitmap>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>crash</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayString font="unifont" halign="center" width="228">
        <DisplayStr>$+1512</DisplayStr>
        <X>0</X>
        <Y>119</Y>
        <displayCondition>
          <conditionType>crash</conditionType>
        </displayCondition>
      </DisplayString>
    </DisplayElement>




    <!-- NFS OK 
		<DisplayBitmap isfile="true">
			<Bitmap>/app/resource/icon/nfs_ok.bmp</Bitmap>
			<X>23</X>
			<Y>37</Y>
            <displayCondition>
                <conditionType>nfsMountOk</conditionType>
            </displayCondition>
		</DisplayBitmap>
		<DisplayBitmap isfile="true">
			<Bitmap>/app/resource/icon/nfs_failed.bmp</Bitmap>
			<X>23</X>
			<Y>37</Y>
            <displayCondition>
                <conditionType>nfsMountFailed</conditionType>
            </displayCondition>
		</DisplayBitmap>
		-->




    <SoftKeys>
      <SoftKey useshapeid="1">
        <Icon textoffset="18" x="3" y="4" isfile="true">/app/resource/icon/screen1.bmp</Icon>
        <Action>
          <SwitchSCR/>
        </Action>
        <displayCondition>
          <conditionType>SubScreen</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <XmlService/>
        </Action>
        <displayCondition>
          <conditionType>XmlApp</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <SignIn/>
        </Action>
        <displayCondition>
          <conditionType>signIn</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <SignOut/>
        </Action>
        <displayCondition>
          <conditionType>signOut</conditionType>
        </displayCondition>
      </SoftKey>
      <!--<SoftKey>
        <Action>
          <NewCall/>
        </Action>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </SoftKey>-->
      <SoftKey>
        <Action>
          <BackSpace/>
        </Action>
        <displayCondition>
          <conditionType>backSpace</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <CANCEL/>
        </Action>
        <displayCondition>
          <conditionType>backSpace</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <MissedCalls/>
        </Action>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <FwdedCalls/>
        </Action>
        <displayCondition>
          <conditionType>hasFowardedCallLog</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <FwdAll/>
        </Action>
        <displayCondition>
          <conditionType>callFwdCancelled</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <CancelFwd/>
        </Action>
        <displayCondition>
          <conditionType>callFwded</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <Redial/>
        </Action>
        <displayCondition>
          <conditionType>hasDialedCalllog</conditionType>
        </displayCondition>
      </SoftKey>
    </SoftKeys>
  </IdleScreen>

  <IdleScreen>
    <ScreenShow>weatherShow</ScreenShow>
    <ShowStatusLine>true</ShowStatusLine>



    <!-- DND -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/dnd2.bmp</Bitmap>
        <X>2</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>dnd</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/dnd.bmp</Bitmap>
        <X>2</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>dnd</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- NETWORK DOWN -->
    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/network_down2.bmp</Bitmap>
        <X>22</X>
        <Y>0</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/network_down.bmp</Bitmap>
        <X>22</X>
        <Y>0</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- Headset -->
    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/empty.bmp</Bitmap>
        <X>42</X>
        <Y>0</Y>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/headset.bmp</Bitmap>
        <X>42</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>headsetMode</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- CALL FORWARDED -->
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_noanswer.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>delayedFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_busy.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>busyFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_busy_noanswer.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>busyNoAnswerFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_all.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>callFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>

    <!-- MISSED CALLED -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/miss2.bmp</Bitmap>
        <X>82</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/miss.bmp</Bitmap>
        <X>82</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <!-- NUM OF MISSING CALL -->
      <DisplayString font="numberfont" color="Dark2" height="11" renew-rate="minute">
        <DisplayStr>$G</DisplayStr>
        <X>98</X>
        <Y>5</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayString>
      <!-- CORE DUMP -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/coredump.bmp</Bitmap>
        <X>158</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>coredump</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <DisplayElement>
      <DisplayString font="unifont" halign="right" width="50">
        <DisplayStr>$T</DisplayStr>
        <X>177</X>
        <Y>0</Y>
      </DisplayString>
    </DisplayElement>



    <!-- NUM OF RING VOLUMN 
        <DisplayString font="numberfont">
            <DisplayStr>$r</DisplayStr>
            <X>206</X>
            <Y>8</Y>
        </DisplayString>
		-->

    <!-- frame -->


    <DisplayElement>

      <!-- WEATHER -->
      <DisplayBitmap isfile="true" isrenew="true">
        <Bitmap>/tmp/weather.bmp</Bitmap>
        <!--<Bitmap>/app/resource/weather/mostly_cloudy_night.bmp</Bitmap>-->
        <X>4</X>
        <Y>38</Y>
      </DisplayBitmap>
      <DisplayRectangle x="1" y="16" width="230" height="17" bgcolor="Black" fgcolor="Dark5" shadow-color="Light1"></DisplayRectangle>
      <DisplayRectangle x="1" y="16" width="230" height="17" bgcolor="Black" fgcolor="Dark5" shadow-color="Light1"></DisplayRectangle>

      <DisplayString font="unifont" color="White" bgcolor="Black" fgcolor="Dark5">
        <DisplayStr>$L, $S, $g</DisplayStr>
        <X>3</X>
        <Y>17</Y>

      </DisplayString>
      <DisplayString font="unifont" color="Dark3">
        <DisplayStr>$+1215: $w </DisplayStr>
        <X>40</X>
        <Y>38</Y>
      </DisplayString>
      <DisplayString font="unifont" color="Dark3">
        <DisplayStr>$+1152: $x%</DisplayStr>
        <X>40</X>
        <Y>53</Y>
      </DisplayString>
      <DisplayString font="unifont" color="Dark3">
        <DisplayStr>$0t</DisplayStr>
        <X>40</X>
        <Y>68</Y>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </DisplayString>
    </DisplayElement>





    <!-- Weather Forcast -->
    <DisplayElement>
      <DisplayRectangle x="1" y="86" width="230" height="17" bgcolor="Black" fgcolor="Dark5" shadow-color="Light1"></DisplayRectangle>
      <DisplayString font="unifont" color="White" bgcolor="Black" fgcolor="Dark5">
        <DisplayStr>$+1216</DisplayStr><!---$+1153-->
        <X>3</X>
        <Y>87</Y>>
      </DisplayString>

    </DisplayElement>

    <DisplayElement>
      <!-- WEATHER -->
      <DisplayBitmap isfile="true" isrenew="true">
        <Bitmap>/tmp/weather_0.bmp</Bitmap>
        <X>4</X>
        <Y>105</Y>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isrenew="true">
        <Bitmap>/tmp/weather_1.bmp</Bitmap>
        <X>123</X>
        <Y>105</Y>
      </DisplayBitmap>

      <DisplayString font="unifont" color="Dark3">
        <DisplayStr>$+1217</DisplayStr>
        <X>40</X>
        <Y>105</Y>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </DisplayString>
      <DisplayString font="unifont" color="Dark3">
        <DisplayStr>$0l - $0h</DisplayStr>
        <X>40</X>
        <Y>120</Y>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </DisplayString>

      <DisplayString font="unifont" color="Dark3">
        <DisplayStr>$+1153</DisplayStr>
        <X>163</X>
        <Y>105</Y>
      </DisplayString>
      <DisplayString font="unifont" color="Dark3">
        <DisplayStr>$1l - $1h</DisplayStr>
        <X>163</X>
        <Y>120</Y>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </DisplayString>
    </DisplayElement>

    <SoftKeys>
      <SoftKey useshapeid="1">
        <Icon textoffset="18" x="3" y="4" isfile="true">/app/resource/icon/screen2.bmp</Icon>
        <Action>
          <SwitchSCR/>
        </Action>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </SoftKey>

    </SoftKeys>
  </IdleScreen>

  <IdleScreen>
    <ScreenShow>stockShow</ScreenShow>
    <ShowStatusLine>true</ShowStatusLine>

    <!-- 
      Process 
    -->
    <!--<DisplayConditionBlock x="0" y="0">
      <displayCondition conditionType="dnd" negate= "true">        
        <displayContent>
          
        </displayContent>
      </displayCondition>
      
    </DisplayConditionBlock>-->
    <!-- @@TOP_STATUS@@ -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/dnd2.bmp</Bitmap>
        <X>2</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>dnd</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/dnd.bmp</Bitmap>
        <X>2</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>custom</conditionType>
          <customCondition valueToCompare="#dnd" compareOP="eq" value="1"></customCondition>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- NETWORK DOWN -->
    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/network_down2.bmp</Bitmap>
        <X>22</X>
        <Y>0</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/network_down.bmp</Bitmap>
        <X>22</X>
        <Y>0</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- Headset -->
    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/empty.bmp</Bitmap>
        <X>42</X>
        <Y>0</Y>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/headset.bmp</Bitmap>
        <X>42</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>headsetMode</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- CALL FORWARDED -->
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_noanswer.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>delayedFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_busy.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>busyFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_busy_noanswer.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>busyNoAnswerFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_all.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>callFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>

    <!-- MISSED CALLED -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/miss2.bmp</Bitmap>
        <X>82</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/miss.bmp</Bitmap>
        <X>82</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <!-- NUM OF MISSING CALL -->
      <DisplayString font="numberfont" color="Dark2" height="11" renew-rate="minute">
        <DisplayStr>$G</DisplayStr>
        <X>98</X>
        <Y>5</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayString>
      <!-- CORE DUMP -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/coredump.bmp</Bitmap>
        <X>158</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>coredump</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <DisplayElement>
      <DisplayString font="unifont" halign="right" width="50" renew-rate="second">
        <DisplayStr>$T</DisplayStr>
        <X>177</X>
        <Y>0</Y>
      </DisplayString>
    </DisplayElement>


    <DisplayElement>
      <DisplayRectangle x="1" y="16" width="230" height="17" bgcolor="Black" fgcolor="Dark5" shadow-color="Light1"></DisplayRectangle>
      <DisplayString font="unifont" color="White" bgcolor="Black" fgcolor="Dark5">
        <DisplayStr>$+1218</DisplayStr>
        <X>3</X>
        <Y>17</Y>
      </DisplayString>
    </DisplayElement>

    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/refresh_i.bmp</Bitmap>
        <X>213</X>
        <Y>19</Y>
      </DisplayBitmap>
      <DisplayString font="unifont" color="Light1" halign="right" width="50" bgcolor="Black" fgcolor="Dark5" renew-rate="minute">
        <DisplayStr>$*T</DisplayStr>
        <X>161</X>
        <Y>17</Y>
      </DisplayString>
    </DisplayElement>
    <!-- LIST BEGIN HERE -->
    <!-- pagingRecordRefreshIntervalRate: in millisecond, equal or less than 0  means no automatic refresh for additional records -->
    <DisplaySet id="stock" x="1" y="35" maxNumberOfRecord="6" pagingRecordRefreshIntervalRate="3000" dataSourceName="$Stock" displayDirection="vertical">
      <ItemTemplate height="17">
        <DisplayRectangle x="2" y="15" width="222" height="1" bgcolor="Gray"></DisplayRectangle>
        <DisplayRectangle x="0" y="0" width="226" height="15" color="White" bgcolor="White" border-color="Light2">
          <displayCondition negate="true">
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayRectangle>
        <DisplayRectangle x="0" y="0" width="226" height="15" color="White" bgcolor="White" fgcolor="Light5" border-color="Light2">
          <displayCondition>
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayRectangle>



        <!--<DisplayBitmap isfile="true">
          <Bitmap>/app/resource/etc/line_bg_w.bmp</Bitmap>
          <X>0</X>
          <Y>0</Y>
          <displayCondition>
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayBitmap>-->
        <!--<DisplayBitmap isfile="true">
          <Bitmap>/app/resource/etc/line_bg_g.bmp</Bitmap>
          <X>0</X>
          <Y>0</Y>
          <displayCondition negate="true">
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayBitmap>-->

        <DisplayBitmap isfile="true">
          <Bitmap>/app/resource/icon/stock_up.bmp</Bitmap>
          <X>164</X>
          <Y>1</Y>
          <displayCondition>
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayBitmap>
        <DisplayBitmap isfile="true">
          <Bitmap>/app/resource/icon/stock_down.bmp</Bitmap>
          <X>164</X>
          <Y>1</Y>
          <displayCondition negate="true">
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayBitmap>

        <!-- symbol -->
        <DisplayString font="unifont" width="94" height="13" bgcolor="White" fgcolor="Light5">
          <DisplayStr>$*c</DisplayStr>
          <!-- Change to name $*c-->
          <X>2</X>
          <Y>1</Y>
        </DisplayString>

        <!-- 
          ConditionalDisplay will override the position of the display object (when given)
          it should be able to save the 
        -->
        <!--<ConditionalDisplay x="" y="" width="" height="">
          <Condition type="stockValueIncrease" negate="true">
            
            
          </Condition>
          
        </ConditionalDisplay>-->
        <DisplayString font="unifont" halign="right" width="50" height="13">
          <DisplayStr>$*p</DisplayStr>
          <!-- last time updated stock value -->
          <X>110</X>
          <Y>1</Y>
        </DisplayString>

        <DisplayString font="unifont" halign="right" color="Dark3" width="45" height="13">
          <DisplayStr>$*C</DisplayStr>
          <!--  stock changed value -->
          <X>180</X>
          <Y>1</Y>
          <displayCondition>
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayString>
        <DisplayString font="unifont" halign="right" color="Black" width="45" height="13">
          <DisplayStr>$*C</DisplayStr>
          <!--  stock changed value -->
          <X>180</X>
          <Y>1</Y>
          <displayCondition negate="true">
            <conditionType>stockValueIncrease</conditionType>
          </displayCondition>
        </DisplayString>

      </ItemTemplate>
    </DisplaySet>
    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/arrow_up.bmp</Bitmap>
        <X>98</X>
        <Y>35</Y>
        <displayCondition>
          <conditionType>scrollUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/arrow_down.bmp</Bitmap>
        <X>98</X>
        <Y>131</Y>
        <displayCondition>
          <conditionType>scrollDown</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- $*T > stock update time -->
    <SoftKeys>
      <SoftKey useshapeid="1">
        <Icon textoffset="18" x="3" y="4" isfile="true">/app/resource/icon/screen3.bmp</Icon>
        <Action>
          <SwitchSCR/>
        </Action>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </SoftKey>
      <SoftKey>
        <Action>
          <RefreshStock/>
        </Action>
        <displayCondition>
          <conditionType>alwaysDisplay</conditionType>
        </displayCondition>
      </SoftKey>
    </SoftKeys>
  </IdleScreen>


  <IdleScreen>
    <ScreenShow>currencyShow</ScreenShow>
    <ShowStatusLine>true</ShowStatusLine>

    <!-- @@TOP_STATUS@@ -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/dnd2.bmp</Bitmap>
        <X>2</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>dnd</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/dnd.bmp</Bitmap>
        <X>2</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>dnd</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- NETWORK DOWN -->
    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/network_down2.bmp</Bitmap>
        <X>22</X>
        <Y>0</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/network_down.bmp</Bitmap>
        <X>22</X>
        <Y>0</Y>
        <displayCondition negate="true">
          <conditionType>networkUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- Headset -->
    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/empty.bmp</Bitmap>
        <X>42</X>
        <Y>0</Y>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/headset.bmp</Bitmap>
        <X>42</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>headsetMode</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <!-- CALL FORWARDED -->
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_noanswer.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>delayedFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_busy.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>busyFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_busy_noanswer.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>busyNoAnswerFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>
    <DisplayBitmap isfile="true">
      <Bitmap>/app/resource/icon/fwd_all.bmp</Bitmap>
      <X>62</X>
      <Y>0</Y>
      <displayCondition>
        <conditionType>callFwded</conditionType>
      </displayCondition>
    </DisplayBitmap>

    <!-- MISSED CALLED -->
    <DisplayElement>
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/miss2.bmp</Bitmap>
        <X>82</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" isflash="true">
        <Bitmap>/app/resource/icon/miss.bmp</Bitmap>
        <X>82</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <!-- NUM OF MISSING CALL -->
      <DisplayString font="numberfont" color="Dark2" height="11" renew-rate="minute">
        <DisplayStr>$G</DisplayStr>
        <X>98</X>
        <Y>5</Y>
        <displayCondition>
          <conditionType>missCall</conditionType>
        </displayCondition>
      </DisplayString>
      <!-- CORE DUMP -->
      <DisplayBitmap isfile="true">
        <Bitmap>/app/resource/icon/coredump.bmp</Bitmap>
        <X>158</X>
        <Y>0</Y>
        <displayCondition>
          <conditionType>coredump</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>

    <DisplayElement>
      <DisplayString font="unifont" halign="right" width="50">
        <DisplayStr>$T</DisplayStr>
        <X>177</X>
        <Y>0</Y>
      </DisplayString>
    </DisplayElement>


    <DisplayElement>
      <DisplayRectangle x="1" y="16" width="230" height="17" bgcolor="Black" fgcolor="Dark5" shadow-color="Light1"></DisplayRectangle>
      <DisplayString font="unifont" color="White" bgcolor="Black" fgcolor="Dark5">
        <DisplayStr>$+1220</DisplayStr>
        <X>3</X>
        <Y>17</Y>
      </DisplayString>
    </DisplayElement>

    <!-- LIST BEGIN HERE -->
    <DisplaySet id="currency" x="1" y="35" maxNumberOfRecord="6" dataSourceName="$Currency" displayDirection="vertical">
      <ItemTemplate height="17">
        <DisplayRectangle x="2" y="15" width="222" height="1" bgcolor="Gray"></DisplayRectangle>
        <DisplayRectangle x="0" y="0" width="226" height="15" bgcolor="White" border-color="Light2"></DisplayRectangle>



        <!-- symbol -->
        <DisplayString font="unifont" width="100" height="13" bgcolor="Light5">
          <DisplayStr> $*x - $*y</DisplayStr>
          <X>1</X>
          <Y>1</Y>
        </DisplayString>

        <DisplayString font="unifont" width="50" height="13" halign="right" >
          <DisplayStr>$*r</DisplayStr>
          <X>175</X>
          <Y>1</Y>
        </DisplayString>


      </ItemTemplate>
    </DisplaySet>

    <DisplayElement>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/arrow_up.bmp</Bitmap>
        <X>98</X>
        <Y>35</Y>
        <displayCondition>
          <conditionType>scrollUp</conditionType>
        </displayCondition>
      </DisplayBitmap>
      <DisplayBitmap isfile="true" >
        <Bitmap>/app/resource/icon/arrow_down.bmp</Bitmap>
        <X>98</X>
        <Y>131</Y>
        <displayCondition>
          <conditionType>scrollDown</conditionType>
        </displayCondition>
      </DisplayBitmap>
    </DisplayElement>
    <!-- $*T > stock update time -->
    <SoftKeys>
      <SoftKey useshapeid="1">
        <Icon textoffset="18" x="3" y="4" isfile="true">/app/resource/icon/screen4.bmp</Icon>
        <Action>
          <SwitchSCR/>
        </Action>
      </SoftKey>
      <SoftKey>
        <Action>
          <ReverseCurrency/>
        </Action>
      </SoftKey>
      <SoftKey>
        <Action>
          <RefreshCurrency/>
        </Action>
      </SoftKey>
    </SoftKeys>
  </IdleScreen>






</Screen>
