//*--------------------------------------------------
//* Browser Detect
//*--------------------------------------------------
var imageURL;
var menuItemWidth;
var isNav, isIE;
if (parseInt(navigator.appVersion) >= 4) {
	if (navigator.appName == "Netscape") {
		isNav = true;
	} else {
		isIE = true;
	}
}

//*--------------------------------------------------
//* Buy Button menuItemProp
//*--------------------------------------------------

var ltcategorybuttonstyle = new Array();

ltcategorybuttonstyle["width"] = 100;
ltcategorybuttonstyle["color"] = "#6633CC";
ltcategorybuttonstyle["font-size"] = "11px";
ltcategorybuttonstyle["font-weight"] = "normal";
ltcategorybuttonstyle["font-style"] = "normal";
ltcategorybuttonstyle["font-family"] = "Arial,Helvetica";
ltcategorybuttonstyle["border-width"] = 1;
ltcategorybuttonstyle["border-color"] = "#2470B6";
ltcategorybuttonstyle["border-style"] = "solid";
ltcategorybuttonstyle["line-height"] = "normal";
ltcategorybuttonstyle["cursor"] = "hand";

if (isIE) {
	ltcategorybuttonstyle['padding'] = 2;
	ltcategorybuttonstyle["width"] = 100;
	menuItemWidth = 100;
} else if (isNav) {
	ltcategorybuttonstyle['padding'] = 0;
	ltcategorybuttonstyle["width"] = 120;
	menuItemWidth = 120;
}

if (location.href.substr(0,5) != "https") {
	imageURL = "images/tri.gif"
}
else {
	imageURL = "images/tri.gif"
}
    
var rootCategoryButtonProp = new menuItemProp
(
	menuItemWidth,							// width
	"#FFFFFF",								// bgcolor
	"#f6f6f6",								// highlightcolor
	2,										// borderwidth
	imageURL,								// imagesrc
	10,										// imagewidth
	ltcategorybuttonstyle
);

var ltCategoryButtonProp = new menuItemProp
(
	menuItemWidth,							// width
	"#FFFFFF",								// bgcolor
	"#f6f6f6",								// highlightcolor
	2,										// borderwidth
	imageURL,								// imagesrc
	10,										// imagewidth
	ltcategorybuttonstyle
);

var dkCategoryButtonProp = new menuItemProp
(
	menuItemWidth,							// width
	"#ffe4b3",								// bgcolor
	"#f6f6f6",								// highlightcolor
	2,										// borderwidth
	imageURL,								// imagesrc
	10,										// imagewidth
	ltcategorybuttonstyle
);
