def pdfembed_html(pdfembed_specs):
    """
    Build the iframe code for the pdf file,
    """
    html_base_code = """
                        <iframe
                                id="ID"
                                style="border:1px solid #666CCC"
                                title="PDF"
                                src="%s"
                                frameborder="1"
                                scrolling="auto"
                                height="%s"
                                width="%s"
                                align="%s">
                        </iframe>
                     """
    return ( html_base_code % (pdfembed_specs['src'   ],
                               pdfembed_specs['height'],
                               pdfembed_specs['width' ],
                               pdfembed_specs['align' ]) )