#IBOSS Product Display Script

if gSelectedProduct['ProductId'] == 267074:

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

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


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

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

    if (Return5058 != None):
        TextBox5064.addItem(Return5058)

    #Emitting Txt5059 control
    Txt5059Props = {}
    Txt5059Props['Text'] = '4180 US Hwy 1'
    Txt5059Props['FontFamily'] = 'Interstate-RegularItalic'
    Txt5059Props['FontSize'] = '24'
    Txt5059Props['Shadow'] = 'False'
    Txt5059Props['ColorA'] = '255'
    Txt5059Props['ColorR'] = '255'
    Txt5059Props['ColorG'] = '255'
    Txt5059Props['ColorB'] = '255'
    Txt5059Props['BaselineOffset'] = '4.1688'
    Txt5059Props['Height'] = '19'
    Txt5059Props['Width'] = '297'
    Txt5059Props['XPos'] = '322'
    Txt5059Props['YPos'] = '0'
    Txt5059Props['AlignVertical'] = 'None'
    Txt5059Props['AlignHorizontal'] = 'None'
    Txt5059Props['VariableName'] = 'Txt5059'
    Txt5059 = CreateTextFlow(Txt5059Props)

    if (Txt5059 != None):
        TextBox5064.addItem(Txt5059)

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

    if (Return5060 != None):
        TextBox5064.addItem(Return5060)

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

    if (Return5061 != None):
        TextBox5064.addItem(Return5061)

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

    if (Return5062 != None):
        TextBox5064.addItem(Return5062)

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

    if (Txt5063 != None):
        TextBox5064.addItem(Txt5063)

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

