//Cross Browser Object Retrieval
function getObject(objectID){
	if (document.all!=null){
		return document.all[objectID];
	} else if (document.getElementById){
		return document.getElementById(objectID);
	}
}

var openWin;
	function newWin(popUrl,winName,w,h){
		var openWin = window.open(popUrl,winName,'menubar=no,scrollbars=no,resizable=no,width='+w+',height='+h+'');
		openWin.focus();
	}
	
function doPreload(arrImages){
	if (document.images){
		preloadImages(arrImages);
	}
}

function preloadImages(the_images_array) {
	for(loop = 0; loop < the_images_array.length; loop++){
		var an_image = new Image();
		an_image.src = the_images_array[loop];
		}
		
}

function chngIt(img,imgPath){
	if(document.images){
		document.images[img].src = imgPath;
	}
}

var aryProduct = new Array();
var brdIndex = 0;
var cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Snus Original','9-CMSNNT');
aryProduct[brdIndex][cutIndex++] = new Option('Snus Frost','9-CMSNFR');
aryProduct[brdIndex][cutIndex++] = new Option('Snus Spice','9-CMSNSC');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Straight Long Cut','9-CELCST');
aryProduct[brdIndex][cutIndex++] = new Option('Smooth Hickory Long Cut','9-CELCHK');
aryProduct[brdIndex][cutIndex++] = new Option('Whiskey Blend Long Cut','9-CELCWK');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Fine Cut','9-COFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Natural','9-COLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Pouches','9-COPONT');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-COUNNT');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Fine Cut','9-CGFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','9-CGFCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Fine Cut','9-CGFCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Long Cut','9-CGLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-CGLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-CGLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other Cougar','9-CGUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Fine Cut','9-GZFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Other Fine Cut','9-GZFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Long Cut','9-GZLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Straight Long Cut','9-GZLCST');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-GZLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-GZLCUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Fine Cut Natural ','9-HUFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Fine Cut, Other','9-HUFCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut, Wintergreen','9-HULCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut, Other','9-HULCUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-KYLCRB');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut ','9-KYLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-KYUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','9-KOFCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Fine Cut','9-KOFCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Ice Long Cut','9-KOLCIC');
aryProduct[brdIndex][cutIndex++] = new Option('Straight Long Cut','9-KOLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-KOLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Long Cut','9-KOLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-KOLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-KOUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Fine Cut','9-LHFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Other Fine Cut','9-LHFCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Straight Long Cut','9-LHLCST');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-LHLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-LHLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-LHUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Fine Cut','9-RSFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','9-RSFCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Fine Cut','9-RSFCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Mint Long Cut','9-RSLCMT');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Long Cut','9-RSLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Straight Long Cut','9-RSLCST');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-RSLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-RSLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Pouches','9-RSPONT');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Pouches','9-RSPOWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Pouches','9-RSPOUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-RSUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Fine Cut Regular','9-RWFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Regular','9-RWLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-RWUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Pouches','9-RGPOWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Pouches','9-RGPOUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Bold Wintergreen Long Cut','9-RTLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Icy Mint Long Cut','9-RTLCMT');
aryProduct[brdIndex][cutIndex++] = new Option('Wild Berry Long Cut','9-RTLCBY');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-RTLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-RTUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','9-SCFCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Cherry Long Cut','9-SCLCCH');
aryProduct[brdIndex][cutIndex++] = new Option('Straight Long Cut','9-SCLCST');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-SCLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Mint Long Cut','9-SCLCMT');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-SCLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other','9-SCUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Bandits Mint','9-SBPOMT');
aryProduct[brdIndex][cutIndex++] = new Option('Bandits Wintergreen','9-SBPOWG');
aryProduct[brdIndex][cutIndex++] = new Option('Bandits Classic','9-SBPONT');
aryProduct[brdIndex][cutIndex++] = new Option('Bandits, Other','9-SBUNUN');
aryProduct[brdIndex][cutIndex++] = new Option('Pouches Apple Blend','9-SKPOAP');
aryProduct[brdIndex][cutIndex++] = new Option('Pouches Berry Blend','9-SKPOBY');
aryProduct[brdIndex][cutIndex++] = new Option('Pouches Cinnamon ','9-SFPOCN');
aryProduct[brdIndex][cutIndex++] = new Option('Pouches Mint','9-SKPOMT');
aryProduct[brdIndex][cutIndex++] = new Option('Pouches Wintergreen','9-SKPOWG');
aryProduct[brdIndex][cutIndex++] = new Option('Pouches, Other','9-SKPOUN');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Apple Blend','9-SKLCAP');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Berry Blend','9-SKLCBY');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Frost','9-SKLCFR');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Peach Blend','9-SKLCPC');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Mint','9-SKLCMT');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Wintergreen','9-SKLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Vanilla Blend','9-SKLCVN');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Cherry Blend','9-SKLCCH');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Straight','9-SKLCST');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Classic','9-SKLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut Spearmint','9-SKLCSP');
aryProduct[brdIndex][cutIndex++] = new Option('Long Cut, Other','9-SKLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Fine Cut Wintergreen','9-SKFCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Fine Cut Straight','9-SKFCST');
aryProduct[brdIndex][cutIndex++] = new Option('Fine Cut, Other','9-SKFCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Snus Citrus','9-SKSNCT');
aryProduct[brdIndex][cutIndex++] = new Option('Snus Cinnamon','9-SKSNCN');
aryProduct[brdIndex][cutIndex++] = new Option('Snus Mint','9-SKSNMT');
aryProduct[brdIndex][cutIndex++] = new Option('Snus, Other','9-SKUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('Cool Wintergreen Fine Cut','9-TWFCCW');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Fine Cut','9-TWFCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','9-TWFCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Fine Cut','9-TWFCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Mint Long Cut','9-TWLCMT');
aryProduct[brdIndex][cutIndex++] = new Option('Natural Long Cut','9-TWLCNT');
aryProduct[brdIndex][cutIndex++] = new Option('Peach Long Cut','9-TWLCPC');
aryProduct[brdIndex][cutIndex++] = new Option('Straight Long Cut','9-TWLCST');
aryProduct[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','9-TWLCWG');
aryProduct[brdIndex][cutIndex++] = new Option('Other Long Cut','9-TWLCUN');
aryProduct[brdIndex][cutIndex++] = new Option('Other Timberwolf','9-TWUNUN');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProduct[brdIndex][cutIndex++] = new Option('W.B. Cut','9-WBLCNT');
brdIndex++;
cutIndex = 0;

aryProduct[brdIndex] = new Array();
aryProduct[brdIndex][cutIndex++] = new Option('Other Moist','9-AOUNUN');





var aryProductSecond = new Array();
var brdIndex = 0;
var cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Snus Original','45-CMSNNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Snus Frost','45-CMSNFR');
aryProductSecond[brdIndex][cutIndex++] = new Option('Snus Spice','45-CMSNSC');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Straight Long Cut','45-CELCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Smooth Hickory Long Cut','45-CELCHK');
aryProductSecond[brdIndex][cutIndex++] = new Option('Whiskey Blend Long Cut','45-CELCWK');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Fine Cut','45-COFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Natural','45-COLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Pouches','45-COPONT');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Fine Cut','45-CGFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','45-CGFCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Fine Cut','45-CGFCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Long Cut','45-CGLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-CGLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-CGLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Cougar','45-CGUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Fine Cut','45-GZFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Fine Cut','45-GZFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Long Cut','45-GZLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Straight Long Cut','45-GZLCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-GZLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-GZLCUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Fine Cut Natural ','45-HUFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Fine Cut, Other','45-HUFCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut, Wintergreen','45-HULCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut, Other','45-HULCUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-KYLCRB');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut ','45-KYLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other','45-KYUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','45-KOFCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Fine Cut','45-KOFCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Ice Long Cut','45-KOLCIC');
aryProductSecond[brdIndex][cutIndex++] = new Option('Straight Long Cut','45-KOLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-KOLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Long Cut','45-KOLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-KOLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other','45-KOUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Fine Cut','45-LHFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Fine Cut','45-LHFCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Straight Long Cut','45-LHLCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-LHLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-LHLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other','45-LHUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Fine Cut','45-RSFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','45-RSFCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Fine Cut','45-RSFCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Mint Long Cut','45-RSLCMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Long Cut','45-RSLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Straight Long Cut','45-RSLCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-RSLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-RSLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Pouches','45-RSPONT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Pouches','45-RSPOWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Pouches','45-RSPOUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other','45-RSUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Fine Cut Regular','45-RWFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Regular','45-RWLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other','45-RWUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Pouches','45-RGPOWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Pouches','45-RGPOUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Bold Wintergreen Long Cut','45-RTLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Icy Mint Long Cut','45-RTLCMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wild Berry Long Cut','45-RTLCBY');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-RTLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other','45-RTUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','45-SCFCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Cherry Long Cut','45-SCLCCH');
aryProductSecond[brdIndex][cutIndex++] = new Option('Straight Long Cut','45-SCLCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-SCLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Mint Long Cut','45-SCLCMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-SCLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other','45-SCUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Bandits Mint','45-SBPOMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Bandits Wintergreen','45-SBPOWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Bandits Classic','45-SBPONT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Bandits, Other','45-SBUNUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Pouches Apple Blend','45-SKPOAP');
aryProductSecond[brdIndex][cutIndex++] = new Option('Pouches Berry Blend','45-SKPOBY');
aryProductSecond[brdIndex][cutIndex++] = new Option('Pouches Cinnamon ','45-SFPOCN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Pouches Mint','45-SKPOMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Pouches Wintergreen','45-SKPOWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Pouches, Other','45-SKPOUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Apple Blend','45-SKLCAP');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Berry Blend','45-SKLCBY');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Frost','45-SKLCFR');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Peach Blend','45-SKLCPC');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Mint','45-SKLCMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Wintergreen','45-SKLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Vanilla Blend','45-SKLCVN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Cherry Blend','45-SKLCCH');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Straight','45-SKLCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Classic','45-SKLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut Spearmint','45-SKLCSP');
aryProductSecond[brdIndex][cutIndex++] = new Option('Long Cut, Other','45-SKLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Fine Cut Wintergreen','45-SKFCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Fine Cut Straight','45-SKFCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Fine Cut, Other','45-SKFCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Snus Citrus','45-SKSNCT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Snus Cinnamon','45-SKSNCN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Snus Mint','45-SKSNMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Snus, Other','45-SKUNUN');

brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('Cool Wintergreen Fine Cut','45-TWFCCW');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Fine Cut','45-TWFCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Fine Cut','45-TWFCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Fine Cut','45-TWFCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Mint Long Cut','45-TWLCMT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Natural Long Cut','45-TWLCNT');
aryProductSecond[brdIndex][cutIndex++] = new Option('Peach Long Cut','45-TWLCPC');
aryProductSecond[brdIndex][cutIndex++] = new Option('Straight Long Cut','45-TWLCST');
aryProductSecond[brdIndex][cutIndex++] = new Option('Wintergreen Long Cut','45-TWLCWG');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Long Cut','45-TWLCUN');
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Timberwolf','45-TWUNUN');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Variety/Cut','');
aryProductSecond[brdIndex][cutIndex++] = new Option('W.B. Cut','45-WBLCNT');
brdIndex++;
cutIndex = 0;

aryProductSecond[brdIndex] = new Array();
aryProductSecond[brdIndex][cutIndex++] = new Option('Other Moist','45-AOUNUN');

function reloadBrandsSecond(curProductIndex){
	if (curProductIndex < 0 ) return;

	var ctlSecondFlavor = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlSecondFlavor : document.frmSurvey.ctlSurvey_ddlSecondFlavor;
	if (ctlSecondFlavor !=null)  {
		var aryProductSecondOpts = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlSecondFlavor.options : document.frmSurvey.ctlSurvey_ddlSecondFlavor.options;
		if (aryProductSecondOpts != null){
			aryProductSecondOpts.length=0;
			for (var i=0,n=aryProductSecond[curProductIndex].length; i<n; i++){
				aryProductSecondOpts.length++;
				aryProductSecondOpts[aryProductSecondOpts.length-1].text = aryProductSecond[curProductIndex][i].text;
				aryProductSecondOpts[aryProductSecondOpts.length-1].value = aryProductSecond[curProductIndex][i].value;
			}
		}
	}
}

