#IBOSS Product Display Script

if gSelectedProduct['ProductId'] == 267446:

    #Emitting Image8017 control
    Image8017Props = {}
    Image8017Props['FileName'] = 'Petsmart_dealer_002_20110509'
    Image8017Props['Uri'] = 'http://prtiboss01.corp.weather.com/IBOSSVirtualCatalog/PublicResourceHandler.ashx?cat=Advertising&rs=Image\\Petsmart_dealer_002_20110509.tif'
    Image8017Props['BaselineOffset'] = '0'
    Image8017Props['Height'] = '480'
    Image8017Props['Width'] = '720'
    Image8017Props['XPos'] = '0'
    Image8017Props['YPos'] = '0'
    Image8017Props['AlignVertical'] = 'None'
    Image8017Props['AlignHorizontal'] = 'None'
    Image8017Props['VariableName'] = 'Image8017'
    Image8017 = CreateImage(Image8017Props)

    if (Image8017 != None):
        p.addItem(Image8017)


    #Emitting TextBox8024 control
    TextBox8024Props = {}
    TextBox8024Props['LineSpacing'] = '0'
    TextBox8024Props['Justification'] = 'Center'
    TextBox8024Props['TextAlignVertical'] = 'Middle'
    TextBox8024Props['FontFamily'] = 'Interstate-Black'
    TextBox8024Props['FontSize'] = '42'
    TextBox8024Props['Controls'] = 'TWC.IBOSS.AdvertisingSD.PyCompiler.Producer.Controls.AbstractControlList'
    TextBox8024Props['Height'] = '222'
    TextBox8024Props['Width'] = '347'
    TextBox8024Props['XPos'] = '297'
    TextBox8024Props['YPos'] = '72'
    TextBox8024Props['AlignVertical'] = 'None'
    TextBox8024Props['AlignHorizontal'] = 'None'
    TextBox8024Props['VariableName'] = 'TextBox8024'
    TextBox8024 = CreateTextBox(TextBox8024Props)

    #Emitting Return8018 control
    Return8018Props = {}
    Return8018Props['Height'] = 'None'
    Return8018Props['Width'] = 'None'
    Return8018Props['XPos'] = 'None'
    Return8018Props['YPos'] = 'None'
    Return8018Props['AlignVertical'] = 'None'
    Return8018Props['AlignHorizontal'] = 'None'
    Return8018Props['VariableName'] = 'Return8018'
    Return8018Props['Height'] = '0'
    Return8018 = CreateReturnFlow(Return8018Props)

    if (Return8018 != None):
        TextBox8024.addItem(Return8018)

    #Emitting Txt8019 control
    Txt8019Props = {}
    Txt8019Props['Text'] = '1671 E Market St'
    Txt8019Props['FontFamily'] = 'Interstate-RegularItalic'
    Txt8019Props['FontSize'] = '24'
    Txt8019Props['Shadow'] = 'False'
    Txt8019Props['ColorA'] = '255'
    Txt8019Props['ColorR'] = '255'
    Txt8019Props['ColorG'] = '255'
    Txt8019Props['ColorB'] = '255'
    Txt8019Props['BaselineOffset'] = '4.1688'
    Txt8019Props['Height'] = '19'
    Txt8019Props['Width'] = '297'
    Txt8019Props['XPos'] = '322'
    Txt8019Props['YPos'] = '0'
    Txt8019Props['AlignVertical'] = 'None'
    Txt8019Props['AlignHorizontal'] = 'None'
    Txt8019Props['VariableName'] = 'Txt8019'
    Txt8019 = CreateTextFlow(Txt8019Props)

    if (Txt8019 != None):
        TextBox8024.addItem(Txt8019)

    #Emitting Return8020 control
    Return8020Props = {}
    Return8020Props['Height'] = 'None'
    Return8020Props['Width'] = 'None'
    Return8020Props['XPos'] = 'None'
    Return8020Props['YPos'] = 'None'
    Return8020Props['AlignVertical'] = 'None'
    Return8020Props['AlignHorizontal'] = 'None'
    Return8020Props['VariableName'] = 'Return8020'
    Return8020Props['Height'] = '0'
    Return8020 = CreateReturnFlow(Return8020Props)

    if (Return8020 != None):
        TextBox8024.addItem(Return8020)

    #Emitting Return8021 control
    Return8021Props = {}
    Return8021Props['Height'] = 'None'
    Return8021Props['Width'] = 'None'
    Return8021Props['XPos'] = 'None'
    Return8021Props['YPos'] = 'None'
    Return8021Props['AlignVertical'] = 'None'
    Return8021Props['AlignHorizontal'] = 'None'
    Return8021Props['VariableName'] = 'Return8021'
    Return8021Props['Height'] = GetNewLineHeight('Interstate-Black', '42')
    Return8021 = CreateReturnFlow(Return8021Props)

    if (Return8021 != None):
        TextBox8024.addItem(Return8021)

    #Emitting Return8022 control
    Return8022Props = {}
    Return8022Props['Height'] = 'None'
    Return8022Props['Width'] = 'None'
    Return8022Props['XPos'] = 'None'
    Return8022Props['YPos'] = 'None'
    Return8022Props['AlignVertical'] = 'None'
    Return8022Props['AlignHorizontal'] = 'None'
    Return8022Props['VariableName'] = 'Return8022'
    Return8022Props['Height'] = GetNewLineHeight('Interstate-Black', '42')
    Return8022 = CreateReturnFlow(Return8022Props)

    if (Return8022 != None):
        TextBox8024.addItem(Return8022)

    #Emitting Txt8023 control
    Txt8023Props = {}
    Txt8023Props['Text'] = 'Harrisonburg'
    Txt8023Props['FontFamily'] = 'Interstate-UltraBlack'
    Txt8023Props['FontSize'] = '32'
    Txt8023Props['Shadow'] = 'False'
    Txt8023Props['ColorA'] = '255'
    Txt8023Props['ColorR'] = '255'
    Txt8023Props['ColorG'] = '255'
    Txt8023Props['ColorB'] = '255'
    Txt8023Props['BaselineOffset'] = '5.8464'
    Txt8023Props['Height'] = '26'
    Txt8023Props['Width'] = '223'
    Txt8023Props['XPos'] = '359'
    Txt8023Props['YPos'] = '87'
    Txt8023Props['AlignVertical'] = 'None'
    Txt8023Props['AlignHorizontal'] = 'None'
    Txt8023Props['VariableName'] = 'Txt8023'
    Txt8023 = CreateTextFlow(Txt8023Props)

    if (Txt8023 != None):
        TextBox8024.addItem(Txt8023)

    if (TextBox8024 != None):
        p.addItem(TextBox8024)

