// JavaScript Document
//<!--
var manufacturer = navigator.appName;
var version = navigator.appVersion;
var leftPos = 0;
var rightPos = 0;
var x = 0;
var y = 0;
var leftPosb = 0;
var rightPosb = 0;
var xb = 0;
var yb = 0;
var n = false;

function moveLeft(){
	leftPos = document.getElementById('container').scrollLeft;
	document.getElementById('container').scrollLeft = leftPos + 20;
	
}


function scrollingLeft(){
	myInterval = setInterval('moveLeft()', 47);
	myInterval;
	setTimeout('clearInterval(myInterval)', 1000);
	document.getElementById('scrollerLeft').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerLeft').style.visibility = 'visible';", 1000);
	document.getElementById('scrollerRight').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerRight').style.visibility = 'visible';", 1000);
} 

function moveRight(){
	rightPos = document.getElementById('container').scrollLeft;
	document.getElementById('container').scrollLeft = rightPos - 20;
	
}

function scrollingRight(){
	myInterval2 = setInterval('moveRight()', 47);
	myInterval2;
	setTimeout('clearInterval(myInterval2)', 1000);
	document.getElementById('scrollerLeft').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerLeft').style.visibility = 'visible';", 1000);
	document.getElementById('scrollerRight').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerRight').style.visibility = 'visible';", 1000);
}

function hideObject(){
	x = x + 1;
	y = y - 1;
		if(x == 2 || x == 0){
			setTimeout("document.getElementById('scrollerRight').style.visibility = 'hidden';",1050);
			document.getElementById('rightIndicator').style.visibility = 'hidden'; 
			document.getElementById('middleIndicator').style.visibility = 'hidden';
			document.getElementById('leftIndicator').style.visibility = 'visible';
		}else{
			document.getElementById('leftIndicator').style.visibility = 'hidden';
			document.getElementById('middleIndicator').style.visibility = 'visible';
			document.getElementById('rightIndicator').style.visibility = 'hidden';
		}		
} 

function hideObject2(){
	y = y + 1;
	x = x - 1;
		if(y == 2 || y == 0){
			setTimeout("document.getElementById('scrollerLeft').style.visibility = 'hidden';", 1050);
			document.getElementById('rightIndicator').style.visibility = 'visible'; 
			document.getElementById('middleIndicator').style.visibility = 'hidden';
			document.getElementById('leftIndicator').style.visibility = 'hidden';
		}else{
			document.getElementById('rightIndicator').style.visibility = 'hidden';
			document.getElementById('middleIndicator').style.visibility = 'visible';
			document.getElementById('leftIndicator').style.visibility = 'hidden';
		}		
}

function initialScroll(){
	x = 2;
	setTimeout("document.getElementById('scrollerRight').style.visibility = 'hidden';", 05);
	document.getElementById('leftIndicator').style.visibility = 'visible';
}

<!--    second control -->
function moveLeftb(){
	leftPosb = document.getElementById('containerb').scrollLeft;
	document.getElementById('containerb').scrollLeft = leftPosb + 20;
	
}


function scrollingLeftb(){
	myIntervalb = setInterval('moveLeftb()', 47);
	myIntervalb;
	setTimeout('clearInterval(myIntervalb)', 1000);
	document.getElementById('scrollerLeftb').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerLeftb').style.visibility = 'visible';", 1000);
	document.getElementById('scrollerRightb').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerRightb').style.visibility = 'visible';", 1000);
} 

function moveRightb(){
	rightPosb = document.getElementById('containerb').scrollLeft;
	document.getElementById('containerb').scrollLeft = rightPosb - 20;
	
}

function scrollingRightb(){
	myInterval2b = setInterval('moveRightb()', 47);
	myInterval2b;
	setTimeout('clearInterval(myInterval2b)', 1000);
	document.getElementById('scrollerLeftb').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerLeftb').style.visibility = 'visible';", 1000);
	document.getElementById('scrollerRightb').style.visibility = 'hidden';
	setTimeout("document.getElementById('scrollerRightb').style.visibility = 'visible';", 1000);
}

function hideObjectb(){
	xb = xb + 1;
	yb = yb - 1;
		if(xb == 2 || xb == 0){
			setTimeout("document.getElementById('scrollerRightb').style.visibility = 'hidden';",1050);
			document.getElementById('rightIndicatorb').style.visibility = 'hidden'; 
			document.getElementById('middleIndicatorb').style.visibility = 'hidden';
			document.getElementById('leftIndicatorb').style.visibility = 'visible';
		}else{
			document.getElementById('leftIndicatorb').style.visibility = 'hidden';
			document.getElementById('middleIndicatorb').style.visibility = 'visible';
			document.getElementById('rightIndicatorb').style.visibility = 'hidden';
		}		
} 

