#IBOSS Product Display Script

if gSelectedProduct['ProductId'] == 266801:

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

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


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

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

    if (Return2890 != None):
        TextBox2896.addItem(Return2890)

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

    if (Txt2891 != None):
        TextBox2896.addItem(Txt2891)

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

    if (Return2892 != None):
        TextBox2896.addItem(Return2892)

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

    if (Return2893 != None):
        TextBox2896.addItem(Return2893)

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

    if (Return2894 != None):
        TextBox2896.addItem(Return2894)

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

    if (Txt2895 != None):
        TextBox2896.addItem(Txt2895)

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

