<!--

flag = null;

var agt=navigator.userAgent.toLowerCase(); 
var is_major = parseInt(navigator.appVersion); 
var is_minor = parseFloat(navigator.appVersion); 
    // Note: Opera and WebTV spoof Navigator.  We do strict client detection. 
    // If you want to allow spoofing, take out the tests for opera and webtv. 
var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) 
              && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) 
                && (agt.indexOf('webtv')==-1)); 
var is_nav2 = (is_nav && (is_major == 2)); 
var is_nav3 = (is_nav && (is_major == 3)); 
var is_nav4 = (is_nav && (is_major == 4)); 
var is_nav4up = (is_nav && (is_major >= 4)); 
var is_navonly      = (is_nav && ((agt.indexOf(";nav") != -1) || 
                          (agt.indexOf("; nav") != -1)) ); 
var is_nav5 = (is_nav && (is_major == 5)); 
var is_nav5up = (is_nav && (is_major >= 5)); 

var is_ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
var is_ie3    = (is_ie && (is_major < 4));
var is_ie4    = (is_ie && (is_major == 4) && (agt.indexOf("msie 4")!=-1) );
var is_ie4up  = (is_ie && (is_major >= 4));
var is_ie5    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.")!=-1) );
var is_ie5_0    = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
var is_ie5_5  = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1));
var is_ie5up  = (is_ie && !is_ie3 && !is_ie4);
var is_ie5_5up =(is_ie && !is_ie3 && !is_ie4 && !is_ie5);
var is_ie6    = (is_ie && (is_major == 4) && (agt.indexOf("msie 6.")!=-1) );
var is_ie6up  = (is_ie && !is_ie3 && !is_ie4 && !is_ie5 && !is_ie5_5);

var is_mac    = (agt.indexOf("mac")!=-1);
var is_pc    = (agt.indexOf("mac")==-1);

if ((is_ie) && (!is_ie5up))
window.location.replace("upgrade_browser.html");

if ((is_nav) && (!is_nav5up))
window.location.replace("upgrade_browser.html");


function goto_URL(object) {
window.location.href =  object.options[object.selectedIndex].value;
}



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_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 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.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}


function blurIE(arg) {
if(is_ie) 
arg.blur();
}


function customScripts() {

MM_preloadImages('/images/bn_home_o.gif','/images/bn_about_o.gif','/images/bn_services_o.gif','/images/bn_portfolio_o.gif','/images/bn_contact_o.gif');
MM_preloadImages('/images/bn_email_o.gif');
displayFeatured();

}


var theFeatured = new Array() 

theFeatured[0] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-bed-1a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Noak\'s Ark</strong></p><p>Painting animals two by two—it was great fun for me. The clients wanted a Noah\'s Ark scene for their soon-to-be-born baby, a scene with lots of animals. I located the perfect inspiration . . .</td></tr><tr><td class=readmore><a href="port-murals-bed1.html" class=readmorelink>Find out more >></a></td></tr></table></td></tr></table>'
theFeatured[1] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-dining-2a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Polcari\'s Restaurant</strong></p><p>The first Polcari\'s Restaurant I painted was a mural in their Stoneham location. When they called me back to paint three insets over the kitchen in their Hyannis restaurant, I jumped at the chance . . .</p></td></tr><tr><td class=readmore><a href="port-murals-din2.html" class=readmorelink>Find out more >></a></td></tr></table>'
theFeatured[2] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-play-2a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Savannah</strong></p><p>Located over a 3-car garage, this room gave me a large canvas with which to work. And with a budget of 3 weeks time, I knew I could create a wonderful, detailed mural. Originally, the client and I . . .</p></td></tr><tr><td class=readmore><a href="port-murals-play2.html" class=readmorelink>Find out more >></a></td></tr></table>'
theFeatured[3] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-win-4a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Jay Window</strong></p><p>This window was boarded up after a master bedroom addition was added to the house, but Mom wanted her daughter to have her view back . . .</p></td></tr><tr><td class=readmore><a href="port-murals-win4.html" class=readmorelink>Find out more >></a></td></tr></table>'
theFeatured[4] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-pro-1a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Pediatric Office</strong></p><p>When I began painting here, all I could hear was the typical crying babies one hears in a pediatric office. After the exam rooms were completed and I was working on the beach scene in the hall . . .</p></td></tr><tr><td class=readmore><a href="port-murals-pro1.html" class=readmorelink>Find out more >></a></td></tr></table>'
theFeatured[5] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-bed-6a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Marco Polo</strong></p><p>This mural was a real joy and a real challenge as it was in return for my web site you are looking at and I wanted to make it as incredible as think my web site is! With a new baby boy arriving soon . . .</p></td></tr><tr><td class=readmore><a href="port-murals-bed6.html" class=readmorelink>Find out more >></a></td></tr></table>'
theFeatured[6] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-front-6a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Vestibule</strong></p><p>Inspired by Ming Dynasty scroll paintings I created a sophisticated and simple entry to match the superb taste of this Asian family’s home. A plaster technique was used to create . . .</p></td></tr><tr><td class=readmore><a href="port-murals-front6.html" class=readmorelink>Find out more >></a></td></tr></table>'
theFeatured[7] = '<table width=602 border=0 cellspacing=0 cellpadding=0><tr><td width=380 valign=top><img src=images/murals-play-4a.jpg width=366 height=244></td><td width=222 valign=top><table width=185 border=0 cellspacing=0 cellpadding=10 class=hometestimonialborder><tr><td><p><strong>Jungle Animals</strong></p><p>Two toddler girls get to have fun in their adjoining rooms used as both a nursery and a playroom. Mom and dad spent time on an African safari and wanted to  . . .</p></td></tr><tr><td class=readmore><a href="port-murals-play4.html" class=readmorelink>Find out more >></a></td></tr></table>'