function hideObject2b(){
	yb = yb + 1;
	xb = xb - 1;
		if(yb == 2 || yb == 0){
			setTimeout("document.getElementById('scrollerLeftb').style.visibility = 'hidden';", 1050);
			document.getElementById('rightIndicatorb').style.visibility = 'visible'; 
			document.getElementById('middleIndicatorb').style.visibility = 'hidden';
			document.getElementById('leftIndicatorb').style.visibility = 'hidden';
		}else{
			document.getElementById('rightIndicatorb').style.visibility = 'hidden';
			document.getElementById('middleIndicatorb').style.visibility = 'visible';
			document.getElementById('leftIndicatorb').style.visibility = 'hidden';
		}		
}

function initialScrollb(){
	xb = 2;
	setTimeout("document.getElementById('scrollerRightb').style.visibility = 'hidden';", 05);
	document.getElementById('leftIndicatorb').style.visibility = 'visible';
}
function datamiddle(){
	if(n == false){
		htmlComposer.recordset.MoveNext();
	}else{htmlComposer.recordset.MovePrevious();
	}
}
function datafirst(){
		htmlComposer.recordset.MoveFirst();
		n = false;
}
function datalast(){
		htmlComposer.recordset.MoveLast();
		n = true;
}




// function to open and close iframe effect



var iHeight = 0;
var iTop = 145;
var iLeft = 700;
var iWidth = 0;

function openIframe(){
	var iCentered = (document.body.offsetWidth / 2) - 265;
	var iPosition = 700 - iCentered;
	var iCenterContainer = iCentered/15;
	iTop = iTop + 2;
	document.getElementById('iframeIndex').style.top = iTop;
	iLeft = iLeft - iCenterContainer;
	document.getElementById('iframeIndex').style.left = iLeft;
	iHeight = iHeight + 53;
	document.getElementById('iframeIndex').style.height = iHeight;
	iWidth = iWidth + 35;
	document.getElementById('iframeIndex').style.width = iWidth;
	if(iHeight >= 800){
		setTimeout('clearInterval(openIframeInterval)', 0);
		document.getElementById('closeIndexDiv').style.display='block';
	    document.getElementById('openIndexDiv').style.display='none';
		document.getElementById('openIndexDivB').style.display='none';
	}
}
function startOpenIframe(){
	if(iHeight >= 800){
		iHeight = 0;
		iWidth = 0;
		iTop = 145;
		iLeft = 700;
	}
	document.getElementById('iframeIndex').style.display = 'block';
	document.getElementById('closeIndexDiv').style.display='none';
	document.getElementById('openIndexDivB').style.display='block';
	document.getElementById('openIndexDiv').style.display='none';
	openIframeInterval = setInterval('openIframe()', 67);
	openIframeInterval;
}
function closeIframe(){
	var iCenteredb = (document.body.offsetWidth / 2) - 265;
	var iPositionb = 700 - iCenteredb;
	var iCenterContainerb = iCenteredb/15;
	iTop = iTop - 2;
	document.getElementById('iframeIndex').style.top = iTop;
	iLeft = iLeft + iCenterContainerb;
	document.getElementById('iframeIndex').style.left = iLeft;
	iHeight = iHeight - 53;
	document.getElementById('iframeIndex').style.height = iHeight;
	iWidth = iWidth - 35;
	document.getElementById('iframeIndex').style.width = iWidth;
	if(iHeight <= 0){
		setTimeout('clearInterval(closeIframeInterval)', 0);
		document.getElementById('iframeIndex').style.display = 'none';
		document.getElementById('closeIndexDiv').style.display='none';
		document.getElementById('openIndexDiv').style.display='block';
		document.getElementById('openIndexDivB').style.display='none';
	}
}
function startCloseIframe(){
	document.getElementById('openIndexDiv').style.display='none';
	document.getElementById('closeIndexDiv').style.display='none';
	document.getElementById('openIndexDivB').style.display='block';
	closeIframeInterval = setInterval('closeIframe()', 67);
	closeIframeInterval;
}



// function to scroll the div content




var contentDivWidth = 1200
var contentDivLeft = 0
var scrollDivTime = 1000
var scrollDivSpeed = 25
var scrollDivTimeInterval = 40

