var path = document.location.href;
var htmPos = path.indexOf("htm");
var lastSlashPos = path.lastIndexOf("/");
var page = path.substr(lastSlashPos+1,htmPos+4);
var isWeb = true;

/* Force page into index frameset */
if (parent==self && isWeb)
	{
	self.location.replace('index.html?right=' + page);
	}

function cat_sel()
	{
	var catDoc = "cat_fr.html";
	var cat_i=window.document.get_cat.cat_val.options.selectedIndex;
	var cat_v=window.document.get_cat.cat_val.options[cat_i].value;
	if (cat_v != "none")
		{
		window.location = catDoc + "?cat=" + cat_v;
		}
	}

function pr1_sel()
	{
	var prod_i=window.document.get_pr1.pr1_val.options.selectedIndex;
	var prod_v=window.document.get_pr1.pr1_val.options[prod_i].value;
	if (prod_v != "none")
		{
		window.location = prod_v;
		}
	}

function pr2_sel()
	{
	var prod_i=window.document.get_pr2.pr2_val.options.selectedIndex;
	var prod_v=window.document.get_pr2.pr2_val.options[prod_i].value;
	if (prod_v != "none")
		{
		window.location = prod_v;
		}
	}

function pr3_sel()
	{
	var prod_i=window.document.get_pr3.pr3_val.options.selectedIndex;
	var prod_v=window.document.get_pr3.pr3_val.options[prod_i].value;
	if (prod_v != "none")
		{
		window.location = prod_v;
		}
	}

function pr4_sel()
	{
	var prod_i=window.document.get_pr4.pr4_val.options.selectedIndex;
	var prod_v=window.document.get_pr4.pr4_val.options[prod_i].value;
	if (prod_v != "none")
		{
		window.location = prod_v;
		}
	}

function pr5_sel()
	{
	var prod_i=window.document.get_pr5.pr5_val.options.selectedIndex;
	var prod_v=window.document.get_pr5.pr5_val.options[prod_i].value;
	if (prod_v != "none")
		{
		window.location = prod_v;
		}
	}

function pr6_sel()
	{
	var prod_i=window.document.get_pr6.pr6_val.options.selectedIndex;
	var prod_v=window.document.get_pr6.pr6_val.options[prod_i].value;
	if (prod_v != "none")
		{
		window.location = prod_v;
		}
	}

/* Create "New Products" link -	Link will be missing for non-Javascript browsers */
function mk_nplk2()
{
document.write("<A HREF=\"javascript:parent.loadCat('newp');\"><IMG SRC=\"images/newp.gif\" WIDTH=\"72\" HEIGHT=\"48\" BORDER=\"0\"></A>");
}