Keep Getting Php Warning When Using Cjavascript

Hey guys!

I am using CJavascript::encode() but in some cases it works fine but in some pages it starts giving error

include(CJavascript.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory 

Here are just two lines which are giving me this error

but in some other page it is working fine

$delete_image =CHtml::image(







don’t know the reason , may be the “CJavascript” should be “CJavaScript”

in *nix you 'd better be attention to class name (case-sensitive)