<!--
var blnLoaded = false;


function appMovePrev(strFormName,currentPage){
	// When we move backward we want to preserve any entries
	// so rather than using history we will try to set the movement direction
	// Also, ADD CODE TO SELECT ALL ENTRIES IN THE LISTBOXES TO
	// ENSURE THAT DATA IS CAPTURED

	// Also need to adjust the navctrls DIV
	// GenInfo =  	400px;
	// CompProf = 	780px;
	// Financial =  590px;
	
	//alert('strFormName = ' + strFormName + ' currentPage = ' + currentPage.value);
	
	var intPage = currentPage.value;
	var blnMoved = false;
	//alert('Is one = ' + (currentPage.value == 1));
	switch(currentPage.value)
	{
		case "1": // General Info
			// At Start
			//alert ("At Start");					
			break;
		case "2": // Company Profile
			// Move to page 1
			//alert ("Moving to page 1");
			document.all.GeneralInfo.style.visibility = "";
			document.all.CompanyProfile.style.visibility = "hidden";	
			document.all.Financials.style.visibility = "hidden";
			document.all.Review.style.visibility = "hidden";
			document.all.NavCtrls.style.top = document.all.GeneralInfo.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"400px";
			document.all.cmdPrev.disabled = true;	
			document.all.cmdPrint.style.visibility = "hidden";
			document.all.cmdNext.value = '  Next  ';		
			blnMoved = true;
			break;
			
		case "3": // Financial
			// move to page 2
			//alert ("Moving to page 1");
			document.all.GeneralInfo.style.visibility = "hidden";
			document.all.CompanyProfile.style.visibility = "";
			document.all.Financials.style.visibility = "hidden";
			document.all.Review.style.visibility = "hidden";
			document.all.NavCtrls.style.top = document.all.CompanyProfile.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"780px";
			document.all.cmdPrev.disabled = false;	
			document.all.cmdPrint.style.visibility = "hidden";
			document.all.cmdNext.value = '  Next  ';
			blnMoved = true;
			break;
		case "4": // Review & Submit			
			// Move to page 3
			document.all.GeneralInfo.style.visibility = "hidden";
			document.all.CompanyProfile.style.visibility = "hidden";
			document.all.Financials.style.visibility = "";
			document.all.Review.style.visibility = "hidden";
			document.all.NavCtrls.style.top = document.all.Financials.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"590px";
			document.all.cmdPrev.disabled = false;	
			document.all.cmdPrint.style.visibility = "hidden";
			document.all.cmdNext.value = '  Next  ';
			blnMoved = true;
			break;

		case "5" : // Thank You
			// No Backing up after submit
			
			break;
	
	}
	// Update page
	if(blnMoved) {
		currentPage.value = --intPage;
		setTabs(currentPage.value);
		moveToTop();
	}
}
function appMoveNext(strFormName,currentPage, intMoveTo){
	// This will no longer be a submit from page to page
	// Now, will be using div tags to show/hide portions
	// This will make maintaining state easier.
	// 03/05/2003	mtb Added validation
	//					Validation should occur only if moving from a "lower"
	//					page to a "higher" page; thus a user can go back
	//					to a lower to step to make a correction (or click on the 
	//					same tabe multiple times) without
	//					firing a validation. This is primarily for the
	//					navigation through tabs since the movePrev does not
	//					call the validator.
	
	// Also need to adjust the navctrls DIV
	// GenInfo =  	400px;
	// CompProf = 	780px;
	// Financial =  590px;
	var blnValid = false;
	
	//setPointer();
	
	// Validate data
	//alert('strFormName = ' + strFormName + ' currentPage = ' + currentPage.value + ' document.all.currentPage.value = ' + document.all.currentPage.value);
	if(intMoveTo == null){
		// Then using buttons to move to a "higher" page so validate current page
		//if(!(appValidateInput(document.all.currentPage.value))) return false;
		
		// ENABLE VALIDATOR
		//blnValid = appValidateInputADM(document.all.currentPage.value)
		
	}else{
		// Then using tabs and could be moving "higher" or "lower"
		if(intMoveTo > document.all.currentPage.value){
			// Moving higher
			//if(!(appValidateInput(document.all.currentPage.value))) return  false;
			
			// ENABLE VALIDATOR
			//blnValid = appValidateInputADM(document.all.currentPage.value)
			
		}else{
			// Moving lower
			blnValid = true;
		}
	}
	
	///////////////////////////////////////////////////////
	//alert('Validation disabled');
	blnValid = true
	///////////////////////////////////////////////////////
		
	//alert('appMoveNext: blnValid = ' + blnValid);
	if(!(blnValid)) return;
	//document.all[strFormName].submit();
	
	//alert('strFormName = ' + strFormName + ' currentPage = ' + currentPage.value);
	if(!(intMoveTo == null))
		 currentPage.value = intMoveTo -1;
	var intPage = currentPage.value;
	var blnMoved = false;
	
	
	
	
	//alert('Is one = ' + (currentPage.value == 1));
	switch(currentPage.value)
	{
		case "0": // Initial App Load
			//if(!(blnLoaded)){
				//alert("Setting initial app load");
				//alert("GenInfo: " + document.all.GeneralInfo.clientHeight + " Nav (+10): " + document.all.NavCtrls.offsetHeight + 10);
				document.all.GeneralInfo.style.visibility = "";
				document.all.CompanyProfile.style.visibility = "hidden";	
				document.all.Financials.style.visibility = "hidden";	
				document.all.BusStruct.style.visibility = "hidden";				
				document.all.MgmtTeam.style.visibility = "hidden";
				document.all.Assets.style.visibility = "hidden";
				document.all.FinancialNeeds.style.visibility = "hidden";
				document.all.Review.style.visibility = "hidden";
				document.all.NavCtrls.style.top = document.all.GeneralInfo.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"780px";
				document.all.Contact.style.top = document.all.GeneralInfo.clientHeight + document.all.NavCtrls.offsetHeight + 10;
				/*alert('document.all.ADMPage is null = ' + (document.all.ADMPage == null));
				if(!(document.all.ADMPage == null)) {
					if(document.all.ADMPage.value = true){
						if(document.all.Contact.style.top < 600) document.all.Contact.style.top = 600;
					}
				}*/
				document.all.Contact.style.visibility = "";
				document.all.cmdPrev.disabled = true;
				document.all.cmdPrint.style.visibility = "hidden";
				document.all.cmdNext.value = '  Next  ';													 
				blnMoved = true;
				blnLoaded = true;
			//}			
			break;
		case "1": // General Info
			// Validate data
			//if(appValidateInput(1)){
				// move to page 2
				//alert ("Moving to page 2");
				document.all.GeneralInfo.style.visibility = "hidden";
				document.all.CompanyProfile.style.visibility = "";
				document.all.BusStruct.style.visibility = "hidden";				
				document.all.MgmtTeam.style.visibility = "hidden";
				document.all.Assets.style.visibility = "hidden";
				document.all.FinancialNeeds.style.visibility = "hidden";
				document.all.Financials.style.visibility = "hidden";
				document.all.Review.style.visibility = "hidden";	
				document.all.NavCtrls.style.top = document.all.CompanyProfile.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"780px";
				document.all.Contact.style.top = document.all.CompanyProfile.clientHeight + document.all.NavCtrls.offsetHeight + 10;
				document.all.cmdPrev.disabled = false;
				document.all.cmdPrint.style.visibility = "hidden";
				document.all.cmdNext.value = '  Next  ';	
				blnMoved = true;	
			//}		
			break;
		case "2": // Company Definition
			
			// Validate data
			//if(appValidateInput(2)){
				// Move to page 3
				//alert ("Moving to page 3");
				document.all.GeneralInfo.style.visibility = "hidden";
				document.all.CompanyProfile.style.visibility = "hidden";
				document.all.BusStruct.style.visibility = "";				
				document.all.MgmtTeam.style.visibility = "hidden";
				document.all.Assets.style.visibility = "hidden";
				document.all.FinancialNeeds.style.visibility = "hidden";
				document.all.Financials.style.visibility = "hidden";	
				document.all.Review.style.visibility = "hidden";
				document.all.NavCtrls.style.top = document.all.BusStruct.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"590px";
				document.all.Contact.style.top = document.all.BusStruct.clientHeight + document.all.NavCtrls.offsetHeight + 10;
				document.all.cmdPrint.style.visibility = "hidden";
				document.all.cmdNext.value = '  Next  ';	
				blnMoved = true;	
			//}		
			break;
		case "3": // Business Structure
			document.all.Review.innerHTML = setAppReview(strFormName);
			//document.all.Review.innerHTML = document.all.Review.innerHTML + "<TABLE BORDER=1><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV clientHEIGHT/offsetHeight (same):</TD><TD class=formfield>" + document.all.Review.clientHeight + "</TD></TR><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV NavCtrls clientHeight:</TD><TD class=formfield>" + document.all.NavCtrls.offsetHeight + "</TD></TR></TABLE>";
			document.all.GeneralInfo.style.visibility = "hidden";
			document.all.CompanyProfile.style.visibility = "hidden";
			document.all.BusStruct.style.visibility = "hidden";				
			document.all.MgmtTeam.style.visibility = "";
			document.all.Assets.style.visibility = "hidden";
			document.all.FinancialNeeds.style.visibility = "hidden";
			document.all.Financials.style.visibility = "hidden";	
			document.all.Review.style.visibility = "hidden";
			document.all.NavCtrls.style.top = document.all.MgmtTeam.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"500px";
			document.all.Contact.style.top = document.all.MgmtTeam.clientHeight + document.all.NavCtrls.offsetHeight + 10;
			document.all.cmdPrev.disabled = false;
			document.all.cmdPrint.style.visibility = "hidden";
			document.all.cmdNext.value = '  Next  ';	
			blnMoved = true;	
			break;
		case "4": // Senior Mgmt Team
			document.all.Review.innerHTML = setAppReview(strFormName);
			//document.all.Review.innerHTML = document.all.Review.innerHTML + "<TABLE BORDER=1><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV clientHEIGHT/offsetHeight (same):</TD><TD class=formfield>" + document.all.Review.clientHeight + "</TD></TR><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV NavCtrls clientHeight:</TD><TD class=formfield>" + document.all.NavCtrls.offsetHeight + "</TD></TR></TABLE>";
			document.all.GeneralInfo.style.visibility = "hidden";
			document.all.CompanyProfile.style.visibility = "hidden";
			document.all.BusStruct.style.visibility = "hidden";				
			document.all.MgmtTeam.style.visibility = "hidden";
			document.all.Assets.style.visibility = "";
			document.all.FinancialNeeds.style.visibility = "hidden";
			document.all.Financials.style.visibility = "hidden";	
			document.all.Review.style.visibility = "hidden";	
			document.all.NavCtrls.style.top = document.all.Assets.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"500px";
			document.all.Contact.style.top = document.all.Assets.clientHeight + document.all.NavCtrls.offsetHeight + 10;
			document.all.cmdPrev.disabled = false;
			document.all.cmdPrint.style.visibility = "hidden";
			document.all.cmdNext.value = '  Next  ';	
			blnMoved = true;	
			break;
		case "5": // Assets
			document.all.Review.innerHTML = setAppReview(strFormName);
			//document.all.Review.innerHTML = document.all.Review.innerHTML + "<TABLE BORDER=1><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV clientHEIGHT/offsetHeight (same):</TD><TD class=formfield>" + document.all.Review.clientHeight + "</TD></TR><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV NavCtrls clientHeight:</TD><TD class=formfield>" + document.all.NavCtrls.offsetHeight + "</TD></TR></TABLE>";
			document.all.GeneralInfo.style.visibility = "hidden";
			document.all.CompanyProfile.style.visibility = "hidden";
			document.all.BusStruct.style.visibility = "hidden";				
			document.all.MgmtTeam.style.visibility = "hidden";
			document.all.Assets.style.visibility = "hidden";
			document.all.FinancialNeeds.style.visibility = "";
			document.all.Financials.style.visibility = "hidden";	
			document.all.Review.style.visibility = "hidden";	
			document.all.NavCtrls.style.top = document.all.FinancialNeeds.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"500px";
			document.all.Contact.style.top = document.all.FinancialNeeds.clientHeight + document.all.NavCtrls.offsetHeight + 10;
			document.all.cmdPrev.disabled = false;
			document.all.cmdPrint.style.visibility = "hidden";
			document.all.cmdNext.value = '  Next  ';	
			blnMoved = true;		
			break;
		case "6": // Financial Needs
			document.all.Review.innerHTML = setAppReview(strFormName);
			//document.all.Review.innerHTML = document.all.Review.innerHTML + "<TABLE BORDER=1><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV clientHEIGHT/offsetHeight (same):</TD><TD class=formfield>" + document.all.Review.clientHeight + "</TD></TR><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV NavCtrls clientHeight:</TD><TD class=formfield>" + document.all.NavCtrls.offsetHeight + "</TD></TR></TABLE>";
			document.all.GeneralInfo.style.visibility = "hidden";
			document.all.CompanyProfile.style.visibility = "hidden";
			document.all.BusStruct.style.visibility = "hidden";				
			document.all.MgmtTeam.style.visibility = "hidden";
			document.all.Assets.style.visibility = "hidden";
			document.all.FinancialNeeds.style.visibility = "hidden";
			document.all.Financials.style.visibility = "";	
			document.all.Review.style.visibility = "hidden";	
			document.all.NavCtrls.style.top = document.all.Financials.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"500px";
			document.all.Contact.style.top = document.all.Financials.clientHeight + document.all.NavCtrls.offsetHeight + 10;
			document.all.cmdPrev.disabled = false;
			document.all.cmdPrint.style.visibility = "hidden";
			document.all.cmdNext.value = '  Next  ';	
			blnMoved = true;		
			break;
		
		case "7": // Financial
			// Validate data
			//if(appValidateInput(3)){
				// Move to Review
				// Set the review values
				document.all.Review.innerHTML = setAppReview(strFormName);
				//document.all.Review.innerHTML = document.all.Review.innerHTML + "<TABLE BORDER=1><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV clientHEIGHT/offsetHeight (same):</TD><TD class=formfield>" + document.all.Review.clientHeight + "</TD></TR><TR VALIGN=TOP><TD><img border='0' src='../../MOP/images/space01.gif' width='5' height='1'></TD><TD class=formfield>DIV NavCtrls clientHeight:</TD><TD class=formfield>" + document.all.NavCtrls.offsetHeight + "</TD></TR></TABLE>";
				document.all.GeneralInfo.style.visibility = "hidden";
				document.all.CompanyProfile.style.visibility = "hidden";
				document.all.BusStruct.style.visibility = "hidden";				
				document.all.MgmtTeam.style.visibility = "hidden";
				document.all.Assets.style.visibility = "hidden";
				document.all.FinancialNeeds.style.visibility = "hidden";				
				document.all.Financials.style.visibility = "hidden";	
				document.all.Review.style.visibility = "";	
				document.all.NavCtrls.style.top = document.all.Review.clientHeight - document.all.NavCtrls.offsetHeight + 10; //"500px";
				document.all.Contact.style.top = document.all.Review.clientHeight + document.all.NavCtrls.offsetHeight + 10;
				document.all.cmdPrev.disabled = false;
				document.all.cmdPrint.style.visibility = "";
				document.all.cmdNext.value = '  Submit  ';	
				blnMoved = true;		
			//}	
			break;
		case "8": // Review & Submit			
			// Validate data
			//if(appValidateInput(4)){
				//appValidateInput(currentPage.value);
				
				// Prepares any values needed for submission
				setSubmitValues();
				
				// Submit the form
				document.all[strFormName].submit();
			//}
			// Move to Thank you
			break;
		case "5" : // Thank You
			// Go somewhere????
			
			break;
	
	}
	// Update page
	if(blnMoved) {
		currentPage.value = ++intPage;
		setTabs(currentPage.value);
		moveToTop();
	}
	
	//resetPointer();
}
function setPointer() {
    //if (document.all)
       // for (var i=0;i < document.all.length; i++)
            document.frmApplicationADM.style.cursor = 'wait';
}

