1<?php
2    if (tpl_getConf("headerPicture") != "") {
3    ?>
4    <script type="text/javascript">
5
6        // Exchange header logo
7
8        jQuery("#headerpic").css(
9                "background-image",
10                "url('<?php echo tpl_getConf("headerPicture"); ?>')"
11        );
12
13    </script>
14
15    <?php
16    }
17?>