function openHelpFile(sURL)
{
window.open(sURL, 'TSEhelp', 'fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,directories=no,location=no,width=855,height=555,left=7,top=4')
} 

function mailtoWithCC(text) 
{

//var address1 = 'John_Bistay' + '@' + 'ita.doc.gov';
//var       CC1 = 'Francine_Krasowska' + '@' + 'ita.doc.gov';
//document.write('<a  class=footerA style="color : #ffffff;" href="mailto:' + address1 + '?CC=' + CC1 + '">' + text + '</a>') 
//var       add1 = 'Francine_Krasowska' + '@' + 'ita.doc.gov';
//var       add1 = 'Francine.Krasowska' + '@' + 'mail.doc.gov';
var       add1 = 'ianhelp' + '@' + 'mail.doc.gov';
document.write('<a  class=footerA style="color : #ffffff;" href="mailto:' + add1 + '">' + text + '</a>') 
}  
 
function mailto(atleft,atright,text) 
{var address = atleft + "@" + atright;
if (text=="") text = address; 
document.write('<a  class=footerA style="color : #ffffff;" href="mailto:' + address + '">' + text + '</a>') 
}

function setFooterOLDLoc()
{
 //only need to do this for resolution height > 768
 if (window.screen.height < 769) {return false;}
  if (document.all) {            // IE
    if (document.all.footerDIV != null) {
      var f = document.all.footerDIV;
          f.style.top = document.body.clientHeight - f.offsetHeight - 5; 
    	  
    } else {
      return null;
    }
  } else if (document.getElementById && !document.all) {
    if (document.getElementById("footerDIV") != null) {
		document.getElementById("footerDIV").style.top = window.innerHeight - document.getElementById("footerDIV").offsetHeight; 
   
      
    } else {
      return null;
    }
  } else {                              // Don't know what browser
    return null;
  }
}

function setFooterLocation()
{
 //only need to do this for resolution height > 600
 if (window.screen.height < 605) 
	{
	 if (document.getElementById("footerDIV") != null) 
		{
		var f = document.getElementById("footerDIV") ;
  		f.style.visibility="visible";
		}
	return false;
 
	}	
 //var status = 'STATUS : ' ; 
  if (document.all) {            // IE
    if (document.all.footerDIV != null) {
      var f = document.all.footerDIV;
        	if (document.all.footermin != null) {
				var fm = document.all.footermin;
				 f.style.top =  fm.offsetTop +  5 + 'px'; 
				  var newloc = document.body.clientHeight - f.offsetHeight - 3 ;
				  if (f.offsetTop < newloc)
					{ 
					  f.style.top = newloc + 5 + 'px'; 
					}
					f.style.visibility="visible";
					
      }		
    } else {
      return null;
    }
  } else if (document.getElementById && !document.all) {
    //if (document.getElementById("footerDIV") != null) {
	//	document.getElementById("footerDIV").style.top = window.innerHeight - document.getElementById("footerDIV").offsetHeight; 
   // }
   
   if (document.getElementById("footerDIV") != null) {
      var f = document.getElementById("footerDIV") ;
      
        	if (document.getElementById("footermin") != null) {
				var fm = document.getElementById("footermin");
				f.style.width=window.innerWidth - 17 + 'px';
//				 f.style.top =  fm.offsetTop +  3 + 'px'; 
				 f.style.top =  fm.offsetTop +   'px'; 
				  var newloc = window.innerHeight - f.offsetHeight - 3 ;
				  if (f.offsetTop < newloc)
					{ 
					  f.style.top = newloc + 5 + 'px'; 
					}
		f.style.visibility="visible";			
      }		
    
      
    } else {
      return null;
    }
  } else {                              // Don't know what browser
    return null;
  }
}
