//this is used by the Repeat button to reload the entire page
function ReloadPage() {
document.location.reload()
}

function flvFTL1(){// v1.0
// Copyright 2003, Marja Ribbers (FlevOOware.nl)
var v1=arguments,v2,v3,v4,v5;for (v3=0;v3<v1.length;v3++){v2=MM_findObj(v1[v3]);if (v2){if (document.layers){v4=v2;v5="show";}else {v4=v2.style;v5="visible";}v4.visibility=(v4.visibility==v5)?"hidden":"visible";}}}

//Sets the title of the header image to the same name as the page title - CS
function SetHeaderCap(){
	document.images.item("imgHeader",0).alt = document.title;
}

<!-- This function puts content in the parent window and closes the menu pop-up JF -->
function Lvl_P2P(u,c,d,w,h){ //ver1.0 4LevelWebs
  top.opener.location.href = u
	if (c == true)setTimeout('top.close()',d)
	if (w > 0){top.resizeTo(w,h)}
}


function AlertExternal(url){
	question=confirm("Would you like to visit: " + url + "\nThis link will take you out of a CMS website. If you agree, you can leave this website now. \n\nClick OK to continue to the selected link or click Cancel to close this message and return to the training.\n\nNote: These external links are not the responsibility of, or under the control of, the Centers for Medicare & Medicaid Services (CMS).  Some of these links may be to non-Federal government websites (.gov). CMS disclaims responsibility for the content and privacy policies of non-.gov websites. This link will open in a new window. Closing that window will return you to your place in this training.");
	if (question !="0"){
		window.open(url);
	}
}

function AlertOffsite(url){
	question=confirm("You are about to leave this training site, Outcome & Assessment Information Set (OASIS) Training, & go to another CMS site. If you agree, you can leave this website now. \n\nClick OK to continue to the selected link or click Cancel to close this message and return to the training.\n\nNote: This link will open in a new window. Closing that window will return you to your place in this training.");
	if (question !="0"){
		window.open(url);
	}
}
