var RegionsDashes = "------------------------"
            var CountriesDashes = "------------------------"
            var DefaultLink = "#"
            Countries = new Object()
            Links = new Object()
            Regions = new Array("Embroidery Machines", "Sewing Machines", "Heat Press Machines", "Steam Press Machines", "Garment Printer", "Garment Steamer Machines","All Machines" )
			Countries["Embroidery Machines"] = new Array(
			"Compact Machines",
            "Tubular Machines",
			"Multi-Function Machines",
			"Flat Bed Machine",
			"Chenille Machine",
			"Cording Machine",
			"Sequin Machine");
            Links["Embroidery Machines"] = new Array(
			"http://www.ricoma.cn/en/product-em.asp",
			"http://www.ricoma.cn/en/product-tm.asp",
			"http://www.ricoma.cn/en/product_zoom.asp?id=205",
			"http://www.ricoma.cn/en/product_zoom.asp?id=206",
			"http://www.ricoma.cn/en/product_zoom.asp?id=207",
			"http://www.ricoma.cn/en/product_zoom.asp?id=208",
			"http://www.ricoma.cn/en/product_zoom.asp?id=209");
			 Countries["Sewing Machines"] = new Array(
            "High-speed Overlock Sewing",
			"Hight-speed Stretch Sewing",
			"High-speed Lockstitch Sewing",
			"Heavy Duty Lockstitch Sewing",
			"Muti-needle Chain Stitch Sewing",
			"Muti-function Domestic Sewing",
			"Special type Sewing Machine",
			"Cutter Blind Stitch Seam",
			"Zigzag Sewing Machine");
            Links["Sewing Machines"] = new Array(
			"http://www.ricoma.cn/en/product-ro.asp",
			"http://www.ricoma.cn/en/product-ct.asp",
			"http://www.ricoma.cn/en/product-rl.asp",
			"http://www.ricoma.cn/en/product-lh.asp",
			"http://www.ricoma.cn/en/product-rc.asp",
			"http://www.ricoma.cn/en/product-rd.asp",
			"http://www.ricoma.cn/en/product-rs.asp",
			"http://www.ricoma.cn/en/product-cb.asp",
			"http://www.ricoma.cn/en/product-lz.asp");
			Countries["Heat Press Machines"] = new Array(
			"Flat Heat Press Machines",
			"Coffee Heat Press Machines",
			"Plate Heat Press Machines",
			"4 in 1 Heat Press Machines",											 
            "Cap Heat Press Machines");
            Links["Heat Press Machines"] = new Array(
			"http://www.ricoma.cn/en/product_zoom.asp?id=230",
			"http://www.ricoma.cn/en/product_zoom.asp?id=235",
			"http://www.ricoma.cn/en/product_zoom.asp?id=236",
			"http://www.ricoma.cn/en/product_zoom.asp?id=234",
			"http://www.ricoma.cn/en/product_zoom.asp?id=237");
			Countries["Steam Press Machines"] = new Array(
			"PSP-810",
			"PSP-810L",
			"PSP-810E",
			"PSP-810EL",
			"PSP-202",
			"PSP-202E",
			"PSP-990",
            "ST-02");
            Links["Steam Press Machines"] = new Array(
			"http://www.ricoma.cn/en/product_zoom.asp?id=225",
			"http://www.ricoma.cn/en/product_zoom.asp?id=227",
			"http://www.ricoma.cn/en/product_zoom.asp?id=228",
			"http://www.ricoma.cn/en/product_zoom.asp?id=229",
			"http://www.ricoma.cn/en/product_zoom.asp?id=220",
			"http://www.ricoma.cn/en/product_zoom.asp?id=221",
			"http://www.ricoma.cn/en/product_zoom.asp?id=222",
			"http://www.ricoma.cn/en/product_zoom.asp?id=219");
			Countries["Garment Printer"] = new Array(
            "RiCOMA TexPro Digital");
            Links["Garment Printer"] = new Array(
			"http://www.ricoma.cn/en/product_zoom.asp?id=239");
			Countries["Garment Steamer Machines"] = new Array(
            "PSS-2001");
            Links["Garment Steamer Machines"] = new Array(
			"http://www.ricoma.cn/en/product_zoom.asp?id=218");
			Countries["All Machines"] = new Array(
            "All Types");
            Links["All Machines"] = new Array(
			"http://www.ricoma.cn/en/product-all.asp");
            initializeForm()
            function initializeForm () {
            	document.jump.region.length = 0;
            	Regions[Regions.length] = RegionsDashes
            	document.jump.region.options[0] = new Option(Regions[0],"",1,1)
            	for(count = 1; count < Regions.length; count++) {
            		document.jump.region.options[count] = new Option(Regions[count], "")
            	}
            fillCountry()
            }
            function fillCountry()
            {
            	document.jump.country.length = 0;
            	reg = new String(Regions[document.jump.region.selectedIndex])
            	if (reg == RegionsDashes) {
            		document.jump.region.selectedIndex = document.jump.region.selectedIndex - 1
            		reg = new String(Regions[document.jump.region.selectedIndex])
            	}
            	document.jump.country.options[0] = new Option(Countries[reg][0],Links[reg][0],1,1);
            	for(count = 1; count < Links[reg].length; count ++)
            	document.jump.country.options[count] = new Option(Countries[reg][count],Links[reg][count]);
            	document.jump.country.options[document.jump.country.options.length] = new Option(CountriesDashes,DefaultLink);
            }
            function checkCountry() {
            	if (document.jump.country.options[document.jump.country.selectedIndex].text == CountriesDashes)
            		document.jump.country.selectedIndex = document.jump.country.selectedIndex - 1
            }
