// load jQuery headers
application.ptForum.scripts.loadJQuery("1.3.2",1);
// load headers for ADF lightbox
application.ptForum.scripts.loadADFLightbox();
// Set the threadid
threadid = "";
// Check if we need to display the form
if ( (StructKeyExists(request.params, "topicid")) AND LEN(TRIM(request.params.topicid)) ) {
topicid = request.params.topicid;
}
// set the userid
useruniqueid = "";
if ( structKeyExists(session.user, "ptForum") AND structKeyExists(session.user.ptForum, "profileid") AND LEN(TRIM(session.user.ptForum.profileid)) AND request.user.ptForum.profileid NEQ 0 ) {
useruniqueid = session.user.ptForum.profileid;
}