<!--
function convertor()
{
 tsvr='//espanol.pandemicflu.gov/pandemicflu/enes/24/_';
 tsvra='/24/_';
 intsvr=(location.href.indexOf(tsvr)!=-1);
 intsvra=(location.href.indexOf(tsvra)!=-1);
 sep=(intsvra)?'/_':'//';
 orgloc=location.href.substring(location.href.indexOf(sep)+2);
 idx=orgloc.indexOf('/');
 if(idx==-1) idx=orgloc.indexOf('?');
 if(idx==-1){
  hname=orgloc;orgloc='';
 }else{
  hname=orgloc.substring(0,idx);orgloc=orgloc.substring(idx);
 }
 if(intsvr){
  hname=hname.replace(/__/,':');hname=hname.replace(/_/g,'.');
  tsvr='//';
 }else if(!intsvra){
  hname=hname.replace(/:/,'__');hname=hname.replace(/\./g,'_');
 }
 if (orgloc.indexOf('chinese.html')!=-1 || orgloc.indexOf('vietnamese.html')!=-1)
  orgloc='';
 location.href=location.protocol+tsvr+hname+orgloc;
 return false;
}

/*
function convertor()

{

tsvr='//espanol.pandemicflu.gov/pandemicflu/enes/24/_';

intsvr=(location.href.indexOf(tsvr)!=-1);

sep=(intsvr)?'/_':'//';

orgloc=location.href.substring(location.href.indexOf(sep)+2);


idx=orgloc.indexOf('/');

if(idx==-1) idx=orgloc.indexOf('?');

if(idx==-1){

hname=orgloc;orgloc='';

}else{

hname=orgloc.substring(0,idx);orgloc=orgloc.substring(idx);

}

if(intsvr){

hname=hname.replace(/__/,':');hname=hname.replace(/_/g,'.');

tsvr='//';

}else{

hname=hname.replace(/:/,'__');hname=hname.replace(/\./g,'_');

}

location.href=location.protocol+tsvr+hname+orgloc;

return false;

}
*/


function description()
{
	
  var winW = 500, winH = 500;

	if (parseInt(navigator.appVersion)>3) {
	 if (navigator.appName=="Netscape") {
	  winW = window.innerWidth;
	  winH = window.innerHeight;
	  //winH = document.body.clientHeight;
	  
	 }
	 if (navigator.appName.indexOf("Microsoft")!=-1) {
	  winW = document.body.offsetWidth;
	  winH = document.body.offsetHeight;
	  //winH = document.body.clientHeight;	  
	  
	 }
	}
	
	var pWinH = 550, pWinW = 400, url;	
	
	if(description.arguments.length == 1){
		url = description.arguments[0];
	}
	else if (description.arguments.length == 4){
		url = description.arguments[0];
		pWinW =description.arguments[1];
		pWinH = description.arguments[2]+60;
		displaytitle = description.arguments[3]
	}
  var disp_setting="dependent=yes,toolbar=no,location=no,directories=no,status=no,statusbar=no,menubar=no,scrollbars=no,resizable=yes";
  	disp_setting += ",height=" + pWinH;
  	disp_setting += ",width=" + pWinW;
  	disp_setting += ",left=" + ((winW - pWinW) / 2);
  	disp_setting += ",top=" + ((winH - pWinH) / 2);  	
  	
  	
  var desc=window.open('about:blank',"winp",disp_setting); 
  var htmlHead="<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'><html lang='en'><head><title>"+displaytitle+"</title><META http-equiv='Content-Type' content='text/html; charset=utf-8'>"
	htmlHead = htmlHead + "<meta http-equiv='Keywords' content='hhs, health, human, services, health and human services, Leavitt, secretary, Mike Leavitt, surgeon general, hipaa, hippa, civil rights, bioterror, terrorism, smallpox, anthrax, sars, chemical, biological, social, social services, disease, families, children, substances, abuse, aging, diabetes, aids, food, drug, drugs, administration, safety, wellness, disaster, emergency, grants, funding, policy, policies, regulate, regulation, regulations, care, healthcare, privacy, medical, doctor, medicine, test, treatment, welfare, mental'>"
	htmlHead =htmlHead +"<meta http-equiv='Description' content='Your source for planning, communicating, and coordinating efforts to prepare and respond to pandemic influenza'></head><body style='margin: 0px 5px 0px 5px;'>" 		
  	var body="<table border=0 cellpadding=0 cellspacing=0 summary='This table is used to format page content' width='100%' height='100%'><tr><td valign='top'><center>"
  	body = body + "<img src='" + url + "'  alt='Analysis of avian influenza sampling.  [Credit FWS]'></center><p>" +displaytitle+"</p>"
  	body = body + "</td></tr><tr><td valign='bottom'><p align='right' style='padding-right:5%;padding-bottom:10px;'><INPUT type='button' value='Close' OnClick='window.close()'> </p></td></tr></table>"
  	var htmlfoot ="</body></html>"
  
  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;
}




function gocategory()
{
	box = document.getElementById("category");	
	destination = box.options[box.selectedIndex].value;
	if (destination) location.href = destination;
}




//-->
