/*


*/


////////////
//        //
// STYLES //
//        //
////////////

// MenuBar
var mm_vertical = true;
var mm_BarItemWidth = '148px';				// 0 means autosize

var mm_styleMenuBarBackgroundColour = '#606060';
var mm_styleMenuBarHighlightBackgroundColour = '#8080C0';
var mm_styleMenuBarBorderColour = '#000000';
var mm_styleMenuBarBorderWidth = '0 0 0 0';
var mm_styleMenuBarBorderStyle = 'solid';
var mm_styleMenuBarPadding = '0';
if(Browser == Explorer)
	var mm_styleMenuBarItemPadding = '6px 6px 6px 6px';
else
	var mm_styleMenuBarItemPadding = '6px';		// Dunno why, just wierd.
var mm_styleMenuBarItemBorderStyle = 'solid';
var mm_styleMenuBarItemBorderColor = '#FFFFFF #000000 #FFFFFF #000000';
var mm_styleMenuBarItemBorderWidth = '0px 0 1px 0';
var mm_styleMenuBarItemAlign = 'center';
var mm_styleMenuBarMargin = '0 0 0 0';
var mm_styleMenuBar_NORM = "font-family:Arial; font-size:8pt; font-weight:bold; color:white; text-decoration:none;";
var mm_styleMenuBar_HOVR = "font-family:Arial; font-size:8pt; font-weight:bold; color:white; text-decoration:none;";
var mm_styleMenuBar_VIST = "font-family:Arial; font-size:8pt; font-weight:bold; color:white; text-decoration:none;";
var mm_styleMenuBar_LINK = "font-family:Arial; font-size:8pt; font-weight:bold; color:white; text-decoration:none;";

// Menus
var mm_styleMenuBackgroundColour = 'black';
var mm_styleMenuHighlightBackgroundColour = '#8080C0';
var mm_styleMenuBorderColour = '#000040';
var mm_styleMenuBorderWidth = '1px 0 0 0';
var mm_styleMenuBorderStyle = 'solid';
var mm_styleMenu_NORM = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";
var mm_styleMenu_HOVR = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";
var mm_styleMenu_VIST = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";
var mm_styleMenu_LINK = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";

// Menu Items
var mm_imageSubmenu = "/js/submenu.gif";

var mm_styleMenuItemBackgroundColour = '#A0A0A0';
var mm_styleMenuItemHighlightBackgroundColour = '#C0C0E0';
var mm_styleMenuItemPadding = '4px 8px 4px 8px';
var mm_styleMenuItemBorderColour = 'black';
var mm_styleMenuItemBorderWidth = '0 0 1px 0';
var mm_styleMenuItemBorderStyle = 'solid';
var mm_styleMenuItem_NORM = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";
var mm_styleMenuItem_HOVR = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";
var mm_styleMenuItem_VIST = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";
var mm_styleMenuItem_LINK = "font-family:Verdana; font-size:8pt; font-weight:normal; color:white; text-decoration:none;";



// CREATE MENU STRUCTURE

function ShowMenu()
{
	mm_Start();

	var tURL = 'http://www.mirtol.com';

	// CREATE MENUS
	var mHome = mm_CreateMenu('Home', 'Mirtol Limited', null, tURL+'/?'+mSID, '_top');
	var mDomains = mm_CreateMenu('Domain Registration', 'Domain registration', null, tURL+'/domains/?'+mSID, '_top');
	var mHosting = mm_CreateMenu('Website Hosting', 'Competitive professional hosting services', null, tURL+'/hosting/?'+mSID, '_top');
	var mDesign = mm_CreateMenu('Website Design', 'Web site design for everyone', null, tURL+'/design/?'+mSID, '_top');
	var mSupport = mm_CreateMenu('Technical Support', 'Support for our customers', null, 'http://support.mirtol.com/?'+mSID, '_top');
	var mAbout = mm_CreateMenu('About Mirtol Limited', 'About Mirtol Limited', null, tURL+'/about.php?'+mSID, '_top');
	var mContact = mm_CreateMenu('Contact Us', 'Contact us if you have any queries', null, tURL+'/contact.php?'+mSID, '_top');

	// MENU ITEMS
	// Domains
	mm_InsertMenuItem(mDomains, 0, 'Check Domain Availability', 'Register your domain with us', null, tURL+'/domains/?'+mSID, '_top', null);
	mm_InsertMenuItem(mDomains, 1, 'About Domains', 'Information about domains and ownership', null, tURL+'/domains/about.php?'+mSID, '_top', null);

	// Hosting
	mm_InsertMenuItem(mHosting, 0, 'Which hosting plan?', 'Help on how to choose the right plan for you', null, tURL+'/hosting/?'+mSID, '_top', null);
	mm_InsertMenuItem(mHosting, 1, 'MiniWeb', 'Stripped down budget plan', null, tURL+'/hosting/miniweb.php?'+mSID, '_top', null);
	mm_InsertMenuItem(mHosting, 2, 'OnTheWeb', 'Our start up hosting plan', null, tURL+'/hosting/ontheweb.php?'+mSID, '_top', null);
	mm_InsertMenuItem(mHosting, 3, 'OnTheWeb Plus', 'For the small and medium entrepreneur', null, tURL+'/hosting/onthewebplus.php?'+mSID, '_top', null);
	mm_InsertMenuItem(mHosting, 4, 'ProWeb', 'Full featured professional hosting', null, tURL+'/hosting/proweb.php?'+mSID, '_top', null);

	// ADD MENUS
	mm_AddToMenuBar(mHome);
	mm_AddToMenuBar(mDomains);
	mm_AddToMenuBar(mHosting);
	mm_AddToMenuBar(mDesign);
	mm_AddToMenuBar(mSupport);
	mm_AddToMenuBar(mAbout);
	mm_AddToMenuBar(mContact);

	// SHOW THE MENU
	mm_ShowMenu();

	mnu = document.getElementById("mm_styleMB");
	obj = document.getElementById("MiddleBar");
	pge = document.getElementById("Page");
//	mnu.style.left = pge.offsetLeft + obj.offsetLeft + "px";
//	mnu.style.top = pge.offsetTop + obj.offsetTop + "px";
}