Refactoring: moved redundant CSS handling code to a function.
Refactoring: moved redundant CSS handling code to a function.

PortgasDAce/otrs,noritnk/otrs,crythias/otrs,moritz/otrs,StCyr/otrs,PortgasDAce/otrs,balazj/otrs,mbeijen/otrs-1,vlascoder/otrs,xhoy/otrs,nilei/otrs,oiami/otrs,muehlbauer/otrs,moritz/otrs,muehlbauer/otrs,oiami/otrs,StCyr/otrs,MBRG/otrs,MBRG/otrs,nilei/otrs,PortgasDAce/otrs,linearregression/otrs,nilei/otrs,crythias/otrs,s7design/otrs,brandonshults01/otrs,nilei/otrs,moritz/otrs,thorsteneckel/otrs,xhoy/otrs,eliasp/otrs,MBRG/otrs,linearregression/otrs,brandonshults01/otrs,s7design/otrs,oiami/otrs,noritnk/otrs,crythias/otrs,vlascoder/otrs,capeit-tto/otrs,oiami/otrs,capeit-tto/otrs,StCyr/otrs,StCyr/otrs,PortgasDAce/otrs,balazj/otrs,mbeijen/otrs-1,oiami/otrs,vlascoder/otrs,rudy500/otrs,nilei/otrs,s7design/otrs,mburggraf/otrs,brandonshults01/otrs,balazj/otrs,eliasp/otrs,brandonshults01/otrs,mburggraf/otrs,StCyr/otrs,noritnk/otrs,linearregression/otrs,mbeijen/otrs-1,linearregression/otrs,rudy500/otrs,xhoy/otrs,thorsteneckel/otrs,moritz/otrs,eliasp/otrs,crythias/otrs,eliasp/otrs,capeit-tto/otrs,moritz/otrs,balazj/otrs,thorsteneckel/otrs,MBRG/otrs,brandonshults01/otrs,xhoy/otrs,muehlbauer/otrs,rudy500/otrs,mburggraf/otrs,rudy500/otrs,thorsteneckel/otrs,mburggraf/otrs,rudy500/otrs,PortgasDAce/otrs,s7design/otrs,crythias/otrs,linearregression/otrs,balazj/otrs,muehlbauer/otrs,thorsteneckel/otrs,s7design/otrs,eliasp/otrs,mburggraf/otrs,xhoy/otrs,MBRG/otrs,muehlbauer/otrs