function reloadBrandsFirst(curProductIndex){
	if (curProductIndex < 0) return;
	
	var ctlFirstFlavor = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlFirstFlavor : document.frmSurvey.ctlSurvey_ddlFirstFlavor;
	if (ctlFirstFlavor !=null)  {
		var aryProductOpts = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlFirstFlavor.options : document.frmSurvey.ctlSurvey_ddlFirstFlavor.options;
		if (aryProductOpts != null){
	   		aryProductOpts.length=0;
			for(var i=0,n=aryProduct[curProductIndex].length; i<n; i++){
				aryProductOpts.length++;
	      		aryProductOpts[aryProductOpts.length-1].text  = aryProduct[curProductIndex][i].text;
	      		aryProductOpts[aryProductOpts.length-1].value = aryProduct[curProductIndex][i].value;
		   }
		}

	}
}

function findAndSelectFirst(choice) {
	if (choice == '') return;
	var bFound = false;
	var ddlChoice = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlFirstChoice : document.frmSurvey.ctlSurvey_ddlFirstChoice;
	var ddlFlavor = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlFirstFlavor : document.frmSurvey.ctlSurvey_ddlFirstFlavor;
	if (ddlChoice == null){
		ddlChoice = document.ageverify ? document.ageverify.elements['ctlUpdateProfile:Survey:ddlFirstChoice'] : document.frmSurvey.elements['ctlSurvey:ddlFirstChoice'];
		ddlFlavor = document.ageverify ? document.ageverify.elements['ctlUpdateProfile_Survey_ddlFirstFlavor'] : document.frmSurvey.elements['ctlSurvey:ddlFirstFlavor'];
	}
	if (ddlChoice != null){
		for(var i=0; i < ddlChoice.options.length-1; i++) {
			ddlChoice.options[i].selected = true;
			var aryProductOpts = ddlFlavor.options;
	   		aryProductOpts.length=0;
			for(var j=0,n=aryProduct[i].length-1; j<n; j++){
				aryProductOpts.length++;
	      		aryProductOpts[aryProductOpts.length-1].text  = aryProduct[i][j].text;
	      		aryProductOpts[aryProductOpts.length-1].value = aryProduct[i][j].value;
	      		if (aryProduct[i][j].value == choice) {
	      			aryProductOpts[aryProductOpts.length-1].selected = true;
	      			bFound = true;
	      		}
	      	}
	      	if (bFound) return;
		}
		//in case we didn't find it
		ddlFlavor.options[0].selected = true;
	}
}

