Can I remove C5 JS code from Public Site? Is it used?

Permalink
My site theme has a dropdown menu that seems to be conflicting with the C5 jquery scripts.

I've blocked the theme's JS in edit mode (so I can build my site) but in the normal Public View mode the dropdowns don't work because it is conflicting with C5's JS included in the head:

<script type="text/javascript">
var CCM_DISPATCHER_FILENAME = '/index.php';
var CCM_CID = 1;
var CCM_EDIT_MODE = false;
var CCM_ARRANGE_MODE = false;
var CCM_IMAGE_PATH = "/concrete/images";
var CCM_TOOLS_PATH = "/index.php/tools/required";
var CCM_BASE_URL = "http://mysite.com";
var CCM_REL = "";
</script>
<link rel="stylesheet" type="text/css" href="/concrete/css/ccm.base.css" />
<script type="text/javascript" src="/concrete/js/jquery.js"></script>
<script type="text/javascript" src="/concrete/js/ccm.base.js"></script>


Questions:

1) Does this code have to be in the Public View of my site?
(I don't even know what it does :)

2) If not, how do I hide it/remove it?

Cheers!

malkau
 
enlil replied on at Permalink Reply
enlil
You would be best off to find where it's being used in your theme and remove it from there. The core uses it to allow the use of jquery. If you remove it from the core, things are not going to work as planned any more. When the script is loaded twice it usually wreaks havoc as well.