Thanks mate for sharing this. I inserted this block of code in my site EssayWritingLibrary and got perfect results.