<script type="text/javascript" src="editor/fckeditor.js"></script> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = "/fckeditor/" ; // "/fckeditor/" is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf("_samples")) ;