// JavaScript Document// Last modified: 08-19-03
function isNN() {
	if (document.all)
		return false;
	else
		return true;
}

/**
* Change color of navigation cell onmouseover
* Change cursor to a hand (only in IE)
* @param Object c cell that we are modifying
*/
function navOver(c) {
	c.style.backgroundColor = "#FFDDFF";
	c.style.cursor = "hand";
}

/**
* Change color of navigation cell back to whatever
* background color is defined in the stylesheet
* for element .quickLink onmouseout
* @param Object c cell that we are modifying
*/
function navOut(c) {
	var i;
	var r = new Array();

	if (isNN()) {
		r = document.styleSheets[0].cssRules;
	}
	else {
		r = document.styleSheets[0].rules;
	}

	// Loop until we find the .quickLink
	for (i = 0; (i<r.length) && (r[i].selectorText != ".linkCell"); i++);
	
	c.style.backgroundColor = r[i].style.backgroundColor;
}



function menuOver(c) {
	c.style.backgroundColor = "#333333";
	c.style.cursor = "hand";
}

/**
* Change color of navigation cell back to whatever
* background color is defined in the stylesheet
* for element .Menucell onmouseout
* @param Object c cell that we are modifying
*/
function menuOut(c) {
	var i;
	var r = new Array();

	if (isNN()) {
		r = document.styleSheets[0].cssRules;
	}
	else {
		r = document.styleSheets[0].rules;
	}

	// Loop until we find the .Menucell
	for (i = 0; (i<r.length) && (r[i].selectorText != ".Menucell"); i++);
	
	c.style.backgroundColor = r[i].style.backgroundColor;
}


function linkQuick(c) {
	var url = (c.innerHTML.links[0]);
	
	window.open('url', 'new', config='resizable,scrollbars,toolbars,status');
	void(0);
} 




function MM_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

  
  function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
