<!--
//---------------------------------------------Button Color Definitions for Main Nav
var btnCOLOR1;
var btnCOLOR2;
var btnCOLOR3;
var btnCOLOR4;
var btnCOLOR5;
var btnCOLOR6;
var btnCOLOR7;
var btnCOLOR8;
var btnCOLOR9;
var btnCOLOR10;
var btnCOLOR11;
var btnCOLOR12;
var btnCOLOR13;
var btnCOLOR14;
var btnCOLOR15;
var btnCOLOR16;
var btnCOLOR17;
var btnCOLOR18;
var btnCOLOR19;
var btnCOLOR20;

//---------------------------------------------				
	function surveypopUp(url) {
		sealWin=window.open(url,"win","toolbar=no,location=no,menubar=no,left=10,top=10,scrollbars=yes,width=690,height=440,resizable=yes");
	}

//---------------------------------------------				
	function toolpopUp(url) {
		sealWin=window.open(url,"win","toolbar=yes,location=no,menubar=no,left=10,top=10,scrollbars=yes,width=690,height=440,resizable=yes");
	}
			
//---------------------------------------------		

	function toolpopUpBig(url) {
		sealWin=window.open(url,"win","toolbar=yes,location=no,menubar=no,left=10,top=10,scrollbars=yes,width=785,height=585,resizable=yes");
	}
			
//---------------------------------------------		

	function SPDPopUp(url) {
		sealWin=window.open(url,"win","toolbar=yes,location=yes,menubar=yes,left=10,top=10,scrollbars=yes,width=785,height=585,resizable=yes");
	}
			
//---------------------------------------------			
	var ToggleImgs = new Array();
	
	function ToggleImage()
	{
		// All images must have an out and over image.
		// They should be named image1_out.ext and image1_over.ext
	
		var e = event.srcElement;  // Get a reference to the image element.
		var i = e.src.length - 8;  // Figure the position of the _out or over.
		var cur = e.src.substr(i, 4);  // Figure out if it is currently an out or over.
		var newsrc = '';
	
		switch(cur)
		{
			case "_out":
				newsrc = e.src.substr(0, i) + "_over" + e.src.substr(e.src.length - 4, 4);
			
				break;
			case "over":
				newsrc = e.src.substr(0, i) + "out" + e.src.substr(e.src.length - 4, 4);
			
				break;
			default:
				newsrc = e.src;
				
				break;
		}
	
		e.src = newsrc;
	}
	
	function ImagePreload(arg)
	{
		if (document.images) 
		{
			rslt = new Image();
			rslt.src = arg;
			var i = ToggleImgs.length
			ToggleImgs[i] = rslt;
			return rslt;
		}
	}
	
//---------------------------------------------	
	function goToURL(form)
	{
	    var myindex=form.dropdownmenu.selectedIndex
	    if(!myindex=="")
	    {
			window.location.href=form.dropdownmenu.options[myindex].value;
		}
	}
	
//---------------------------------------------	
	function RightNow() {
	sealWin=window.open('http://www.mycusthelp.com/americredit/',"win","toolbar=yes,location=no,menubar=no,left=50,top=50,scrollbars=yes,width=700,height=550 resizable=yes");
	self.name = "mainWin"; }

//---------------------------------------------
	function RightNowVendColl() {
	sealWin=window.open('http://www.mycusthelp.com/americredit/supportfaq.asp?sSessionID=&lstFilter_a=3&txtCriteria=&submit=Search&lstFilter_b=16&optCond=2&lstFilter_c=-1',"win","toolbar=no,location=no,menubar=no,left=50,top=50,scrollbars=yes,width=700,height=550 resizable=yes");
	self.name = "mainWin"; }
	
//---------------------------------------------
	function RightNowVendPurch() {
	sealWin=window.open('http://www.mycusthelp.com/americredit/supportfaq.asp?sSessionID=&lstFilter_a=3&txtCriteria=&submit=Search&lstFilter_b=17&optCond=2&lstFilter_c=-1',"win","toolbar=no,location=no,menubar=no,left=50,top=50,scrollbars=yes,width=700,height=550 resizable=yes");
	self.name = "mainWin"; }
	
//---------------------------------------------	
	function GlossaryPop(url) {
	sealWin=window.open(url,"win","toolbar=yes,location=no,menubar=no,left=50,top=50,scrollbars=yes,width=600,height=300 resizable=yes");
	self.name = "mainWin"; }

//---------------------------------------------	
	function CalcPop(url) {
	sealWin=window.open(url,"winpop","toolbar=no,location=no,menubar=no,left=10,top=10,scrollbars=no,width=510,height=380");
	self.name = "mainWin"; }


//---------------------------------------------				
	function InvpopUp(url) {
		sealWin=window.open(url,"win","toolbar=no,location=no,menubar=no,left=30,top=30,scrollbars=no,width=630,height=200,resizable=no");
	}

//---------------------------------------------				
	function SubscriptionpopUp(url) {
		sealWin=window.open(url,"win","toolbar=no,location=no,menubar=no,left=30,top=30,scrollbars=no,width=430,height=320,resizable=no");
	}
// -->

	