if ( !StructKeyExists(request,"blogMgr") )
request.blogMgr = StructNew();
if ( !StructKeyExists(request.blogMgr,"blogID") )
request.blogMgr.blogid = 0;
// get this blogs data
blogData = application.ptBlog2.blogDAO.getBlog(request.blogMgr.blogid);
// get the configuration for the blog application
blogConfig = application.ptBlog2.getAppConfig();
blogPostFormID = application.ptBlog2.getPostFormID();
// Make sure request.params.BlogID has a value to pass to the datasheet filter
request.params.blogID = request.blogMgr.blogid;
application.ptBlog2.renderBlogStyles();
application.ptBlog2.scripts.loadjQuery(noConflict=1);
// TODO: Set a global application variable for the UI theme
application.ptBlog2.scripts.loadjQueryUI();
application.ptBlog2.scripts.loadADFLightbox();