/* 
 Script to process hyperlinks that jump to sections within a given document
 DEMO verion
 */
function anchorExists(Anchor){
	try {
			var Name = document.all.item(Anchor).name;
			return (true);		
		}
		catch (err){return (false);}
		}  		
function SectionJump(SectionID) {
	var Section = SectionID.slice(1, SectionID.length);	
	if (anchorExists(Section)) {
		window.location = SectionID;
	}
	else{
		window.location = "/user/medlink_home.asp?login=restricted";
	}
} 