function moveToTheRight(){
	document.getElementById('leftDivScrollButton').style.visibility = 'hidden';
	document.getElementById('rightDivScrollButton').style.visibility = 'hidden';
	contentDivLeft = contentDivLeft + 16;
	document.getElementById('container').scrollLeft = contentDivLeft;
	if (contentDivLeft > 399 & contentDivLeft < 401) {
	setTimeout('clearInterval(scrollDivInterval)', 0);
	document.getElementById('leftDivScrollButton').style.visibility = 'visible';
	document.getElementById('rightDivScrollButton').style.visibility = 'visible';
	document.getElementById('rightIndicator').style.visibility = 'hidden';
	document.getElementById('middleIndicator').style.visibility = 'visible';
	document.getElementById('leftIndicator').style.visibility = 'hidden';
	}
	if (contentDivLeft > 799 & contentDivLeft < 801) {
	setTimeout('clearInterval(scrollDivInterval)', 0);
	document.getElementById('leftDivScrollButton').style.visibility = 'visible';
	document.getElementById('rightDivScrollButton').style.visibility = 'hidden';
	document.getElementById('rightIndicator').style.visibility = 'visible';
	document.getElementById('middleIndicator').style.visibility = 'hidden';
	document.getElementById('leftIndicator').style.visibility = 'hidden';
	}
	
}
function scrollingToTheRight(){
	scrollDivInterval = setInterval('moveToTheRight()', 40);
	scrollDivInterval;
}
function moveToTheLeft(){
	document.getElementById('leftDivScrollButton').style.visibility = 'hidden';
	document.getElementById('rightDivScrollButton').style.visibility = 'hidden';
	contentDivLeft = contentDivLeft - 16;
	document.getElementById('container').scrollLeft = contentDivLeft;
	switch (contentDivLeft) {
	case 400:
	clearInterval(scrollDivInterval);
	document.getElementById('leftDivScrollButton').style.visibility = 'visible';
	document.getElementById('rightDivScrollButton').style.visibility = 'visible';
	document.getElementById('rightIndicator').style.visibility = 'hidden';
	document.getElementById('middleIndicator').style.visibility = 'visible';
	document.getElementById('leftIndicator').style.visibility = 'hidden';
	break;
	case 0:
	setTimeout('clearInterval(scrollDivInterval)', 0);
	document.getElementById('leftDivScrollButton').style.visibility = 'hidden';
	document.getElementById('rightDivScrollButton').style.visibility = 'visible';
	document.getElementById('rightIndicator').style.visibility = 'hidden';
	document.getElementById('middleIndicator').style.visibility = 'hidden';
	document.getElementById('leftIndicator').style.visibility = 'visible';
	break;
	}
	
}
function scrollingToTheLeft(){
	scrollDivInterval = setInterval('moveToTheLeft()', 40);
	scrollDivInterval;
}

//hover item original, favorite, best seller

var emblemHolderIns = "";

