function login(){	location.href = location.href + "?opendocument&login"}function prnFriend(page){	t = page.indexOf(".nsf")	title = page.slice(t+4)	s = title.indexOf("/")	while (s > -1 ) {		title = title.replace("/","")		s = title.indexOf("/")	}	site = page.slice(0, t+4)	url = site + "/prnView/" + title//	location.href = url	window.open(url, "Print")}function sendToFriend(page,pageTitle){	t = page.indexOf(".nsf")	title = page.slice(t+4)	site = page.slice(0, t+4)	url = site + "/SendFriend?OpenForm&" + pageTitle + "~" + title	window.open(url, "SendToFriend", "height=380,width=440,menubar=no,resizable=no,location=no,top=100,left=150")}function popup(url, width, height, chrome) {	if(!chrome) {		details = "resizable=no,scrollbars=no,menubar=no,toolbar=no,directories=no,location=no,status=no";	}	features = 'width=' + width + ',height=' + height + ','+ details;	window.open(url, 'InfoBox', features)}function doNothing(){}
