//document.write("<div align='center'>");
//document.write("<table align='center'><tr><td>");
StartMenu();
// MENU OPTIONS - you will find more options in the corporatestyle.css
MFL            = 0;                         // MENU DISTANCE FROM EDGE
MFT            = -2;                        // MENU DISTANCE FROM TOP
ALIGN          = "left"                     // MENU LEFT OR RIGHT
TMH            = 14;                        // TOP MENU HEIGHT
TMFS           = "8";                       // TOP MENU FONT SIZE
TMFW           = "normal";                  // TOP MENU FONT WEIGHT bold/normal
TMFF           = "verdana";					// TOP MENU FONT FACE
TMC            = "";               		    // TOP MENU OFF FONT COLOR
TMBC           = "000000";                  // TOP MENU OFF BACKGROUND COLOR
TMBI           = "picts/bottom-shade.gif";  // TOP MENU OFF BACKGROUND IMAGE
//TMBI = "picts/menu.gif";                	// TOP MENU OFF BACKGROUND IMAGE
TMHC           = "gold";                   	// TOP MENU HOVER TEXT COLOR
TMHBC          = "0f0f0f";                 	// TOP MENU HOVER BACKGROUND COLOR
TMHBI          = "picts/bottom-shade.gif";  // TOP MENU HOVER BACKGROUND IMAGE
MO             = TMH;                     	// Y MENU OVERLAP CHANGE NUMBER VALUE
SUBshift       = 0;                         // SHIFT SUBMENU RIGHT

// START SUBMENU OPTIONS - you will find more options in the corporatestyle.css
SMH            = 14;                        // SUB MENU HEIGHT
SMFS           = "8";                       // SUB MENU FONT SIZE
SMFW           = "normal";                  // SUB MENU FONT WEIGHT bold/normal
SMFF           = "verdana";    				// SUB MENU FONT FACE
SMC            = "";           			    // SUB MENU OFF FONT COLOR
SMBC           = "000000";     	            // SUB MENU OFF BACKGROUND COLOR
SMHC           = "gold";       	            // SUB MENU HOVER TEXT COLOR
SMHBC          = "0f0f0f";     	            // SUB MENU HOVER BACKGROUND COLOR

SubMenu();

// START MENU NUMBER 1 COPY AND PASTE A GROUP TO ADD A NEW TOP LEVEL SEE NOTE BELOW
Top_Width[0]=150; Sub_Menu_Width[0]=150;	//150 150 226 
m[0]='Home';n[0]='index.html';st[0]="";s[0]="";
//+l+"index.html"+r+" Homepage"+c;
//+l+"#"+r+" Company n/a"+c
//+l+"#"+r+" About Us n/a"+c
//+l+"#"+r+" Contact Us n/a"+c
//+l+"iPhotoViewer.asp"+r+" Photo Show "+c;
//+l+"show/photoviewer/bin/PhotoViewer.html"+r+" Pictures "+c;

Top_Width[1]=150; Sub_Menu_Width[1]=150;
m[1]='The Plantation';n[1]='#';st[1]="";s[1]=""
+l+'javascript:show("moviesFLV_inc_content.htm");'+r+" Video`s "+c
//+l+"#"+r+" Horse Farm n/a"+c
//+l+"#"+r+" Pecan Farm n/a"+c
//+l+"#"+r+" Pine Tree Farm n/a"+c;
+l+'javascript:show("naturepreserveturnshow.htm");'+r+" Nature Preserve "+c;

