//variables
var POS1 = 'relative';
var CSS1 = {ON:'FItopNORMALleft', OVER:'FItopOVER'};
var CSS1LEFT = {ON:'FItopNORMALleft', OVER:'FItopOVER'};
var CSS1RIGHT = {ON:'FItopNORMALright', OVER:'FItopOVER'};
var CSS2 = {ON:'FIsubNORMAL', OVER:'FIsubOVER'};
var COLOR1 = {border:"#666666", shadow:"#DBD8D1", bgON:"#3C8AD7", bgOVER:"#00a8ff", imagebg:"# ", oimagebg:"# "};
var COLOR2 = {border:"#666666", shadow:"#666666", bgON:"#ffffff", bgOVER:"#B6BDD2", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"};
var MENU_ITEMS = null;

HTTP_HOST = document.location.hostname;
HTTP_PROT = document.location.protocol;
HTTP_PATH = document.location.pathname;
//alert(HTTP_PROT +' | '+HTTP_HOST + ' | '+HTTP_PATH);
BLANK_IMAGE = HTTP_PROT+'//'+HTTP_HOST+'/images/1p-trans.gif';

//menu items
var MENU_ITEMS = [
				
    {   pos:POS1	 
			, size:[25,60] 	
			, itemoff:[0, 59]
			, leveloff:[0, 0]
			, delay:0
			, imgsize:[0, 0]
			, arrsize:[24, 13]
			, alt:'code', status:'url'
			, style:{css:CSS1, color:COLOR1, border:0, borders:[0, 0, 0, 0], shadow:0}			
		}, 
		{code:"Home", url:"/", format:{itemoff:[0, 0], size:[25,55]}},				
    {code:"Schedule an Inspection", url:"/order", format:{'itemoff':[0,55], 'size':[25,160]}}, // itemoff is offset from previous element ('Home')
		{code:"Lenders & Realtors", url:"/mortgage_lenders_fi.html", format:{'itemoff':[0,160], 'size':[25,125]}},
		{code:"Home Owners", url:"/home_owners_fi.html", format:{'itemoff':[0,125], 'size':[25,105]}},
    {code:"Services", url:"/services_fi.html", format:{'itemoff':[0,105], 'size':[25,74]},
			
			sub:[			
          {  size:[25, 275]
					 , itemoff:[24, 0]
					 , leveloff:[24, 0]
					 , delay:0
					 , imgsize:[16, 16]
					 , arrsize:[0, 0]
					 , style:{border:1, borders:[0, 0, 0, 0], shadow:3, color:COLOR2, css:CSS2}
					}
					 , 
					 	{code:"Mobile Home Foundation Certifications", url:"/mobile_home_foundation_certifications_fi.html"},
						{code:"Single Family Dwellings (Site-Built)", url:"/structural_inspections_fi.html"},
						{code:"Structural Inspections & Engineer Reports", url:"/structural_inspections_fi.html"},
						{code:"for Home Owners", url:"/home_owners_fi.html"},
            {code:"for Lenders &amp; Realtors", url:"/mortgage_lenders_fi.html"},
            {code:"Inspector Network", url:"/inspectors_fi.html"},
						//{code:"How We Save You Money", url:"/value_engineering_fi.html"},
      		]},
		
		
		//{code:"About Us", url:"/aboutus_fi.html", format:{itemoff:[0,80],size:[25,80]}},
    //{code:"Contact Us", url:"/contactus_fi.html", format:{itemoff:[0,80],size:[25,82]}},
		
		{code:"Testimonials", url:"/testimonials.html", format:{itemoff:[0,74],size:[25,92]}},
    {code:"About Us", url:"/aboutus_fi.html", format:{itemoff:[0,92],size:[25,76]}},
		
    {code:"Resources", format:{itemoff:[0,76],size:[25,76]}, 
		
      sub:[
      {size:[25, 200], itemoff:[24, 0], leveloff:[24, -100], delay:10 , arrsize:[24, 13], style:{border:1, borders:[0, 0, 0, 0], shadow:3, color:COLOR2, css:CSS2}}, 
        {code:"Frequently Asked Questions", url:"/faq_fi.html"},
        {code:"Glossary of Terms", url:"/glossary_of_terms_definitions_foundation_certifications_fi.html"},
				{code:"Inspector Login", url:"/backoffice"}
				
      ]}
];





