<?xml version="1.0" encoding="utf-8" ?>
<Layout>
    <Image name="bkg" x="0" y="0" image="/interface/bkg_4_3_book.jpg" />
    
    <GPSharedActions>
        <Action type="0" btn="12" cmd="press"/>
    </GPSharedActions>

    <GPToolbarController>
        <Action type="0" btn="2" cmd="left"/>
        <Action type="0" btn="3" cmd="right"/>
        <Action type="0" btn="12" cmd="press"/>
    
        <Container class="GPButtonsContainer"/>
    
        <Item path="../*/back" scale="1 1" cID="def_circle"/>
        <Item path="../*/advertising" scale="1 1" cID="def_circle"/>
        <Item path="../*/restore" scale="1 1" cID="def_circle"/>  
    </GPToolbarController>
    
    <GPScrollViewController>
        <Action type="1" axis="1" use_val="1" val="-0.5" cmd="up"/>
        <Action type="1" axis="1" use_val="1" val="0.5" cmd="down"/>
        <Action type="1" axis="0" use_val="1" val="-0.5" cmd="left"/>
        <Action type="1" axis="0" use_val="1" val="0.5" cmd="right"/>
        <Action type="0" btn="12" cmd="press"/>

        <Container class="GPGraphContainer"/>
        
        <Item path="../*/inapp2/buy_btn" scale="2 1.5"/>
        <Item path="../*/inapp3/buy_btn" scale="2 1.5"/>
        <Item path="../*/inappStarterKit/buy_btn" scale="2 1.5"/>
        <Item path="../*/inapp4_afterInApp/buy_btn" scale="2 1.5"/>
        <Item path="../*/inapp4/buy_btn" scale="2 1.5"/>
        <Item path="../*/inapp5/buy_btn" scale="2 1.5"/>
        <Item path="../*/inapp6/buy_btn" scale="2 1.5"/>
        <Item path="../*/inapp7/buy_btn" scale="2 1.5"/>
        <Item path="../*/inapp8/buy_btn" scale="2 1.5"/>
        <Item path="../*/fortumo/buy_btn" scale="2 1.5"/>
        <Item path="../*/noads/inappNoAds/buy_btn" scale="2 1.5"/>
        <Item path="../*/free0/btn" scale="2 1.5"/>
        <Item path="../*/free1/btn" scale="2 1.5"/>
        <Item path="../*/free2/btn" scale="2 1.5"/>
        <Item path="../*/free3/btn" scale="2 1.5"/>
        <Item path="../*/free4/btn" scale="2 1.5"/>
        
        <ScrollView path="../left_page"/>
    </GPScrollViewController>
    
    <Widget name="left_page" x="6" y="67"  width="510" height="530">
        <ShowStarterKit x="0" y="20">
            <InAppWidget name="inapp2" commodity="inapp2">
                <Button name="buy_btn_invisible" x="30" y="30" width="369" height="60">
                    <Click cmd="buy_energy" param="inapp2" />
                </Button>                
                <Image name="bkg" x="52" y="-8" image="energy_slot_00.png"/>
                <Text name="manna" x="126" y="46" width="60" text="100" height="20" font="font" align="C" color="FFFFFFFF"/>

                <BonusPackWidget name="abox" x="213" y="-4" xml="anim_abox.xml" />

                <Text name="old_price" x="349" y="10" width="106" height="20" text="" font="font" align="C" color="FF7b7b7b"/>
                <Image name="cross_out" x="364" y="16" image="sale_line_little.png"/>                

                <Button name="buy_btn" x="310" y="28" image="/interface/button_small_orange.png" scale="0.9"> 
                    <Text name="price" x="5" y="19" width="160" text="100" height="20" font="medium" align="C" color="FFfdf406"/>
                    <Click cmd="buy_energy" param="inapp2" />
                </Button>

                <AnimController autoPlay="1">
                    <ActionChain>            
                        <EfxWait delay="0.0"/>
                        <ActionGroup> 
                            <aEfxMove duration="0.3" from_x="-200" to_x="0" mode="ftx" modifier="sindiminish"/>
                            <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                            <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        </ActionGroup>
                    </ActionChain>
                </AnimController>
                
                <InappTimer name="timer" x="348" y="81">
                    <Text name="time" x="0" y="0" width="100" height="24" font="author" text="" align="C" color="FFFFFFFF"/>
                </InappTimer>                    
            </InAppWidget>

            <InAppWidget name="inappStarterKit" commodity="inappStarterKit">
                <Button name="buy_btn_invisible" x="30" y="30" width="369" height="60">
                    <Click cmd="buy_energy" param="inappStarterKit" />
                </Button>
                <Image name="bkg" x="52" y="-8" image="energy_slot_00.png"/>
                <Text name="manna" x="126" y="46" width="60" text="100" height="20" font="font" align="C" color="FFFFFFFF"/>

                <BonusPackWidget name="abox" x="213" y="-4" xml="anim_abox.xml" />

                <Button name="buy_btn" x="310" y="28" image="/interface/button_small_orange.png" scale="0.9">
                    <Text name="price" x="5" y="19" width="160" text="100" height="20" font="medium" align="C" color="FFfdf406"/>
                    <Click cmd="buy_energy" param="inappStarterKit" />
                </Button>

                <StarterKitTimer x="348" y="81">
                    <Text name="time" x="0" y="0" width="100" height="24" font="author" text="" align="C" color="FFFFFFFF"/>
                </StarterKitTimer>

                <AnimController autoPlay="1">
                    <ActionChain>
                        <EfxWait delay="0.0"/>
                        <ActionGroup>
                            <aEfxMove duration="0.3" from_x="-200" to_x="0" mode="ftx" modifier="sindiminish"/>
                            <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />
                            <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        </ActionGroup>
                    </ActionChain>
                </AnimController>
            </InAppWidget>
        </ShowStarterKit>

        <InAppWidget name="inapp3" x="0" y="120" commodity="inapp3" sale_base="inapp2">
            <Button name="buy_btn_invisible" x="30" y="30" width="369" height="60">
                <Click cmd="buy_energy" param="inapp3" />
            </Button>        
            <Image name="bkg" x="30" y="-11" image="energy_slot_01.png"/>
            <Text name="manna" x="133" y="46" width="60" text="500" height="20" font="font" align="C" color="FFFFFFFF"/>

            <BonusPackWidget name="abox" x="213" y="-4" xml="anim_abox.xml" />

            <Text name="old_price" x="349" y="10" width="106" height="20" text="" font="font" align="C" color="FF7b7b7b"/>
            <Image name="cross_out" x="364" y="16" image="sale_line_little.png"/>                

            <Button name="buy_btn" x="310" y="28" image="/interface/button_small_orange.png" scale="0.9"> 
                <Text name="price" x="5" y="19" width="160" text="500" height="20" font="medium" align="C" color="FFfdf406"/>
                <Click cmd="buy_energy" param="inapp3" />
            </Button>

            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.1"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="-200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            
            <InappTimer name="timer" x="348" y="81">
                <Text name="time" x="0" y="0" width="100" height="24" font="author" text="" align="C" color="FFFFFFFF"/>
            </InappTimer>                
        </InAppWidget>

        <InAppWidget name="inapp4" x="0" y="220" commodity="inapp4" sale_base="inapp2">
            <Button name="buy_btn_invisible" x="30" y="30" width="369" height="60">
                <Click cmd="buy_energy" param="inapp4" />
            </Button>        
            <Image name="bkg" x="30" y="-11" image="energy_slot_02.png"/>
            <Text name="manna" x="138" y="48" width="60" text="1000" height="20" font="font" align="C" color="FFFFFFFF"/>

            <BonusPackWidget name="abox" x="213" y="-4" xml="anim_abox.xml" />

            <Text name="old_price" x="349" y="10" width="106" height="20" text="" font="font" align="C" color="FF7b7b7b"/>
            <Image name="cross_out" x="364" y="16" image="sale_line_little.png"/>                

            <Button name="buy_btn" x="310" y="28" image="/interface/button_small_orange.png" scale="0.9"> 
                <Text name="price" x="5" y="19" width="160" text="100" height="20" font="medium" align="C" color="FFfdf406"/>
                <Click cmd="buy_energy" param="inapp4" />
            </Button>

            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.2"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="-200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            
            <InappTimer name="timer" x="348" y="81">
                <Text name="time" x="0" y="0" width="100" height="24" font="author" text="" align="C" color="FFFFFFFF"/>
            </InappTimer>                
        </InAppWidget>

        <InAppWidget name="inapp5" x="0" y="320" commodity="inapp5" sale_base="inapp2">
            <Button name="buy_btn_invisible" x="30" y="30" width="369" height="60">
                <Click cmd="buy_energy" param="inapp5" />
            </Button>        
            <Image name="bkg" x="30" y="-11" image="energy_slot_03.png"/>
            <Text name="manna" x="139" y="49" width="60" text="3000" height="20" font="font" align="C" color="FFFFFFFF"/>

            <BonusPackWidget name="abox" x="213" y="-4" xml="anim_abox.xml" />

            <Text name="old_price" x="349" y="10" width="106" height="20" text="" font="font" align="C" color="FF7b7b7b"/>
            <Image name="cross_out" x="364" y="16" image="sale_line_little.png"/>            

            <Button name="buy_btn" x="310" y="28" image="/interface/button_small_orange.png" scale="0.9"> 
                <Text name="price" x="5" y="19" width="160" text="100" height="20" font="medium" align="C" color="FFfdf406"/>
                <Click cmd="buy_energy" param="inapp5" />
            </Button>

            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.3"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="-200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>

            <InappTimer name="timer" x="348" y="81">
                <Text name="time" x="0" y="0" width="100" height="24" font="author" text="" align="C" color="FFFFFFFF"/>
            </InappTimer>                
        </InAppWidget>

        <InAppWidget name="inapp6" x="0" y="420" commodity="inapp6" sale_base="inapp2">
            <Button name="buy_btn_invisible" x="30" y="30" width="369" height="60">
                <Click cmd="buy_energy" param="inapp6" />
            </Button>        
            <Image name="bkg" x="30" y="-11" image="energy_slot_04.png"/>
            <Text name="manna" x="133" y="40" width="70" text="10000" height="20" font="font" align="C" color="FFFFFFFF"/>            

            <BonusPackWidget name="abox" x="213" y="-4" xml="anim_abox.xml" />

            <Text name="old_price" x="349" y="10" width="106" height="20" text="" font="font" align="C" color="FF7b7b7b"/>
            <Image name="cross_out" x="364" y="16" image="sale_line_little.png"/>                

            <Button name="buy_btn" x="310" y="28" image="/interface/button_small_orange.png" scale="0.9"> 
                <Text name="price" x="5" y="19" width="160" text="100" height="20" font="medium" align="C" color="FFfdf406"/>
                <Click cmd="buy_energy" param="inapp6" />
            </Button>

            <AnimController autoPlay="1">
                <ActionChain>
                    <EfxVisible visible="0"/>
                    <EfxWait delay="0.4"/>
                    <ActionGroup>
                        <aEfxMove duration="0.3" from_x="-200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>
                    </ActionGroup>
                </ActionChain>
            </AnimController>
            <InappTimer name="timer" x="348" y="81">
                <Text name="time" x="0" y="0" width="100" height="24" font="author" text="" align="C" color="FFFFFFFF"/>
            </InappTimer>                
        </InAppWidget>
    </Widget>

    <BonusList name="right_page_scroll_field" x="517" y="67" width="510" height="515" >
        <Properties>
            <Property key="ICON_VIEWOFFERS">/shop_money/sign_viewads.png</Property>
            <Property key="ICON_WATCHVIDEO">/shop_money/sign_viewads.png</Property>
            <Property key="ICON_FACEBOOK">/shop_money/sign_facebook.png</Property>
            <Property key="ICON_TWITTER">/shop_money/sign_twitter.png</Property>
            <Property key="ICON_DOWNLOAD">/shop_money/sign_download.png</Property>
            <Property key="ICON_REVIEW">/shop_money/sign_review.png</Property>
            <Property key="ICON_INVITE">/shop_money/sign_invite.png</Property>
            <Property key="ICON_SUBSCRIBE">/shop_money/sign_mail.png</Property>
        </Properties>

        <Image name="stub_image" x="40" y="40" image="pic_in_bank.png" show_if="$config.ad_inapp_bought == 1" />
        
        <ScrollView name="offer_field" x="0" y="5" width="510" height="515" clip="1" >
        
        <ShowNoAds name="noads" x="0" y="0" show_if="$device.isNoAdsInappVisible == true">
            <InAppWidget name="inappNoAds" x="0" y="20" height="110" width="510" >       
                <Button name="buy_btn_invisible" x="30" y="22" width="300" height="60">
                    <Click cmd="buy_energy" param="noads" />
                </Button>            
                <Image name="bkg" x="-5" y="15" image="ads_lock.png"  />
                
                <Button name="buy_btn" x="215" y="26" image="/interface/button_big_violet.png" scale="0.9"> 
                    <Text name="price" x="78" y="29" width="125" text="100" height="20" font="font" align="C" color="FFFFFFFF"/>
                    <Click cmd="buy_energy" param="noads" />
                </Button>
                
                <Text name="desc" x="245" y="91" width="218" text="NO_AD_DESC" height="20" font="author" align="N" color="FFFFFFFF"/>
                
                <AnimController autoPlay="1">
                    <ActionChain>            
                        <EfxVisible visible="0"/>        
                        <EfxWait delay="0.3"/>
                        <ActionGroup> 
                            <aEfxMove duration="0.3" from_x="-200" to_x="0" mode="ftx" modifier="sindiminish"/>
                            <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                            <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                            <EfxVisible visible="1"/>        
                        </ActionGroup>
                    </ActionChain>
                </AnimController>
                
            </InAppWidget>
        </ShowNoAds>
        
        <Widget name="free0" x="0" y="20" commodity="free1" energy="100" >
            <BonusPackWidget name="box" x="10" y="-5" xml="free_box.xml" />

            <Button name="btn" x="215" y="26" image="/interface/button_big_violet.png" scale="0.9"> 
                <Image name="free_icon" x="28" y="17" image="sign_twitter.png"/>
                <Text name="price" x="78" y="29" width="125" text="SHOP_TWITTER_TITLE" height="20" font="font" align="C" color="FFFFFFFF"/>
            </Button>
            <Text name="desc" x="245" y="91" width="218" text="SHOP_TWITTER_DESC" height="20" font="author" align="N" color="FFFFFFFF"/>

            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.0"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>
        </Widget>

        <Widget name="free1" x="0" y="120" commodity="free2" energy="100" >
            <BonusPackWidget name="box" x="10" y="-5" xml="free_box.xml" />

            <Button name="btn" x="215" y="26" image="/interface/button_big_violet.png" scale="0.9" > 
                <Image name="free_icon" x="28" y="17" image="sign_facebook.png"/>
                <Text name="price" x="78" y="29" width="125" text="SHOP_FACEBOOK_TITLE" height="20" font="font" align="C" color="FFFFFFFF"/>
            </Button>

            <Text name="desc" x="245" y="91" width="218" text="SHOW_FACEBOOK_DESC" height="20" font="author" align="N" color="FFFFFFFF"/>

            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.1"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>

        </Widget>

        <Widget name="free2" x="0" y="220" commodity="free3" energy="100" >
            <BonusPackWidget name="box" x="10" y="-5" xml="free_box.xml" />

            <Button name="btn" x="215" y="26" image="/interface/button_big_violet.png" scale="0.9"> 
                <Image name="free_icon" x="28" y="17" image="sign_download.png"/>
                <Text name="price" x="78" y="29" width="125" text="SHOP_DOWNLOAD_APP_TITLE" height="20" font="font" align="C" color="FFFFFFFF"/>
            </Button>

            <Text name="desc" x="245" y="91" width="218" text="SHOP_DOWNLOAD_APP_DESC" height="20" font="author" align="N" color="FFFFFFFF"/>

            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.2"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <aEfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>

        </Widget>

        <Widget name="free3" x="0" y="320" commodity="free4" energy="100" >
            <BonusPackWidget name="box" x="10" y="-5" xml="free_box.xml" />        

            <Button name="btn" x="215" y="26" image="/interface/button_big_violet.png" scale="0.9"> 
                <Image name="free_icon" x="28" y="17" image="sign_review.png"/>
                <Text name="price" x="78" y="29" width="125" text="SHOP_REVIEW_TITLE" height="20" font="font" align="C" color="FFFFFFFF"/>
            </Button>

            <Text name="desc" x="245" y="91" width="218" text="SHOP_REVIEW_DESC" height="20" font="author" align="N" color="FFFFFFFF"/>

            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.3"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <aEfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>

        </Widget>

        <Widget name="free4" x="0" y="420" commodity="free5" energy="100" >
            <BonusPackWidget name="box" x="10" y="-5" xml="free_box.xml" />

            <Button name="btn" x="215" y="26" image="/interface/button_big_violet.png" scale="0.9"> 
                <Image name="free_icon" x="28" y="17" image="sign_mail.png"/>
                <Text name="price" x="78" y="29" width="125" text="SHOP_NOTIFICATION_TITLE" height="20" font="font" align="C" color="FFFFFFFF"/>
            </Button>
            <Text name="desc" x="245" y="91" width="218" text="SHOP_NOTIFICATION_DESC" height="20" font="author" align="N" color="FFFFFFFF"/>
            <AnimController autoPlay="1">
                <ActionChain>            
                    <EfxVisible visible="0"/>        
                    <EfxWait delay="0.4"/>
                    <ActionGroup> 
                        <aEfxMove duration="0.3" from_x="200" to_x="0" mode="ftx" modifier="sindiminish"/>
                        <EfxColor duration="0.3" from="00FFFFFF" to="FFFFFFFF"  />    
                        <EfxScaleXY duration="0.3" from_x="0.5" from_y="0.5" to_x="1" to_y="1"/>
                        <EfxVisible visible="1"/>        
                    </ActionGroup>
                </ActionChain>
            </AnimController>

        </Widget>

    </ScrollView>
    
    </BonusList>

    <Widget name="status_bar" x="0" y="12" xml="/status_bar/bank_status_bar.xml"/>
    <Widget name="toolbar" x="0" y="626" xml="/toolbar/toolbar_bank.xml"/>

    <AnimController autoPlay="1">
        <ActionChain>
            <EfxPlaySound sound="store_screen_transition"/>
            <EfxSendEvent event="event_bank_open"/>
        </ActionChain>
    </AnimController>

</Layout>
