/* ********************************************************************************
* Source Code Copyright (c) 2008 Congruent Media, LLC.  All rights reserved.
* 
* This source code is the intellectual property of Congruent Media, LLC., 
* except where otherwise noted, and may not be copied in whole or in part, 
* except for backup purposes. You may not resell or otherwise distribute 
* this source code, or any code derived from this source code, without 
* express written permission from Congruent Media, LLC.
* 
* This source code is sold "as is" and WITHOUT ANY WARRANTY; without even 
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*  
* http://www.CongruentMedia.com | info@CongruentMedia.com | +1 410-534-6800
*  
** ********************************************************************************/

// DATE: 12/28/2007
// REQUIRES THE INCLUSION OF formTools.js
function getObjFromId(a){if(typeof a=='string')return document.getElementById(a);else return a}function toggleTR(a){var s=getDisplayStyle('TR');getObjFromId(a).style.display=(obj.style.display==s)?'none':s}function openTR(a){getObjFromId(a).style.display=getDisplayStyle('TR')}function closeTR(a){getObjFromId(a).style.display='none'}function openTRArray(a){for(var i=0;i<a.length;i++)openTR(a[i])}function closeTRArray(a){for(var i=0;i<a.length;i++)closeTR(a[i])}function openTD(a){getObjFromId(a).style.display=getDisplayStyle('TD')}function closeTD(a){getObjFromId(a).style.display='none'}function openDIV(a){getObjFromId(a).style.display=getDisplayStyle('DIV')}function closeDIV(a){getObjFromId(a).style.display='none'}function openTABLE(a){getObjFromId(a).style.display=getDisplayStyle('TABLE')}function closeTABLE(a){getObjFromId(a).style.display='none'}function openObj(a){var b=getObjFromId(a);if(b){switch(b.tagName){case"TR":openTR(b);break;case"TD":openTD(b);break;case"TABLE":openTABLE(b);break;case"DIV":openDIV(b);break;default:b.style.display='block';break}}return b}function closeObj(a){var b=getObjFromId(a);if(b){switch(b.tagName){case"TR":closeTR(b);break;case"TD":closeTD(b);break;case"TABLE":closeTABLE(b);break;case"DIV":closeDIV(b);break;default:b.style.display='none';break}}return b}