var originalGroup = new Array();
originalGroup[0] = "liver-support-tea-1cup.html";
originalGroup[1] = "oliveoil.html";
originalGroup[2] = "thioctic-acid-392-mg-90-capsules.html";
originalGroup[4] = "allied-amino-acids-675mg-75-capsules.html";
originalGroup[5] = "clonelaingel.html";
originalGroup[6] = "dr-clark-para-cleanse-with-freeze-dried-black-walnut-hull.html";
originalGroup[7] = "arginine-500mg-100-capsules.html";
originalGroup[8] = "arginine-1-cup.html";
originalGroup[9] = "black-walnut-hull-extra-strength-1liter.html";
originalGroup[10] = "cloves-whole-1-3rd-cup.html";
originalGroup[11] = "cloves-powder-1-quarter-cup.html";
originalGroup[12] = "cysteine-500mg-100-capsules.html";
originalGroup[13] = "cysteine-powder-half-cup.html";
originalGroup[14] = "razcapsshrc.html";
originalGroup[15] = "spice-syrup-3oz.html";
originalGroup[16] = "aspartic-acid-half-cup-about-75-grams.html";
originalGroup[17] = "dr-clark-colon-bowel-cleanse-deluxe.html";
originalGroup[18] = "dr-clark-colon-bowel-cleanse-standard.html";
originalGroup[19] = "cascara-sagrada-425mg-100-capsules.html";
originalGroup[20] = "dr-clark-kidney-cleanse-8-week-program-kit.html";
originalGroup[21] = "kidney-cleanse-3-week-program.html";
originalGroup[22] = "goldenrod-tincture-1-oz-bottle.html";
originalGroup[23] = "parsley-freeze-dried-385mg-42-capsules.html";
originalGroup[24] = "goldenrod-tincture-half-oz-bottle.html";
originalGroup[25] = "hydrangea-335mg-100-capsules.html";
originalGroup[26] = "vegetable-glycerine-4oz.html";
originalGroup[27] = "liversupport.html";
originalGroup[28] = "dr-clark-metal-gone-cleanse.html";
originalGroup[29] = "citricacid.html";
originalGroup[30] = "10476.html";
originalGroup[31] = "craniuls-multi-vitamins-minerals.html";
originalGroup[32] = "calcium-disodium-edta-440mg-100-capsules.html";
originalGroup[33] = "glutathione-500mg-30-capsules.html";
originalGroup[34] = "balanced-bicarb-antacid-half-cup.html";
originalGroup[35] = "cinnamon-powder-1quart-cup.html";
originalGroup[36] = "betacarotene.html";
originalGroup[37] = "biotin-1mg-50-capsules.html";
originalGroup[38] = "craniuls-multi-vitamins-minerals-500mg-60-capsules.html";
originalGroup[39] = "niacin-25mg-100-capsules.html";
originalGroup[40] = "niacinamide-500mg-100-capsules.html";
originalGroup[41] = "super-b100-501mg-100-capsules.html";
originalGroup[42] = "vitamin.html";
originalGroup[43] = "vitamin-b1-500mg-100-capsules.html";
originalGroup[44] = "10709-vitamin-e-oil-1-fl-oz.html";
originalGroup[45] = "boron-3mg-50-capsules.html";
originalGroup[46] = "calcium-citrate-760mg-100-capsules.html";
originalGroup[47] = "chromium-picolinate-200-mcg-100-capsules.html";
originalGroup[48] = "folic-acid-1mg-50-capsules.html";
originalGroup[49] = "iron-10mg-50-capsules.html";
originalGroup[50] = "kelp-660mg-100-capsules.html";
originalGroup[51] = "airway-immune-booster-440mg-50-capsules.html";
originalGroup[52] = "birch-bark-vitamin-b6-275mg-100-caps.html";
originalGroup[53] = "cayenne.html";
originalGroup[54] = "fenuthyme.html";
originalGroup[55] = "milkthistleseed.html";
originalGroup[56] = "oliveleaf.html";
originalGroup[57] = "paudarco.html";
originalGroup[58] = "dr-clark-digestive-aid-deluxe.html";
originalGroup[59] = "sheep-sorrel-350mg-100-capsules.html";
originalGroup[60] = "corn-starch-1-cup.html";
originalGroup[61] = "glutamine-500mg-100-capsules.html";
originalGroup[62] = "glutamic-acid-half-cup.html";
originalGroup[63] = "10501.html";
originalGroup[64] = "10483e.html";
originalGroup[65] = "10540.html";
originalGroup[66] = "10590.html";
originalGroup[67] = "10314.html";
originalGroup[68] = "10563.html";
originalGroup[69] = "lysine.html";
originalGroup[70] = "10454e.html";
originalGroup[71] = "10296e.html";
originalGroup[72] = "10424e.html";
originalGroup[73] = "agsy8floz.html";
originalGroup[74] = "10195e.html";
originalGroup[75] = "corseedpowdr.html";
originalGroup[76] = "10412.html";
originalGroup[77] = "10193.html";
originalGroup[78] = "10509.html";
originalGroup[79] = "10190.html";
originalGroup[80] = "10572.html";
originalGroup[81] = "raleridb.html";
originalGroup[82] = "10573.html";
originalGroup[83] = "10189.html";
originalGroup[84] = "10333.html";
originalGroup[85] = "superwbulk.html";
originalGroup[86] = "10204.html";
originalGroup[87] = "10500.html";
originalGroup[88] = "pomegranatep.html";
originalGroup[89] = "anise-seed-oil-half-ounce.html";
originalGroup[90] = "apricot-kernel-oil-4oz.html";
originalGroup[91] = "caraway-oil-1oz.html";
originalGroup[92] = "castor-oil-8oz.html";
originalGroup[93] = "cardamom-oil-1oz.html";
originalGroup[94] = "fennel-oil-5cchtml";
originalGroup[95] = "fennel-sweet-oil-1oz.html";
originalGroup[96] = "frankincense-oil-5-cc.html";
originalGroup[97] = "nutmeg-oil-5cc.html";
originalGroup[98] = "oerago-oil-10cc.html";
originalGroup[99] = "peppermint-oil-10-cc.html";
originalGroup[100] = "thyme-white-oil-1oz.html";
originalGroup[101] = "wintergreen-oil-10cc.html";
originalGroup[102] = "hand-sanitizer-spray-4-oz.html";
originalGroup[103] = "drclpushfisy.html";
originalGroup[104] = "counterfilter.html";
originalGroup[105] = "activated-coconut-charcoal-prewashed.html";
originalGroup[106] = "chlorinatingc.html";
originalGroup[107] = "12glambowica.html";
originalGroup[108] = "podrbowica.html";
originalGroup[109] = "poambofl.html";
originalGroup[110] = "setof10pocld.html";
originalGroup[111] = "10456.html";
originalGroup[112] = "noname.html";
originalGroup[113] = "electronic-bottle-copy-anatomy-12-bottles.html";
originalGroup[114] = "electronic-bottle-copy-anatomy-15-bottles.html";
originalGroup[115] = "electronic-bottle-copy-custom.html";
originalGroup[116] = "elbocokit2.html";
originalGroup[117] = "elbocokit3.html";
originalGroup[118] = "elbocokit.html";
originalGroup[119] = "electronic-male-anatomy-6-items-kit.html";
originalGroup[120] = "elbocokit4.html";
originalGroup[121] = "borax-refill-1-cup.html";
originalGroup[122] = "10434e.html";
originalGroup[123] = "dezideoro.html";
originalGroup[124] = "zideoinspbo.html";
originalGroup[125] = "hair-gel-pearl-bare-4-oz.html";
originalGroup[126] = "hand-sanitizer-spray-2-oz.html";
originalGroup[127] = "hand-scrub-1-bl.html";
originalGroup[128] = "10379e.html";
originalGroup[129] = "noname1.html";
originalGroup[130] = "10536.html";
originalGroup[131] = "pearl-bare-lotion-lavender-4oz.html";
originalGroup[132] = "pearl-bare-lotion-lavender-8oz.html";
originalGroup[133] = "pearl-bare-lotion-peppermint-4-oz-.html";
originalGroup[134] = "shavingsoap.html";
originalGroup[135] = "pelaliso.html";
originalGroup[136] = "lavsoap4bar.html";
originalGroup[137] = "soap-pearl-olive-oil-95-grams.html";
originalGroup[138] = "soap-herbal-olive-oil-liquid-8-oz.html";
originalGroup[139] = "soap-liquid-olive-oil-pearl-8-oz.html";
originalGroup[140] = "soappearlplain.html";
originalGroup[141] = "105772.html";
originalGroup[142] = "sagesoap.html";
originalGroup[143] = "shampoo-pure-and-natural-16-oz.html";
originalGroup[144] = "shampoo-pure-and-natural-16oz.html";
originalGroup[145] = "shampoo-pure-and-natural-1-gallon.html";
originalGroup[146] = "hair-conditioner-16oz.html";
originalGroup[147] = "conditioner-leave-in-spray-pure-and-natural-8-oz.html";
originalGroup[148] = "brbici.html";
originalGroup[149] = "brbipest.html";
originalGroup[150] = "fishing-line-3-yards.html";
originalGroup[151] = "hydrogen-peroxide-peroxy-1-oz.html";
originalGroup[152] = "peroxyrefill.html";
originalGroup[153] = "dental-bleach-8-oz.html";
originalGroup[154] = "denturecleaner.html";
originalGroup[155] = "brbian.html";
originalGroup[156] = "brbica.html";
originalGroup[157] = "brbico.html";
originalGroup[158] = "brbife.html";
originalGroup[159] = "brbigi.html";
originalGroup[160] = "currants.html";
originalGroup[161] = "pumpkin-seeds-raw-pepitas-1-pound.html";
originalGroup[162] = "final-colon-cleanse-4-cleanses-in-1-kit.html";
originalGroup[163] = "3-in-1-dr-clark-colon-para-kidney-cleanse-kit-17-items.html";
originalGroup[164] = "supertpara.html";
originalGroup[165] = "high-potency-iodine.html";
originalGroup[166] = "mms-chlorine-dioxide-kit.html";
originalGroup[167] = "cosmetics-mineral-make-up-chai.html";
originalGroup[168] = "cosmetics-mineral-make-up-ivory-pink.html";
originalGroup[169] = "cosmetics-mineral-make-up-suntan.html";
originalGroup[170] = "cosmetics-mineral-make-up-light-beige.html";
originalGroup[171] = "cosmetics-mineral-make-up-medium-beige.html";
originalGroup[172] = "hydrogen-peroxy-refill-2oz.html";
originalGroup[173] = "hydrogen-peroxy-refill-6oz.html";
originalGroup[174] = "magnesium-sulfate-usp.html";


