// JavaScript Document


function applyPasswordDocs(){
	
	$('#documents a').click( function(){
		
		var password = ''
		password=prompt('Please enter the password for this document:','');
		
		if ( $(this).hasClass(password) ){
			return true
		}else{
			alert('sorry that password is incorrect.');
			return false
		}
	});//end #documents a click

}
