| "  	body = body + "
" +displaytitle+"
"  	body = body + "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| "  	var htmlfoot =""   desc.document.write(htmlHead) desc.document.write(body)  desc.document.write(htmlfoot)      desc.focus();}function windowHeight() {  var myWidth = 0, myHeight = 0;  if( typeof( window.innerWidth ) == 'number' ) {    //Non-IE    myWidth = window.innerWidth;    myHeight = window.innerHeight;  } else if( document.documentElement &&      ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {    //IE 6+ in 'standards compliant mode'    myWidth = document.documentElement.clientWidth;    myHeight = document.documentElement.clientHeight;  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {    //IE 4 compatible    myWidth = document.body.clientWidth;    myHeight = document.body.clientHeight;  }    return myHeight;}// Validation object for the 2009 Region 10 Annual HHS Tribal Consultation Registrationconsulation = {			whitespace:" \t\n\r",			validate: function()	    {    		    		    		  		if(consulation.isEmpty(document.registerform.first_name.value))	  		{	  			alert("Error: First name is required.");	  			document.registerform.first_name.focus();	  			return false;	  		}	  			  		if(consulation.isEmpty(document.registerform.last_name.value))	  		{	  			alert("Error: Last name is required.");	  			document.registerform.last_name.focus();	  			return false;	  		}	  			  		if(consulation.isEmpty(document.registerform.organization.value))	  		{	  			alert("Error: Organization/Affiliation is required.");	  			document.registerform.organization.focus();	  			return false;	  		}	  			  		if(consulation.isEmpty(document.registerform.address.value))	  		{	  			alert("Error: Street Address is required.");	  			document.registerform.address.focus();	  			return false;	  		}	  			  		if(consulation.isEmpty(document.registerform.city.value))	  		{	  			alert("Error: City is required.");	  			document.registerform.city.focus();	  			return false;	  		}	  			  		if(consulation.isEmpty(document.registerform.state.value))	  		{	  			alert("Error: State is required.");	  			document.registerform.state.focus();	  			return false;	  		}	  			  		if(consulation.isEmpty(document.registerform.zip_code.value))	  		{	  			alert("Error: Zip code is required.");	  			document.registerform.zip_code.focus();	  			return false;	  		}	  			  		if(consulation.isEmpty(document.registerform.daytime_phone.value))	  		{	  			alert("Error: Daytime phone number is required.");	  			document.registerform.daytime_phone.focus();	  			return false;	  		}	  			  		if(!consulation.isEmail(document.registerform.email_address))	  		{   				  			return false;	  		}	  		//if (document.registerform.tribal_aff.value.length == 0)		  			  		if(consulation.isEmpty(document.registerform.tribal_aff.value))				  		{	  			alert("Error: Tribal Affiliation is required." );	  			document.registerform.tribal_aff.focus();	  				  			return false;	  		}	  		  			  		return true;	    },    	isEmpty:function(s)	    {    		    	var i;    		    	if((s == null) || (s.length ==0)){    			    		return true;	    	}	    	for (i=0; i [^@]+@([\w|-]+\.)+[\w|-]+/.test(s) ){	    		return true;	    	}	    	alert("E-mail address is not in valid form!");	    	field.focus();	    	return false;	    }};consulation2 = {			whitespace:" \t\n\r",			validate: function()	    {    		    		    		  		if(consulation2.isEmpty(document.registerform.first_name.value))	  		{	  			alert("Error: First name is required.");	  			document.registerform.first_name.focus();	  			return false;	  		}	  			  		if(consulation2.isEmpty(document.registerform.last_name.value))	  		{	  			alert("Error: Last name is required.");	  			document.registerform.last_name.focus();	  			return false;	  		}	  			  		if(consulation2.isEmpty(document.registerform.organization.value))	  		{	  			alert("Error: Organization/Affiliation is required.");	  			document.registerform.organization.focus();	  			return false;	  		}	  			  			  		if(consulation2.isEmpty(document.registerform.title.value))	  		{	  			alert("Error: Title is required.");	  			document.registerform.title.focus();	  			return false;	  		}	  			  		if(consulation2.isEmpty(document.registerform.address.value))	  		{	  			alert("Error: Street Address is required.");	  			document.registerform.address.focus();	  			return false;	  		}	  			  		if(consulation2.isEmpty(document.registerform.city.value))	  		{	  			alert("Error: City is required.");	  			document.registerform.city.focus();	  			return false;	  		}	  			  		if(consulation2.isEmpty(document.registerform.state.value))	  		{	  			alert("Error: State is required.");	  			document.registerform.state.focus();	  			return false;	  		}	  			  		if(consulation2.isEmpty(document.registerform.zip_code.value))	  		{	  			alert("Error: Zip code is required.");	  			document.registerform.zip_code.focus();	  			return false;	  		}	  			  		if(consulation2.isEmpty(document.registerform.daytime_phone.value))	  		{	  			alert("Error: Daytime phone number is required.");	  			document.registerform.daytime_phone.focus();	  			return false;	  		}	  			  		if(!consulation2.isEmail(document.registerform.email_address))	  		{   				  			return false;	  		}	  		//if (document.registerform.tribal_aff.value.length == 0)		  			  		if(consulation2.isEmpty(document.registerform.tribal_aff.value))				  		{	  			alert("Error: Tribal Affiliation is required." );	  			document.registerform.tribal_aff.focus();	  				  			return false;	  		}	  		  			  		return true;	    },    	isEmpty:function(s)	    {    		    	var i;    		    	if((s == null) || (s.length ==0)){    			    		return true;	    	}	    	for (i=0; i [^@]+@([\w|-]+\.)+[\w|-]+/.test(s) ){	    		return true;	    	}	    	alert("E-mail address is not in valid form!");	    	field.focus();	    	return false;	    }};// Validation function for Submit a question for the CHIP Webcastvar CHIPWebcast = {	defaultText: "Type in your questions here.",		isBlank: function(obj, message){		if (obj.value == ''){			alert(message);			obj.focus();			return false;		}		return true;	},	isEmail: function(obj, message){		if(!( /[^@]+@[^@]+\.[^@]+/.test(obj.value))){			alert(message);			obj.focus();			return false;		}		return true;			},		textAreaOnClick: function(obj){				if(obj.value == CHIPWebcast.defaultText){			obj.value="";		}	},		validate: function (objForm){		if ( (!CHIPWebcast.isBlank(objForm._name, 'Name is required.')) || (!CHIPWebcast.isEmail(objForm.email, 'A valid email address is required.')) 	){						return false;		}				if (objForm.question.value == "" || objForm.question.value == CHIPWebcast.defaultText){			alert("Please type in your question in question box.");			objForm.question.focus();			return false;		}		return true;	}  	};/***********************************************************************************************************CNAME ************************************************************************************************************/function cnameLink(){		var baseURL;	baseURL="http://eshhs.convertlanguage.com/enes";	var curURL = location.href;			curURL=curURL.substring(curURL.indexOf("/",8));	if(curURL.substring(curURL.length-1) == "/")		curURL+="index.html";		linkURL = baseURL + curURL;				//alert(linkURL);	document.write("
En español
");}function linkClick(){		oh=new Array();	tsd=new Array();	tsh='eshhs.convertlanguage.com';	oh[0]='www.globalhealth.gov';	tsd[0]='/enes/dglobalhealth/';	oh[1]='www.hhs.gov';	tsd[1]='/enes/';	idx=location.href.indexOf(tsh);		if(idx==-1){		for (i=0;i-1) break;		}		idx=idx+oh[i].length;		hname=tsh+tsd[i];	}	else{		for (i=0;i-1) break;		}		idx=idx+tsd[i].length;		hname=oh[i];	}		path=location.href.substring(idx);	hend=hname.charAt(hname.length-1);	pstart=path.charAt(0);	if(hend=='/' && pstart=='/')		path=path.substring(path.indexOf('/')+1);	if(hend!='/' && pstart!='/')		path='/'+path;	this.href=location.protocol+'//'+hname+path;	return true;}/***********************************************************************************************************END CNAME ************************************************************************************************************//***********************************************************************************************************Used to provide radio buttons under hhs search form in header************************************************************************************************************/function HHSsearch_options(){		if (!document.HHS.site[0].checked){										//document.HHS.getfields.value = null;			document.HHS.client.value = document.HHS.proxystylesheet.value = "HHS";    			}	else{				//document.HHS.getfields.value = "*";		//alert(document.HHS.client.value + "\n" + document.HHS.proxystylesheet.value);		document.HHS.client.value = "HHS";		document.HHS.proxystylesheet.value = "HHS";			}}function NVPOsearch_options(){				if (!document.HHS.site[0].checked){										//document.HHS.getfields.value = null;			alert('ok');		document.HHS.client.value = document.HHS.proxystylesheet.value = "HHS";    					}	else{				//document.HHS.getfields.value = "*";		//alert(document.HHS.client.value + "\n" + document.HHS.proxystylesheet.value);		document.HHS.client.value = "nvpo";		document.HHS.proxystylesheet.value = "nvpo";			}}function OHRPsearch_options(){	if (!document.HHS.site[0].checked){					//document.HHS.getfields.value = null;			document.HHS.client.value = document.HHS.proxystylesheet.value = "HHS";    					}	else{						//document.HHS.getfields.value = "*";		document.HHS.client.value = "OHRP";		document.HHS.proxystylesheet.value = "OHRP";			}} |