var favoriteGroup = new Array();
favoriteGroup[0] = "epsom-salt-10-oz.html";
favoriteGroup[1] = "gloves-powder-free-nitrile-medium-10-pairs";
favoriteGroup[2] = "gloves-powder-free-nitrile-large-10-pairs.html";
favoriteGroup[3] = "oshme.html";
favoriteGroup[4] = "favoriteGroup.html";


var bestSellerGroup = new Array();
bestSellerGroup[0] = "bestSellerGroup.html";
bestSellerGroup[1] = "bestSellerGroup.html";


var or_fav_Group = new Array();
or_fav_Group[0] = "betaine-hcl-425-mg-100-capsules.html";
or_fav_Group[1] = "fennel-seed-450mg-100-capsules.html";
or_fav_Group[2] = "empty-spray-bottle-4oz.html";
or_fav_Group[3] = "ginger-root-500mg-100-capsules.html";
or_fav_Group[4] = "hydrangea-marshmallow-gravelroot-half-cup-each.html";
or_fav_Group[5] = "uva-ursi-500mg-100-capsules.html";
or_fav_Group[6] = "vitamin-b2-300mg-100-capsules.html";
or_fav_Group[7] = "vitamin-b6-230-mg-100-capsules.html";
or_fav_Group[8] = "ornithine-1-cup.html";
or_fav_Group[9] = "10524e.html";
or_fav_Group[10] = "baking-soda-1-cup.html";
or_fav_Group[11] = "colon-bowel-purity-kit1.html";
or_fav_Group[12] = "-parazap-cleanse-box.html";
or_fav_Group[13] = "purity-kidney-cleanse-kit.html";
or_fav_Group[14] = "liver-and-gallbladder-purity-cleanse.html";
or_fav_Group[15] = "quick-colon-bowel-cleanse.html";
or_fav_Group[16] = "quick-parazap-cleanse.html";
or_fav_Group[17] = "quick-kidney-cleanse.html";
or_fav_Group[18] = "quick-liver-cleanse.html";
or_fav_Group[19] = "hesperidin-530mg-100-capsules.html";
or_fav_Group[20] = "pantothenic-acid-450mg-100-capsules.html";
or_fav_Group[21] = "rutin-400mg-100-capsules.html";
or_fav_Group[22] = "vitaminddrops.html";
or_fav_Group[23] = "potassium-108mg-100-capsules.html";
or_fav_Group[24] = "zinc-30mg-100-capsules.html";
or_fav_Group[25] = "birch-bark.html";
or_fav_Group[26] = "boneset-400mg-100-caps.html";
or_fav_Group[27] = "burdock-root-410mg-100-caps.html";
or_fav_Group[28] = "echinacea-335mg-100-caps.html";
or_fav_Group[29] = "epazote-410mg-100-caps.html";
or_fav_Group[30] = "eucalyptus-330mg-100-caps.html";
or_fav_Group[31] = "ginkgo-biloba-475mg-100-capsules.html";
or_fav_Group[32] = "reishimushroom1.html";
or_fav_Group[33] = "rohicarcavc.html";
or_fav_Group[34] = "valerian-root-500mg-100-caps.html";
or_fav_Group[35] = "saw-palmetto-500mg-100-capsules.html";
or_fav_Group[36] = "bromelain-450mg-100-capsules.html";
or_fav_Group[37] = "coenzyme-q-10-400mg-30-capsules.html";
or_fav_Group[38] = "coenzymeq10.html";
or_fav_Group[39] = "pancreatin-and-lipase-500mg-100-capsules.html";
or_fav_Group[40] = "pepsincapsules.html";
or_fav_Group[41] = "sodiumalginate.html";
or_fav_Group[42] = "citric-acid-refill-4oz.html";
or_fav_Group[43] = "melatonin.html";
or_fav_Group[44] = "10502e.html";
or_fav_Group[45] = "empty-gelatin-capsules-size-00-1-cup-approx-120ct.html";
or_fav_Group[46] = "birbardrclar.html";
or_fav_Group[47] = "10535.html";
or_fav_Group[48] = "10360.html";
or_fav_Group[49] = "7-culinary-oil-blend-15cc.html";
or_fav_Group[50] = "whole-house-water-filter-with-board-v1.html";
or_fav_Group[51] = "drclwhhofiki.html";
or_fav_Group[52] = "rashbgon.html";
or_fav_Group[53] = "vitamin-b12-1mg-50-count.html";
or_fav_Group[54] = "bonuskit.html";
or_fav_Group[55] = "white-iodine.html";

