#IBOSS Product Display Script

if gSelectedProduct['ProductId'] == 266754:

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

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


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

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

    if (Return2522 != None):
        TextBox2528.addItem(Return2522)

    #Emitting Txt2523 control
    Txt2523Props = {}
    Txt2523Props['Text'] = '142 Woodstock Square Ave'
    Txt2523Props['FontFamily'] = 'Interstate-RegularItalic'
    Txt2523Props['FontSize'] = '24'
    Txt2523Props['Shadow'] = 'False'
    Txt2523Props['ColorA'] = '255'
    Txt2523Props['ColorR'] = '255'
    Txt2523Props['ColorG'] = '255'
    Txt2523Props['ColorB'] = '255'
    Txt2523Props['BaselineOffset'] = '4.1688'
    Txt2523Props['Height'] = '19'
    Txt2523Props['Width'] = '297'
    Txt2523Props['XPos'] = '322'
    Txt2523Props['YPos'] = '0'
    Txt2523Props['AlignVertical'] = 'None'
    Txt2523Props['AlignHorizontal'] = 'None'
    Txt2523Props['VariableName'] = 'Txt2523'
    Txt2523 = CreateTextFlow(Txt2523Props)

    if (Txt2523 != None):
        TextBox2528.addItem(Txt2523)

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

    if (Return2524 != None):
        TextBox2528.addItem(Return2524)

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

    if (Return2525 != None):
        TextBox2528.addItem(Return2525)

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

    if (Return2526 != None):
        TextBox2528.addItem(Return2526)

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

    if (Txt2527 != None):
        TextBox2528.addItem(Txt2527)

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