function resetPointer() {
    //if (document.all)
        //for (var i=0;i < document.all.length; i++)
             document.frmApplicationADM.style.cursor = 'default';
}

function setSubmitValues(){
	// Store the global values
	storeGlobalEntries();
	storeMgmt(document.all.cboMgmtTeam);
}
function setSubmitValuesCompDef(){
	// Store the global values
	storeGlobalEntries();
	//storeMgmt(document.all.cboMgmtTeam);
	storeAffiliates(document.all.cboAffiliateList);
	//storeKeyIndDrivers(document.all.cboKeyIndDrvrList);
	//storeCompetitors(document.all.cboCompetitorList);
}
function setSubmitValuesCompAsset(){
	// Store the global values
	storeGlobalEntries();	
}
function setSubmitValuesCompContacts(){
	// Store values
	storeContactComm();
}
function setSubmitValuesCompFinNeeds(){
	//storeCapitalUses(document.all.cboCapitalUseList);
}
function setSubmitValuesAtAGlance(){
	// Store the global values
	storeHGITeam();	
}
function setCursor(obj,intPageLink,strMode,currentPage){
	if(strMode == 'in'){
		//if(intPageLink != currentPage.value)
			obj.style.cursor = 'hand';		
	}else{
		obj.style.cursor = '';
	}
}
function setTabs(intPage){
	//alert("In setTabs...Page= " + intPage);
	setAllToOff();
	switch(intPage){
		case "1": // General Info
			document.all.Grid11.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid12.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid13.background='../../MOP/images/tab_right_corner_on.gif';
			
		
			document.all.Grid21.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid22.bgColor='#DCE7F1';
			document.all.Grid23.background='../../MOP/images/tab_right_edge_on.gif';
			
			break;
			
		case "2": // CompanyProfile - Definition
			
			document.all.Grid14.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid15.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid16.background='../../MOP/images/tab_right_corner_on.gif';
			
			document.all.Grid24.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid25.bgColor='#DCE7F1';
			document.all.Grid26.background='../../MOP/images/tab_right_edge_on.gif';
			
			break;
			
		case "3": //BusStruct
			
			document.all.Grid17.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid18.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid19.background='../../MOP/images/tab_right_corner_on.gif';
			
			document.all.Grid27.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid28.bgColor='#DCE7F1';
			document.all.Grid29.background='../../MOP/images/tab_right_edge_on.gif';
			
			break;
			
		case "4": // Senior Mgmt Team
			
			document.all.Grid110.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid111.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid112.background='../../MOP/images/tab_right_corner_on.gif';
		
			
			document.all.Grid210.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid211.bgColor='#DCE7F1';
			document.all.Grid212.background='../../MOP/images/tab_right_edge_on.gif';
			break;
		case "5": // Assets
			document.all.Grid31.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid32.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid33.background='../../MOP/images/tab_right_corner_on.gif';
			
		
			document.all.Grid41.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid42.bgColor='#DCE7F1';
			document.all.Grid43.background='../../MOP/images/tab_right_edge_on.gif';
			
			break;
			
		case "6": // Financial Needs
			
			document.all.Grid34.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid35.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid36.background='../../MOP/images/tab_right_corner_on.gif';
			
			document.all.Grid44.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid45.bgColor='#DCE7F1';
			document.all.Grid46.background='../../MOP/images/tab_right_edge_on.gif';
			
			break;
			
		case "7": //Financials
			
			document.all.Grid37.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid38.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid39.background='../../MOP/images/tab_right_corner_on.gif';
			
			document.all.Grid47.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid48.bgColor='#DCE7F1';
			document.all.Grid49.background='../../MOP/images/tab_right_edge_on.gif';
			
			break;
			
		case "8": // Review
			
			document.all.Grid310.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid311.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid312.background='../../MOP/images/tab_right_corner_on.gif';
		
			
			document.all.Grid410.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid411.bgColor='#DCE7F1';
			document.all.Grid412.background='../../MOP/images/tab_right_edge_on.gif';
			break;
	
	}

}