var fav_best_Group = new Array();
fav_best_Group[0] = "fav_best_Group.html";
fav_best_Group[1] = "fav_best_Group.html";


var or_best_Group = new Array();
or_best_Group[0] = "clonesmgelca.html";
or_best_Group[1] = "or_best_Group.html";


var or_fav_best_Group = new Array();
or_fav_best_Group[0] = "super-w-blend-365mg-100-capsules.html";
or_fav_best_Group[1] = "clovesgelcaps.html";
or_fav_best_Group[2] = "black-walnut-hull-extra-strength-4oz.html";
or_fav_best_Group[3] = "modified-lugols-iodine-1oz.html";
or_fav_best_Group[4] = "turmeric-500mg-100-capsules.html";
or_fav_best_Group[5] = "digestive-enzymes-500mg-50-capsules.html";
or_fav_best_Group[6] = "black-walnut-hull-360mg-50-capsules.html";
or_fav_best_Group[7] = "ornithine.html";
or_fav_best_Group[8] = "vitamin-c-1000mg-100-capsules.html";
or_fav_best_Group[9] = "magnesium-oxide-300mg-100-capsules.html";
or_fav_best_Group[10] = "black-walnut-hull-extra-strength-2oz.html";
or_fav_best_Group[11] = "toothpowder-oregano-3oz.html";
or_fav_best_Group[12] = "selenium.html";
or_fav_best_Group[13] = "hydrochloric-acid-hcl-1oz.html";
or_fav_best_Group[14] = "vitamin-c-powder-16oz.html";
or_fav_best_Group[15] = "or_fav_best_Group.html";

