

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function AssignPrice(Ofm)
	{
	if (Ofm.prismr.value == "YES") priceprismr = costprismr;
	if (Ofm.prisml.value == "YES") priceprisml = costprisml;
	priceprism = priceprismr + priceprisml;


	if (Ofm.elatint.value != "None") {priceelatint = costtint;} else {priceelatint = 0;}
	if (Ofm.elbtint.value != "None") {priceelbtint = costtint;} else {priceelbtint = 0;}
	if (Ofm.elctint.value != "None") {priceelctint = costtint;} else {priceelctint = 0;}
	if (Ofm.eldtint.value != "None") {priceeldtint = costtint;} else {priceeldtint = 0;}
//	if (Ofm.eletint.value != "None") {priceeletint = costtint;} else {priceeletint = 0;}
	if (Ofm.elftint.value != "None") {priceelftint = costtint;} else {priceelftint = 0;}
	if (Ofm.elhtint.value != "None") {priceelhtint = costtint;} else {priceelhtint = 0;}
	if (Ofm.elltint.value != "None") {priceelltint = costtint;} else {priceelltint = 0;}
	if (Ofm.elntint.value != "None") {priceelntint = costtint;} else {priceelntint = 0;}
	if (Ofm.elqtint.value != "None") {priceelqtint = costtint;} else {priceelqtint = 0;}
	if (Ofm.elrtint.value != "None") {priceelrtint = costtint;} else {priceelrtint = 0;}
	if (Ofm.elstint.value != "None") {priceelstint = costtint;} else {priceelstint = 0;}
	if (Ofm.elttint.value != "None") {priceelttint = costtint;} else {priceelttint = 0;}
	if (Ofm.elvtint.value != "None") {priceelvtint = costtint;} else {priceelvtint = 0;}
	if (Ofm.elwtint.value != "None") {priceelwtint = costtint;} else {priceelwtint = 0;}
	if (Ofm.fo1tint.value != "None") {pricefo1tint = costtint;} else {pricefo1tint = 0;}
	if (Ofm.fo3tint.value != "None") {pricefo3tint = costtint;} else {pricefo3tint = 0;}
	if (Ofm.fo4tint.value != "None") {pricefo4tint = costtint;} else {pricefo4tint = 0;}
	if (Ofm.frbtint.value != "None") {pricefrbtint = costtint;} else {pricefrbtint = 0;}
	if (Ofm.frdtint.value != "None") {pricefrdtint = costtint;} else {pricefrdtint = 0;}
	if (Ofm.frhtint.value != "None") {pricefrhtint = costtint;} else {pricefrhtint = 0;}
	if (Ofm.hr1tint.value != "None") {pricehr1tint = costtint;} else {pricehr1tint = 0;}
	if (Ofm.bcbtint.value != "None") {pricebcbtint = costtint;} else {pricebcbtint = 0;}
	if (Ofm.bcstint.value != "None") {pricebcstint = costtint;} else {pricebcstint = 0;}
	if (Ofm.bcztint.value != "None") {pricebcztint = costtint;} else {pricebcztint = 0;}
	if (Ofm.scvtint.value != "None") {pricescvtint = costtint;} else {pricescvtint = 0;}
	if (Ofm.ftltint.value != "None") {priceftltint = costtint;} else {priceftltint = 0;}
	if (Ofm.tbgtint.value != "None") {pricetbgtint = costtint;} else {pricetbgtint = 0;}
	if (Ofm.tbbtint.value != "None") {pricetbbtint = costtint;} else {pricetbbtint = 0;}
	if (Ofm.tbmtint.value != "None") {pricetbmtint = costtint;} else {pricetbmtint = 0;}
	if (Ofm.tbrtint.value != "None") {pricetbrtint = costtint;} else {pricetbrtint = 0;}
	if (Ofm.pcbtint.value != "None") {pricepcbtint = costtint;} else {pricepcbtint = 0;}
	if (Ofm.pcgtint.value != "None") {pricepcgtint = costtint;} else {pricepcgtint = 0;}
	if (Ofm.pcmtint.value != "None") {pricepcmtint = costtint;} else {pricepcmtint = 0;}
	if (Ofm.stgtint.value != "None") {pricestgtint = costtint;} else {pricestgtint = 0;}
	if (Ofm.srgtint.value != "None") {pricesrgtint = costtint;} else {pricesrgtint = 0;}
	if (Ofm.srmtint.value != "None") {pricesrmtint = costtint;} else {pricesrmtint = 0;}
	if (Ofm.thmtint.value != "None") {pricethmtint = costtint;} else {pricethmtint = 0;}
	if (Ofm.thgtint.value != "None") {pricethgtint = costtint;} else {pricethgtint = 0;}
	if (Ofm.thbtint.value != "None") {pricethbtint = costtint;} else {pricethbtint = 0;}
	if (Ofm.tbktint.value != "None") {pricetbktint = costtint;} else {pricetbktint = 0;}
	if (Ofm.mc1tint.value != "None") {pricemc1tint = costtint;} else {pricemc1tint = 0;}
	if (Ofm.mc2tint.value != "None") {pricemc2tint = costtint;} else {pricemc2tint = 0;}
	if (Ofm.mc3tint.value != "None") {pricemc3tint = costtint;} else {pricemc3tint = 0;}
	if (Ofm.mc4tint.value != "None") {pricemc4tint = costtint;} else {pricemc4tint = 0;}
	if (Ofm.mcytint.value != "None") {pricemcytint = costtint;} else {pricemcytint = 0;}
	if (Ofm.mcztint.value != "None") {pricemcztint = costtint;} else {pricemcztint = 0;}
	if (Ofm.mchtint.value != "None") {pricemchtint = costtint;} else {pricemchtint = 0;}
	if (Ofm.mcitint.value != "None") {pricemcitint = costtint;} else {pricemcitint = 0;}
	if (Ofm.mcjtint.value != "None") {pricemcjtint = costtint;} else {pricemcjtint = 0;}
	if (Ofm.mcktint.value != "None") {pricemcktint = costtint;} else {pricemcktint = 0;}


	if (Ofm.own1tint.value != "None") {priceown1tint = costtint;} else {priceown1tint = 0;}
	if (Ofm.own2tint.value != "None") {priceown2tint = costtint;} else {priceown2tint = 0;}

	if	((Math.abs(Ofm.sphdptrright.value) < sphthreshold) && (Math.abs(Ofm.sphdptrleft.value) < sphthreshold) && 
		(Math.abs(Ofm.cyldptrright.value) < cylthreshold) && (Math.abs(Ofm.cyldptrleft.value) < cylthreshold)) 
		{
			pricefrela=pricefrlowpresn + priceprism + priceelatint;
			pricefrelb=pricefrlowpresn + priceprism + priceelbtint;
			pricefrelc=pricefrlowpresn + priceprism + priceelctint;
			pricefreld=pricefrlowpresn + priceprism + priceeldtint;
//			pricefrele=pricefrlowpresn + priceprism + priceeletint;
			pricefrelf=pricefrlowpresn + priceprism + priceelftint;
			pricefrelh=pricefrlowpresn + priceprism + priceelhtint;
			pricefrell=pricefrlowpresn + priceprism + priceelltint;
			pricefreln=pricefrlowpresn + priceprism + priceelntint;
			pricefrelq=pricefrlowpresn + priceprism + priceelqtint;
			pricefrelr=pricefrlowpresn + priceprism + priceelrtint;
			pricefrels=pricefrlowpresn + priceprism + priceelstint;
			pricefrelt=pricefrlowpresn + priceprism + priceelttint;
			pricefrelv=pricefrlowpresn + priceprism + priceelvtint;
			pricefrelw=pricefrlowpresn + priceprism + priceelwtint;
			pricehrthm=pricefrlowpresn + pricehrglaze + priceprism + pricethmtint;
			pricehrthg=pricefrlowpresn + pricehrglaze + priceprism + pricethgtint;
			pricehrthb=pricefrlowpresn + pricehrglaze + priceprism + pricethbtint;
			pricefrtbk=pricefrlowpresn + priceprism + pricetbktint;
			pricefrfrb=pricefrlowpresn + priceprism + pricefrbtint;
			pricefrfrd=pricefrlowpresn + priceprism + pricefrdtint;
			pricefrfrh=pricefrlowpresn + priceprism + pricefrhtint;
			pricehrhr1=pricefrlowpresn + pricehrglaze + priceprism + pricehr1tint;
			pricehrfo1=pricefrlowpresn + pricehrglaze + priceprism + pricefo1tint;
			pricefrfo3=pricefrlowpresn + priceprism + pricefo3tint;
			pricefrfo4=pricefrlowpresn + priceprism + pricefo4tint;
			pricefrtbg=pricefrlowpresn + priceprism + pricetbgtint;
			pricefrtbb=pricefrlowpresn + priceprism + pricetbbtint;
			pricefrtbm=pricefrlowpresn + priceprism + pricetbmtint;
			pricefrtbr=pricefrlowpresn + priceprism + pricetbrtint;
			pricefrpcb=pricefrlowpresn + priceprism + pricepcbtint;
			pricefrpcg=pricefrlowpresn + priceprism + pricepcgtint;
			pricefrpcm=pricefrlowpresn + priceprism + pricepcmtint;
			pricefrftl=pricefrlowpresn + priceprism + priceftltint;
			pricefrbcb=pricefrlowpresn + priceprism + pricebcbtint;
			pricefrbcs=pricefrlowpresn + priceprism + pricebcstint;
			pricefrbcz=pricefrlowpresn + priceprism + pricebcztint;
			pricefrscv=pricefrlowpresn + priceprism + pricescvtint;
			pricehrstg=pricefrlowpresn + pricehrglaze + priceprism + pricestgtint;
			pricehrsrg=pricefrlowpresn + priceprism + pricesrgtint;
			pricehrsrm=pricefrlowpresn + priceprism + pricesrmtint;
			pricefrmc1=pricefrlowpresn + priceprism + pricemc1tint;
			pricefrmc2=pricefrlowpresn + priceprism + pricemc2tint;
			pricefrmc3=pricefrlowpresn + priceprism + pricemc3tint;
			pricefrmc4=pricefrlowpresn + priceprism + pricemc4tint;
			pricefrmcz=pricefrlowpresn + priceprism + pricemcztint;
			pricefrmch=pricefrlowpresn + priceprism + pricemchtint;
			pricefrmci=pricefrlowpresn + priceprism + pricemcitint;
			pricefrmcj=pricefrlowpresn + priceprism + pricemcjtint;
			pricefrmck=pricefrlowpresn + priceprism + pricemcktint;
			pricefrmcy=pricefrlowpresn + priceprism + pricemcytint;
			pricefrsr1=pricefrlowpresn + priceprism;
			pricefrsr0=pricefrlowpresn + priceprism;
			pricehrsr2=pricefrlowpresn + pricehrglaze + priceprism;

			if (Ofm.frametypeown1.value == "FullRim") {priceof1=pricefrlowpresn + priceprism + priceown1tint;};
			if (Ofm.frametypeown1.value == "PartRim") {priceof1=pricefrlowpresn + pricehrglaze + priceprism + priceown1tint;};
			if (Ofm.frametypeown2.value == "FullRim") {priceof2=pricefrlowpresn + priceprism + priceown2tint;};
			if (Ofm.frametypeown2.value == "PartRim") {priceof2=pricefrlowpresn + pricehrglaze + priceprism + priceown2tint;};
		}
	else
		{
			pricefrela=pricefrhighpresn + priceprism + priceelatint;
			pricefrelb=pricefrhighpresn + priceprism + priceelbtint;
			pricefrelc=pricefrhighpresn + priceprism + priceelctint;
			pricefreld=pricefrhighpresn + priceprism + priceeldtint;
//			pricefrele=pricefrhighpresn + priceprism + priceeletint;
			pricefrelf=pricefrhighpresn + priceprism + priceelftint;
			pricefrelh=pricefrhighpresn + priceprism + priceelhtint;
			pricefrell=pricefrhighpresn + priceprism + priceelltint;
			pricefreln=pricefrhighpresn + priceprism + priceelntint;
			pricefrelq=pricefrhighpresn + priceprism + priceelqtint;
			pricefrelr=pricefrhighpresn + priceprism + priceelrtint;
			pricefrels=pricefrhighpresn + priceprism + priceelstint;
			pricefrelt=pricefrhighpresn + priceprism + priceelttint;
			pricefrelv=pricefrhighpresn + priceprism + priceelvtint;
			pricefrelw=pricefrhighpresn + priceprism + priceelwtint;
			pricefrthm=pricefrhighpresn + pricehrglaze + priceprism + pricethmtint;
			pricefrthg=pricefrhighpresn + pricehrglaze + priceprism + pricethgtint;
			pricefrthb=pricefrhighpresn + pricehrglaze + priceprism + pricethbtint;
			pricefrtbk=pricefrhighpresn + priceprism + pricetbktint;
			pricefrfrb=pricefrhighpresn + priceprism + pricefrbtint;
			pricefrfrd=pricefrhighpresn + priceprism + pricefrdtint;
			pricefrfrh=pricefrhighpresn + priceprism + pricefrhtint;
			pricehrhr1=pricefrhighpresn + pricehrglaze + priceprism + pricehr1tint;
			pricehrfo1=pricefrhighpresn + pricehrglaze + priceprism + pricefo1tint;
			pricefrfo3=pricefrhighpresn + priceprism + pricefo3tint;
			pricefrfo4=pricefrhighpresn + priceprism + pricefo4tint;
			pricefrtbg=pricefrhighpresn + priceprism + pricetbgtint;
			pricefrtbb=pricefrhighpresn + priceprism + pricetbbtint;
			pricefrtbm=pricefrhighpresn + priceprism + pricetbmtint;
			pricefrtbr=pricefrhighpresn + priceprism + pricetbrtint;
			pricefrpcb=pricefrhighpresn + priceprism + pricepcbtint;
			pricefrpcg=pricefrhighpresn + priceprism + pricepcgtint;
			pricefrpcm=pricefrhighpresn + priceprism + pricepcmtint;
			pricefrftl=pricefrhighpresn + priceprism + priceftltint;
			pricefrbcb=pricefrhighpresn + priceprism + pricebcbtint;
			pricefrbcs=pricefrhighpresn + priceprism + pricebcstint;
			pricefrbcz=pricefrhighpresn + priceprism + pricebcztint;
			pricefrscv=pricefrhighpresn + priceprism + pricescvtint;
			pricehrstg=pricefrhighpresn + pricehrglaze + priceprism + pricestgtint;
			pricehrsrg=pricefrhighpresn + priceprism + pricesrgtint;
			pricehrsrm=pricefrhighpresn + priceprism + pricesrmtint;
			pricefrmc1=pricefrhighpresn + priceprism + pricemc1tint;
			pricefrmc2=pricefrhighpresn + priceprism + pricemc2tint;
			pricefrmc3=pricefrhighpresn + priceprism + pricemc3tint;
			pricefrmc4=pricefrhighpresn + priceprism + pricemc4tint;
			pricefrmcy=pricefrhighpresn + priceprism + pricemcytint;
			pricefrmcz=pricefrhighpresn + priceprism + pricemcztint;
			pricefrmch=pricefrhighpresn + priceprism + pricemchtint;
			pricefrmci=pricefrhighpresn + priceprism + pricemcitint;
			pricefrmcj=pricefrhighpresn + priceprism + pricemcjtint;
			pricefrmck=pricefrhighpresn + priceprism + pricemcktint;
			pricefrsr1=pricefrhighpresn + priceprism;
			pricefrsr0=pricefrhighpresn + priceprism;
			pricehrsr2=pricefrhighpresn + pricehrglaze + priceprism;

			if (Ofm.frametypeown1.value == "FullRim") {priceof1=pricefrhighpresn + priceprism + priceown1tint;};
			if (Ofm.frametypeown1.value == "PartRim") {priceof1=pricefrhighpresn + pricehrglaze + priceprism + priceown1tint;};
			if (Ofm.frametypeown2.value == "FullRim") {priceof2=pricefrhighpresn + priceprism + priceown2tint;};
			if (Ofm.frametypeown2.value == "PartRim") {priceof2=pricefrhighpresn + pricehrglaze + priceprism + priceown2tint;};
			}
	} //end function AssignPrice(Ofm)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function ValidateItemData(Ofm)
{
if 	(
	(Ofm.pr2qty.value=="0") && (Ofm.pr4qty.value=="0") &&
	(Ofm.el8qty.value=="0") &&
	(Ofm.hriqty.value=="0") && (Ofm.hrcqty.value=="0") && (Ofm.el0qty.value=="0") &&
	(Ofm.fr2qty.value=="0") &&
	(Ofm.ac1qty.value=="0") && (Ofm.ac2qty.value=="0") &&
	(Ofm.rgyqty.value=="0") && (Ofm.frrqty.value=="0") && (Ofm.frmqty.value=="0") &&
	(Ofm.rg0qty.value=="0") && (Ofm.rg2qty.value=="0") && (Ofm.rgcqty.value=="0") && (Ofm.rglqty.value=="0") && 
	(Ofm.rgfqty.value=="0") && (Ofm.rgbqty.value=="0") && (Ofm.ac3qty.value=="0") && (Ofm.rgaqty.value=="0") &&
	(Ofm.ac4qty.value=="0") && (Ofm.ac5qty.value=="0") && (Ofm.ac6qty.value=="0") && (Ofm.ac7qty.value=="0") && 
	(Ofm.rgvqty.value=="0") && (Ofm.rghqty.value=="0") && (Ofm.rgiqty.value=="0") && (Ofm.rgwqty.value=="0") && (Ofm.rg9qty.value=="0") &&
	(Ofm.rg3qty.value=="0") && (Ofm.rgdqty.value=="0") && (Ofm.rg4qty.value=="0") && (Ofm.rg5qty.value=="0") && (Ofm.rg6qty.value=="0") &&
	(Ofm.fo1qty.value=="0") && 
	(Ofm.frdqty.value=="0") && (Ofm.sr0qty.value=="0") && (Ofm.sr2qty.value=="0") && (Ofm.sr1qty.value=="0") &&
	(Ofm.frbqty.value=="0") && (Ofm.frhqty.value=="0") && (Ofm.hr1qty.value=="0") &&
	(Ofm.elhqty.value=="0") && (Ofm.eldqty.value=="0") && (Ofm.thmqty.value=="0") && (Ofm.thgqty.value=="0") && (Ofm.thbqty.value=="0") &&
	(Ofm.elfqty.value=="0") && (Ofm.elcqty.value=="0") && (Ofm.elsqty.value=="0") && (Ofm.tbkqty.value=="0") &&
	(Ofm.elaqty.value=="0") && (Ofm.eltqty.value=="0") && (Ofm.elqqty.value=="0") && (Ofm.elbqty.value=="0") &&
	(Ofm.elvqty.value=="0") && (Ofm.elwqty.value=="0") &&
	(Ofm.elrqty.value=="0") && 
	(Ofm.ellqty.value=="0") && 
	(Ofm.elnqty.value=="0") &&
	(Ofm.srgqty.value=="0") && (Ofm.srmqty.value=="0") && (Ofm.scvqty.value=="0") && (Ofm.mchqty.value=="0") && (Ofm.mciqty.value=="0") && (Ofm.mcjqty.value=="0") &&
	(Ofm.tbgqty.value=="0") && (Ofm.tbbqty.value=="0") && (Ofm.tbmqty.value=="0") && (Ofm.bcbqty.value=="0") && (Ofm.bcsqty.value=="0") && (Ofm.bczqty.value=="0") &&
	(Ofm.tbrqty.value=="0") && (Ofm.pcbqty.value=="0") && (Ofm.pcgqty.value=="0") && (Ofm.pcmqty.value=="0") && (Ofm.ftlqty.value=="0") && (Ofm.mckqty.value=="0") &&
	(Ofm.stgqty.value=="0") &&	(Ofm.mc1qty.value=="0") && (Ofm.mc2qty.value=="0") && (Ofm.mc3qty.value=="0") && (Ofm.mcyqty.value=="0") && (Ofm.mczqty.value=="0") &&
	(Ofm.mc4qty.value=="0") && (Ofm.frametypeown1.value=="") && (Ofm.frametypeown2.value=="") 
	)
	{alert("NO FRAMES SELECTED"); return 0;}

if	(
	(((Ofm.rg0tint.value != "None") && (Ofm.rg0tintlev.value == "")) || ((Ofm.rg0tint.value == "None") && (Ofm.rg0tintlev.value != ""))) ||
	(((Ofm.rg2tint.value != "None") && (Ofm.rg2tintlev.value == "")) || ((Ofm.rg2tint.value == "None") && (Ofm.rg2tintlev.value != ""))) ||
	(((Ofm.rgatint.value != "None") && (Ofm.rgatintlev.value == "")) || ((Ofm.rgatint.value == "None") && (Ofm.rgatintlev.value != ""))) ||
	(((Ofm.rgbtint.value != "None") && (Ofm.rgbtintlev.value == "")) || ((Ofm.rgbtint.value == "None") && (Ofm.rgbtintlev.value != ""))) ||
	(((Ofm.rgctint.value != "None") && (Ofm.rgctintlev.value == "")) || ((Ofm.rgctint.value == "None") && (Ofm.rgctintlev.value != "")))  ||
	(((Ofm.rgltint.value != "None") && (Ofm.rgltintlev.value == "")) || ((Ofm.rgltint.value == "None") && (Ofm.rgltintlev.value != ""))) ||
	(((Ofm.rgftint.value != "None") && (Ofm.rgftintlev.value == "")) || ((Ofm.rgftint.value == "None") && (Ofm.rgftintlev.value != ""))) ||
	(((Ofm.rgvtint.value != "None") && (Ofm.rgvtintlev.value == "")) || ((Ofm.rgvtint.value == "None") && (Ofm.rgvtintlev.value != ""))) ||
	(((Ofm.rgwtint.value != "None") && (Ofm.rgwtintlev.value == "")) || ((Ofm.rgwtint.value == "None") && (Ofm.rgwtintlev.value != ""))) ||
	(((Ofm.rgytint.value != "None") && (Ofm.rgytintlev.value == "")) || ((Ofm.rgytint.value == "None") && (Ofm.rgytintlev.value != ""))) ||
//	(((Ofm.fr1tint.value != "None") && (Ofm.fr1tintlev.value == "")) || ((Ofm.fr1tint.value == "None") && (Ofm.fr1tintlev.value != ""))) ||
	(((Ofm.fr2tint.value != "None") && (Ofm.fr2tintlev.value == "")) || ((Ofm.fr2tint.value == "None") && (Ofm.fr2tintlev.value != ""))) ||
	(((Ofm.frrtint.value != "None") && (Ofm.frrtintlev.value == "")) || ((Ofm.frrtint.value == "None") && (Ofm.frrtintlev.value != ""))) ||
	(((Ofm.frmtint.value != "None") && (Ofm.frmtintlev.value == "")) || ((Ofm.frmtint.value == "None") && (Ofm.frmtintlev.value != ""))) ||
//	(((Ofm.pr1tint.value != "None") && (Ofm.pr1tintlev.value == "")) || ((Ofm.pr1tint.value == "None") && (Ofm.pr1tintlev.value != ""))) ||
	(((Ofm.pr2tint.value != "None") && (Ofm.pr2tintlev.value == "")) || ((Ofm.pr2tint.value == "None") && (Ofm.pr2tintlev.value != ""))) ||
//	(((Ofm.pr3tint.value != "None") && (Ofm.pr3tintlev.value == "")) || ((Ofm.pr3tint.value == "None") && (Ofm.pr3tintlev.value != ""))) ||
	(((Ofm.pr4tint.value != "None") && (Ofm.pr4tintlev.value == "")) || ((Ofm.pr4tint.value == "None") && (Ofm.pr4tintlev.value != ""))) ||
//	(((Ofm.pr5tint.value != "None") && (Ofm.pr5tintlev.value == "")) || ((Ofm.pr5tint.value == "None") && (Ofm.pr5tintlev.value != ""))) ||
	(((Ofm.el8tint.value != "None") && (Ofm.el8tintlev.value == "")) || ((Ofm.el8tint.value == "None") && (Ofm.el8tintlev.value != ""))) ||
	(((Ofm.rg4tint.value != "None") && (Ofm.rg4tintlev.value == "")) || ((Ofm.rg4tint.value == "None") && (Ofm.rg4tintlev.value != ""))) ||
	(((Ofm.rg5tint.value != "None") && (Ofm.rg5tintlev.value == "")) || ((Ofm.rg5tint.value == "None") && (Ofm.rg5tintlev.value != ""))) ||
	(((Ofm.rg6tint.value != "None") && (Ofm.rg6tintlev.value == "")) || ((Ofm.rg6tint.value == "None") && (Ofm.rg6tintlev.value != ""))) ||
	(((Ofm.rg3tint.value != "None") && (Ofm.rg3tintlev.value == "")) || ((Ofm.rg3tint.value == "None") && (Ofm.rg3tintlev.value != ""))) ||
	(((Ofm.rg9tint.value != "None") && (Ofm.rg9tintlev.value == "")) || ((Ofm.rg9tint.value == "None") && (Ofm.rg9tintlev.value != ""))) ||
	(((Ofm.rgdtint.value != "None") && (Ofm.rgdtintlev.value == "")) || ((Ofm.rgdtint.value == "None") && (Ofm.rgdtintlev.value != ""))) ||
	(((Ofm.rghtint.value != "None") && (Ofm.rghtintlev.value == "")) || ((Ofm.rghtint.value == "None") && (Ofm.rghtintlev.value != ""))) ||
	(((Ofm.rgitint.value != "None") && (Ofm.rgitintlev.value == "")) || ((Ofm.rgitint.value == "None") && (Ofm.rgitintlev.value != ""))) ||
	(((Ofm.hrctint.value != "None") && (Ofm.hrctintlev.value == "")) || ((Ofm.hrctint.value == "None") && (Ofm.hrctintlev.value != ""))) ||
	(((Ofm.hritint.value != "None") && (Ofm.hritintlev.value == "")) || ((Ofm.hritint.value == "None") && (Ofm.hritintlev.value != ""))) ||
	(((Ofm.ac1tint.value != "None") && (Ofm.ac1tintlev.value == "")) || ((Ofm.ac1tint.value == "None") && (Ofm.ac1tintlev.value != ""))) ||
	(((Ofm.ac2tint.value != "None") && (Ofm.ac2tintlev.value == "")) || ((Ofm.ac2tint.value == "None") && (Ofm.ac2tintlev.value != ""))) ||
	(((Ofm.ac3tint.value != "None") && (Ofm.ac3tintlev.value == "")) || ((Ofm.ac3tint.value == "None") && (Ofm.ac3tintlev.value != ""))) ||
	(((Ofm.ac4tint.value != "None") && (Ofm.ac4tintlev.value == "")) || ((Ofm.ac4tint.value == "None") && (Ofm.ac4tintlev.value != ""))) ||
	(((Ofm.ac5tint.value != "None") && (Ofm.ac5tintlev.value == "")) || ((Ofm.ac5tint.value == "None") && (Ofm.ac5tintlev.value != ""))) ||
	(((Ofm.ac6tint.value != "None") && (Ofm.ac6tintlev.value == "")) || ((Ofm.ac6tint.value == "None") && (Ofm.ac6tintlev.value != ""))) ||
	(((Ofm.ac7tint.value != "None") && (Ofm.ac7tintlev.value == "")) || ((Ofm.ac7tint.value == "None") && (Ofm.ac7tintlev.value != ""))) ||
	(((Ofm.el0tint.value != "None") && (Ofm.el0tintlev.value == "")) || ((Ofm.el0tint.value == "None") && (Ofm.el0tintlev.value != ""))) ||

	(((Ofm.elatint.value != "None") && (Ofm.elatintlev.value == "")) || ((Ofm.elatint.value == "None") && (Ofm.elatintlev.value != ""))) ||
	(((Ofm.elbtint.value != "None") && (Ofm.elbtintlev.value == "")) || ((Ofm.elbtint.value == "None") && (Ofm.elbtintlev.value != ""))) ||
	(((Ofm.elctint.value != "None") && (Ofm.elctintlev.value == "")) || ((Ofm.elctint.value == "None") && (Ofm.elctintlev.value != ""))) ||
	(((Ofm.eldtint.value != "None") && (Ofm.eldtintlev.value == "")) || ((Ofm.eldtint.value == "None") && (Ofm.eldtintlev.value != ""))) ||
//	(((Ofm.eletint.value != "None") && (Ofm.eletintlev.value == "")) || ((Ofm.eletint.value == "None") && (Ofm.eletintlev.value != ""))) ||
	(((Ofm.elftint.value != "None") && (Ofm.elftintlev.value == "")) || ((Ofm.elftint.value == "None") && (Ofm.elftintlev.value != ""))) ||
	(((Ofm.elhtint.value != "None") && (Ofm.elhtintlev.value == "")) || ((Ofm.elhtint.value == "None") && (Ofm.elhtintlev.value != ""))) ||
	(((Ofm.elltint.value != "None") && (Ofm.elltintlev.value == "")) || ((Ofm.elltint.value == "None") && (Ofm.elltintlev.value != ""))) ||
	(((Ofm.elntint.value != "None") && (Ofm.elntintlev.value == "")) || ((Ofm.elntint.value == "None") && (Ofm.elntintlev.value != ""))) ||
	(((Ofm.elqtint.value != "None") && (Ofm.elqtintlev.value == "")) || ((Ofm.elqtint.value == "None") && (Ofm.elqtintlev.value != ""))) ||
	(((Ofm.elrtint.value != "None") && (Ofm.elrtintlev.value == "")) || ((Ofm.elrtint.value == "None") && (Ofm.elrtintlev.value != ""))) ||
	(((Ofm.elstint.value != "None") && (Ofm.elstintlev.value == "")) || ((Ofm.elstint.value == "None") && (Ofm.elstintlev.value != ""))) ||
	(((Ofm.elttint.value != "None") && (Ofm.elttintlev.value == "")) || ((Ofm.elttint.value == "None") && (Ofm.elttintlev.value != ""))) ||
	(((Ofm.elvtint.value != "None") && (Ofm.elvtintlev.value == "")) || ((Ofm.elvtint.value == "None") && (Ofm.elvtintlev.value != ""))) ||
	(((Ofm.elwtint.value != "None") && (Ofm.elwtintlev.value == "")) || ((Ofm.elwtint.value == "None") && (Ofm.elwtintlev.value != ""))) ||
	(((Ofm.thmtint.value != "None") && (Ofm.thmtintlev.value == "")) || ((Ofm.thmtint.value == "None") && (Ofm.thmtintlev.value != ""))) ||
	(((Ofm.thgtint.value != "None") && (Ofm.thgtintlev.value == "")) || ((Ofm.thgtint.value == "None") && (Ofm.thgtintlev.value != ""))) ||
	(((Ofm.thbtint.value != "None") && (Ofm.thbtintlev.value == "")) || ((Ofm.thbtint.value == "None") && (Ofm.thbtintlev.value != ""))) ||
	(((Ofm.tbktint.value != "None") && (Ofm.tbktintlev.value == "")) || ((Ofm.tbktint.value == "None") && (Ofm.tbktintlev.value != ""))) ||
	(((Ofm.frbtint.value != "None") && (Ofm.frbtintlev.value == "")) || ((Ofm.frbtint.value == "None") && (Ofm.frbtintlev.value != ""))) ||
	(((Ofm.frdtint.value != "None") && (Ofm.frdtintlev.value == "")) || ((Ofm.frdtint.value == "None") && (Ofm.frdtintlev.value != ""))) ||
	(((Ofm.frhtint.value != "None") && (Ofm.frhtintlev.value == "")) || ((Ofm.frhtint.value == "None") && (Ofm.frhtintlev.value != ""))) ||
	(((Ofm.hr1tint.value != "None") && (Ofm.hr1tintlev.value == "")) || ((Ofm.hr1tint.value == "None") && (Ofm.hr1tintlev.value != ""))) ||
	(((Ofm.fo1tint.value != "None") && (Ofm.fo1tintlev.value == "")) || ((Ofm.fo1tint.value == "None") && (Ofm.fo1tintlev.value != ""))) ||
	(((Ofm.fo3tint.value != "None") && (Ofm.fo3tintlev.value == "")) || ((Ofm.fo3tint.value == "None") && (Ofm.fo3tintlev.value != ""))) ||
	(((Ofm.fo4tint.value != "None") && (Ofm.fo4tintlev.value == "")) || ((Ofm.fo4tint.value == "None") && (Ofm.fo4tintlev.value != ""))) ||
	(((Ofm.tbgtint.value != "None") && (Ofm.tbgtintlev.value == "")) || ((Ofm.tbgtint.value == "None") && (Ofm.tbgtintlev.value != ""))) ||
	(((Ofm.tbbtint.value != "None") && (Ofm.tbbtintlev.value == "")) || ((Ofm.tbbtint.value == "None") && (Ofm.tbbtintlev.value != ""))) ||
	(((Ofm.tbmtint.value != "None") && (Ofm.tbmtintlev.value == "")) || ((Ofm.tbmtint.value == "None") && (Ofm.tbmtintlev.value != ""))) ||
	(((Ofm.tbrtint.value != "None") && (Ofm.tbrtintlev.value == "")) || ((Ofm.tbrtint.value == "None") && (Ofm.tbrtintlev.value != ""))) ||
	(((Ofm.pcbtint.value != "None") && (Ofm.pcbtintlev.value == "")) || ((Ofm.pcbtint.value == "None") && (Ofm.pcbtintlev.value != ""))) ||
	(((Ofm.pcgtint.value != "None") && (Ofm.pcgtintlev.value == "")) || ((Ofm.pcgtint.value == "None") && (Ofm.pcgtintlev.value != ""))) ||
	(((Ofm.pcmtint.value != "None") && (Ofm.pcmtintlev.value == "")) || ((Ofm.pcmtint.value == "None") && (Ofm.pcmtintlev.value != ""))) ||
	(((Ofm.ftltint.value != "None") && (Ofm.ftltintlev.value == "")) || ((Ofm.ftltint.value == "None") && (Ofm.ftltintlev.value != ""))) ||
	(((Ofm.bcbtint.value != "None") && (Ofm.bcbtintlev.value == "")) || ((Ofm.bcbtint.value == "None") && (Ofm.bcbtintlev.value != ""))) ||
	(((Ofm.bcstint.value != "None") && (Ofm.bcstintlev.value == "")) || ((Ofm.bcstint.value == "None") && (Ofm.bcstintlev.value != ""))) ||
	(((Ofm.bcztint.value != "None") && (Ofm.bcztintlev.value == "")) || ((Ofm.bcztint.value == "None") && (Ofm.bcztintlev.value != ""))) ||
	(((Ofm.scvtint.value != "None") && (Ofm.scvtintlev.value == "")) || ((Ofm.scvtint.value == "None") && (Ofm.scvtintlev.value != ""))) ||
	(((Ofm.stgtint.value != "None") && (Ofm.stgtintlev.value == "")) || ((Ofm.stgtint.value == "None") && (Ofm.stgtintlev.value != ""))) ||
	(((Ofm.srgtint.value != "None") && (Ofm.srgtintlev.value == "")) || ((Ofm.srgtint.value == "None") && (Ofm.srgtintlev.value != ""))) ||
	(((Ofm.srmtint.value != "None") && (Ofm.srmtintlev.value == "")) || ((Ofm.srmtint.value == "None") && (Ofm.srmtintlev.value != ""))) ||
	(((Ofm.mc1tint.value != "None") && (Ofm.mc1tintlev.value == "")) || ((Ofm.mc1tint.value == "None") && (Ofm.mc1tintlev.value != ""))) ||
	(((Ofm.mc2tint.value != "None") && (Ofm.mc2tintlev.value == "")) || ((Ofm.mc2tint.value == "None") && (Ofm.mc2tintlev.value != ""))) ||
	(((Ofm.mc3tint.value != "None") && (Ofm.mc3tintlev.value == "")) || ((Ofm.mc3tint.value == "None") && (Ofm.mc3tintlev.value != ""))) ||
	(((Ofm.mc4tint.value != "None") && (Ofm.mc4tintlev.value == "")) || ((Ofm.mc4tint.value == "None") && (Ofm.mc4tintlev.value != ""))) ||
	(((Ofm.mcytint.value != "None") && (Ofm.mcytintlev.value == "")) || ((Ofm.mcytint.value == "None") && (Ofm.mcytintlev.value != ""))) ||
	(((Ofm.mcztint.value != "None") && (Ofm.mcztintlev.value == "")) || ((Ofm.mcztint.value == "None") && (Ofm.mcztintlev.value != ""))) ||
	(((Ofm.mchtint.value != "None") && (Ofm.mchtintlev.value == "")) || ((Ofm.mchtint.value == "None") && (Ofm.mchtintlev.value != ""))) ||
	(((Ofm.mcitint.value != "None") && (Ofm.mcitintlev.value == "")) || ((Ofm.mcitint.value == "None") && (Ofm.mcitintlev.value != ""))) ||
	(((Ofm.mcjtint.value != "None") && (Ofm.mcjtintlev.value == "")) || ((Ofm.mcjtint.value == "None") && (Ofm.mcjtintlev.value != ""))) ||
	(((Ofm.mcktint.value != "None") && (Ofm.mcktintlev.value == "")) || ((Ofm.mcktint.value == "None") && (Ofm.mcktintlev.value != ""))) ||
	(((Ofm.own1tint.value != "None") && (Ofm.own1tintlev.value == "")) || ((Ofm.own1tint.value == "None") && (Ofm.own1tintlev.value != ""))) ||
	(((Ofm.own2tint.value != "None") && (Ofm.own2tintlev.value == "")) || ((Ofm.own2tint.value == "None") && (Ofm.own2tintlev.value != ""))) 
	)
	{alert("PLEASE SELECT TINT COLOUR AND TINT LEVEL"); return 0;	}
}// end function ValidateItemData(Ofm)


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

