function GetAttachmentPassword(id, bSlideShow)
{
    var sXml = '<PFRequestData AttachmentID="' + id + '" PasswordConfidential="' + document.getElementById('Password' + id).value + '" SlideShow="' + bSlideShow +'" />';
    var sReturn = RemoteScriptingCall('/xNet/MainSite/WebServices/Attachments/Attachment.asmx', sXml, 'SetSiteUserAttachmentPasswordForProfile', 'http://www.loopnet.com/WebServices', 'PFResponseInfo', -1);
    if (sReturn.getAttribute("ReturnCode") != "0")
	{
		document.getElementById('paChecking'+id).style.display='none';
		document.getElementById('paError'+id).style.display='inline';
	}
	else
	{
		//VP fixed to support NETSCape 12/17/1005
		SpanObj = document.getElementById('spanProfileAttachment'+id);
		SpanObj.innerHTML =  sReturn.firstChild.data;
		
	}
}