function setAllToOff(){
		document.all.Grid11.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid12.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid13.background='../../MOP/images/tab_right_corner_off.gif';
		document.all.Grid14.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid15.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid16.background='../../MOP/images/tab_right_corner_off.gif';
		document.all.Grid17.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid18.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid19.background='../../MOP/images/tab_right_corner_off.gif';
		document.all.Grid110.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid111.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid112.background='../../MOP/images/tab_right_corner_off.gif';
	
		document.all.Grid21.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid22.bgColor='';
		document.all.Grid23.background='../../MOP/images/tab_right_edge_off.gif';
		document.all.Grid24.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid25.bgColor='';
		document.all.Grid26.background='../../MOP/images/tab_right_edge_off.gif';
		document.all.Grid27.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid28.bgColor='';
		document.all.Grid29.background='../../MOP/images/tab_right_edge_off.gif';
		document.all.Grid210.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid211.bgColor='';
		document.all.Grid212.background='../../MOP/images/tab_right_edge_off.gif';	

		document.all.Grid31.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid32.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid33.background='../../MOP/images/tab_right_corner_off.gif';
		document.all.Grid34.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid35.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid36.background='../../MOP/images/tab_right_corner_off.gif';
		document.all.Grid37.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid38.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid39.background='../../MOP/images/tab_right_corner_off.gif';
		document.all.Grid310.background='../../MOP/images/tab_left_corner_off.gif';
		document.all.Grid311.background='../../MOP/images/tab_top_edge_off.gif';
		document.all.Grid312.background='../../MOP/images/tab_right_corner_off.gif';
	
		document.all.Grid41.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid42.bgColor='';
		document.all.Grid43.background='../../MOP/images/tab_right_edge_off.gif';
		document.all.Grid44.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid45.bgColor='';
		document.all.Grid46.background='../../MOP/images/tab_right_edge_off.gif';
		document.all.Grid47.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid48.bgColor='';
		document.all.Grid49.background='../../MOP/images/tab_right_edge_off.gif';
		document.all.Grid410.background='../../MOP/images/tab_left_edge_off.gif';
		document.all.Grid411.bgColor='';
		document.all.Grid412.background='../../MOP/images/tab_right_edge_off.gif';

}

