/* ***********************
	Date: 04/27/09
*************************** */
var EDMC_UI=function(){; this.r1 = "RowColorOne"; this.r2 = "RowColorTwo"; this.setRowColors=function(r1,r2){;this.r1=r1; this.r2=r2;}; this.addClass=function(oElm,newClass){ var c=oElm.className; c+=" "+newClass; oElm.className=c; }; 
this.setAltTableRows=function(tblclass){ var b = document.getElementsByTagName('body')[0]; var t='table'; if(arguments[0] !=null && arguments[0] !='undefined'){ t=arguments[0];} if(arguments[1] !=null && arguments[1] !='undefined'){ r1=arguments[1]; } if(arguments[2] !=null && arguments[2] !='undefined'){ r2=arguments[2]; } if (b){ if(t =='table'){ t=b.getElementsByTagName(t); } else{ t=document.getElementById(t); } for (var i=0;i<t.length;i++){ if(t[i].className==tblclass){ var r=t[i].getElementsByTagName('tr'); for (var j=0;j<r.length;j++) { if(r[j].className==null || r[j].className==''){ if (j%2==0){; this.addClass(r[j],this.r1);} else{ this.addClass(r[j],this.r2); } } } } } } }; this.setAltDivRows=function(){ var b=document.getElementsByTagName('body')[0]; var d="AlternateColor"; if(arguments[0] !=null && arguments[0] !='undefined'){ d=arguments[0]; } if(arguments[1] !=null && arguments[1] !='undefined'){ r1=arguments[1];}	if(arguments[2] !=null && arguments[2] !='undefined'){ r2=arguments[2]; } if(b){var t=b.getElementsByTagName('div'); for(var i=0;i<t.length;i++){ if(t[i].className.toString()==d){ if(i%2==0){;this.addClass(t[i],this.r1) } else{;this.addClass(t[i],this.r2);}}}}}}