Fancybox integration
1.1. Download at https://github.com/fancyapps/fancyBox
1.2. Copy contents of the source folder into themes/nemesis/js/fancybox/
1.3. Include the plugin in nemesis.rc.php:
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/js/fancybox/jquery.fancybox.css');
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/js/fancybox/jquery.fancybox.pack.js');
1.4. Initialize the plugin in themes/nemesis/js/js.js:
$(".fancybox").fancybox();
1.5. Add .fancybox class to any element...