// Milonic DHTML Menu
// Please note that major changes to this file have been made and is not compatible with earlier versions..
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you can remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
// Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.


// The following line is critical for menu operation, and must appear only once.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500					// The time delay for menus to remain visible on mouse off
followspeed=5				// Follow Scrolling speed (higher number makes the scrolling smoother but slower)
followrate=40				// Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
suboffset_top=6;			// Sub menu offset Top position 
suboffset_left=12;			// Sub menu offset Left position

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=95);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5);"
}

style2=[					// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"ffffff",					// Mouse Off Font Color
"669ACC",					// Mouse Off Background Color
"ffffff",					// Mouse On Font Color
"013567",					// Mouse On Background Color
"cccccc",					// Menu Border Color 
10,							// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",					// Font Style (italic or normal)
"bold",						// Font Weight (bold or normal)
"Verdana, Geneva, Arial, Helvetica, sans-serif",	// Font Name
5,							// Menu Item Padding
"images/arrowwhite.gif",	// Sub Menu Image (Leave this blank if not needed)
,							// 3D Border & Separator bar
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
"013567",					// Current Page Item Font Color (leave this blank to disable)
"",						// Current Page Item Background Color (leave this blank to disable)
"images/arrowwhite.gif",	// Top Bar image (Leave this blank to disable)
"cccccc",					// Menu Header Font Color (Leave blank if headers are not needed)
"ffffff",					// Menu Header Background Color (Leave blank if headers are not needed)
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called

//100,				// Menu Top - The Top position of the menu in pixels
//250,				// Menu Left - The Left position of the menu in pixels
100,					// Menu Top - The Top position of the menu in pixels
,					// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
,					// Menu Border Width 
"",					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"",					// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
1,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use

,"&nbsp;&nbsp;Home&nbsp;&nbsp;","index.asp","Home Page",":: Home Page ::",1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"

,"&nbsp;&nbsp;Contact&nbsp;Us&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=ContactUs","ContactUs.asp",":: Contact Miller Publishing Corporation ::",1

,"&nbsp;&nbsp;Publications&nbsp;&nbsp;&nbsp;&nbsp;", "show-menu=Publications", "#",":: View Our Publications::",1

,"&nbsp;&nbsp;Company&nbsp;Search&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=Search","SearchLanding.asp",":: Search Our Database ::",1

,"&nbsp;&nbsp;Advertising&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=Advertising","#",":: Inquire About Advertising at Miller Publishing ::",1

,"&nbsp;&nbsp;Bookmark&nbsp;Our&nbsp;Site&nbsp;&nbsp;&nbsp;&nbsp;","javascript:addbookmark()",,":: Bookmark This Site ::",1

//,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","",,"",1

//,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","",,"",1
//,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","",,"",1
//,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","",,"",1
//,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","",,"",1
//,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","",,"",1

])


