This link helps you for the same -> http://www.w3schools.com/js/js_whereto.asp
But the issue always start with customization :). As the demo page was having some other types of calendars, i had to omit those. But my gimmics on the mimic was not working as i kept getting an ‘Object expected‘ error in the IE browser! Felt very bad and tried some work arounds, finally somehow managed to get this thing done! The real action i was doing was keeping the html page outside the folder which was actually inside a folder named ‘demos’ in the downloaded DHTMLSuite package zip file. But it dint seem to be working and i was going crazy what might be causing so. Well, one of my colleagues also attempted to debug and finally we have decided that it should be under a folder and its name should also be ‘demo’. He even searched for the same in files in demo directory for being hardcoded! I was telling that it should never be the way. i asked him to recheck by giving a different name and he gave the name as ‘xxx’. Crazy fellow :). It did work 🙂
Finally, the mistake was there in the naming convention of .js file. There was an error in the filename as the actual filename was having a mixed camelCase (fileName.js) but inside it was referred all in small case! 😦 yuck.. It is again a silly copy-paste error! 😦
This is how we tend to do the mistakes on the things which we know we are comfortable with. Aint I?