<?php
//adding CSS to the head of the document
$modx->regCLientCSS($src);
//$src can either be a path to a css file, a plain text block starting with "<style" or a
//fully formed "<link src=.../>" link tag.
//adding script to the head of the document
$modx->regClientStartupScript($src [, $plaintext]);
//$src can be either a path to a script or a string of plain text - either by setting
//the optional $plaintext param to 'true' or if the string starts with <script
?>