var j = 0
var p = theFeatured.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theFeatured[i]
}
var whichFeatured = Math.round(Math.random()*(p-1));

theHomeText = '<span class=firstsentence>Welcome to my website!</span>  This is my on-line portfolio, a place where my clients, potential clients and lovers of art can view a compilation of my work. Years of creating original artwork and beautiful walls has blessed me with many pictures, rich memories, and a lot of stories to tell. I hope you find inspiration here, as well as a source for new ideas in your own life. There\'s a world of colors, textures, designs and techniques here - as well as guidelines and information on how to have a Meryl\'s Mural of your very own. Enjoy your visit.';

function displayFeatured() {
if (document.getElementById('featured')) {
document.getElementById('featured').innerHTML = theFeatured[whichFeatured];
}
if (document.getElementById('hometext')) {
document.getElementById('hometext').innerHTML = theHomeText;
}

}


// generates the random thumbnail for Services - Murals
function showMurals(){
var thumbMural = new Array() 

thumbMural[0] = 'images/murals-bath-1-thumb.jpg'
thumbMural[1] = 'images/murals-bath-2-thumb.jpg'
thumbMural[2] = 'images/murals-bath-3-thumb.jpg'
thumbMural[3] = 'images/murals-bath-4-thumb.jpg'
thumbMural[4] = 'images/murals-bath-5-thumb.jpg'
thumbMural[5] = 'images/murals-bed-1-thumb.jpg'
thumbMural[6] = 'images/murals-bed-2-thumb.jpg'
thumbMural[7] = 'images/murals-bed-3-thumb.jpg'
thumbMural[8] = 'images/murals-bed-4-thumb.jpg'
thumbMural[9] = 'images/murals-bed-5-thumb.jpg'
thumbMural[10] = 'images/murals-dining-1-thumb.jpg'
thumbMural[11] = 'images/murals-dining-2-thumb.jpg'
thumbMural[12] = 'images/murals-dining-3-thumb.jpg'
thumbMural[13] = 'images/murals-front-1-thumb.jpg'
thumbMural[14] = 'images/murals-front-2-thumb.jpg'
thumbMural[15] = 'images/murals-front-3-thumb.jpg'
thumbMural[16] = 'images/murals-play-1-thumb.jpg'
thumbMural[17] = 'images/murals-play-2-thumb.jpg'
thumbMural[18] = 'images/murals-play-3-thumb.jpg'
thumbMural[19] = 'images/murals-pro-1-thumb.jpg'
thumbMural[20] = 'images/murals-pro-2-thumb.jpg'
thumbMural[21] = 'images/murals-pro-3-thumb.jpg'
thumbMural[22] = 'images/murals-pro-4-thumb.jpg'
thumbMural[23] = 'images/murals-win-1-thumb.jpg'
thumbMural[24] = 'images/murals-win-2-thumb.jpg'
thumbMural[25] = 'images/murals-win-3-thumb.jpg'
thumbMural[26] = 'images/murals-win-4-thumb.jpg'
thumbMural[27] = 'images/murals-bed-7-thumb.jpg'
thumbMural[28] = 'images/murals-bed-8-thumb.jpg'
thumbMural[29] = 'images/murals-bed-9-thumb.jpg'
thumbMural[30] = 'images/murals-front-4-thumb.jpg'
thumbMural[31] = 'images/murals-dining-4-thumb.jpg'
thumbMural[32] = 'images/murals-dining-5-thumb.jpg'
thumbMural[33] = 'images/murals-front-5-thumb.jpg'
thumbMural[34] = 'images/murals-front-6-thumb.jpg'
thumbMural[35] = 'images/murals-play-4-thumb.jpg'

var j = 0
var p = thumbMural.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thumbMural[i]
}

var whichMural = Math.round(Math.random()*(p-1));;

document.write('<img border="0" width="100" height="116" vspace="5" src="'+thumbMural[whichMural]+'">');
}

