#IBOSS Product Display Script

if gSelectedProduct['ProductId'] == 266739:

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

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


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

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

    if (Return2402 != None):
        TextBox2408.addItem(Return2402)

    #Emitting Txt2403 control
    Txt2403Props = {}
    Txt2403Props['Text'] = '875 Lawrenceville-Suwanee Rd'
    Txt2403Props['FontFamily'] = 'Interstate-RegularItalic'
    Txt2403Props['FontSize'] = '24'
    Txt2403Props['Shadow'] = 'False'
    Txt2403Props['ColorA'] = '255'
    Txt2403Props['ColorR'] = '255'
    Txt2403Props['ColorG'] = '255'
    Txt2403Props['ColorB'] = '255'
    Txt2403Props['BaselineOffset'] = '4.1688'
    Txt2403Props['Height'] = '19'
    Txt2403Props['Width'] = '297'
    Txt2403Props['XPos'] = '322'
    Txt2403Props['YPos'] = '0'
    Txt2403Props['AlignVertical'] = 'None'
    Txt2403Props['AlignHorizontal'] = 'None'
    Txt2403Props['VariableName'] = 'Txt2403'
    Txt2403 = CreateTextFlow(Txt2403Props)

    if (Txt2403 != None):
        TextBox2408.addItem(Txt2403)

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

    if (Return2404 != None):
        TextBox2408.addItem(Return2404)

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

    if (Return2405 != None):
        TextBox2408.addItem(Return2405)

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

    if (Return2406 != None):
        TextBox2408.addItem(Return2406)

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

    if (Txt2407 != None):
        TextBox2408.addItem(Txt2407)

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