function setTabsByFormName(strFormName){
	//alert("In setTabs...Page= " + strFormName);
	switch(strFormName){
		case "frmCompanyAtAGlance": // General Info
			document.all.Grid11.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid12.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid13.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid14.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid15.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid16.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid17.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid18.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid19.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid110.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid111.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid112.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid21.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid22.bgColor='#DCE7F1';
			document.all.Grid23.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid24.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid25.bgColor='';
			document.all.Grid26.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid27.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid28.bgColor='';
			document.all.Grid29.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid210.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid211.bgColor='';
			document.all.Grid212.background='../../MOP/images/tab_right_edge_off.gif';

		
		
			break;
		case "frmCompanyAddress": // CompanyProfile
			document.all.Grid11.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid12.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid13.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid14.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid15.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid16.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid17.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid18.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid19.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid110.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid111.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid112.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid21.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid22.bgColor='';
			document.all.Grid23.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid24.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid25.bgColor='#DCE7F1';
			document.all.Grid26.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid27.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid28.bgColor='';
			document.all.Grid29.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid210.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid211.bgColor='';
			document.all.Grid212.background='../../MOP/images/tab_right_edge_off.gif';

			break;
		case "frmCompanyDefinition": //Financials
			document.all.Grid11.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid12.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid13.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid14.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid15.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid16.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid17.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid18.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid19.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid110.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid111.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid112.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid21.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid22.bgColor='';
			document.all.Grid23.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid24.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid25.bgColor='';
			document.all.Grid26.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid27.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid28.bgColor='#DCE7F1';
			document.all.Grid29.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid210.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid211.bgColor='';
			document.all.Grid212.background='../../MOP/images/tab_right_edge_off.gif';

		
			break;
		case "frmCompanyBusStruct": // Review
			document.all.Grid11.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid12.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid13.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid14.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid15.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid16.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid17.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid18.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid19.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid110.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid111.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid112.background='../../MOP/images/tab_right_corner_on.gif';
		
			document.all.Grid21.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid22.bgColor='';
			document.all.Grid23.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid24.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid25.bgColor='';
			document.all.Grid26.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid27.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid28.bgColor='';
			document.all.Grid29.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid210.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid211.bgColor='#DCE7F1';
			document.all.Grid212.background='../../MOP/images/tab_right_edge_on.gif';

		
	
	
			break;
	
		case "frmCompanyContacts": // General Info
		case "frmCompanyContctRec":
			document.all.Grid31.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid32.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid33.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid34.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid35.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid36.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid37.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid38.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid39.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid310.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid311.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid312.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid41.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid42.bgColor='#DCE7F1';
			document.all.Grid43.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid44.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid45.bgColor='';
			document.all.Grid46.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid47.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid48.bgColor='';
			document.all.Grid49.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid410.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid411.bgColor='';
			document.all.Grid412.background='../../MOP/images/tab_right_edge_off.gif';

		
		
			break;
		case "frmCompanyAssets": // CompanyProfile
			document.all.Grid31.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid32.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid33.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid34.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid35.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid36.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid37.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid38.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid39.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid310.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid311.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid312.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid41.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid42.bgColor='';
			document.all.Grid43.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid44.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid45.bgColor='#DCE7F1';
			document.all.Grid46.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid47.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid48.bgColor='';
			document.all.Grid49.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid410.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid411.bgColor='';
			document.all.Grid412.background='../../MOP/images/tab_right_edge_off.gif';

			break;
		case "frmCompanyFinancialNeeds": //Financials
			document.all.Grid31.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid32.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid33.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid34.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid35.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid36.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid37.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid38.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid39.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid310.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid311.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid312.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid41.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid42.bgColor='';
			document.all.Grid43.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid44.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid45.bgColor='';
			document.all.Grid46.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid47.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid48.bgColor='#DCE7F1';
			document.all.Grid49.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid410.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid411.bgColor='';
			document.all.Grid412.background='../../MOP/images/tab_right_edge_off.gif';

		
			break;
		case "frmCompanyFinancials": // Review
			document.all.Grid31.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid32.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid33.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid34.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid35.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid36.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid37.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid38.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid39.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid310.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid311.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid312.background='../../MOP/images/tab_right_corner_on.gif';
		
			document.all.Grid41.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid42.bgColor='';
			document.all.Grid43.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid44.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid45.bgColor='';
			document.all.Grid46.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid47.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid48.bgColor='';
			document.all.Grid49.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid410.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid411.bgColor='#DCE7F1';
			document.all.Grid412.background='../../MOP/images/tab_right_edge_on.gif';

		
	
	
			break;
		case "frmCompanyDueDiligence": // General Info
			document.all.Grid51.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid52.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid53.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid54.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid55.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid56.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid57.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid58.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid59.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid510.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid511.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid512.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid61.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid62.bgColor='#DCE7F1';
			document.all.Grid63.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid64.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid65.bgColor='';
			document.all.Grid66.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid67.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid68.bgColor='';
			document.all.Grid69.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid610.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid611.bgColor='';
			document.all.Grid612.background='../../MOP/images/tab_right_edge_off.gif';

		
		
			break;
		case "frmCompanyDeals": // CompanyProfile
			document.all.Grid51.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid52.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid53.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid54.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid55.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid56.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid57.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid58.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid59.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid510.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid511.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid512.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid61.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid62.bgColor='';
			document.all.Grid63.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid64.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid65.bgColor='#DCE7F1';
			document.all.Grid66.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid67.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid68.bgColor='';
			document.all.Grid69.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid610.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid611.bgColor='';
			document.all.Grid612.background='../../MOP/images/tab_right_edge_off.gif';

			break;
		case "xxxx": //Financials
			document.all.Grid51.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid52.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid53.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid54.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid55.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid56.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid57.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid58.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid59.background='../../MOP/images/tab_right_corner_on.gif';
			document.all.Grid510.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid511.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid512.background='../../MOP/images/tab_right_corner_off.gif';
		
			document.all.Grid61.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid62.bgColor='';
			document.all.Grid63.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid64.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid65.bgColor='';
			document.all.Grid66.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid67.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid68.bgColor='#DCE7F1';
			document.all.Grid69.background='../../MOP/images/tab_right_edge_on.gif';
			document.all.Grid610.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid611.bgColor='';
			document.all.Grid612.background='../../MOP/images/tab_right_edge_off.gif';

		
			break;
		case "zzzz": // Review
			document.all.Grid51.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid52.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid53.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid54.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid55.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid56.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid57.background='../../MOP/images/tab_left_corner_off.gif';
			document.all.Grid58.background='../../MOP/images/tab_top_edge_off.gif';
			document.all.Grid59.background='../../MOP/images/tab_right_corner_off.gif';
			document.all.Grid510.background='../../MOP/images/tab_left_corner_on.gif';
			document.all.Grid511.background='../../MOP/images/tab_top_edge_on.gif';
			document.all.Grid512.background='../../MOP/images/tab_right_corner_on.gif';
		
			document.all.Grid61.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid62.bgColor='';
			document.all.Grid63.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid64.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid65.bgColor='';
			document.all.Grid66.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid67.background='../../MOP/images/tab_left_edge_off.gif';
			document.all.Grid68.bgColor='';
			document.all.Grid69.background='../../MOP/images/tab_right_edge_off.gif';
			document.all.Grid610.background='../../MOP/images/tab_left_edge_on.gif';
			document.all.Grid611.bgColor='#DCE7F1';
			document.all.Grid612.background='../../MOP/images/tab_right_edge_on.gif';

		
	
	
			break;
	}

}