var recommended_Group = new Array();
recommended_Group[0] = "urs-3-urinalysis-reagent-test-strips-100-strips-per-vial.html";
recommended_Group[1] = "thorne-tri-spartate-60-veggie-caps.html";
recommended_Group[2] = "thorne-perfusia-sr-120--veggie-caps.html";
recommended_Group[3] = "thorne-theanine-90-veggie-caps.html";
recommended_Group[4] = "thorne-meta-balance-120-veggie-caps.html";
recommended_Group[5] = "thorne-vanoxyl-25-90-veggie-caps.html";
recommended_Group[6] = "thorne-traumogen-180.html";
recommended_Group[7] = "thorne-memoractiv-60-veggie-caps.html";
recommended_Group[8] = "thorne-choleast-120-veggie-caps1.html";
recommended_Group[9] = "thorne-glucosamine-chondroitin-veggie-caps.html";
recommended_Group[10] = "thorne-ar-encap-veggie-caps.html";
recommended_Group[11] = "thorne-diabenil-veggie-caps.html";
recommended_Group[12] = "thorne-heavy-metal-veggie-caps.html";
recommended_Group[13] = "thorne-phytoprofen-veggie-caps.html";
recommended_Group[14] = "thorne-black-currant-oil-fish-gelatin-caps.html";
recommended_Group[15] = "thorne-super-epa-fish-gelatin-caps.html";
recommended_Group[16] = "white-willow-bark-v-500mg-veggie-caps.html";
recommended_Group[17] = "devils-claw-max-v-200mg-veggie-caps.html";
recommended_Group[18] = "douglas-laboratories-shark-cartilage.html";
recommended_Group[19] = "thorne-vacimyr-veggie-caps.html";
recommended_Group[20] = "thorne-methyl-guard.html";
recommended_Group[21] = "vitamin-e-400-iu-100-capsules.html";
recommended_Group[22] = "thorne-dehydrone-90-veggie-caps.html";
recommended_Group[23] = "same.html";

var salar_group = new Array();
salar_group[0] = "dr-salar-feel-good-after-surgery.html";
salar_group[1] = "dr-salar-gastritis-worms-and-parasites-formula.html";
salar_group[2] = "dr-salar-hip-and-knee.html";
salar_group[3] = "dr-salar-homeopathy-bad-breath-free.html";
salar_group[4] = "dr-salar-liver-and-gallbladder.html";
salar_group[5] = "dr-salar-normalizing-brain-function.html";
salar_group[6] = "dr-salar-normalizing-brain-function-formula-2.html";
salar_group[7] = "dr-salar-pain-formla-a-b-c-d-neck-shoulder-and-shoulder-low-back.html";
salar_group[8] = "dr-salar-worms-and-parasite-formula-a-b-c.html";
salar_group[9] = "dr-salar-worms-and-parasite-formula-d-e.html";

var show_slow_emblem;
var hide_slow_emblem;

function positionImages(event, id) {
var el, x_pos, y_pos;

  el = document.getElementById(id);
  if (window.event) {
    x_pos = window.event.clientX + document.documentElement.scrollLeft + document.body.scrollLeft;
    y_pos = window.event.clientY + document.documentElement.scrollTop + document.body.scrollTop;
  }
  else {
    x_pos = event.clientX + window.scrollX;
    y_pos= event.clientY + window.scrollY;
  }
  x_pos += 4; y_pos += 4;
  el.style.left = x_pos + "px";
  el.style.top  = y_pos + "px";
}

function hold_visible(){
	document.getElementById('emblemHolder').style.display = "block";
}

function hide_emblemHolder(){
	document.getElementById('emblemHolder').style.display = "none";
}

function hide_emblem_slow(){
	hide_slow_emblem=setTimeout("hide_emblemHolder()",800);
}

function stop_hide_slow_emblem(){
	clearTimeout(hide_slow_emblem);
}

function emblem_fill_and_display(){
	document.getElementById("emblemHolder").innerHTML = emblemHolderIns;
	document.getElementById("emblemHolder").style.display = "block";
}

