
// JavaScript Document

/* var isNS = (navigator.appName == "Netscape") ? 1 : 0; 
if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);  
function mischandler(){   return false; } 
	 
function mousehandler(e){ 	var myevent = (isNS) ? e : event; 	var eventbutton = (isNS) ? myevent.which : myevent.button;    if((eventbutton==2)||(eventbutton==3)) return false; } 
	 
document.oncontextmenu = mischandler; 
document.onmousedown = mousehandler; 
document.onmouseup = mousehandler;
*/

function clickIE4(){
if (event.button==2){
//alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
//alert(message);
return false;
}
}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function writeHeader2()
{
	document.write('<table width="800" border="0" cellspacing="0" cellpadding="0" align="center"><tr>');
    document.write('<td width="277"><a href="http://www.johnmitchellphoto.com/indexb.html"><img src="http://www.johnmitchellphoto.com/imgs/WEBLOGO_150.jpg" alt="Home" height="150" border="0" longdesc="index.html" /></a></td>');
  	document.write(' <td>');
	document.write(' <table width="100%" border="0" cellpadding="0" cellspacing="0" style="padding-top:16px;">  <tr>');
	document.write('<td height="40" align="right"><div id="FWTableContainer1773351022">');	
document.write('<img name="menu2" src="http://www.johnmitchellphoto.com/images/menu2.jpg" width="550" height="40" border="0" id="menu2" usemap="#m_menu2" alt="" /><map name="m_menu2" id="m_menu2">');
document.write('<area shape="rect" coords="505,0,550,40" href="http://www.johnmitchellphoto.com/links.html" alt="" />');
document.write('<area shape="rect" coords="461,0,506,40" href="http://www.johnmitchellphoto.com/blog/" alt="" />');
document.write('<area shape="rect" coords="371,0,462,40" href="http://www.johnmitchellphoto.com/contactus.html" alt="" />');
document.write('<area shape="rect" coords="245,0,372,40" href="http://www.johnmitchellphoto.com/specials.html" alt="" />');
document.write('<area shape="rect" coords="154,0,246,40" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(800);"  onmouseover="MM_menuShowMenu(\'MMMenuContainer0102151232_0\', \'MMMenu0102151232_0\',186,30,\'menu2\');"  />');
document.write('<area shape="rect" coords="79,0,156,40" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(800);"  onmouseover="MM_menuShowMenu(\'MMMenuContainer0102150915_1\', \'MMMenu0102150915_1\',103,30,\'menu2\');"  />');
document.write('<area shape="rect" coords="0,0,80,40" href="javascript:;" alt="" onmouseout="MM_menuStartTimeout(800);"  onmouseover="MM_menuShowMenu(\'MMMenuContainer0102145555_0\', \'MMMenu0102145555_0\',20,30,\'menu2\');"  />');
document.write('</map>');
document.write('<div id="MMMenuContainer0102151232_0">');
document.write('<div id="MMMenu0102151232_0" onmouseout="MM_menuStartTimeout(800);" onmouseover="MM_menuResetTimeout();">');
document.write('<a href="http://www.johnmitchellphoto.com/pricing_wed.html" id="MMMenu0102151232_0_Item_0" class="MMMIFVStyleMMMenu0102151232_0" onmouseover="MM_menuOverMenuItem(\'MMMenu0102151232_0\');">');
document.write('Wedding');
document.write('</a>');
document.write('<a href="http://www.johnmitchellphoto.com/pricing_bus.html" id="MMMenu0102151232_0_Item_1" class="MMMIVStyleMMMenu0102151232_0" onmouseover="MM_menuOverMenuItem(\'MMMenu0102151232_0\');">');
document.write('Business');
document.write('</a>');
document.write('<a href="http://www.johnmitchellphoto.com/pricing_port.html" id="MMMenu0102151232_0_Item_2" class="MMMIVStyleMMMenu0102151232_0" onmouseover="MM_menuOverMenuItem(\'MMMenu0102151232_0\');">');
document.write('Portrait');
document.write('</a>');
document.write('</div>');
document.write('</div>');
document.write('<div id="MMMenuContainer0102150915_1">');
document.write('<div id="MMMenu0102150915_1" onmouseout="MM_menuStartTimeout(800);" onmouseover="MM_menuResetTimeout();">');
document.write('<a href="http://www.johnmitchellphoto.com/galleries/wedding/index.html" id="MMMenu0102150915_1_Item_0" class="MMMIFVStyleMMMenu0102150915_1" onmouseover="MM_menuOverMenuItem(\'MMMenu0102150915_1\');">');
document.write('Wedding');
document.write('</a>');
document.write('<a href="http://www.johnmitchellphoto.com/galleries/Business/index.html" id="MMMenu0102150915_1_Item_1" class="MMMIVStyleMMMenu0102150915_1" onmouseover="MM_menuOverMenuItem(\'MMMenu0102150915_1\');">');
document.write('Business');
document.write('</a>');
document.write('<a href="#" id="MMMenu0102150915_1_Item_2" class="MMMIVStyleMMMenu0102150915_1" onmouseover="MM_menuOverMenuItem(\'MMMenu0102150915_1\',\'1\');">');
document.write('<span class="MMMenuItemSpanMMMenu0102150915_1">Portrait</span>');
document.write('<img src="http://www.johnmitchellphoto.com/images/arrows.gif" alt="" class="MMArrowStyleMMMenu0102150915_1" />');
document.write('</a>');
document.write('</div>');
document.write('<div id="MMMenu0102150915_1_1" onmouseout="MM_menuStartTimeout(800);" onmouseover="MM_menuResetTimeout();">');
//document.write('<a href="http://www.johnmitchellphoto.com/galleries/Portrait/Studio/index.html" id="MMMenu0102150915_1_1_Item_0" class="MMMIFVStyleMMMenu0102150915_1_1" onmouseover="MM_menuOverMenuItem(\'MMMenu0102150915_1_1\');">');
//document.write('Instudio');
//document.write('</a>');
document.write('<a href="http://www.johnmitchellphoto.com/galleries/Portrait/LocalEnvironment/index.html" id="MMMenu0102150915_1_1_Item_0" class="MMMIVStyleMMMenu0102150915_1_1" onmouseover="MM_menuOverMenuItem(\'MMMenu0102150915_1_1\');">');
document.write('Local&nbsp;Environment');
document.write('</a>');
document.write('<a href="http://www.johnmitchellphoto.com/galleries/Portrait/Playground/index.html" id="MMMenu0102150915_1_1_Item_1" class="MMMIVStyleMMMenu0102150915_1_1" onmouseover="MM_menuOverMenuItem(\'MMMenu0102150915_1_1\');">');
document.write('Your&nbsp;Playground');
document.write('</a>');
document.write('</div>');
document.write('</div>');
document.write('<div id="MMMenuContainer0102145555_0">');
document.write('<div id="MMMenu0102145555_0" onmouseout="MM_menuStartTimeout(800);" onmouseover="MM_menuResetTimeout();">');
document.write('<a href="http://www.johnmitchellphoto.com/history.html" id="MMMenu0102145555_0_Item_0" class="MMMIFVStyleMMMenu0102145555_0" onmouseover="MM_menuOverMenuItem(\'MMMenu0102145555_0\');">');
document.write('History');
document.write('</a>');
document.write('<a href="http://www.johnmitchellphoto.com/philosophy.html" id="MMMenu0102145555_0_Item_1" class="MMMIVStyleMMMenu0102145555_0" onmouseover="MM_menuOverMenuItem(\'MMMenu0102145555_0\');">');
document.write('Philosophy');
document.write('</a>');
document.write('<a href="http://www.johnmitchellphoto.com/bios.html" id="MMMenu0102145555_0_Item_2" class="MMMIVStyleMMMenu0102145555_0" onmouseover="MM_menuOverMenuItem(\'MMMenu0102145555_0\');">');
document.write('Bio\'s');
document.write('</a>');
document.write('</div>');
document.write('</div>');
document.write('</div>'); 	
	
	document.write('</td> </tr> </table> </td> </tr>');	
	document.write('</table>');
}

function writeFooter()
{	
	document.write('<table width="800" border="0" cellspacing="0" cellpadding="0" align="center">');
	document.write('<tr><td align="center" valign="bottom" colspan="2">');
	document.write(' <span class="style10pt">For Appointment: ');
	document.write('<strong>519.624.8460</strong>&nbsp;or <strong>Email</strong>: <a style="font:10pt;" href="mailto:info@johnmitchellphoto.com"><strong>info@johnmitchellphoto.com</strong></a></span></td>');
	document.write('</tr>');
	document.write('<tr><td colspan="2" height="4"></td></tr><tr><td colspan="2" height="1" bgcolor="b4b6b9"></td></tr><tr><td colspan="2" height="4"></td></tr>');
  	document.write('<tr>');
    document.write('<td width="90%" valign="middle"><span class="style8pt">&copy; All Images are the sole property of ');
	document.write('John Mitchell Photography Copyright 2002-2010</span></td>');
    document.write(' <td width="10%" align="center"><span class="style10pt">Site Design by<br />');
    document.write(' <strong>Now Media</strong></span></td>');
  	document.write('</tr></table>');
}