function colorColumn (table, backgroundColor, evt) {
  if (window.event) {
    var srcElement = event.srcElement;
    while (srcElement && typeof srcElement.cellIndex == 'undefined' )
      srcElement = srcElement.parentElement;
    if (srcElement) {
      table.lastColumn = table.all.tags('col').item(srcElement.cellIndex);
      table.lastBackgroundColor = table.lastColumn.style.backgroundColor;
      table.lastColumn.style.backgroundColor = backgroundColor;
    }
  } 
  else if (evt.target) {
    var srcElement = evt.target;
    while (srcElement && typeof srcElement.cellIndex == 'undefined')
      srcElement = srcElement.parentNode;
    if (srcElement) {
      table.lastColumn = table.getElementsByTagName('col').item(srcElement.cellIndex);
      table.lastBackgroundColor = table.lastColumn.style.backgroundColor;
      table.lastColumn.style.backgroundColor = backgroundColor;
    }
  }
}
function restoreColumn (table) {
  if (table.lastColumn)
    table.lastColumn.style.backgroundColor = table.lastBackgroundColor;
}
function moveToTop(){
	window.location.href = '#Top';
}


function printPage() {
	// please keep these lines on when you copy the source
	// made by: Nicolas - http://www.javascript-page.com
	window.print();  
}


//-->