  if (document.images) {

 	MP1=new Image
	MP2=new Image
 	MP3=new Image
	MP4=new Image
	MP5=new Image
	MP6=new Image
 	MP7=new Image
	MP8=new Image
	MP9=new Image
	MPnon=new Image
	Yprodnon=new Image


	MPnon.src="NewStart/images/MPnon.gif"	
	Yprodnon.src="NewStart/images/Yprodnon.gif"
	MP1.src="NewStart/images/MP1.gif"
	MP2.src="NewStart/images/MP2.gif"
	MP3.src="NewStart/images/MP3.gif"
	MP4.src="NewStart/images/MP4.gif"	
	MP5.src="NewStart/images/MP5.gif"
	MP6.src="NewStart/images/MP6.gif"
	MP7.src="NewStart/images/MP7.gif"
	MP8.src="NewStart/images/MP8.gif"
	MP9.src="NewStart/images/MP9.gif" }
 else {
	MPnon=""
	Yprodnon=""
 	MP1=""
	 MP2=""
	 MP3=""
	 MP4=""
	MP5=""
 	MP6=""
	 MP7=""
	 MP8=""
	MP9="" }


document.write("<STYLE type='text/css'> .pile { position: relative; z-index:4; } .hyde { color:#EFFFFF; }</STYLE>");
document.write("<MAP name='MBap2'>");
document.write("<AREA shape=RECT alt='Georgian Shutter' coords='4,20,54,112'         href='georgian.html'onclick='ok=1'>");
document.write("<AREA shape=RECT alt='Raised Panel Shutter ' coords=141,24,195,105 href='raised_panel.html'onclick='ok=1'>");
document.write("<AREA shape=RECT alt='Plantation Shutter with Sunburst' coords=217,7,294,103 href='plantation.html'onclick='ok=1'>");
document.write("<AREA shape=RECT alt='Brown Stone Shutters' coords=312,9,363,112 href='raised_panel.html'onclick='ok=1'>");
document.write("<AREA shape=RECT coords=381,19,441,117 href='raised_panel.html'onclick='ok=1'>");
document.write("<AREA shape=RECT alt='Plantation Shutter with Sunburst' coords=457,4,511,117 href='plantation.html'onclick='ok=1'>");
document.write("<AREA shape=RECT alt='Raised Panel 3 Panel Colonial Style' coords=526,8,586,119'  href='raised_panel.html'onclick='ok=1'>");
document.write("<AREA shape='rect' alt='Wooden Blind with Sunburst' coords='77,14,119,110' href='wooden.html'onclick='ok=1'></MAP>");


	var widd;
	 var OnOff;
	 var ok=0;
	var one= "MusicOn=ON";
	var w;
                 var moto;
	var igm="ON";	

function coupon() { 
        newstuff = window.open('pop20.html', 'coup', 'width=400, left=380, top=150, screenX=380,  screenY=150, height =500, scrollbars = yes');
		}

      function getone() { 
               Cname = document.cookie;		

   	mosky = document.cookie.length;
	if (      (mosky > 17 ) || (     Cname.indexOf("MusicOn") ==-1   )     )
	{cleanup(); }  else { return Cname; }


	return Dname;
    }

   function bakeone(name){ 
	
 	Poodie =new Date(); Poodie.setFullYear(Poodie.getFullYear() + 1);
	bakingname=name + ";expires=" +  Poodie.toGMTString();
	document.cookie = name + ";expires=" +  Poodie.toGMTString();
	//alert("baked " + bakingname);
	}


    function going(w)	{
	if ((ok==0) || (ok==3)) 
	   w.close();
       		}

   
    function SwitchOO()   {  
	if (OnOff == "MusicOn=RUNNING")  
			  { 
		OnOff="MusicOn=OFF";
		bakeone(OnOff);		
		 w = window.open("",'moto', 'width=40');
		w.close();  
		document.noise.src="images/M_On.gif";
		ok=0;	      
                                           }

	else {  OnOff="MusicOn=ON";  Play();

		//w = window.open("Music_Controls.html" ,"moto", "width=170,height=44"); w.blur();
		//OnOff="MusicOn=RUNNING";
		//bakeone(OnOff);	
		document.noise.src="images/M_Off.gif";
                            ok=0;  
		}
			}

               function DePart2() {			            

		if ((ok == 3) && (IEsucks==1)) {
		       ok=0;
		     return;  }

		if ((ok == 3) &&  (IEsucks==0)) {
		       ok=0;   }

		 if ((ok==0) && (OnOff=="MusicOn=RUNNING")) {
 	          	 OnOff="MusicOn=ON";
 		bakeone(OnOff); 
		 w = window.open("",'moto', 'width=40');
		going(w);  }

		}



	function cleanup() {
		if (Cname.indexOf("sicOn=ON") !=-1) {  // if it's inside...
			Dname="MusicOn=ON";
			return;   }

		if (Cname.indexOf("sicOn=RU") !=-1) {
			Dname="MusicOn=RUNNING";
			return;   }

		if (Cname.indexOf("icOn=OFF") !=-1) {
			Dname="MusicOn=OFF";
			return;  }
		else { Dname=""; }
			}



	
	function Play() {  
	   if (OnOff == "MusicOn=ON") {
	     w = window.open("Music_Controls.html", "moto", "width=179,height=14 ");  
                    w.blur();                
  	    OnOff = "MusicOn=RUNNING";
	     bakeone(OnOff);   
	     window.blur();	
	      window.focus();
	    
		 }
	                             }
	

  
