function o(URL, w, h, s)  
	{
	var params = 'resizable=yes,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars='
	params = params + s + ',copyhistory=0,width=' 
	params = params + w + ',height=' + h

	name = window.open(URL, 'window', params);
	}

function swap(imgIndex) 
	{
	document['imgMain'].src = aryImages[imgIndex];
	}

function LinkUpdate(LinkId,text) 
	{
	if (document.all) 
		{
		document.all[LinkId].href = text;
		}
	else if (document.getElementById) 
		{
		document.getElementById(LinkId).href = text;
		}
	}

function boxOn(which,cn) 
	{
	if (document.all||document.getElementById) 
		{
		// IE and Mozilla
		which.className = cn+'_on';
		}
	//else
	//	{
	//
	//	}
	}

function boxOff(which, cn) 
	{
	if (document.all||document.getElementById) 
		{
		which.className = cn;
		}
	}

function showSubMenu(menuname) 
	{
	hideSubMenu('sm1')
	hideSubMenu('sm2')
	hideSubMenu('sm3')
	hideSubMenu('sm4')
	hideSubMenu('sm5')
	hideSubMenu('sm6')
	hideSubMenu('sm7')

	document.getElementById(menuname).style.display='inline';
	document.getElementById(menuname).style.visibility='visible'
	return false;
	}

function hideSubMenu(menuname) 
	{
	document.getElementById(menuname).style.display='none';
	document.getElementById(menuname).style.visibility='hidden'
	return false;
	}
