+function bpgallery_default_head() {
+cat <<END
+<?xml version="1.0"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+ <title>${TITLE}</title>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+</head>
+<body>
+END
+}
+
+function bpgallery_default_thumbsline() {
+cat << END
+<div class="thumbnail"><a href="$filename"><img src="icons/$filename" /></a></div>
+END
+}
+
+function bpgallery_default_tail() {
+cat << END
+</body>
+</html>
+END
+}
+
+function bpgallery_default_stylesheet() {
+cat <<END
+body {
+ background: white;
+ color: black;
+ font-family: sans-serif;
+ font-size: 12pt;
+}
+
+div.thumbnail {
+ float: left;
+ padding: 20px;
+ border: 0px;
+ width: ${WIDTH}px;
+ height: ${MAXHEIGHT}px;
+}
+
+a {
+ border: 0px;
+}
+
+img {
+ border: 0px;
+}
+END
+}
+