function findAndSelectSecond(choice) {
	if (choice == '') return;
	var bFound = false;
	var ddlChoice = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlSecondChoice : document.frmSurvey.ctlSurvey_ddlSecondChoice;
	var ddlFlavor = document.ageverify ? document.ageverify.ctlUpdateProfile_Survey_ddlSecondFlavor : document.frmSurvey.ctlSurvey_ddlSecondFlavor;
	if (ddlChoice == null){
		ddlChoice = document.ageverify ? document.ageverify.elements['ctlUpdateProfile:Survey:ddlSecondChoice'] : document.frmSurvey.elements['ctlSurvey:ddlSecondChoice'];
		ddlFlavor = document.ageverify ? document.ageverify.elements['ctlUpdateProfile_Survey_ddlSecondFlavor'] : document.frmSurvey.elements['ctlSurvey:ddlSecondFlavor'];
	}
	if (ddlChoice != null){
		for(var i=0; i < ddlChoice.options.length-1; i++) {
			ddlChoice.options[i].selected = true;
			var aryProductOpts = ddlFlavor.options;
	   		aryProductOpts.length=0;
			for(var j=0,n=aryProductSecond[i].length-1; j<n; j++){
				aryProductOpts.length++;
	      		aryProductOpts[aryProductOpts.length-1].text  = aryProductSecond[i][j].text;
	      		aryProductOpts[aryProductOpts.length-1].value = aryProductSecond[i][j].value;
	      		if (aryProductSecond[i][j].value == choice) {
	      			aryProductOpts[aryProductOpts.length-1].selected = true;
	      			bFound = true;
	      		}
	      	}
	      	if (bFound) return;
		}
		//in case we didn't find it
		ddlFlavor.options[0].selected = true;
	}
}

