<?xml version="1.0" encoding="iso-8859-1" ?>
<?xml-stylesheet href="xslt/copy.xsl" type="text/xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg" xmlns:tb="http://www.treebuilder.de/namespace">
	<head>
		<title>Treebuilder:: Q-Bert Part I Tutorial</title>
		<meta name="keywords" content="Q-Bert,Tutorial,Games,SVG,Animation"/>
		<link rel="alternate" type="application/rss+xml" href="rss.asp" title="Treebuilder-News"/>
		<link rel="Stylesheet" type="text/css" href="css/kp1.css" title="treebuilder"/>
		<style type="text/css">
	  	body {font-family:sans-serif;font-size:0.9em;margin:0px;padding:0px;background:royalblue;color:#555}
		a:link {text-decoration:underline;color:royalblue}
		a:visited {text-decoration:underline;color:royalblue}
		a:hover {text-decoration:underline;color:blue}
		h1 {font-size:1.2em;color:blue;padding:0px;}
		h2 {font-size:0.9em;color:blue;padding-top:0px;font-weight:normal}
		td {text-align:left}
	  </style>
	</head>
	<body>
		<script type="text/javascript">
		function show()
			{
				var title=document.getElementById("select1").value
				var l=document.getElementsByTagName("link")
				for (var pi=0; pi != l.length;pi++)
					{
						if(l.item(pi).title==title)
							{
								l.item(pi).disabled=false
							}else
							{
								l.item(pi).disabled=true
							}
					}
			}
	</script>
		<center>
			<div style="width:75%">
				<table cellspacing="0" cellpadding="0" border="0" style="width:100%;height:79px;margin-top:20px">
					<tr>
						<td style="width:20px;background-image:url(images/layout/bpat_t_l1.png)"></td>
						<td style="background-image:url(images/layout/bpat_t_m1.png)">
							<table>
								<tr>
									<td style="width:40%"></td>
									<td style="padding:5px 0px 0px 0px">
										<a href="default.asp?file=start.xml" title="Home">
											<img src="../images/logo/tree-logo.png" style="height:60px;border:0px;margin:0px;padding:0px"/>
										</a>
									</td>
									<td style="width:40%;font-size:0.8em;text-align:right;color:#111;vertical-align:bottom">
										<a href="default.asp?file=start.xml" style="font-weight:normal;color:#111;text-decoration:none">Home</a> | <a href="default.asp?file=980999.xml" style="font-weight:normal;color:#111;text-decoration:none">Programming</a> | <a href="default.asp?file=971752.xml" style="font-weight:normal;color:#111;text-decoration:none">Gallery</a> | <a href="default.asp?file=112240.xml" style="font-weight:normal;color:#111;text-decoration:none">Blog</a> | <a href="default.asp?file=871013.xml" style="font-weight:normal;color:#111;text-decoration:none">About</a> | <a href="default.asp?file=131725.xml" style="font-weight:normal;color:#111;text-decoration:none">A-Z</a> | </td>
								</tr>
							</table>
						</td>
						<td style="width:19px;background-image:url(images/layout/bpat_t_r1.png)"></td>
					</tr>
				</table>
				<table cellspacing="0" cellpadding="0" border="0" style="width:100%">
					<tr>
						<td style="width:5px;background-image:url(images/layout/bpat_b_l2.png)"></td>
						<td style="vertical-align:top">
							<table cellspacing="0" cellpadding="0" border="0" style="width:100%;">
								<tr>
									<td colspan="2" style="padding:10px 10px 0px 10px;background-image:url(images/layout/pat_content_links1.png);">
										<div style="font-size:0.8em;margin-bottom:10px;color:#fff;font-weight:bold">
											<a href="default.asp?file=start.xml" style="color:#fff;text-decoration:none;font-weight:normal">Home</a> »
    <a href="default.asp?file=980999.xml" style="color:#fff;text-decoration:none;font-weight:normal">Programming</a> »
    <a href="default.asp?file=358730.xml" style="color:#fff;text-decoration:none;font-weight:normal">SVG</a> »
    <a href="default.asp?file=749996.xml" style="color:#fff;text-decoration:none;font-weight:normal">Tutorials</a> »
    Q-Bert Part I</div>
									</td>
								</tr>
								<tr>
									<td style="background-image:url(images/layout/pat_content_links1.png);padding:0px 5px 20px 10px;vertical-align:top">
										<table cellspacing="0" cellpadding="0" border="0" style="width:100%;height:400px">
											<tr>
												<td style="width:20px;background-image:url(images/layout/pat_app_top_links2.png);"></td>
												<td style="background-image:url(images/layout/pat_app_top_mitte2.png)"><div></div></td>
												<td style="width:14px;height:13px;background-image:url(images/layout/pat_app_top_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="background-image:url(images/layout/pat_app_body_links1.png)"></td>
												<td id="contentarea" style="/width:100%;background:#fff;vertical-align:top;padding:20px 10px 20px 10px">
													<div style="font-size:0.7em;color:#555;float:right;margin-top:-20px">
		by Holger | 
		7/11/2006 10:35:16 AM | 
		Keywords: 
		<a href="search2.asp?searchterm=Q-Bert">Q-Bert</a>,
      <a href="search2.asp?searchterm=Tutorial">Tutorial</a>,
      <a href="search2.asp?searchterm=Games">Games</a>,
      <a href="search2.asp?searchterm=SVG">SVG</a>,
      <a href="search2.asp?searchterm=Animation">Animation</a>
													</div>
													<vorschauBild name="games_q-bert.jpg" xmlns="">
													</vorschauBild>
													<h1>Q-Bert Part I Tutorial</h1><p>In this tutorial, I will try to explain how I wrote the SVG version of <a href="default.asp?file=889431.xml">Q-Bert</a>. We will go through the process step by step. In this first part I will cover the creation of the gameboard and the animated moves.</p><h2>Files</h2><ul>
														<li><a href="default.asp?file=889431.xml">Q-Bert Game</a>
														</li>
														<li><a href="http://www.treebuilder.de/svg/qbert/qtorial/q1.svg" style="">Structure of a field</a></li>
														<li><a href="http://www.treebuilder.de/svg/qbert/qtorial/q2.svg" style="">Creating the gameboard</a></li>
														<li><a href="http://www.treebuilder.de/svg/qbert/qtorial/q3.svg" style="">Moving around</a></li>
													</ul>
													<br/><br/><h2>Structure of a field</h2><p>We start with a simple description of a "field". One "field" consists of a "block" and the pathes which we will later use as motion pathes for the moves.</p><center><img src="svg/qbert/qtorial/q1.png" xmlns="">
														</img>
													</center><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
&lt;svg xmlns="http://www.w3.org/2000/svg"&gt;
 &lt;g transform="translate(200 200)"&gt;
  &lt;g id="wuerfel"&gt;
   &lt;path fill="darkblue" d="M-50 0L0 -25L50 0L0 25z"/&gt;
   &lt;path fill="blue" d="M-50 0L-50 50L0 75L0 25z"/&gt;
   &lt;path fill="#13007c" d="M50 0L50 50L0 75L0 25z"/&gt;
   &lt;path stroke="black" stroke-width="1" fill="none" d="M0 0C0 -100 50 -75 50 75"/&gt;
   &lt;path stroke="black" stroke-width="1" fill="none" d="M0 0C0 -100 -50 -75 -50 75"/&gt;
   &lt;path stroke="black" stroke-width="1" fill="none" d="M0 0C0 -125 50 -175 50 -75"/&gt;
   &lt;path stroke="black" stroke-width="1" fill="none" d="M0 0C0 -125 -50 -175 -50 -75"/&gt;
  &lt;/g&gt;
 &lt;/g&gt;
&lt;/svg&gt;
</pre>
													</div><br/><br/><h2>Creating the gameboard</h2><p>First we put the block field created in the last example and put it in a defs section. Additionaly we insert a group for the gameboard(id="gb").</p><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
&lt;defs&gt;
  &lt;g id="wuerfel"&gt;...&lt;/g&gt;
&lt;/defs&gt;
&lt;g id="gb" transform="translate(400 100)"/&gt;
</pre>
													</div><p>Now we add a script that copies the group("wuerfel") and places these copies to the right position. Note! we add a new id for each copied path, so we can later reference them.</p><center><img src="svg/qbert/qtorial/q2_a.png" style="margin-bottom:0px;margin-right:0px"/>
													</center><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
see svg-file
</pre>
													</div><br/><br/><h2>Moving around</h2><p>What we need next is a character that can move around. For that we create a template ("bert_temp") , and the character that is actually moving around ("bert"). I also changed the structure of the file a bit , so one can move around the gameboard with a single animateMotion.</p><center><img src="svg/qbert/qtorial/q3_a.png" style="margin-bottom:0px;margin-right:0px"/>
													</center><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
&lt;defs&gt;
  &lt;radialGradient id="grd_12" cx="40%" cy="40%" fx="30%" fy="30%"&gt;
    &lt;stop offset="0%" stop-color="red"/&gt;
    &lt;stop offset="100%" stop-color="black"/&gt;
  &lt;/radialGradient&gt;
  &lt;g id="bert_temp"&gt;
    &lt;circle cx="0" cy="0" r="25" fill="url(#grd_12)"/&gt;
  &lt;/g&gt;
  &lt;g id="wuerfel"&gt;...&lt;/g&gt;
&lt;/defs&gt;

&lt;g transform="translate(400 100)"&gt;
  &lt;g id="gb"/&gt;
  &lt;g id="bert" pointer-events="none" fill-opacity="1" transform="translate(0 -25)"&gt;
    &lt;use xlink:href="#bert_temp"/&gt;
    &lt;animateMotion id="bmove" begin="indefinite" dur="0.4s" fill="freeze"&gt;
      &lt;mpath id="bm2" xlink:href="#tp"/&gt;
    &lt;/animateMotion&gt;
  &lt;/g&gt;
&lt;/g&gt;
</pre>
													</div><p>Now it gets a bit more complicated. First we declare a few variables.</p><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
var isAnimating=0    //flag that holds the state of animation
var GameState="play" //game state will be used later, for now only "play" exists
var position=0       // current position on the board
var bm2=document.getElementById("bm2") //reference to the mpath of berts animateMotion
var mAnim=document.getElementById("bmove") // bert animateMotion element
mAnim.addEventListener("end",changeColor,false) //the changeColor function will only be use to set 
                                                  isAnimating to 0 again
</pre>
													</div><p>And add a few lines to the createGame() function. Since the transformation we set in the function will not take effect on the pathes when they get referenced by animateMotion, we have to add the transformation by hand, and we add an event listener for onclick to each field.</p><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
see svg-file
</pre>
													</div><p>This will, at first, look a bit strange, but the pathes are invisible so it doesnt matter. In the createGame() function we just added 
<span style="font-size:1.2em"><pre xmlns="">n.setAttribute("onclick",
"selectMove("+p+")")</pre></span>
so we need a <span style="font-size:1.2em"><pre xmlns="">selectMove()</pre></span> function. This function checks if the move you selected is leagal, and if so executes it, by setting the apropriate path to the mPath element and then starting the animation. Position get incremented or decremented appropriatly ,and isAnimating is set to 1. As long as isAnimating is 1 no userinput will be alowed.</p><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
function selectMove(ind){
  if(isAnimating==0){if(GameState=="play"){
    if((position-8)==ind){
      bm2.setAttribute("xlink:href","#ru_"+position)
      position-=8
      isAnimating=1
      mAnim.beginElement()
    }
    if((position+8)==ind){
      bm2.setAttribute("xlink:href","#rd_"+position)
      position+=8
      isAnimating=1
      mAnim.beginElement()
    }
    if((position+1)==ind){if(ind!=8){
      bm2.setAttribute("xlink:href","#ld_"+position)
      position++
      isAnimating=1
      mAnim.beginElement()
    }}
    if((position-1)==ind){if(ind!=7){
      bm2.setAttribute("xlink:href","#lu_"+position)
      position--
      isAnimating=1
      mAnim.beginElement()
    }}
  }}
}
</pre>
													</div><p>Now only one function is missing. It is quite simple as mentioned above.
</p><div style="border:1px solid #aaa;padding:0px 5px 0px 5px;margin:0px 40px 0px 40px;color:#000;overflow:auto;width:500px"><pre>
function changeColor(){
        isAnimating=0
        }
</pre>
													</div><p>Thats it for the first part, I hope it was informative. </p></td>
												<td style="background-image:url(images/layout/pat_app_body_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_links1.png)"></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_mitte1.png)"><div></div></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_rechts1.png)"></td>
											</tr>
										</table>
									</td>
									<td style="width:200px;vertical-align:top;padding:0px 10px 20px 5px;background-image:url(images/layout/pat_content_links1.png)">
										<table cellspacing="0" cellpadding="0" border="0" style="width:100%;font-size:0.8em;margin:0px 0px 5px 0px">
											<tr>
												<td style="width:20px;background-image:url(images/layout/pat_app_top_links2.png);"></td>
												<td style="background-image:url(images/layout/pat_app_top_mitte2.png)"/>
												<td style="width:14px;height:13px;background-image:url(images/layout/pat_app_top_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="background-image:url(images/layout/pat_app_body_links1.png)"></td>
												<td style="background:#fff;vertical-align:top">
													<div class="explorer_punkt" style="font-size:0.9em;border:0px">
														<img src="images/icons/NEUordner_geschlossen.png"/><a href="default.asp?file=358730.xml" style="color:#555">../</a>
													</div>
													<div class="explorer_punkt" style="font-size:0.9em;border:0px">
														<img src="images/icons/NEUordner_geschlossen.png"/><a href="default.asp?file=944454.xml" style="color:#555">Games</a>
													</div>
													<div class="explorer_punkt" style="font-size:0.9em;border:0px">
														<img src="images/icons/NEUordner_geschlossen.png"/><a href="default.asp?file=279567.xml" style="color:#555">Examples</a>
													</div>
													<div class="explorer_punkt" style="font-size:0.9em;border:0px">
														<img src="images/icons/NEUordner_geschlossen.png"/><a href="default.asp?file=749996.xml" style="color:#555">Tutorials</a>
													</div>
													<div class="explorer_sub">
														<div class="explorer_punkt" style="font-size:0.9em;border:0px">
															<img src="images/icons/docNEU.png"/><a href="default.asp?file=749996.xml" style="color:#555">Tutorials</a>
														</div>
														<div class="explorer_punkt" style="font-size:0.9em;border:0px">
															<img src="images/dokument_aktiv.png"/><a href="default.asp?file=130397.xml" style="color:#555">Q-Bert Part I</a>
														</div>
														<div class="explorer_punkt" style="font-size:0.9em;border:0px">
															<img src="images/icons/docNEU.png"/><a href="default.asp?file=978374.xml" style="color:#555">SVG Optimization Tips</a>
														</div>
														<div class="explorer_punkt" style="font-size:0.9em;border:0px">
															<img src="images/icons/docNEU.png"/><a href="default.asp?file=163540.xml" style="color:#555">SVG Game creation tutorial - a slot machine part 1</a>
														</div>
													</div>
													<div class="explorer_punkt" style="font-size:0.9em;border:0px">
														<img src="images/icons/NEUordner_geschlossen.png"/><a href="default.asp?file=891643.xml" style="color:#555">Experiments</a>
													</div>
													<div class="explorer_punkt" style="font-size:0.9em;border:0px">
														<img src="images/icons/NEUordner_geschlossen.png"/><a href="default.asp?file=492763.xml" style="color:#555">Gallery</a>
													</div>
												</td>
												<td style="background-image:url(images/layout/pat_app_body_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_links1.png)"></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_mitte1.png)"><div></div></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_rechts1.png)"></td>
											</tr>
										</table>
										<table cellspacing="0" cellpadding="0" border="0" style="width:100%;font-size:0.8em;padding-bottom:10px">
											<tr>
												<td style="width:20px;background-image:url(images/layout/pat_app_top_links2.png);"></td>
												<td style="background-image:url(images/layout/pat_app_top_mitte2.png)">
												</td>
												<td style="width:14px;height:13px;background-image:url(images/layout/pat_app_top_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="background-image:url(images/layout/pat_app_body_links1.png)"></td>
												<td style="background:#fff;vertical-align:top">
													<form action="search.asp">
														<input name="searchterm" type="text" style="width:80%">
														</input>
														<input type="image" src="../images/lupe.png">
														</input>
													</form>
												</td>
												<td style="background-image:url(images/layout/pat_app_body_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_links1.png)"></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_mitte1.png)"><div></div></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_rechts1.png)"></td>
											</tr>
										</table>
										<table cellspacing="0" cellpadding="0" border="0" style="width:100%;font-size:0.8em;padding-bottom:10px">
											<tr>
												<td style="width:20px;background-image:url(images/layout/pat_app_top_links2.png);"></td>
												<td style="background-image:url(images/layout/pat_app_top_mitte2.png)">
												</td>
												<td style="width:14px;height:13px;background-image:url(images/layout/pat_app_top_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="background-image:url(images/layout/pat_app_body_links1.png)"></td>
												<td style="background:#fff;vertical-align:top">
													<ul>
														<li><a href="default.asp?file=129650.xml">Some Bugfixes</a></li>
														<li><a href="default.asp?file=128826.xml">SVG2PNG News</a></li>
														<li><a href="default.asp?file=208660.xml">svg2png</a></li>
														<li><a href="default.asp?file=89031.xml">More animated PNGs</a></li>
														<li><a href="default.asp?file=9380.xml">APNG Edit ,SMIL XSLT and the SVG Logo</a></li>
														<li><a href="default.asp?file=163540.xml">SVG Game creation tutorial - a slot machine part 1</a></li>
														<li><a href="default.asp?file=17498.xml">Inline SVG working again</a></li>
														<li><a href="default.asp?file=284771.xml">a simple svg textbox created with xslt</a></li>
														<li><a href="default.asp?file=313823.xml">scriptable progress bar: mixing XHTML,SVG,XSLT,CSS and JavaScript</a></li>
														<li><a href="default.asp?file=934978.xml">an inline SVG barchart created with XSLT styled with CSS</a></li>
														<li><a href="default.asp?file=172558.xml">a dynamic coin stack chart</a></li>
														<li><a href="default.asp?file=306286.xml">a flexible barchart extension</a></li>
														<li><a href="default.asp?file=749340.xml">Styling XHTML with SVG using XSLT - Part II</a></li>
														<li><a href="default.asp?file=621700.xml">Styling XHTML with SVG using XSLT part1</a></li>
														<li><a href="default.asp?file=643764.xml">a more advanced inline SVG test</a></li>
														<li><a href="default.asp?file=898693.xml">14 Segment LED Font</a></li>
														<li><a href="default.asp?file=857097.xml">testing Inline SVG</a></li>
														<li><a href="default.asp?file=529979.xml">New Design and WorldCup</a></li>
														<li><a href="default.asp?file=716365.xml">Berlin Clock Widget</a></li>
														<li><a href="default.asp?file=580532.xml">Berlin Clock</a></li>
														<li><a href="default.asp?file=755687.xml">SVG Filters and Fonts</a></li>
													</ul>
												</td>
												<td style="background-image:url(images/layout/pat_app_body_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_links1.png)"></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_mitte1.png)"><div></div></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_rechts1.png)"></td>
											</tr>
										</table>
										<table cellspacing="0" cellpadding="0" border="0" style="width:100%;font-size:0.8em;padding-bottom:10px">
											<tr>
												<td style="width:20px;background-image:url(images/layout/pat_app_top_links2.png);"></td>
												<td style="background-image:url(images/layout/pat_app_top_mitte2.png)">
												</td>
												<td style="width:14px;height:13px;background-image:url(images/layout/pat_app_top_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="background-image:url(images/layout/pat_app_body_links1.png)"></td>
												<td style="background:#fff;vertical-align:top">
													<h2>SVG Links</h2><a href="http://www.getsvg.com/forum" style="">getSVG Forum</a><br/><a href="http://blog.codedread.com" style="">Jeff Schiller's Blog</a><br/><a href="http://rr.latenightpc.com/wp" style="">Rob's Blog</a><br/><a href="http://www.openclipart.org" style="">openclipart.org</a><br/><a href="http://www.svgx.org" style="">svgX.org</a><br/><a href="http://www.svg.org" style="">svg.org</a><br/><a href="http://www.svgbasics.com" style="">SVG Basic Tutorial</a><br/><a href="http://www.steltenpower.com" style="">Stelt's Page</a><br/><a href="http://www.jwatt.org" style="">Jonathan's Page</a><br/><a href="http://www.learnsvg.com" style="">Learn SVG Tutorial</a><h2>Off Topic</h2><a href="http://www.klimapartner-berlin.de" style="">KlimaPartner Berlin (de)</a><br/><a href="http://www.titanic-magazin.de" style="">Titanic Magazin (de)</a><br/><a href="http://www.bildblog.de" style="">bildBLOG (de)</a><br/><a href="http://www.penthouse-zermatt.ch/home_de.html" style="">penthouse-zermatt</a></td>
												<td style="background-image:url(images/layout/pat_app_body_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_links1.png)"></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_mitte1.png)"><div></div></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_rechts1.png)"></td>
											</tr>
										</table>
										<table cellspacing="0" cellpadding="0" border="0" style="width:100%;font-size:0.8em;padding-bottom:10px">
											<tr>
												<td style="width:20px;background-image:url(images/layout/pat_app_top_links2.png);"></td>
												<td style="background-image:url(images/layout/pat_app_top_mitte2.png)">
												</td>
												<td style="width:14px;height:13px;background-image:url(images/layout/pat_app_top_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="background-image:url(images/layout/pat_app_body_links1.png)"></td>
												<td style="background:#fff;vertical-align:top">
													<h1>technorati</h1><div>
													</div>
												</td>
												<td style="background-image:url(images/layout/pat_app_body_rechts1.png)"></td>
											</tr>
											<tr>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_links1.png)"></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_mitte1.png)"><div></div></td>
												<td style="height:11px;background-image:url(images/layout/pat_app_foot_rechts1.png)"></td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
						<td style="width:7px;background-image:url(images/layout/bpat_b_r2.png);background-repeat:repeat-y"></td>
					</tr>
				</table>
				<table cellspacing="0" cellpadding="0" border="0" style="width:100%;height:23px">
					<tr>
						<td style="width:20px;background-image:url(images/layout/bpat_f_l1.png);background-repeat:no-repeat"></td>
						<td style="background-image:url(images/layout/bpat_f_m1.png);background-repeat:repeat-x;vertical-align:top;text-align:right; padding-right:5px;font-size:0.7em;color:#333"><div>treebuilder</div></td>
						<td style="width:19px;background-image:url(images/layout/bpat_f_r1.png);background-repeat:no-repeat"></td>
					</tr>
				</table>
			</div>
		</center>
	</body>
</html>