var info=new Array();
var source=new Array();
var category=new Array();

function randomDYK() {
	var whichinfo=Math.floor(Math.random()*(info.length));
	document.write("<p>"+info[whichinfo]+"</p>");
	document.write("<p class=\"right\"> &#8211;&nbsp;");
	document.write("<em>"+source[whichinfo]+"</em>");
	document.write("</p>");
}

function writeDYKs() {
	var headerstore="";
	for (i = 0; i < info.length; i ++) {
		if (!headerstore.match(category[i])) {
			document.write("<h2>"+category[i]+"</h2>");
		}
		document.write("<p>"+info[i]+"<br />");
		document.write("<em>&#8211;&nbsp;"+source[i]+"</em></p>");
		headerstore=headerstore+category[i];
	}
}

var resourceid=-1;

resourceid++;
info[resourceid]="About 840,000 teens in the U.S. become pregnant each year. One-third of these pregnancies end in abortion";
source[resourceid]="Centers for Disease Control and Prevention, December 2000";
category[resourceid]="Abortion";

resourceid++;
info[resourceid]="In 1993, 67% of college freshman said abortion should remain legal.  In 2002, that figure dropped to 54%.";
source[resourceid]="\"Surprise, Mom: I'm Against Abortion,\" New York Times";
category[resourceid]="Abortion";

resourceid++;
info[resourceid]="Planned Parenthood was founded in 1916 by Margaret Sanger, a social radical and proponent of eugenics. Selective breeding, she said, was necessary to control those who were \"unfit to breed,\"  and that if minorities had high birth rates, \"economic turmoil\" would result.  Today over two-thirds of all abortion centers are located in minority communities.";
source[resourceid]="Black Americans for Life, March 1999";       
category[resourceid]="Abortion";

resourceid++;
info[resourceid]="Minority children are aborted at more than twice the rate of white pre-borns; in 1998, 57.1% per 1000 women for non-whites, compared to 20.2% per 1000 women for whites."
source[resourceid]="The Alan Guttmacher Institute, February 2000";
category[resourceid]="Abortion";

resourceid++;
info[resourceid]="Women who abort their first child by age 18 have twice the risk of developing breast cancer before age 35 than non-abortive women.";
source[resourceid]="afterabortion.org"; 
category[resourceid]="Abortion";

resourceid++;
info[resourceid]="93% of teens feel that they should be given a strong message that abstinence is the best choice.";
source[resourceid]="National Campaign to Prevent Teen Pregnancy, April 27, 2000";
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="The majority of high school students (54.4%) are virgins and this percentage is increasing.";
source[resourceid]="Centers for Disease Control and Prevention, May 2002";
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="3 out of 4 sexually active girls under age 13 say they were forced or pressured into sex.";
source[resourceid]="A Statistical Portrait of Adolescent Sex, Contraception, and Childbearing, March 1998";
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="3 million teens contract a sexually transmitted disease each year in the U.S.";
source[resourceid]="American Social Health Association; Kaiser Family Foundation, 1998";
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="Most teens who have been sexually active regret that choice.";
source[resourceid]="National Campaign to Prevent Teen Pregnancy, June 30, 2000";
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="One in every three female college students in America is infected with a venereal disease called Human Papilloma Virus (HPV) which is the probable cause of almost all cervical cancer.";
source[resourceid]="New England Journal of Medicine, April 1996";
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="Marriages that start out as live-together unions have a 50% higher divorce rate than those of partners who live apart before marriage.";
source[resourceid]="Journal of Marriage and Family, v.53, December 2001";
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="Since 1994, more than 2.5 million teens and college students have participated in \"True Love Waits\" events, and have signed pledges to save sex until marriage.";
source[resourceid]="LoveMatters.com"; 
category[resourceid]="Premarital Sex";

resourceid++;
info[resourceid]="Condoms provide even less protection against STDs than they do against pregnancy. In 11 separate studies,  condoms had an overall failure rate of 31% in protecting against HIV.";
source[resourceid]="Dr. Susan Weller, UT Medical Branch, Galveston, 1993";
category[resourceid]="Contraception";

resourceid++;
info[resourceid]="Condoms don't prevent pregnancy. They have an annual contraceptive failure rate of 17.4% among teens, 36.3% among unmarried minority women, and 44.5% among unmarried Hispanics.";
source[resourceid]="Family Planning Perspectives, September/October 1996";
category[resourceid]="Contraception";

resourceid++;
info[resourceid]="Oregon continues to be the only state in the Union where it is legal for a physician to help a patient end his or her life. Since 1997, 12 states have proposed similar laws, but all have been defeated.";
source[resourceid]="Dr. Michael Gloth, Johns Hopkins University School of Medicine, July 2003"; 
category[resourceid]="Euthanasia and Physician-assisted Suicide";

resourceid++;
info[resourceid]="Many people who express a will to die are suffering from clinical depression rather than a terminal disease. Studies reveal that when certain anti-depressants are administered over a three-month period, 44% say they no longer wish to die.";
source[resourceid]="Family Practice News, October 1996";
category[resourceid]="Euthanasia and Physician-assisted Suicide";
