image1 = new Image();
image1.src = "images/TabsMouseOff.gif";

image2 = new Image();
image2.src = "images/TabsMouseOff.gif";

function preloadImages() {
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}


<!--


var TriggerMenuToDisplay;


function displayMenuItem (MenuToDisplay)
{
	if (MenuToDisplay==null)
	{
		MenuToDisplay=TriggerMenuToDisplay;
		TriggerMenuToDisplay = null;
		if (MenuToDisplay.TriggerSection != null) 
		{
			MenuToDisplay.TriggerSection.isMouseOver = 1;
		}
	}
	
	window.clearTimeout (RunningTimer);
	MenuToDisplay.NoShow = 1;	
	MenuToDisplay.style.display = '';
	MenuToDisplay.style.zIndex = 99;
	
	hideSelect(MenuToDisplay)
	
	if ((MenuToDisplay.offsetWidth + MenuToDisplay.offsetLeft) > (document.body.offsetWidth + document.body.scrollLeft ))
	{
		MenuToDisplay.style.left = ((document.body.offsetWidth + document.body.scrollLeft) - MenuToDisplay.offsetWidth ) -17;
	}
	else
	{
	}
	
	
	MenuToDisplay.isMouseOver=1;
	CleanNoShows();
}

var RunningTimer;

function UnSelectRow(Target)
{
	Target.style.backgroundColor = '#cc0033';
	Target.style.color = '#ffffff';
}

function SelectRow(Target)
{
	Target.style.backgroundColor = '#ffffff';
	Target.style.color = '#cc0033';
}

function TriggerDisplayMenuItem(MenuToDisplay)
{
	TriggerMenuToDisplay = MenuToDisplay;
	RunningTimer = window.setTimeout ('displayMenuItem(null);',5);
}

function TriggerhideMenuItem(MenuToDisplay)
{
	
	window.clearTimeout (RunningTimer);
	MenuToDisplay.NoShow = 1;
	
	if (MenuToDisplay.TriggerSection!=null)
	{
		MenuToDisplay.TriggerSection.isMouseOver = 0;
	}
	MenuToDisplay.isMouseOver=0;
	RunningTimer = window.setTimeout ("CleanNoShows()",1000);
}

function hideMenuItem (MenuToDisplay)
{
	window.clearTimeout (RunningTimer);
	MenuToDisplay.NoShow = 1;
	MenuToDisplay.isMouseOver=0;	
	RunningTimer = window.setTimeout ("CleanNoShows()",1000);
}

function AddMenuSection(MenuSection, TriggerSection)
{
	MenuSection.style.display = 'none';
	if (TriggerSection!=null)
	{
		TriggerSection.isMouseOver = 0;
		MenuSection.TriggerSection = TriggerSection;
	}
	
	MenuSection.NoShow = 1;	
	Navigation_sectionsArray.push (MenuSection);
	
}

function TimedCleanNoShows()
{
	window.clearTimeout (RunningTimer);
	RunningTimer = window.setTimeout ("CleanNoShows()",1000);
}

function CleanNoShows()
{	
	for (var x=0;x<Navigation_sectionsArray.length;x++)
	{
		if (Navigation_sectionsArray[x].NoShow == 1)
		{
			if (Navigation_sectionsArray[x].style.display != 'none')
			{
				showSelect(Navigation_sectionsArray[x]);
				Navigation_sectionsArray[x].style.display = 'none';
				Navigation_sectionsArray[x].style.zindex = 0;
			}
		}
		else
		{
			
			if (Navigation_sectionsArray[x].style.display != '')
			{
				displayMenuItem(Navigation_sectionsArray[x]);
			}
		}
	}
}

	var Navigation_sectionsArray = new Array();
	
	
function showSelect(MenuToDisplay)
{	var obj;
	
	if (document.all)
	{
		for(var i = 0; i < document.all.tags("select").length; i++)
		{	obj = document.all.tags("select")[i];
			selecttop = calculateSumOffset(obj, 'offsetTop');
			selectwidth = obj.offsetWidth;
			selectheight = obj.offsetHeight;
			selectleft = calculateSumOffset(obj, 'offsetLeft');
		
			if ((parseInt(MenuToDisplay.offsetWidth) + parseInt(MenuToDisplay.offsetLeft)) >= (parseInt(selectleft) ) && parseInt(MenuToDisplay.offsetLeft) <= parseInt(selectleft))
			{
				if ((parseInt(MenuToDisplay.offsetHeight) + parseInt(MenuToDisplay.offsetTop)) >= (parseInt(selecttop) ) && parseInt(MenuToDisplay.offsetTop) <= parseInt(selecttop))
				{
					obj.style.visibility = '';
				}
			}
		}
	}
	
}

function hideSelect(MenuToDisplay)
{	var obj;
	if (document.all)
	{
		for(var i = 0; i < document.all.tags("select").length; i++)
		{	obj = document.all.tags("select")[i];
			selecttop = calculateSumOffset(obj, 'offsetTop');
			selectwidth = obj.offsetWidth;
			selectheight = obj.offsetHeight;
			selectleft = calculateSumOffset(obj, 'offsetLeft');
			
			if ((parseInt(MenuToDisplay.offsetWidth) + parseInt(MenuToDisplay.offsetLeft)) >= (parseInt(selectleft) ) && parseInt(MenuToDisplay.offsetLeft) <= parseInt(selectleft))
			{
				if ((parseInt(MenuToDisplay.offsetHeight) + parseInt(MenuToDisplay.offsetTop)) >= (parseInt(selecttop) ) && parseInt(MenuToDisplay.offsetTop) <= parseInt(selecttop))
				{
					obj.style.visibility = 'hidden';
				}
			}
		}
	}
}


function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.01

  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

  if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}