Top_Width[2]=150; Sub_Menu_Width[2]=150;
m[2]='Horse Farm';n[2]='#';st[2]="";s[2]=""
+l+'javascript:show("horses_inc_content.htm");'+r+"Paso Fino Horses"+c
//+l+'javascript:show("fisheye.htm");'+r+"Our Horses"+c
+l+'javascript:show("f");'+r+" Stable Facilities "+c
//iPlex("facilities_inc_content.htm","dcontent");
//+l+"stallion.htm"+r+" Our Stallion "+c
//+l+"#"+r+" Our Foales n/a"+c
//+l+"#"+r+" Horses for Sale n/a"+c
+l+'javascript:show("boarding_inc_content.htm");'+r+"Boarding"+c
+l+'Boarding/BrochureInw.pdf'+'\' target=\"_blanc\"'+r+" Printable Broschure1 "+c
+l+'Boarding/BrochureOutw.pdf'+'\' target=\"_blanc\"'+r+" Printable Broschure2 "+c
+l+'javascript:show("horse4sale_inc_content.htm");'+r+"Horses for Sale"+c
+l+'javascript:show("memory_inc_content.htm");'+r+" Memories "+c;

Top_Width[3]=150; Sub_Menu_Width[3]=150;
m[3]='Christmas Tree Farm';n[3]='#';st[3]="";s[3]=""
//+l+"#"+r+" About The Farm n/a"+c
+l+'javascript:show("servicedates_inc_content.htm");'+r+' Dates & Services'+c
+l+'javascript:show("map_inc_content.htm");'+r+" Map & Directions "+c
+l+'javascript:show("christmastreephotoshow.htm");'+r+" Photo Gallery "+c;
//+l+"#"+r+" Picture Gallery n/a"+c;

Top_Width[4]=150; Sub_Menu_Width[4]=150;
m[4]='Links';n[4]='javascript:show("links.htm");';st[4]="";s[4]="";
/*
+l+"#"+r+" About Paso Fino`s n/a"+c
*/
//+l+"#"+r+" Website Links n/a"+c
//+l+"#"+r+" Partner List n/a"+c;

Top_Width[5]=150; Sub_Menu_Width[5]=150;
m[5]='Contact Us';n[5]='javascript:show("contact_inc_content.htm");';st[5]="#";s[5]="";
//+l+'javascript:show("contact_inc_content.htm");'+r+" Contact Us "+c;
/*
+l+"#"+r+" Quotes n/a"+c
+l+"#"+r+" F.A.Q. Section n/a"+c
+l+"#"+r+" PDF File Section n/a"+c
+l+"#"+r+" Site Map n/a"+ c;
*/

ADJ[0]=MFL;
ADJ[1]=(Top_Width[0])+MFL;
ADJ[2]=(Top_Width[0]+Top_Width[1])+MFL;
ADJ[3]=(Top_Width[0]+Top_Width[1]+Top_Width[2])+MFL;
ADJ[4]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3])+MFL;
ADJ[5]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3]+Top_Width[4])+MFL;

// IF YOU ADD ANOTHER TOP LEVEL MENU YOU MUST ADD TO THE BOTTOM OF THIS LIST
// ================================================================
// YOU DO NOT NEED TO EDIT BELOW THIS LINE 2006 Allwebco Design
// ================================================================

