/* mebbs_head.js */ function LoadRMD () { } function DetectBrowser() { var browserName; browserName = navigator.appName; document.write("Your browser: "+browserName); } function TopOfPage () { } function getUserStuff() { var name; var gender; // Queue a request for read access to multiple profile attributes. navigator.userProfile.addReadRequest("vcard.displayname"); navigator.userProfile.addReadRequest("vcard.gender"); // Now perform read operations to access the information. name = navigator.userProfile.getAttribute("vcard.displayname"); gender = navigator.userProfile.getAttribute("vcard.gender"); // The script can now use the 'name' and 'gender' variables // to personalize content or to send information back to the server. // Clear the request queue to prepare for future information requests. navigator.userProfile.clearRequest(); }