function fillCategory1(){

var selectbox = document.getElementById('vp_tag');
addOption(selectbox, 'default', 'default');;
addOption(selectbox, 'aero', 'Aero');
addOption(selectbox, 'community', 'Community');
addOption(selectbox, 'corner', 'Corner');
addOption(selectbox, 'crest', 'Crest');
addOption(selectbox, 'cylinder', 'Cylinder');
addOption(selectbox, 'default', 'Default');
addOption(selectbox, 'gbar', 'Gamerbar');
addOption(selectbox, 'gel', 'Gel');
addOption(selectbox, 'gelsig', 'GelSig');
addOption(selectbox, 'geothermal', 'Geothermal');
addOption(selectbox, 'h2o', 'H2o');
addOption(selectbox, 'lastgame', 'LastGame');
addOption(selectbox, 'marble', 'Marble');
addOption(selectbox, 'micro', 'Micro');
addOption(selectbox, 'mini', 'Mini');
addOption(selectbox, 'presence', 'Presence');
addOption(selectbox, 'quote', 'Quote');
addOption(selectbox, 'recessed', 'Recessed');
addOption(selectbox, 'royale', 'Royale');
addOption(selectbox, 'sig', 'Sig');
}

function SelectSubCat1(Category1, subCategory1)
{
var Category1 = document.getElementById('vp_tag');
var subCategory1 = document.getElementById('vp_style');
removeAllOptions1(subCategory1);
/*
addOption(subCategory1, 'default', 'default');
*/

if(Category1.value == 'aero'){
addOption(subCategory1,"default", "Default");
}

if(Category1.value == 'community'){
addOption(subCategory1,"360style", "360Style");
addOption(subCategory1,"evav", "Eval Avatar");
addOption(subCategory1,"kkz", "Konsole kingz");
addOption(subCategory1,"mondoxbox", "MondoXbox");
addOption(subCategory1,"tbs", "The Blue Skittle");
addOption(subCategory1,"u360", "Unscripted 360");
addOption(subCategory1,"xba", "XboxAddict");
}

if(Category1.value == 'corner'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"black", "Black");
addOption(subCategory1,"blue", "Blue");
addOption(subCategory1,"green", "Green");
addOption(subCategory1,"lightblue", "LightBlue");
addOption(subCategory1,"orange", "Orange");
addOption(subCategory1,"pink", "Pink");
addOption(subCategory1,"red", "Red");
addOption(subCategory1,"teal", "Teal");
addOption(subCategory1,"violet", "Violet");
addOption(subCategory1,"yellow", "Yellow");
}

if(Category1.value == 'crest'){
addOption(subCategory1,"default", "Default");
}

if(Category1.value == 'cylinder'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"fire", "Fire");
addOption(subCategory1,"ice", "Ice");
addOption(subCategory1,"steel", "Steel");
}

if(Category1.value == 'default'){
addOption(subCategory1,"default", "Default");
}

if(Category1.value == 'gbar'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"360", "360");
addOption(subCategory1,"abyss", "Abyss");
addOption(subCategory1,"carbon", "Carbon");
addOption(subCategory1,"dream", "Dream");
addOption(subCategory1,"galaxy", "Galaxy");
addOption(subCategory1,"grill", "Grill");
addOption(subCategory1,"lime", "Lime");
addOption(subCategory1,"live", "Live");
addOption(subCategory1,"mgc", "Mgc");
}

if(Category1.value == 'gel'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"blue", "Blue");
addOption(subCategory1,"black", "Black");
addOption(subCategory1,"gold", "Gold");
addOption(subCategory1,"green", "Green");
addOption(subCategory1,"orange", "Orange");
addOption(subCategory1,"pink", "Pink");
addOption(subCategory1,"purple", "Purple");
addOption(subCategory1,"red", "Red");
addOption(subCategory1,"teal", "Teal");
addOption(subCategory1,"violet", "Violet");
addOption(subCategory1,"white", "White");
addOption(subCategory1,"yellow", "Yellow");
}

if(Category1.value == 'gelsig'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"blue", "Blue");
addOption(subCategory1,"black", "Black");
addOption(subCategory1,"gold", "Gold");
addOption(subCategory1,"green", "Green");
addOption(subCategory1,"orange", "Orange");
addOption(subCategory1,"pink", "Pink");
addOption(subCategory1,"purple", "Purple");
addOption(subCategory1,"red", "Red");
addOption(subCategory1,"teal", "Teal");
addOption(subCategory1,"violet", "Violet");
addOption(subCategory1,"white", "White");
addOption(subCategory1,"yellow", "Yellow");
}

if(Category1.value == 'geothermal'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"blue", "Blue");
addOption(subCategory1,"grey", "Grey");
addOption(subCategory1,"green", "Green");
addOption(subCategory1,"orange", "Orange");
addOption(subCategory1,"pink", "Pink");
addOption(subCategory1,"purple", "Purple");
addOption(subCategory1,"red", "Red");
addOption(subCategory1,"teal", "Teal");
addOption(subCategory1,"yellow", "Yellow");
}

if(Category1.value == 'h2o'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"brushed", "Brushed");
addOption(subCategory1,"diamond", "Diamond");
addOption(subCategory1,"meltdown", "Meltdown");
addOption(subCategory1,"rubber", "Rubber");
addOption(subCategory1,"rust", "Rust");
}

if(Category1.value == 'lastgame'){
addOption(subCategory1,"default", "Default");
}

if(Category1.value == 'marble'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"blue", "Blue");
addOption(subCategory1,"green", "Green");
addOption(subCategory1,"orange", "Orange");
addOption(subCategory1,"pink", "Pink");
addOption(subCategory1,"purple", "Purple");
addOption(subCategory1,"red", "Red");
addOption(subCategory1,"teal", "Teal");
addOption(subCategory1,"yellow", "Yellow");
}

if(Category1.value == 'micro'){
addOption(subCategory1,"default", "Default");
}

if(Category1.value == 'mini'){
addOption(subCategory1,"default", "Default");
}

if(Category1.value == 'presence'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"glass", "Glass");
}

if(Category1.value == 'quote'){
addOption(subCategory1,"default", "Default");
}

if(Category1.value == 'recessed'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"plate", "Plate");
addOption(subCategory1,"wood", "Wood");
}

if(Category1.value == 'royale'){
addOption(subCategory1,"default", "Default");
addOption(subCategory1,"black", "Black");
addOption(subCategory1,"breen", "Green");
addOption(subCategory1,"orange", "Orange");
addOption(subCategory1,"pink", "Pink");
addOption(subCategory1,"purple", "Purple");
addOption(subCategory1,"redstripe", "RedStripe");
addOption(subCategory1,"royale", "Royale");
addOption(subCategory1,"sky", "Sky");
addOption(subCategory1,"tan", "Tan");
addOption(subCategory1,"taxi", "Taxi");
}

if(Category1.value == 'sig'){
addOption(subCategory1,"default", "Default");
}

}

function removeAllOptions1(selectbox)
{
	var i;
	for(i=selectbox.options.length-1;i>=0;i--)
	{
		selectbox.remove(i);
	}
}

function addOption(selectbox, value, text ){
		var optn = document.createElement("OPTION");
			optn.text = text;
			optn.value = value;
				selectbox.options.add(optn);
}