if(document.layers)m1div="_d.layers['menu1'].document.layers['mel1'].document.layers['subscribeform']"; else m1div="subscribeform"

	addmenu(menu=["ContactUs",
	,,140,1,"",style2,,"",effect,,,,,,,,,,,,
//	,"About Us","AboutUs.asp",,":: About Us!::",1
	,"Send Your Feedback / Questions", "ContactUs.asp",,":: Contact Us! ::",1
	,"Our Staff - For Your Assistance","Staff.asp",,":: Our Staff ::",1
	])
	
	
	addmenu(menu=["Search",
	,,140,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Imported Wood Purchasing Guide","Search.asp?SearchType=Import",,":: Imported Wood Purchasing Guide ::",1
	,"Dimension & Wood Components Buyer's Guide", "Search.asp?SearchType=Dim",,":: Dimension & Wood Components Guide ::",1
	,"Forest Products Export Directory", "Search.asp?SearchType=Export",,":: Forest Products Export Directory ::",1
	,"Hardwood Purchasing Handbook", "Search.asp?SearchType=Hardwood",,":: Hardwood Purchasing Handbook ::",1
	])
	
	

	addmenu(menu=["Publications",
	,,140,1,"",style2,,"",effect,,,,,,,,,,,,
	,"National Hardwood Magazine","NationalHardwoodMag.asp",,":: National Hardwood Magazine ::",1
	,"Import / Export Wood Purchasing News", "ImportExportWoodPurchasingNews.asp",,":: Import Export Wood Purchasing News ::",1			
	,"Softwood Forest Products Buyer", "SoftwoodForestProductsBuyer.asp",,":: Softwood Forest Products Buyer ::",1			
	,"Classified Exchange", "ClassifiedExchange.asp",,":: Classified Exchange ::",1				
	,"Hardwood Purchasing Handbook", "HardwoodPurchasingHandbook.asp",,":: Hardwood Purchasing Handbook ::",1
	,"Imported Wood Purchasing Guide", "ImportedWoodPurchasing.asp",,":: Imported Wood Purchasing Guide ::",1			
	,"Forest Products Export Directory", "ForestProductsExportDirectory.asp",,":: Forest Products Export Directory ::",1	
	,"Dimension & Wood Components Buyer's Guide", "DimBook.asp",,":: Dimension & Wood Components Buyer`s Guide  ::",1			
	,"Hardwood Marketing Directory", "HardwoodMarketingDirectory.asp",,":: Hardwood Marketing Directory ::",1			
	,"Softwood Marketing Directory", "SoftwoodMarketingDirectory.asp",,":: Softwood Marketing Directory ::",1			
	])

	addmenu(menu=["Advertising",
	,,140,1,"",style2,,"",effect,,,,,,,,,,,,
	,"National Hardwood Magazine","AdvertisingContact.asp?Publication=NationalHardwoodMag&ID=1",,":: National Hardwood Magazine ::",1
	,"Import / Export Wood Purchasing News", "AdvertisingContact.asp?Publication=ImportExportWoodPurchasingNews&ID=2",,":: Import Export Wood Purchasing News ::",1			
	,"Softwood Forest Products Buyer", "AdvertisingContact.asp?Publication=SoftwoodForestProductsBuyer&ID=3",,":: Softwood Forest Products Buyer ::",1			
	,"Classified Exchange", "AdvertisingContact.asp?Publication=ClassifiedExchange&ID=4",,":: Classified Exchange ::",1				
	,"Hardwood Purchasing Handbook", "AdvertisingContact.asp?Publication=HardwoodPurchasingHandbook&ID=5",,":: Hardwood Purchasing Handbook ::",1
	,"Imported Wood Purchasing Guide", "AdvertisingContact.asp?Publication=ImportedWoodPurchasing&ID=6",,":: Imported Wood Purchasing Guide ::",1			
	,"Forest Products Export Directory", "AdvertisingContact.asp?Publication=ForestProductsExportDirectory&ID=7",,":: Forest Products Export Directory ::",1	
	,"Dimension & Wood Components Buyer's Guide", "AdvertisingContact.asp?Publication=DimBook&ID=8",,":: Dimension & Wood Components Buyer`s Guide  ::",1			
	])
	

	
	//addmenu(menu=["quicklinks",,,145,1,"",style2,,"left",effect,,,,,,,,,,,,
	//,"Domain WHOIS","http://www.psacake.com/web/br.asp",,":: Domain WhoIS ::",1
	//,"Reverse IP Lookup","http://www.psacake.com/web/eg.asp",,":: Reverse IP Lookup ::",1
	//])


//////////////////////////////////
// Editable properties END here //
//////////////////////////////////

// Bookmard Function

var bookmarkurl="http://www.millerpublishing.com"
var bookmarktitle="Miller Publishing Corporation"

function addbookmark()
{
	if (document.all)
	window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

dumpmenus() // This must be the last line in this file

