window.onresize = resize;
function resize()
{
	if (document.body.offsetWidth>document.getElementById('centerTable').offsetWidth)
		document.getElementById('centerTable').style.left=(document.body.offsetWidth-document.getElementById('centerTable').offsetWidth)/2;
}

function loadFlash(swf,width,height,opts)
{
	AC_FL_RunContent(
		'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
		'width', width,
		'height', height,
		'src', swf,
		'quality', 'high',
		'pluginspage', 'http://www.adobe.com/go/getflashplayer',
		'align', 'middle',
		'play', 'true',
		'loop', 'true',
		'scale', 'showall',
		'wmode', 'transparent',
		'devicefont', 'false',
		'id', swf,
		'bgcolor', '#ffffff',
		'name', swf,
		'menu', 'true',
		'allowFullScreen', 'false',
		'allowScriptAccess','sameDomain',
		'movie', swf,
		'salign', ''
		);


	document.write('<noscript>');
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width='+width+' height='+height+' id="'+swf+'" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="allowFullScreen" value="false" />');
	document.write('<param name="movie" value="'+swf+'.swf'+opts+'" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" />');
	document.write('<embed src="'+swf+'.swf'+opts+'" quality="high" wmode="transparent" bgcolor="#ffffff" width='+width+' height='+height+' name="header01" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />');
	document.write('</object>');
	document.write('</noscript>');

}

function header()
{
	document.write('<table cellpadding=0 cellspacing=0 border=0 width=1000 height=210>');
	document.write('<tr><td colspan=9><img src="gfx/menu_top.jpg" width=1000 height=129></td></tr>');
	document.write('<tr>');
	document.write('<td><img src="gfx/menu_ini.jpg" width=99 height=32></td>');
	document.write('<td><img src="gfx/menub11.jpg" onmouseover="this.style.cursor=\'pointer\';this.src=\'gfx/menub12.jpg\'" onmouseout="this.src=\'gfx/menub11.jpg\'" width=117 height=32 onclick="location.href=\'index.html\'"></td>');
	document.write('<td><img src="gfx/menub21.jpg" onmouseover="this.style.cursor=\'pointer\';this.src=\'gfx/menub22.jpg\'" onmouseout="this.src=\'gfx/menub21.jpg\'" width=119 height=32 onclick="location.href=\'aboutus.htm\'"></td>');
	document.write('<td><img src="gfx/menub31.jpg" onmouseover="this.style.cursor=\'pointer\';this.src=\'gfx/menub32.jpg\'" onmouseout="this.src=\'gfx/menub31.jpg\'" width=119 height=32 onclick="location.href=\'services.htm\'"></td>');
	document.write('<td><img src="gfx/menub41.jpg" onmouseover="this.style.cursor=\'pointer\';this.src=\'gfx/menub42.jpg\'" onmouseout="this.src=\'gfx/menub41.jpg\'" width=113 height=32 onclick="location.href=\'gallery.php\'"></td>');
	document.write('<td><img src="gfx/menub51.jpg" onmouseover="this.style.cursor=\'pointer\';this.src=\'gfx/menub52.jpg\'" onmouseout="this.src=\'gfx/menub51.jpg\'" width=135 height=32 onclick="location.href=\'resources.php\'"></td>');
	document.write('<td><img src="gfx/menub61.jpg" onmouseover="this.style.cursor=\'pointer\';this.src=\'gfx/menub62.jpg\'" onmouseout="this.src=\'gfx/menub61.jpg\'" width=89 height=32 onclick="location.href=\'blog.php\'"></td>');
	document.write('<td><img src="gfx/menub71.jpg" onmouseover="this.style.cursor=\'pointer\';this.src=\'gfx/menub72.jpg\'" onmouseout="this.src=\'gfx/menub71.jpg\'" width=115 height=32 onclick="location.href=\'contact.htm\'"></td>');
	document.write('<td><img src="gfx/menu_end.jpg" width=94 height=32></td>');
	document.write('</tr>');
	document.write('<tr><td colspan=9><img src="gfx/menu_bot.jpg" width=1000 height=49></td></tr>');
	document.write('</table>');
}

function footer()
{

	document.write("<table cellpadding=0 cellspacing=0 border=0 width=1000>");
	document.write("<tr>");
	document.write("<td><img src=\"gfx/footer01.jpg\"  height=115 width=363></td>");
	document.write("<td><img src=\"gfx/footer02a.jpg\" height=115 width=248 onmouseover='this.src=\"gfx/footer02b.jpg\";this.style.cursor=\"pointer\"' onmouseout='this.src=\"gfx/footer02a.jpg\"' onclick='window.open(\"http://www.joannemcarthur.com\")' title=\"Photography by www.joannemcarthur.com\" alt=\"Photography by www.joannemcarthur.com\"></td>");
	document.write("<td><img src=\"gfx/footer03.jpg\"  height=115 width=97></td>");
	document.write("<td><img src=\"gfx/footer04a.jpg\" height=115 width=187 onmouseover='this.src=\"gfx/footer04b.jpg\";this.style.cursor=\"pointer\"' onmouseout='this.src=\"gfx/footer04a.jpg\"' onclick='window.open(\"http://www.alvaroramos.com\")' title=\"Website by www.alvaroramos.com\" alt=\"Website by www.alvaroramos.com\"></td>");
	document.write("<td><img src=\"gfx/footer05.jpg\"  height=115 width=105></td>");
	document.write("</tr>");
	document.write("</table>");
}

if (document.images)
{
  pic01= new Image();pic01.src="gfx/footer02b.jpg"; 
  pic02= new Image();pic02.src="gfx/footer04b.jpg"; 
  pic03= new Image();pic03.src="gfx/imageloading.jpg";

  pic04= new Image();pic04.src="gfx/menub12.jpg";
  pic05= new Image();pic05.src="gfx/menub22.jpg";
  pic06= new Image();pic06.src="gfx/menub32.jpg";
  pic07= new Image();pic07.src="gfx/menub42.jpg";
  pic08= new Image();pic08.src="gfx/menub52.jpg";
  pic09= new Image();pic09.src="gfx/menub62.jpg";
  pic10= new Image();pic10.src="gfx/menub72.jpg";
}