var hide = true;
function refreshAll(){
	if(top.menuFSetFrm){
		top.menuFSetFrm.location=top.menuFSetFrm.location;
		top.contentFrm.location=top.contentFrm.location;
		top.toolFrm.location=top.toolFrm.location;
	}else{
		top.main.menuFSetFrm.location=top.main.menuFSetFrm.location;
		top.main.contentFrm.location=top.main.contentFrm.location;
		top.main.toolFrm.location=top.main.toolFrm.location;
	}
}

function confirmLogoff(){
	if(confirm( "Are you sure you want to log off the Vulindlela Information Portal?\n"+
				"This will close all open report windows.\n\n"+
				"Continue ?")){
		return true;
	}
	return false;
}

function printContent(){
	if(top.contentFrm){
		top.contentFrm.focus();
		top.contentFrm.print();
	}else{
		top.main.contentFrm.focus();
		top.main.contentFrm.print();
	}
	return false;
}

function fixHREF(){
    document.all['feedbackBTN'].href = "mailto:Maneesha.Ratanjee@treasury.gov.za?CC=Ronel.Ilsley@treasury.gov.za&Subject=" + top.contentFrm.document.title
}
