function chOver(obj)
{
	obj.style.backgroundColor = '#DDEEFF'
}

function chOut(obj)
{
	obj.style.backgroundColor = '#FFFFFF'
}

function initAHPLinks(selectedPC)
{
	var currentPC = selectedPC
	
	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpVitamins.html'>Nutritional Suppliments</a></div>")
		if (selectedPC == 'vitamins')
		executeCategoryLinks(currentPC)

	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpToxinBinders.html'>Toxin Binders</a></div>")
		if (selectedPC == 'toxinbinders')
		executeCategoryLinks(currentPC)

document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpLiverTonic.html'>Liver Tonics</a></div>")
		if (selectedPC == 'livertonic')
		executeCategoryLinks(currentPC)

	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpAcidifiers.html'>Acidifiers</a></div>")
		if (selectedPC == 'acidifiers')
		executeCategoryLinks(currentPC)
	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpPhytaseenzymes.html'>Phytase Enzymes</a></div>")
		if (selectedPC == 'phytaseenzymes')
		executeCategoryLinks(currentPC)

	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpGrowthPromotors.html'>Growth Promotors</a></div>")
		if (selectedPC == 'growthpromotors')
		executeCategoryLinks(currentPC)
	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpAnticoccidials.html'>Anticoccidials</a></div>")
		if (selectedPC == 'anticoccidials')
		executeCategoryLinks(currentPC)
		document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpAntibiotics.html'>Antibiotics</a></div>")
		if (selectedPC == 'antibiotics')
		executeCategoryLinks(currentPC)
	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpDewormers.html'>Dewromers</a></div>")
		if (selectedPC == 'dewormers')
		executeCategoryLinks(currentPC)
	
	//document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpImmunoStimulants.html'>Immuno Stimulants</a></div>")
	//	if (selectedPC == 'immunostimulants')
	//	executeCategoryLinks(currentPC)

	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpElectrolytes.html'>Electrolytes<!-- and Trace Minerals--></a></div>")
		if (selectedPC == 'electrolytes')
		executeCategoryLinks(currentPC)
	document.write("<div class='ahpProductTitle'><a class='ahpLink' href='ahpAntiGout.html'>Antigout</a></div>")
		if (selectedPC == 'antigout')
		executeCategoryLinks(currentPC)
	document.write("<div class='ahpProductTitle'>Contact</div>")
	document.write("<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpContact.html'>Enquiry</a><br>")
}

function executeCategoryLinks(category)
{
	switch(category) {
	case 'antibiotics' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSolutyl.html'>SOLUTYL</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVendoxN.html'>VENDOX-N<a></div>" +
	//"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVenmoxVet.html'>VENMOX VET<a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpColisV.html'>COLIS-V</a></div>" +
	//"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVendoxVet.html'>VENDOX VET</a></div>"
		"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVENFLOX.html'>VENFLOX</a></div>" +
				"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpRESTRICT-L.html'>RESTRICT-L</a></div>" 
	)
	break;

	case 'vitamins' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSelvitE.html'>SELVIT-E</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSelvitEDS.html'>SELVIT-E DS</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpStresvel.html'>STRESVEL</a></div>" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentrimix.html'>VENTRIMIX</a></div>" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentribeePlus.html'>VENTRIBEE PLUS</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentriplexM.html'>VENTRIPLEX-M</a></div>" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentrimin17.html'>VENTRIMIN-17</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSolucal.html'>SOLUCAL</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentriforteA.html'>VENTRIFORTE-A</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSolexM.html'>SOLEX-M</a></div>"
	)
	break;

	case 'toxinbinders' :
	document.write("" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBantox.html'>BANTOX</a></div>" +
		"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBioBantox.html'>BIO-BANTOX</a></div>" +
		"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBioBantoxPlus.html'>BIO-BANTOX PLUS</a></div>" 
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpUplivForte.html'>UPLIV FORTE</a></div>" +
//	"<!--<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentrilivForte.html'>VENTRILIV FORTE</a></div>-->" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentrilivPlus.html'>VENTRILIV PLUS</a></div>"
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpUpliv-HPremix.html'>UPLIV-H PREMIX</a></div>" +
//			"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpUPLIV-HLIQUID.html'>UPLIV-H LIQUID</a></div>" 
	)
	break;

	case 'livertonic' :
	document.write("" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBantox.html'>BANTOX</a></div>" +
//		"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBioBantox.html'>BIO-BANTOX</a></div>" +
//		"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBioBantoxPlus.html'>BIO-BANTOX PLUS</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpUplivForte.html'>UPLIV FORTE</a></div>" +
//	"<!--<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentrilivForte.html'>VENTRILIV FORTE</a></div>-->" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentrilivPlus.html'>VENTRILIV PLUS</a></div>"
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpUpliv-HPremix.html'>UPLIV-H PREMIX</a></div>" +
			"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpUPLIV-HLIQUID.html'>UPLIV-H LIQUID</a></div>" 
	)
	break;


    case 'acidifiers' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpACIDOMIX.html'>ACIDOMIX</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpELIMIN-8.html'>ELIMIN-8</a></div>" 
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBiosparkV.html'>BIOSPARK-V</a></div>"
	)
	break;


    case 'phytaseenzymes' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpOPTIPHOS-DS.html'>OPTIPHOS DS</a></div>" 
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpELIMIN-8.html'>ELIMIN-8</a></div>" 
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBiosparkV.html'>BIOSPARK-V</a></div>"
	)
	break;


	case 'growthpromotors' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpTylomix.html'>TYLOMIX</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVFur200.html'>V-FUR 200</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpBiosparkV.html'>BIOSPARK-V</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpAMOPREMIX.html'>AMOPREMIX</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSUPERSTART-VRS.html'>SUPERSTART-VRS</a></div>" 
	)
	break;

	case 'anticoccidials' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpCMP1.html'>CMP-1</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpCMP200.html'>CMP-200</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVeldot.html'>VELDOT</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSALINOMIX.html'>SALINOMIX</a></div>" +
		"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVENCOCCI.html'>VENCOCCI</a></div>" +
		"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpKAMPRO-H.html'>KAMPRO-H</a></div>" 
	)
	break;

	case 'dewormers' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVentrimisole.html'>VENTRIMISOLE</a></div>" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpPiperazine.html'>PIPERAZINE HEXAHYDRATE</a></div>"
	)
	break;

//	case 'immunostimulants' :
//	document.write("" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpImmuplus.html'>IMMUPLUS</a></div>" +
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpSelvitEGreen.html'>SELVIT-E GREEN</a></div>"
//	)
//	break;

	case 'electrolytes' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpVenlyte.html'>VENLYTE</a></div>" 
//	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpTracemin.html'>TRACEMIN</a></div>"
	)
	break;

	case 'antigout' :
	document.write("" +
	"<div class='ahpProduct' onMouseOver='chOver(this)' onMouseOut='chOut(this)'><a class='ahpLink' href='ahpAvisol.html'>AVISOL</a></div>"
	)
	break;
	}
}

window.onload = highlightCurrentPageLink

function highlightCurrentPageLink()
{
	linkArray = document.links
	for (i=0; i<linkArray.length; i++)
	{
		if (linkArray[i].href == document.location.href)
		{
			linkArray[i].className = 'currentPage'
		}
	}
}