// =======================================
// Set the following variables
// =======================================
// Set the positioning variables, below:
// Negative numbers are relative to right (whereX) or bottom (whereY)
// Positive numbers are relative to left (whereX) or (whereY) top
// Experiment with values to get positioning exact, and allow
// for the dimensions of the image in the positioning

var whereX = 0;
var whereY = 115;
var floatFailure = 0;
var nn=(navigator.appName.indexOf("Netscape")!=-1);
var dD=document,dH=dD.html,dB=dD.body,px=dD.layers?'':'px';


function floatSS(iX,iY,id){
	var L=dD.getElementById?dD.getElementById(id):dD.all?dD.all[id]:dD.layers[id];
	var wFloat = getObject("warningfloat");
	var contentDiv = getObject("content");
	if (L && wFloat && contentDiv){
		//alert(nn?pageYOffset:nn&&dH.scrollTop?dH.scrollTop:document.documentElement.scrollTop);
		//alert("yes");
		clearInterval(floatWait);
		this[id+'O']=L;
		
		if(dD.layers)
			L.style=L;
	
		L.nX=L.iX=iX;
		L.nY=L.iY=iY;
		
		L.P=function(x,y){
			this.style.left=x+px;
			this.style.top=y+px;
		};
		var yPosDisplay = getObject("floatposy");
		if (yPosDisplay != null){
			yPosDisplay.innerHTML = wFloat.offsetTop + " " + this.nY;
		}
		
		L.Fss=function(){
			var yHeight = contentDiv.clientHeight;
			
			var pX, pY;	
			pX=(this.iX >=0)?0:nn?innerWidth:nn&&dH.clientWidth?dH.clientWidth:dB.clientWidth;	
			pY=nn?pageYOffset:nn&&dH.scrollTop?dH.scrollTop:document.documentElement.scrollTop;
			
			if(this.iY<0)
				pY+=nn?innerHeight:nn&&dH.clientHeight?dH.clientHeight:dB.clientHeight;	
			this.nX+=0.2*(pX+this.iX-this.nX);
			this.nY+=0.2*(pY+this.iY-this.nY);
			this.nX=pX + this.iX;
			this.nY=pY + this.iY;
			if ((location.href.toLowerCase().indexOf("skoalbrotherhood") != -1) || (location.href.toLowerCase().indexOf("ww7c") != -1)){
				if (this.nY > (yHeight - (this.iY + 310))){
					this.nY = yHeight - (this.iY + 310);
				}
			} else {
//				if (this.nY > yHeight){
//					this.nY = yHeight;
//				}
			}
			if (this.nY < whereY){
				this.nY = whereY;
			}
			this.P(this.iX, this.nY);
			setTimeout(this.id+'O.Fss()',33);
		};
		
		L.Fss();
		return L;
	} else {
		//alert("no");
		floatFailure++;
		if (floatFailure >= 10){
			//alert("cleared");
			clearInterval(floatWait);
		}
	}
}

var floatWait = setInterval("floatSS(whereX,whereY,'warningfloat');", 100);