MENU=m.length
for (i=0; i < MENU; i++){
       // START WRITING TOP LEVEL MENUS
       document.write("<div align='center' width='100%' class='menu_DIV' style='height:"+TMH+";position:absolute;"+ALIGN+":"+ADJ[i]+"; top:"+MFT+"; middle:"+(MFT+MO)+"; width:"+Top_Width[i]+";' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>")
/*
       if(n[i]==""){
               document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"';this.style.backgroundImage='URL("+TMHBI+")'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"';this.style.backgroundImage='URL("+TMBI+")'\">"+m[i]+"</a></div>")
       else{
*/
//    document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"';this.style.backgroundImage='URL("+TMHBI+")'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"';this.style.backgroundImage='URL("+TMBI+")'\">"+m[i]+"</a></div>")

	document.write("<a class='menu_TOP' style='height:"+TMH+"; valign:middle; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+";' onmouseover=\"this.style.color='"+TMHC+"';\"  onmouseout=\"this.style.color='"+TMC+"';\" href='" + n[i]+"'>"+m[i]+"</a></div>");
//     }
}

for (i=0; i < MENU; i++){
       // START WRITING SUB MENUS
       document.write("<div align='center' width='100%' id='SUB"+i+"' class='menu_DIV' style='position: absolute; "+ALIGN+":"+(ADJ[i]+SUBshift)+";middle:"+(MFT+MO)+";width:"+Sub_Menu_Width[i]+"; background-color:#"+SMBC+";' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>"+s[i]+"</div>")
}


function StartMenu(){
	
	var D6=window,Y7=document;
	function DETECT(){
		this.ver=navigator.appVersion;
		this.agent=navigator.userAgent;
		this.dom=Y7.getElementById?1:0;
		this.opera=this.agent.indexOf("Opera")>-1;
		this.ie4=(Y7.all && !this.dom && !this.opera)?1:0;
		this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
		this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
		this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;
		this.ie=this.ie4||this.ie5||this.ie6||this.ie7;
		this.mac=this.agent.indexOf("Mac")>-1;
		this.ns6=(this.dom && parseInt(this.ver)>=5)?1:0;
		this.ns4=(Y7.layers && !this.dom)?1:0;
		//this.BWD=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);
		this.BWD=(this.ie||this.ns4||this.ns6||this.opera||this.mac);
		return this
	}
	BWD=new DETECT();z=0;b=0;
	spn="";
	if(BWD.opera||BWD.ns6){
		b=2
	}
	if(BWD.ie){
		spn=" width: 100%"
	}
	else{
		z=6
	}
} 


function SubMenu(){
	document.write("<TABLE cellpadding='0' cellspacing='0' border='0' width='100%' BGCOLOR='#'+TMBC+''><tr><td valign='middle'>");
	document.write("<img src='picts/spacer.gif' width='100%' height='"+TMH+"'>");
	document.write("</td></tr></table>");
	document.write("<div width='100%' style='height:"+TMH+";position:absolute;top:"+MFT+";width:100%;background-image: url("+TMBI+"); background-color:#"+TMBC+";z-level:-2'></div>")
	l="<a class='menu_SUB' style='height:"+SMH+"; background-image: url("+TMBI+"); color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+SMBC+"';this.style.color='"+SMC+"'\" href='";
	r="' style='background-image:url(\""+TMBI+"\");'>";
	c="</a>";
	
	m=new Array();n=new Array();s=new Array();Sub_Menu_Width=new Array();su=new Array();st=new Array();Top_Width=new Array();ADJ=new Array()
}


function lib_obj(obj,nest){
	nest=(!nest) ? "":'document.'+nest+'.';
	this.evnt=BWD.dom? document.getElementById(obj):BWD.ie4?document.all[obj]:BWD.ns4?eval(nest+"document.layers." +obj):0;
	this.css=BWD.dom||BWD.ie4?this.evnt.style:this.evnt;this.ref=BWD.dom||BWD.ie4?document:this.css.document;
	this.x=parseInt(this.css.top)||this.css.pixeltop||this.evnt.offsettop||0;
	this.y=parseInt(this.css.left)||this.css.pixelleft||this.evnt.offsetleft||0;
	return this
}

function lib_doc_size(){
	this.x=0;
	this.x2=BWD.ie && document.body.offsetWidth-20||innerWidth||0;
	this.y=0;
	this.y2=BWD.ie && document.body.offsetHeight-5||innerHeight||0;
	this.x50=this.x2/2;
	this.y50=this.y2/2;
	return this;
}

lib_obj.prototype.ShowMenu = function(){
	this.css.visibility="visible"
}

lib_obj.prototype.HideMenu = function(){
	this.css.visibility="hidden"
}

function libinit(){
	page=new lib_doc_size();
	o=new Array();
	for (i=0; i < MENU; i++){
		o[i]=new lib_obj('SUB'+i);
		o[i].HideMenu()
	}
}

libinit();


//document.write("</div>");
//document.write("</td></tr></table>");
// END MENU CODE -->
