#IBOSS Product Display Script

if gSelectedProduct['ProductId'] == 266751:

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

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


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

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

    if (Return2498 != None):
        TextBox2504.addItem(Return2498)

    #Emitting Txt2499 control
    Txt2499Props = {}
    Txt2499Props['Text'] = '842 Dawsonville Highway'
    Txt2499Props['FontFamily'] = 'Interstate-RegularItalic'
    Txt2499Props['FontSize'] = '24'
    Txt2499Props['Shadow'] = 'False'
    Txt2499Props['ColorA'] = '255'
    Txt2499Props['ColorR'] = '255'
    Txt2499Props['ColorG'] = '255'
    Txt2499Props['ColorB'] = '255'
    Txt2499Props['BaselineOffset'] = '4.1688'
    Txt2499Props['Height'] = '19'
    Txt2499Props['Width'] = '297'
    Txt2499Props['XPos'] = '322'
    Txt2499Props['YPos'] = '0'
    Txt2499Props['AlignVertical'] = 'None'
    Txt2499Props['AlignHorizontal'] = 'None'
    Txt2499Props['VariableName'] = 'Txt2499'
    Txt2499 = CreateTextFlow(Txt2499Props)

    if (Txt2499 != None):
        TextBox2504.addItem(Txt2499)

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

    if (Return2500 != None):
        TextBox2504.addItem(Return2500)

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

    if (Return2501 != None):
        TextBox2504.addItem(Return2501)

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

    if (Return2502 != None):
        TextBox2504.addItem(Return2502)

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

    if (Txt2503 != None):
        TextBox2504.addItem(Txt2503)

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