function LoadFrameData(Ofm,currtype)
{
if(!(Ofm.elaqty.value=="0"))	{Load(this.form,"ELA","Pattern","Presn",Ofm.elaqty.value,pricefrela,"BlkLilc",currtype,Ofm.elatint.value,Ofm.elatintlev.value);select++;}
if(!(Ofm.elbqty.value=="0"))	{Load(this.form,"ELB","Pattern","Presn",Ofm.elbqty.value,pricefrelb,"Beige",currtype,Ofm.elbtint.value,Ofm.elbtintlev.value);select++;}
if(!(Ofm.elcqty.value=="0"))	{Load(this.form,"ELC","Pattern","Presn",Ofm.elcqty.value,pricefrelc,"BlkOrng",currtype,Ofm.elctint.value,Ofm.elctintlev.value);select++;}
if(!(Ofm.eldqty.value=="0"))	{Load(this.form,"ELD","Pattern","Presn",Ofm.eldqty.value,pricefreld,"Black",currtype,Ofm.eldtint.value,Ofm.eldtintlev.value);select++;}
//if(!(Ofm.eleqty.value=="0"))	{Load(this.form,"ELE","Pattern","Presn",Ofm.eleqty.value,pricefrele,"RedWht",currtype,Ofm.eletint.value,Ofm.eletintlev.value);select++;}
if(!(Ofm.elfqty.value=="0"))	{Load(this.form,"ELF","Pattern","Presn",Ofm.elfqty.value,pricefrelf,"Mauve",currtype,Ofm.elftint.value,Ofm.elftintlev.value);select++;}
if(!(Ofm.elhqty.value=="0"))	{Load(this.form,"ELH","Pattern","Presn",Ofm.elhqty.value,pricefrelh,"Blue",currtype,Ofm.elhtint.value,Ofm.elhtintlev.value);select++;}
if(!(Ofm.ellqty.value=="0"))	{Load(this.form,"ELL","Pattern","Presn",Ofm.ellqty.value,pricefrell,"BlkTurq",currtype,Ofm.elltint.value,Ofm.elltintlev.value);select++;}
if(!(Ofm.elnqty.value=="0"))	{Load(this.form,"ELN","Pattern","Presn",Ofm.elnqty.value,pricefreln,"BlckRed",currtype,Ofm.elntint.value,Ofm.elntintlev.value);select++;}
if(!(Ofm.elqqty.value=="0"))	{Load(this.form,"ELQ","Pattern","Presn",Ofm.elqqty.value,pricefrelq,"GoldWht",currtype,Ofm.elqtint.value,Ofm.elqtintlev.value);select++;}
if(!(Ofm.elrqty.value=="0"))	{Load(this.form,"ELR","Pattern","Presn",Ofm.elrqty.value,pricefrelr,"SilvBrwn",currtype,Ofm.elrtint.value,Ofm.elrtintlev.value);select++;}
if(!(Ofm.elsqty.value=="0"))	{Load(this.form,"ELS","Pattern","Presn",Ofm.elsqty.value,pricefrels,"BlkLime",currtype,Ofm.elstint.value,Ofm.elstintlev.value);select++;}
if(!(Ofm.eltqty.value=="0"))	{Load(this.form,"ELT","Pattern","Presn",Ofm.eltqty.value,pricefrelt,"Floral",currtype,Ofm.elttint.value,Ofm.elttintlev.value);select++;}
if(!(Ofm.elvqty.value=="0"))	{Load(this.form,"ELV","Pattern","Presn",Ofm.elvqty.value,pricefrelv,"Floral",currtype,Ofm.elvtint.value,Ofm.elvtintlev.value);select++;}
if(!(Ofm.elwqty.value=="0"))	{Load(this.form,"ELW","Pattern","Presn",Ofm.elwqty.value,pricefrelw,"BluBlk",currtype,Ofm.elwtint.value,Ofm.elwtintlev.value);select++;}
if(!(Ofm.frhqty.value=="0"))	{Load(this.form,"FRH","FullRim","Presn",Ofm.frhqty.value,pricefrfrh,"Grey",currtype,Ofm.frhtint.value,Ofm.frhtintlev.value);select++;}
if(!(Ofm.thmqty.value=="0"))	{Load(this.form,"THM","SlimTube","Presn",Ofm.thmqty.value,pricehrthm,"Gunm",currtype,Ofm.thmtint.value,Ofm.thmtintlev.value);select++;}
if(!(Ofm.thgqty.value=="0"))	{Load(this.form,"THG","SlimTube","Presn",Ofm.thgqty.value,pricehrthg,"Gold",currtype,Ofm.thgtint.value,Ofm.thgtintlev.value);select++;}
if(!(Ofm.thbqty.value=="0"))	{Load(this.form,"THB","SlimTube","Presn",Ofm.thbqty.value,pricehrthb,"Blue",currtype,Ofm.thbtint.value,Ofm.thbtintlev.value);select++;}
if(!(Ofm.tbkqty.value=="0"))	{Load(this.form,"TBK","SlimTube","Presn",Ofm.tbkqty.value,pricefrtbk,"Black",currtype,Ofm.tbktint.value,Ofm.tbktintlev.value);select++;}
if(!(Ofm.frbqty.value=="0"))	{Load(this.form,"FRB","FullRim","Presn",Ofm.frbqty.value,pricefrfrb,"Black",currtype,Ofm.frbtint.value,Ofm.frbtintlev.value);select++;}
if(!(Ofm.frdqty.value=="0"))	{Load(this.form,"FRD","FullRim","Presn",Ofm.frdqty.value,pricefrfrd,"Blue",currtype,Ofm.frdtint.value,Ofm.frdtintlev.value);select++;}
if(!(Ofm.hr1qty.value=="0"))	{Load(this.form,"HR1","PartRim","Presn",Ofm.hr1qty.value,pricehrhr1,"Mauve",currtype,Ofm.hr1tint.value,Ofm.hr1tintlev.value);select++;}
if(!(Ofm.fo1qty.value=="0"))	{Load(this.form,"FO1","Folder","Presn",Ofm.fo1qty.value,pricehrfo1,"Gunm",currtype,Ofm.fo1tint.value,Ofm.fo1tintlev.value);select++;}
if(!(Ofm.fo3qty.value=="0"))	{Load(this.form,"FO3","Folder","Presn",Ofm.fo3qty.value,pricefrfo3,"Pink",currtype,Ofm.fo3tint.value,Ofm.fo3tintlev.value);select++;}
if(!(Ofm.fo4qty.value=="0"))	{Load(this.form,"FO4","Folder","Presn",Ofm.fo4qty.value,pricefrfo4,"Purpl",currtype,Ofm.fo4tint.value,Ofm.fo4tintlev.value);select++;}
if(!(Ofm.tbgqty.value=="0"))	{Load(this.form,"TBG","SlimTube","Presn",Ofm.tbgqty.value,pricefrtbg,"Gold",currtype,Ofm.tbgtint.value,Ofm.tbgtintlev.value);select++;}
if(!(Ofm.tbbqty.value=="0"))	{Load(this.form,"TBB","SlimTube","Presn",Ofm.tbbqty.value,pricefrtbb,"Blue",currtype,Ofm.tbbtint.value,Ofm.tbbtintlev.value);select++;}
if(!(Ofm.tbmqty.value=="0"))	{Load(this.form,"TBM","SlimTube","Presn",Ofm.tbmqty.value,pricefrtbm,"Gunm",currtype,Ofm.tbmtint.value,Ofm.tbmtintlev.value);select++;}
if(!(Ofm.tbrqty.value=="0"))	{Load(this.form,"TBR","SlimTube","Presn",Ofm.tbrqty.value,pricefrtbr,"Red_",currtype,Ofm.tbrtint.value,Ofm.tbrtintlev.value);select++;}
if(!(Ofm.pcbqty.value=="0"))	{Load(this.form,"PCB","SlimTube","Presn",Ofm.pcbqty.value,pricefrpcb,"Blue",currtype,Ofm.pcbtint.value,Ofm.pcbtintlev.value);select++;}
if(!(Ofm.pcgqty.value=="0"))	{Load(this.form,"PCG","SlimTube","Presn",Ofm.pcgqty.value,pricefrpcg,"Gold",currtype,Ofm.pcgtint.value,Ofm.pcgtintlev.value);select++;}
if(!(Ofm.pcmqty.value=="0"))	{Load(this.form,"PCM","SlimTube","Presn",Ofm.pcmqty.value,pricefrpcm,"Gunm",currtype,Ofm.pcmtint.value,Ofm.pcmtintlev.value);select++;}
if(!(Ofm.ftlqty.value=="0"))	{Load(this.form,"FTL","SlimTube","Presn",Ofm.ftlqty.value,pricefrpcm,"Lilac",currtype,Ofm.ftltint.value,Ofm.ftltintlev.value);select++;}
if(!(Ofm.bcbqty.value=="0"))	{Load(this.form,"BCB","SlimCase","Presn",Ofm.bcbqty.value,pricefrbcb,"Blue",currtype,Ofm.bcbtint.value,Ofm.bcbtintlev.value);select++;}
if(!(Ofm.bcsqty.value=="0"))	{Load(this.form,"BCS","SlimCase","Presn",Ofm.bcsqty.value,pricefrbcs,"Silv",currtype,Ofm.bcstint.value,Ofm.bcstintlev.value);select++;}
if(!(Ofm.bczqty.value=="0"))	{Load(this.form,"BCZ","SlimCase","Presn",Ofm.bczqty.value,pricefrbcz,"Gold",currtype,Ofm.bcztint.value,Ofm.bcztintlev.value);select++;}
if(!(Ofm.scvqty.value=="0"))	{Load(this.form,"SCV","SlimCase","Presn",Ofm.scvqty.value,pricefrscv,"Gold",currtype,Ofm.scvtint.value,Ofm.scvtintlev.value);select++;}
if(!(Ofm.stgqty.value=="0"))	{Load(this.form,"STG","SlimTube","Presn",Ofm.stgqty.value,pricehrstg,"Gold",currtype,Ofm.stgtint.value,Ofm.stgtintlev.value);select++;}
if(!(Ofm.srgqty.value=="0"))	{Load(this.form,"SRG","SlimTube","Presn",Ofm.srgqty.value,pricehrsrg,"Gold",currtype,Ofm.srgtint.value,Ofm.srgtintlev.value);select++;}
if(!(Ofm.srmqty.value=="0"))	{Load(this.form,"SRM","SlimTube","Presn",Ofm.srmqty.value,pricehrsrm,"Gunm",currtype,Ofm.srmtint.value,Ofm.srmtintlev.value);select++;}
if(!(Ofm.mc1qty.value=="0"))	{Load(this.form,"MC1","Mottled","Presn",Ofm.mc1qty.value,pricefrmc1,"Multi",currtype,Ofm.mc1tint.value,Ofm.mc1tintlev.value);select++;}
if(!(Ofm.mc2qty.value=="0"))	{Load(this.form,"MC2","Mottled","Presn",Ofm.mc2qty.value,pricefrmc2,"Multi",currtype,Ofm.mc2tint.value,Ofm.mc2tintlev.value);select++;}
if(!(Ofm.mc3qty.value=="0"))	{Load(this.form,"MC3","Mottled","Presn",Ofm.mc3qty.value,pricefrmc3,"Multi",currtype,Ofm.mc3tint.value,Ofm.mc3tintlev.value);select++;}
if(!(Ofm.mc4qty.value=="0"))	{Load(this.form,"MC4","Mottled","Presn",Ofm.mc4qty.value,pricefrmc4,"Multi",currtype,Ofm.mc4tint.value,Ofm.mc4tintlev.value);select++;}
if(!(Ofm.mcyqty.value=="0"))	{Load(this.form,"MCY","Mottled","Presn",Ofm.mcyqty.value,pricefrmcy,"Multi",currtype,Ofm.mcytint.value,Ofm.mcytintlev.value);select++;}
if(!(Ofm.mczqty.value=="0"))	{Load(this.form,"MCZ","Mottled","Presn",Ofm.mczqty.value,pricefrmcz,"Multi",currtype,Ofm.mcztint.value,Ofm.mcztintlev.value);select++;}
if(!(Ofm.mchqty.value=="0"))	{Load(this.form,"MCH","Mottled","Presn",Ofm.mchqty.value,pricefrmch,"Multi",currtype,Ofm.mchtint.value,Ofm.mchtintlev.value);select++;}
if(!(Ofm.mciqty.value=="0"))	{Load(this.form,"MCI","Mottled","Presn",Ofm.mciqty.value,pricefrmci,"Multi",currtype,Ofm.mcitint.value,Ofm.mcitintlev.value);select++;}
if(!(Ofm.mcjqty.value=="0"))	{Load(this.form,"MCJ","Mottled","Presn",Ofm.mcjqty.value,pricefrmcj,"Multi",currtype,Ofm.mcjtint.value,Ofm.mcjtintlev.value);select++;}
if(!(Ofm.mckqty.value=="0"))	{Load(this.form,"MCK","Mottled","Presn",Ofm.mckqty.value,pricefrmck,"Multi",currtype,Ofm.mcktint.value,Ofm.mcktintlev.value);select++;}
if(!(Ofm.sr0qty.value=="0"))	{Load(this.form,"SR0","SunRead","Presn",Ofm.sr0qty.value,pricefrsr0,"Coppr",currtype,"Amber","3");select++;}
if(!(Ofm.sr2qty.value=="0"))	{Load(this.form,"SR2","SunRead","Presn",Ofm.sr2qty.value,pricehrsr2,"Gunm",currtype,"Grey","3");select++;}
if(!(Ofm.sr1qty.value=="0"))	{Load(this.form,"SR1","SunRead","Presn",Ofm.sr1qty.value,pricefrsr1,"Silv",currtype,"Grey","3");select++;}
//if(!(Ofm.frametypeown1.value==""))	{Load(this.form,"Own",Ofm.frametypeown1.value,"Presn",1,priceof1,"NA__",currtype,Ofm.own1tint.value,Ofm.own1tintlev.value);select++;}
//if(!(Ofm.frametypeown2.value==""))	{Load(this.form,"Own",Ofm.frametypeown2.value,"Presn",1,priceof2,"NA__",currtype,Ofm.own2tint.value,Ofm.own2tintlev.value);select++;}
}// end function LoadFrameData(Ofm,currtype)
