

var PrevPage = '';
var CurrentPage = '';
var NextPage = '';


function ShowGlossary()
{
newWindow=window.open("../glossary.htm","Glossary","toolbar=no,location=no,directories=no,status=no,scrollbars=No,menubar=no,resizable=no,width=640,height=400,left=50,top=100");
if (newWindow.opener == null) {newWindow.opener = window};
}

function ShowHelp()
{
newWindow=window.open("../help.htm","Help","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=no,width=690,height=400,left=50,top=100");
if (newWindow.opener == null) {newWindow.opener = window};
}

function ShowResources(file)
{
newWindow=window.open(file,"Resources","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,width=730,height=500,left=50,top=20");
if (newWindow.opener == null) {newWindow.opener = window};
}

function ShowAccessibility()
{
newWindow=window.open("http://www.fema.gov/help/508.shtm","Accessibility","toolbar=yes,location=yes,directories=no,status=no,scrollbars=yes,menubar=yes,resizable=yes,width=730,height=500,left=50,top=20");
if (newWindow.opener == null) {newWindow.opener = window};
}



function DisplayProgress()
{
ProgPercent = ((100 / ProgressCount) * ProgressPage)
if(ProgPercent >= 0 && ProgPercent < 10){progNum = 0}
if(ProgPercent >= 10 && ProgPercent < 20){progNum = 1}
if(ProgPercent >= 20 && ProgPercent < 30){progNum = 2}
if(ProgPercent >= 30 && ProgPercent < 40){progNum = 3}
if(ProgPercent >= 40 && ProgPercent < 50){progNum = 4}
if(ProgPercent >= 50 && ProgPercent < 60){progNum = 5}
if(ProgPercent >= 60 && ProgPercent < 70){progNum = 6}
if(ProgPercent >= 70 && ProgPercent < 80){progNum = 7}
if(ProgPercent >= 80 && ProgPercent < 90){progNum = 8}
if(ProgPercent >= 90 && ProgPercent < 100){progNum = 9}
if(ProgPercent == 100){progNum = 10}

//alert(ProgPercent)

//progNum = 8

progressText = ''
progressText = progressText + '<IMG SRC="../images/Progress';
progressText = progressText + progNum;
progressText = progressText + '.gif" WIDTH="362" HEIGHT="32" border="0" alt="Screen ' + ProgressPage + ' of ' + ProgressCount + ' ">';
document.write(progressText)
} 

function GoNext()
{
if(NextPage == 'done' || NextPage == '')
	{
		//location.href="../index.htm";
	}
else
	{location.href=NextPage;}
}


function GoPrev()
{
if(PrevPage == 'done' || PrevPage == '')
	{
		//location.href="../index.htm";
	}
else
	{location.href=PrevPage;}
}



function OpenFlash(file)
{
vwidth = 370;
vheight = 318;
sWidth = screen.width;
tWidth = (sWidth/2);
hWidth = (vwidth/2);
uWidth = (tWidth-hWidth);

newWindow=window.open(file,"Presentation","toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,resizable=no,width=" + vwidth + ",height=" + vheight + ",left=" + uWidth + ",top=20");
if (newWindow.opener == null) {newWindow.opener = window};
}


function OpenScript(file)
{
vwidth = 615;
vheight = 500;
sWidth = screen.width;
tWidth = (sWidth/2);
hWidth = (vwidth/2);
uWidth = (tWidth-hWidth);

newWindow=window.open(file,"Transcript","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=no,width=" + vwidth + ",height=" + vheight + ",left=" + uWidth + ",top=20");
if (newWindow.opener == null) {newWindow.opener = window};
}



var BeenThere1 = 0;
function SendMe(url)
{
if(BeenThere1 != 1)
	{alert('You are accessing another Web site, so \nwe\'ll open a new browser window to view it in.  \n\nWhen you\'re done close the window by \nclicking on the little X in the upper-right \nhand corner of the window.');BeenThere1 = 1}

newSite=window.open(url,"ExternalSite","toolbar=yes,location=yes,directories=no,status=no,scrollbars=yes,menubar=yes,resizable=yes,width=700,height=440,left=50,top=0");
if (newSite.opener == null) {newSite.opener = window};
}



var BeenThere2 = 0;
function SendMeLocal(file)
{
if(BeenThere2 != 1)
	{alert('We\'re opening a new browser window to view this resource in.  \n\nWhen you\'re done close the window by clicking on either the \nlittle X in the upper-right hand corner of the window, or the Close button.');BeenThere2 = 1}
	

vwidth = 750;
vheight = 460;
sWidth = screen.width;
tWidth = (sWidth/2);
hWidth = (vwidth/2);
uWidth = (tWidth-hWidth);


localSite=window.open(file,"LocalPage","toolbar=yes,location=no,directories=no,status=no,scrollbars=yes,menubar=yes,resizable=yes,width=" + vwidth + ",height=" + vheight + ",left=" + uWidth + ",top=0");
if (localSite.opener == null) {localSite.opener = window};
}



