/** * CCS Javascript library */ if (!window.cambrient) { var cambrient = {}; cambrient.contextPath = "/"; } // check for required libraries: prototype, Trimpath Template, Tween if (!window.$ || !window.$$ || !window.Ajax) { if (!skip) { alert('Please load the prototype library'); } } if (!window.Tween) { alert('Please load the JS Tween library'); } if (!window.TrimPath || !window.TrimPath.parseTemplate) { alert('Please load the Trimpath Template library'); } if (!window.loadScript) { // load the ccs utils javascript var head = document.getElementsByTagName("head")[0]; script = document.createElement('script'); script.type = 'text/javascript'; script.src = ccs.contextPath + "/shared/client_scripts/utils.js"; head.appendChild(script); }