function Dyk(
  catg
, text
)
{
	this.mCatg = catg;
	this.mText = text;
}

function randomDyk(
  catg
)
{
	if( catg == null )
	{
		return gDykArray[ Math.floor( Math.random() * ( gDykArray.length ) ) ].mText;
	}

	var tempArray = new Array();

	for( var i = 0; i < gDykArray.length; i++ )
	{
		if( catg == gDykArray[ i ].mCatg )
		{
			tempArray[ tempArray.length ] = gDykArray[ i ];
		}
	}

	return tempArray[ Math.floor( Math.random() * ( tempArray.length ) ) ].mText;
}

var gDykArray = new Array();

gDykArray[ gDykArray.length ] = new Dyk( "info"		, "When detected early and properly treated, skin cancer has a 99% cure rate.  Moh's Microscopic Skin Cancer Surgery, available at Midwest Dermatology Clinic, tracks the removal of skin cancers microscopically, to ensure that cells which have spread in a root-like manner are all removed, preventing a recurrence." );
gDykArray[ gDykArray.length ] = new Dyk( "news"		, "Acne is the most common skin disease in teens.  At one time or another, virtually all teens will experience acne troubles, with more than 35% seeking medical care to help more severe acne.  Prescription treatments are available to help teens and adults with acne, from mild to severe.  Given time - about 6-8 weeks for full results - and continued care, your acne will be under control!" );
gDykArray[ gDykArray.length ] = new Dyk( "what"		, "Your hair and nails are actually part of your skin.  Living skin cells produce both.  They protect us from outside elements and help us with needed functions such as scratching an itch or picking up small objects.  Often, the condition of our hair and nails can tell us a lot about the body's overall health.  Dermatologists treat diseases of the hair and nails.  If you have hair loss, or irregularities in your nails, make an appointment with a physician at Midwest Dermatology Clinic." );
gDykArray[ gDykArray.length ] = new Dyk( "where"	, "Modern lasers can pass right through a balloon without popping it!  Scientists can place a smaller balloon inside a larger one and use the laser to pop the inside balloon, leaving the larger one unharmed.  Now, doctors can do the same thing with the skin.  If you have an unwanted birthmark, brown spot, or even a tattoo, the physicians at Midwest Dermatology Clinic can use lasers to erase them without damaging your skin.  " );
gDykArray[ gDykArray.length ] = new Dyk( "who"		, "The skin is the largest organ in the human body.  On average, an adult is covered in almost two square yards of skin!  The reason is protection - skin serves as a barrier and protects our organs, bones, muscles, blood vessels and nerves from outside enemies.  So, good care on the outside will keep you healthier on the inside.  The physicians of Midwest Dermatology Clinic have been caring for our patient's skin for more than 25 years, earning the title of \"Experienced Leaders in Dermatology\"." );