function PopUpSize(howWide,howHigh,what)
{
	
vwidth = howWide;
vheight = howHigh;
sWidth = screen.width;
tWidth = (sWidth/2);
hWidth = (vwidth/2);
uWidth = (tWidth-hWidth);

	Hintwin=window.open("","detail","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,width=" + vwidth + ",height=" + vheight + ",left=" + uWidth + ",top=50");
	if (Hintwin != null)
	{
		if (Hintwin.opener == null) {FBwin.opener = window};
		Hintwin.document.write('<html><head><title>Detailed Information &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</title>');
		Hintwin.document.write('</head><link rel="stylesheet" href="../Feedback.css">');
		Hintwin.document.write('<body bgcolor="white" onload="self.focus()">');
		Hintwin.document.write(what);
		Hintwin.document.write('<p><CENTER><A HREF="javascript:parent.self.close()"><IMG SRC="../images/close.gif" WIDTH=60 HEIGHT=29 BORDER=0 ALT="Click here to close this window"></A></CENTER><br>');
		Hintwin.document.write('</body></html>');
		Hintwin.document.close();
	}	
}

function showDefShort(vDef)
{
	
vwidth = 350;
vheight = 300;
sWidth = screen.width;
tWidth = (sWidth/2);
hWidth = (vwidth/2);
uWidth = (tWidth-hWidth);

	Hintwin=window.open("","detail","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,width=" + vwidth + ",height=" + vheight + ",left=" + uWidth + ",top=50");
	if (Hintwin != null)
	{
		if (Hintwin.opener == null) {FBwin.opener = window};
		Hintwin.document.write('<html><head><title>Detailed Information &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</title>');
		Hintwin.document.write('</head><link rel="stylesheet" href="../Feedback.css">');
		Hintwin.document.write('<body bgcolor="white" onload="self.focus()"><p>');
		Hintwin.document.write(vDef);
		Hintwin.document.write('<p><CENTER><A HREF="javascript:parent.self.close()"><IMG SRC="../images/close.gif" WIDTH=60 HEIGHT=29 BORDER=0 ALT="Click here to close this window"></A></CENTER><br>');
		Hintwin.document.write('</body></html>');
		Hintwin.document.close();
	}	
}



function showDefLong(vDef)
{
	
vwidth = 600;
vheight = 400;
sWidth = screen.width;
tWidth = (sWidth/2);
hWidth = (vwidth/2);
uWidth = (tWidth-hWidth);

	Hintwin=window.open("","detail","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,width=" + vwidth + ",height=" + vheight + ",left=" + uWidth + ",top=50");
	if (Hintwin != null)
	{
		if (Hintwin.opener == null) {FBwin.opener = window};
		Hintwin.document.write('<html><head><title>Detailed Information &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</title>');
		Hintwin.document.write('</head><link rel="stylesheet" href="../Feedback.css">');
		Hintwin.document.write('<body bgcolor="white" onload="self.focus()" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>');
		Hintwin.document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>	<td><img src="../images/details_01.gif" width="350" height="46" alt="Details" border="0"></td>	<td><img src="../images/resources_02.gif" width="27" height="46" alt="" border="0"></td>	<td><a href="javascript:self.print()" onMouseOver="document.r1.src=\'../images/resourcesHi_03.gif\';" onMouseOut="document.r1.src=\'../images/resources_03.gif\';"><img src="../images/resources_03.gif" width="102" height="46" alt="Print" border="0" name="r1"></td>	<td><a href="javascript:self.close()" onMouseOver="document.r2.src=\'../images/resourcesHi_04.gif\';" onMouseOut="document.r2.src=\'../images/resources_04.gif\';"><img src="../images/resources_04.gif" width="93" height="46" alt="Close" border="0" name="r2"></td>	<td width="100%" background="../images/resources_02.gif">&nbsp;</td></tr></table>');
		Hintwin.document.write('<table width="100%" border="0" cellspacing="0" cellpadding="12"><tr bgcolor="#FFFFFF">	<td><p>');
		Hintwin.document.write(vDef);
		Hintwin.document.write('</td></tr></table>');
		Hintwin.document.write('<p><CENTER><A HREF="javascript:parent.self.close()"><IMG SRC="../images/spacer.gif" WIDTH=1 HEIGHT=1 BORDER=0 ALT="Click here to close this window"></A></CENTER><br>');
		Hintwin.document.write('</body></html>');
		Hintwin.document.close();
	}	
}



function showTrans(vNar)
{
vwidth = 500;
vheight = 420;
sWidth = screen.width;
tWidth = (sWidth/2);
hWidth = (vwidth/2);
uWidth = (tWidth-hWidth);

	Hintwin=window.open("","detail","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,width=" + vwidth + ",height=" + vheight + ",left=" + uWidth + ",top=50");
	if (Hintwin != null)
	{
		if (Hintwin.opener == null) {FBwin.opener = window};
		Hintwin.document.write('<html><head><title>Text Version of Transcript &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</title>');
		Hintwin.document.write('</head>');
		Hintwin.document.write('<body bgcolor="white">');
		Hintwin.document.write('<font face="arial" size="-1">');		
		Hintwin.document.write(vNar);
		Hintwin.document.write('<p><CENTER><A HREF="javascript:parent.self.close()"><IMG SRC="../images/close.gif" WIDTH="60" HEIGHT="29" BORDER="0" ALT="Click here to close this window"></A></CENTER><br>');
		Hintwin.document.write('</font></body></html>');
		Hintwin.document.close();
	}	
}




