//
// QueryString
//

function QueryString(key)
{
	var value = null;
	for (var i=0;i<QueryString.keys.length;i++)
	{
		if (QueryString.keys[i]==key)
		{
			value = QueryString.values[i];
			break;
		}
	}
	return value;
}
QueryString.keys = new Array();
QueryString.values = new Array();

function QueryString_Parse()
{
	var query = window.location.search.substring(1);
	var pairs = query.split("&");
	
	for (var i=0;i<pairs.length;i++)
	{
		var pos = pairs[i].indexOf('=');
		if (pos >= 0)
		{
			var argname = pairs[i].substring(0,pos);
			var value = pairs[i].substring(pos+1);
			QueryString.keys[QueryString.keys.length] = argname;
			QueryString.values[QueryString.values.length] = value;		
		}
	}

}

QueryString_Parse();











function writeTips() {

var arTips = new Array;

arTips[0] = new Array("Are the cleansers safe for use on puppies and kittens?","All of the Gordon-MacIntyre lathering cleansers have been created for all ages of pets. It was important for us to provide a lathering cleanser that would safely remove the exfoliated skin cells from a puppy or kittens developing skin. They also needed to be able to remove the oily debris created by an active, working dog.");

arTips[1] = new Array("What makes the cleansers exceptional?","You have probably experienced bathing your pet with a medicated shampoo. The shampoo will clean and medicate but will not lather, even when you apply half of the bottle. It may be easy to rinse away but did you really get them clean? You have also probably bathed with a baby shampoo that bubbles and foams. That's wonderful until you attempt to wash it off. You rinse, and rinse, and rinse. You believe you are done until you reach underneath your pet's trunk, squeeze their hair coat with your hand and watch the bubbles exude between your fingers. You have both had enough.<br><br>We have created an exceptional blend of lathering and cleansing. After creating many formulations, we have perfected the balance between complete coverage and cleaning with simple rinse ability. You don't have to settle for one or the other. ");

arTips[2] = new Array("Can I bathe my pet too much?","Dermatologically, bathing has two primary benefits. 1. Gentle removal of exfoliated skin cells and accumulated oils from the skin. 2. Hydration of the living skin cells of the epidermis. If you were to bathe your pet in a harsh, detergent-like shampoo, excessive skin cells would be stripped from the surface of the skin. Our exceptional lathering cleansers have been dermatologically formulated to carefully remove only the dead keratinocytes (skin cells). The healthy cells remain to absorb the water and unique ingredients. We have formulated our cleansers to allow your pets to be bathed daily, if desired.");

arTips[3] = new Array("When should I bathe my pet? ","As stated above, you can comfortably bathe your pet with our exceptional lathering cleaners daily. Most of us choose not to but if your dog jumps in the pond or your cat crawls into a dusty area of your home the day after being bathed. You can be assured; their skin will be protected.<br><br>In general, if your pet has a mild malodor from their hair coat or they leave a slight waxy feel to your hand after petting. It's time for their bath.");

arTips[4] = new Array("Will water in my pets ears harm him?","Water in the ears will not cause an ear infection unless your pet has an underlying condition in their ear. The most common condition is an allergy. Allergies often cause the ears to produce too much wax and induce inflammation as noted by redness. This mildly inflamed ear, if exposed to water will usually become more inflamed and infected. So, if ear infections have been recurrent for your pet or they develop after bathing, please schedule an appointment with your veterinarian.<br><br>I bathe my dogs and cats by wetting their body and legs and then lathering. I avoid wetting their head until the end of the bath. A wet head results in shaking of the head and then the body follows. Everybody gets wet. When its time to wash the head, a towel on the trunk will limit the shaking and keep you dry. You may also place large cotton balls in the ears to absorb any misplaced water. Be sure not to push the cotton deep into the ears. Some of my pets don't mind the cotton balls; others want to shake them out. If you do get water into the ears, several good headshakes will disperse the water and the rest will be quickly absorbed into the skin of the ear canals. The skin of the ears is just like the skin on the body with additional oil glands.");

arTips[5] = new Array("What if my cat grooms immediately after bathing?","The lathering cleansers are so easily rinsed your cat should not even taste them. The unique ingredients are absorbed well into the skin and hair coat preventing ingestion.");

arTips[6] = new Array("Why are your cleansers in amber bottles?","We have avoided the use of a clear bottle. Clear bottles allow the damaging effects of ultraviolet light to degrade the ingredients. Most providers select an opaque container preventing you from seeing the stability of their product. You would be surprised to realize how many shampoos separate in the bottle. Our translucent amber bottle allows you to see how uniquely stable the formulations are that we have created for you while preventing unnecessary degradation.  ");

arTips[7] = new Array("Will there be additional cleansers specific for my pet?","The formulation process is extensive so exact dates of release cannot be stated. Understanding the uniqueness of the skin and hair coat of your pets, we have continued to create additional products for you. Please put us on your favorites list. We can't wait to share them with you!");



s = QueryString("s");
j=0; i=0;
	
	document.write("<table border='0' cellpadding='0' cellspacing='0' width='650'>");
	
	for (i=0; i < arTips.length; i++) {
	for (j=0; j < arTips[i].length-1; j++) {
		
		if (s == i) {
			document.write("<tr bgcolor='#FEDDA7'><td class='tipTop'>");
			document.write("<a href='clan.html?s=-1' class='prodHdr' name='anchor'><img src='http://eaglebrand.ddcg.com/shared/includes/common/icon_close.gif' border='0'>" + arTips[i][0] + "</a></td></tr>");
			document.write("<tr bgcolor='#FEDDA7'><td class='tipTop' style='padding: 12px 12px 12px 12px;'>");
			document.write("<span class='bodyCopy'>" + arTips[i][1] + "</span>");
		} else {
			document.write("<tr><td class='tipTop'><!--- <span class='prodHdr'>+ </span><a href='#prep' class='orangeCapsSm'>Prep Tips</a></td> --->");
	
			document.write("<a href='clan.html?s=" + i + "#anchor' class='prodHdr'><img src='http://eaglebrand.ddcg.com/shared/includes/common/icon_open.gif' border='0'> " + arTips[i][0] + "</a><br>");
		}
		document.write("</td></tr>");
	}
	}
	
	//document.write("<tr bgcolor='white'><td valign='top' style='border-top: 1px solid #AE9A74;'>&nbsp;</td></tr>");
	document.write("</table>");
}