function header(path)
{
	var headerHTML="<table border=0 cellspacing=0 cellpadding=0 align=center width=750 bgcolor=#393939>"+
"<tr><td width=30 rowspan=4 valign=top bgcolor=black><img src="+ path +"images/bg2.jpg></td>"+
"<td background="+ path +"images/bg9.jpg height=4></td>"+
"<td align=right rowspan=4 valign=top width=35 height=561 bgcolor=#565656><img src="+ path +"images/bg11.jpg></td>"+
"</tr><tr><td height=35 valign=bottom class=logo></td>"+
"</tr><tr valign=top><td align=left>"+
    "<object classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 codebase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 width=707 height=150 id=flash car/car align=middle>"+
    "<param name=allowScriptAccess value=sameDomain />"+
    "<param name=movie value="+ path +"images/car.swf>"+
    "<param name=quality value=high />"+
    "<param name=bgcolor value=#ffffff /><embed src="+ path +"images/car.swf quality=high bgcolor=#ffffff width=707 height=150 name=car align=middle allowScriptAccess=sameDomain type=application/x-shockwave-flash pluginspage=http://www.macromedia.com/go/getflashplayer />"+
    "</object>"+
"</td></tr>"+
"<tr valign=top><td height=370 valign=top><table border=0 cellpadding=0 cellspacing=0 width=100% height=367>"+
"<tr><td height=314  valign=top><table width=707 border=0 cellpadding=0 cellspacing=0>"+
"<tr height=4><td></td></tr>"+
"<tr><td width=185 valign=top><table border=0 cellspacing=5 cellpadding=5 align=left width=198 bgcolor=black>"+
"<tr><td width=128 height=40 align=center class=qb>Quick Browse:</td></tr>"+
"<tr align=center><td colspan=2><a href="+ path +"creations/images/cartoon/ class=bb>Cartoons</a></td></tr>"+
"<tr ><td colspan=2 align=center>"+

"<div id=mmain style=cursor:pointer; width:70px;><a href="+ path +"creations/images/drawing/ class=bb>Drawings</a></div>"+
"<tr><td align=center><a href="+path+"creations/images/painting/ class=bb>Paintings</a></div></td></tr>"+
"<tr><td align=center><a href="+path+"cre/ class=bb>Workshops</a></div></td></tr>"+

"</td></tr>"+
"</table></td>"+
"<td width=50></td><td width=473 valign=top align=right><table height=35 border=0 cellpadding=0 cellspacing=0 align=right>"+
"<tr><td background="+ path +"images/bg5.jpg height=18></td></tr><tr height=20 align=center valign=top>"+
"<td><table width=485 border=0 cellpadding=0 cellspacing=0 background="+ path +"images/bg8.jpg height=45>"+
"<tr align=center valign=middle>"+
	"<td width=70><a href="+ path +">Home</a></td>"+
	"<td><img src="+ path +"images/bar.jpg></td><td><a href="+ path +"biography/>Biography</a></td>"+
	"<td><img src="+ path +"images/bar.jpg></td><td><a href="+ path +"creations/>Creations</a></td>"+
	"<td><img src="+ path +"images/bar.jpg></td><td><a href="+ path +"exhibitions>Exhibitions</a></td>"+
	"<td><img src="+ path +"images/bar.jpg></td><td><a href="+ path +"guestbook>GuestBook</a></td>"+
	"<td><img src="+ path +"images/bar.jpg></td><td><a href="+ path +"contact>Contact</a></td>"+
"</tr></table></tr>";

document.write(headerHTML);
}

function footer(fpath){
var footerHTML="<td valign=bottom align=center></td>"+
	"<tr><td></td></tr></table></td></tr>"+
		"<tr><td bgcolor=black></td><td background="+ fpath +"images/bg9.jpg height=4><font color=white></font></td><td><img src="+ fpath +"images/bg10.jpg></td></tr><p></p>"+
	"</tr></table>"+
	"<table border=0 cellpadding=0 cellspacing=0 width=699 align=center>"+
		"<tr>"+
			"<td><font color=white>Copyright&copy; 2006~2009 www.oakkarnyi.yadanapura.com. All rights Reserved.</font></td>"+
			"<td height=3></td><td align=right><img src="+ fpath +"images/index.jpg></td>"+
		"</tr>"+
	"</table>";

document.write(footerHTML);
}