function show_emblem_slow(){
	show_slow_emblem=setTimeout("emblem_fill_and_display()",800);
}

function stop_show_slow_emblem(){
	clearTimeout(show_slow_emblem);
}

function setHover(emblems){

	switch(emblems){
		case "original":
			emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /></a>";
			show_emblem_slow();
			break;
		case "favorite":
			emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /></a>";
			show_emblem_slow();
			break;
		case "best_seller":
			emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
			show_emblem_slow();
			break;
		case "fav_best":
			emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
			show_emblem_slow();
			break;
		case "or_fav":
			emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /></a>";
			show_emblem_slow();
			break;
		case "or_best":
			emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
			show_emblem_slow();
			break;
		case "or_fav_best":
			emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
			show_emblem_slow();
			break;
		case "recommended":
		emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/recommendedSeal.jpg\" width=\"100\" height=\"60\" /></a>";
			show_emblem_slow();
			break;
		case "drsalar":
		emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drsalarseal.jpg\" width=\"100\" height=\"60\" /></a>";
			show_emblem_slow();
			break;
		case "twitter":
		emblemHolderIns = "<span style=\"background-color:#FFFFFF; display:block; padding:3px;\">Follow us on twitter<br />&bull;New Articles<br />&bull;Quick Answers<br />&bull;Specials</span>";
			show_emblem_slow();
			break;
		case "facebook":
		emblemHolderIns = "<span style=\"background-color:#FFFFFF; display:block; padding:3px;\">We are on Facebook!<br />&bull;New Articles<br />&bull;Updates<br />&bull;Specials</span>";
			show_emblem_slow();
			break;
		case "recommend":
		emblemHolderIns = "<span style=\"background-color:#FFFFFF; display:block; padding:3px;\">Tell Your Friends<br />About the Page/Item<br />You are Currently on.</span>";
			show_emblem_slow();
			break;
	}
	
}

function displayA(){
aTags = document.getElementsByTagName("*");
	for (i=0; i < aTags.length; i++){
		if(aTags[i].tagName == "a" || aTags[i].tagName == "A" ){
			for (j=0; j < originalGroup.length; j++){
				if(aTags[i].href.indexOf(originalGroup[j]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
						aTags[i].setAttribute("onmouseover", "setHover('original');positionImages(event, 'emblemHolder');");
						aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (k=0; k < favoriteGroup.length; k++){
				if(aTags[i].href.indexOf(favoriteGroup[k]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('favorite');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (a=0; a < bestSellerGroup.length; a++){
				if(aTags[i].href.indexOf(bestSellerGroup[a]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('best_seller');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (b=0; b < or_fav_Group.length; b++){
				if(aTags[i].href.indexOf(or_fav_Group[b]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('or_fav');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (c=0; c < fav_best_Group.length; c++){
				if(aTags[i].href.indexOf(fav_best_Group[c]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('fav_best');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (d=0; d < or_best_Group.length; d++){
				if(aTags[i].href.indexOf(or_best_Group[d]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('or_best');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (e=0; e < or_fav_best_Group.length; e++){
				if(aTags[i].href.indexOf(or_fav_best_Group[e]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkOriginal.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drHuldaClarkFavorite.jpg\" width=\"100\" height=\"60\" /><br /><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/huldaClarkbestSeller.jpg\" width=\"100\" height=\"100\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('or_fav_best');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (f=0; f < recommended_Group.length; f++){
				if(aTags[i].href.indexOf(recommended_Group[f]) !== -1 && aTags[i].href.indexOf("#") < 0){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/recommendedSeal.jpg\" width=\"100\" height=\"60\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('recommended');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
			for (g=0; g < salar_group.length; g++){
				if(aTags[i].href.indexOf(salar_group[g]) !== -1 && aTags[i].href.indexOf("#") < 0 ){
					if (manufacturer.indexOf('Microsoft')>=0 && version.indexOf('4.0')>=0){
					aTags[i].onmouseover=function(){
						emblemHolderIns = "<a href=\"http://www.drclarkstore.com/aboutus1.html#favorite_hover\"><img src=\"http://lib.store.yahoo.net/lib/drclarkstore/drsalarseal.jpg\" width=\"100\" height=\"60\" /></a>";
						show_emblem_slow();
						positionImages(event, 'emblemHolder');
					}
					aTags[i].onmouseout=function(){
						stop_show_slow_emblem();
						hide_emblem_slow();
					}
					}else{
					aTags[i].setAttribute("onmouseover", "setHover('drsalar');positionImages(event, 'emblemHolder');");
					aTags[i].setAttribute("onmouseout", "stop_show_slow_emblem();hide_emblem_slow();");
					}
				}
			}
		}
	}
}

//-->
