function download_first_attachment() {	var frm = document.forms[0];		if (( frm.Attachments.value == 1) && (frm.IsPDF = 'Yes')) {			var turl = "/" + frm.path.value + "/" + frm.uniqueID.value + "/$file/" + frm.file.value;			window.location = turl;	} }function goSearch() {	var txt = document.forms[0].search_words.value;			if ( txt == "" ) {		document.forms[0].search_words.focus();		return false;	}		var buildurl="/p11dsearch/query=" + txt + "&SearchOrder=4&gobackto=previous page";	window.location=buildurl;	}function kill_boxes(){for( i=0; i<document.images.length ; i++ ){if( document.images[i].src.indexOf('vwicnsr1.gif') != -1){ document.images[i].height= HEIGHT=0 document.images[i].width= WIDTH=0} //end ifif( document.images[i].src.indexOf('vwicnsr2.gif') != -1){ document.images[i].height= HEIGHT=0 document.images[i].width= WIDTH=0} //end ifif( document.images[i].src.indexOf('vwicnsr3.gif') != -1){ document.images[i].height= HEIGHT=0 document.images[i].width= WIDTH=0} //end ifif( document.images[i].src.indexOf('vwicnsr4.gif') != -1){ document.images[i].height= HEIGHT=0 document.images[i].width= WIDTH=0} //end ifif( document.images[i].src.indexOf('vwicnsr5.gif') != -1){ document.images[i].height= HEIGHT=0 document.images[i].width= WIDTH=0} //end ifif( document.images[i].src.indexOf('vwicnsr6.gif') != -1){ document.images[i].height= HEIGHT=0 document.images[i].width= WIDTH=0} //end ifif( document.images[i].src.indexOf('vwicnsr7.gif') != -1){ document.images[i].height= HEIGHT=0 document.images[i].width= WIDTH=0} //end if} // end for}