

lastHiliteName = "";
lastHilite = new Image();
	
function Highlite(path, name)
	{
		if (lastHiliteName != name) 
		{
			DeHighlite();
			lastHilite.src = document[name].src;
			document[name].src = path+name+"_h.gif";
			lastHiliteName = name;
		}
	}
	
function DeHighlite() 
	{
		if (lastHiliteName != "") 
		{
			document [lastHiliteName].src = lastHilite.src;
			lastHiliteName = "";
		}
	}

// Look at the Current URL and them return Com 
// if it is Manroland.com, and CA if its Manroland.ca
function GetURLOrg()
{
	var Domain, CAIndex, COMIndex;
	//alert("A test ");
	Domain = document.URL;
	//object.indexOf(searchValue,[fromIndex])
	CAIndex = Domain.indexOf("manroland.ca");
	//document.write("CAIndex " + CAIndex);

	COMIndex = Domain.indexOf("manroland.com");
	//document.write("COMIndex " + COMIndex);
					
	if (CAIndex != -1 )
	{
		RetValue = "CA" ;
	}
	else
	{
	RetValue = "COM";
	}
	return RetValue;
}


// Opens the Ryobi Page
function Ryobi()
{
  //window.open('http://www.ryobi-group.co.jp/en/projects/printing/products/01.html','', 'width=800,height=500,top=200,left=25,scrollbars=yes');
  window.open('http://www.ryobi-group.co.jp/en/projects/printing/main.html','', 'width=800,height=500,top=200,left=25,scrollbars=yes');	
}
			  