// generates the random thumbnail for Services - Deocrative
function showDecorative(){
var thumbDecorative = new Array() 

thumbDecorative[0] = 'images/decorative-1-thumb.jpg'
thumbDecorative[1] = 'images/decorative-2-thumb.jpg'
thumbDecorative[2] = 'images/decorative-3-thumb.jpg'
thumbDecorative[3] = 'images/decorative-4-thumb.jpg'
thumbDecorative[4] = 'images/decorative-6-thumb.jpg'
thumbDecorative[5] = 'images/decorative-7-thumb.jpg'

var j = 0
var p = thumbDecorative.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thumbDecorative[i]
}
var whichDecorative = Math.round(Math.random()*(p-1));

document.write('<img border="0" width="100" height="116" vspace="5" src="'+thumbDecorative[whichDecorative]+'">');
}

// the following generates the ramdom thumbnail for Services - Faux
function showFaux(){
var thumbFaux = new Array() 

thumbFaux[0] = 'images/faux-1-thumb.jpg'
thumbFaux[1] = 'images/faux-2-thumb.jpg'
thumbFaux[2] = 'images/faux-3-thumb.jpg'
thumbFaux[3] = 'images/faux-4-thumb.jpg'
thumbFaux[4] = 'images/faux-5-thumb.jpg'
thumbFaux[5] = 'images/faux-6-thumb.jpg'

var j = 0
var p = thumbFaux.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thumbFaux[i]
}
var whichFaux = Math.round(Math.random()*(p-1));

document.write('<img border="0" width="100" height="116" vspace="5" src="'+thumbFaux[whichFaux]+'">');
}

// the following generates the random thumbnail for Services - Glazing
function showGlazing(){
var thumbGlazing = new Array() 

thumbGlazing[0] = 'images/wall-1-thumb.jpg'
thumbGlazing[1] = 'images/wall-2-thumb.jpg'
thumbGlazing[2] = 'images/wall-3-thumb.jpg'
thumbGlazing[3] = 'images/wall-4-thumb.jpg'
thumbGlazing[4] = 'images/wall-5-thumb.jpg'
thumbGlazing[5] = 'images/wall-6-thumb.jpg'
thumbGlazing[6] = 'images/wall-7-thumb.jpg'
thumbGlazing[7] = 'images/wall-8-thumb.jpg'
thumbGlazing[8] = 'images/wall-9-thumb.jpg'
thumbGlazing[9] = 'images/wall-10-thumb.jpg'

var j = 0
var p = thumbGlazing.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thumbGlazing[i]
}
var whichGlazing = Math.round(Math.random()*(p-1));

document.write('<img border="0" width="100" height="116" vspace="5" src="'+thumbGlazing[whichGlazing]+'">');
}

// the following generates the random thumbnail for Services - Skies
function showSkies(){
var thumbSkies = new Array() 

thumbSkies[0] = 'images/sky-1-thumb.jpg'
thumbSkies[1] = 'images/sky-2-thumb.jpg'
thumbSkies[2] = 'images/sky-3-thumb.jpg'
thumbSkies[3] = 'images/sky-4-thumb.jpg'
thumbSkies[4] = 'images/sky-5-thumb.jpg'
thumbSkies[5] = 'images/sky-6-thumb.jpg'
thumbSkies[6] = 'images/sky-7-thumb.jpg'

var j = 0
var p = thumbSkies.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thumbSkies[i]
}
var whichSky = Math.round(Math.random()*(p-1));

document.write('<img border="0" width="100" height="116" vspace="5" src="'+thumbSkies[whichSky]+'">');
}

// the following generates the random thumbnail for Services - Tromp
function showTromp(){
var thumbTromp = new Array() 

thumbTromp[0] = 'images/tromp-1-thumb.jpg'
thumbTromp[1] = 'images/tromp-2-thumb.jpg'
thumbTromp[2] = 'images/tromp-3-thumb.jpg'
thumbTromp[3] = 'images/tromp-4-thumb.jpg'
thumbTromp[4] = 'images/tromp-5-thumb.jpg'
thumbTromp[5] = 'images/tromp-6-thumb.jpg'
thumbTromp[6] = 'images/tromp-7-thumb.jpg'

var j = 0
var p = thumbTromp.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thumbTromp[i]
}
var whichTromp = Math.round(Math.random()*(p-1));

document.write('<img border="0" width="100" height="116" vspace="5" src="'+thumbTromp[whichTromp]+'">');
}

// the following generates the random thumbnail for Services - Etc
function showEtc(){
var thumbEtc = new Array() 

thumbEtc[0] = 'images/etc-1-thumb.jpg'
thumbEtc[1] = 'images/etc-2-thumb.jpg'
thumbEtc[2] = 'images/etc-3-thumb.jpg'
thumbEtc[3] = 'images/etc-4-thumb.jpg'

var j = 0
var p = thumbEtc.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = thumbEtc[i]
}
var whichEtc = Math.round(Math.random()*(p-1));

document.write('<img border="0" width="100" height="116" vspace="5" src="'+thumbEtc[whichEtc]+'">');
}



//-->



