// load jQuery headers
application.ptForum.scripts.loadJQuery("1.3.2",1);
// load headers for ADF lightbox
application.ptForum.scripts.loadADFLightbox();
// Set the threadid
catid = "";
// Check if we need to display the form
if ( (StructKeyExists(request.params, "catid")) AND LEN(TRIM(request.params.catid)) ) {
catid = request.params.catid;
}
// 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;
}