
function fillCategory(){ 
 // this function is used to fill the category list on load
addOption(document.form1.Category, 'Consumer/Other', '医療関係者以外','');
addOption(document.form1.Category, 'Dentist', '歯科医','');
addOption(document.form1.Category, 'Faculty/Educator', '教員', '');
addOption(document.form1.Category, 'Fellow', 'フェロー', '');
addOption(document.form1.Category, 'Librarian', '図書館員', '');
addOption(document.form1.Category, 'Nurse', '看護師', '');
addOption(document.form1.Category, 'Other Health Professional', 'その他の医療職', '');
addOption(document.form1.Category, 'Physician', '医師', '');
addOption(document.form1.Category, 'Researcher/Scientist', '研究職', '');
addOption(document.form1.Category, 'Resident', '研修医', '');
addOption(document.form1.Category, 'Student', '学生', '');
addOption(document.form1.Category, 'Veterinarian', '獣医', '');
}



function SelectSubCat(){
// ON selection of category this function will work

removeAllOptions(document.form1.SubCat);
addOption(document.form1.SubCat, "", " ", "");

if(document.form1.Category.value == 'Consumer/Other'){
	addOption(document.form1.SubCat, 'Buyer ', 'バイヤー', '');
	addOption(document.form1.SubCat, 'Consulting', 'コンサルタント', '');
	addOption(document.form1.SubCat, 'Engineer/Programmer', '技術者/プログラマ', '');
	addOption(document.form1.SubCat, 'Informatics Professional', '情報科学専門家', '');
	addOption(document.form1.SubCat, 'Information Technology Professional', '情報技術専門家', '');
	addOption(document.form1.SubCat, 'Legal', '法律関連', '');
	addOption(document.form1.SubCat, 'Medical Writing/Editing/Translating', '医療編集関連', '');
	addOption(document.form1.SubCat, 'Pharmaceutical', '医薬関連', '');
	addOption(document.form1.SubCat, 'Others', 'その他', '');

}
if(document.form1.Category.value == 'Dentist'){
	addOption(document.form1.SubCat, 'Dental Assisting', '歯科補助', '');
	addOption(document.form1.SubCat, 'Dental Hygiene', '歯科衛生', '');
	addOption(document.form1.SubCat, 'Dentistry- General', '一般歯科', '');
	addOption(document.form1.SubCat, 'Dentistry - Pediatric', '小児歯科', '');
	addOption(document.form1.SubCat, 'Orthodontics', '矯正歯科', '');
	addOption(document.form1.SubCat, 'Endodontics', '歯内治療', '');
	addOption(document.form1.SubCat, 'Oral & Maxillofacial Surgery', '口腔外科', '');
	addOption(document.form1.SubCat, 'Periodontics', '歯周病治療', '');
	addOption(document.form1.SubCat, 'Prosthodontics', '補綴歯科', '');
	addOption(document.form1.SubCat, 'Others', 'その他', '');
}
if(document.form1.Category.value == 'Faculty/Educator'){
	addOption(document.form1.SubCat, 'Allied Health/Health Professions', '関連保険専門家', '');
	addOption(document.form1.SubCat, 'Dentistry', '歯科学', '');
	addOption(document.form1.SubCat, 'Medical', '医学', '');
	addOption(document.form1.SubCat, 'Nursing', '看護学', '');
	addOption(document.form1.SubCat, 'Pharmacy', '薬学', '');
	addOption(document.form1.SubCat, 'Veterinary', '獣医学', '');
	addOption(document.form1.SubCat, 'Others', 'その他', '');
}

if(document.form1.Category.value == 'Fellow'){
addOption(document.form1.SubCat, 'Allergy', 'アレルギー', '');
addOption(document.form1.SubCat, 'Anethesiology', '麻酔学', '');
addOption(document.form1.SubCat, 'Biochemistry', '生化学', '');
addOption(document.form1.SubCat, 'Cardiology', '循環器内科学', '');
addOption(document.form1.SubCat, 'Cell Biology', '細胞生物学', '');
addOption(document.form1.SubCat, 'Critical Care', '救急救命', '');
addOption(document.form1.SubCat, 'Dermatology', '皮膚科学', '');
addOption(document.form1.SubCat, 'Emergency Medicine', '救急医療', '');
addOption(document.form1.SubCat, 'Endocrinology', '内分泌科学', '');
addOption(document.form1.SubCat, 'Gastroenterology', '消化器内科学', '');
addOption(document.form1.SubCat, 'Geriatrics', '老年内科学', '');
addOption(document.form1.SubCat, 'Hematology', '血液科学', '');
addOption(document.form1.SubCat, 'Histology', '組織学', '');
addOption(document.form1.SubCat, 'Immunology', '免疫学', '');
addOption(document.form1.SubCat, 'Infectious Disease', '感染症疾患', '');
addOption(document.form1.SubCat, 'Nephrology', '腎臓内科学', '');
addOption(document.form1.SubCat, 'Neurology', '神経内科学', '');
addOption(document.form1.SubCat, 'Obstetrics & Gynecology', '産婦人科学', '');
addOption(document.form1.SubCat, 'Oncology', '腫瘍学', '');
addOption(document.form1.SubCat, 'Orthopedics', '整形外科学', '');
addOption(document.form1.SubCat, 'Otolaryngology', '耳鼻咽喉学', '');
addOption(document.form1.SubCat, 'Pathology', '病理学', '');
addOption(document.form1.SubCat, 'Pediatric', '小児科学', '');
addOption(document.form1.SubCat, 'Pharmacology', '薬理学', '');
addOption(document.form1.SubCat, 'Physiology', '生理学', '');
addOption(document.form1.SubCat, 'Psychiatry', '精神医学', '');
addOption(document.form1.SubCat, 'Pulmonary & Respiratory', '肺呼吸器科学', '');
addOption(document.form1.SubCat, 'Radiology', '放射線医学', '');
addOption(document.form1.SubCat, 'Rheumatology', 'リウマチ学', '');
addOption(document.form1.SubCat, 'Surgery', '外科学', '');
addOption(document.form1.SubCat, 'Urology', '泌尿器科学', '');
addOption(document.form1.SubCat, 'Others', 'その他', '');
}

if(document.form1.Category.value == 'Librarian'){
	addOption(document.form1.SubCat, 'Academic', '学術　', '');
	addOption(document.form1.SubCat, 'Corporate', '法人　', '');
	addOption(document.form1.SubCat, 'Engineering', '工業　', '');
	addOption(document.form1.SubCat, 'Legal', '法律　', '');
	addOption(document.form1.SubCat, 'Medical', '医学　', '');
	addOption(document.form1.SubCat, 'Scientific', '科学　', '');
	addOption(document.form1.SubCat, 'Others', 'その他　', '');
}

if(document.form1.Category.value == 'Nurse'){
	addOption(document.form1.SubCat, 'Nurse Assistant/Patient Care Tech', '看護補助・助手　', '');
	addOption(document.form1.SubCat, 'LPN/LVN', '准看護師　', '');
	addOption(document.form1.SubCat, 'Enrolled Nursing/ Assisting', '准看護師　', '');
	addOption(document.form1.SubCat, 'Registered Nurse', '正看護師　', '');
	addOption(document.form1.SubCat, 'RN - administration', '管理', '');
	addOption(document.form1.SubCat, 'RN - case management', '症例管理', '');
	addOption(document.form1.SubCat, 'RN - community health', '地域医療　', '');
	addOption(document.form1.SubCat, 'RN - critical care', '救急医療　', '');
	addOption(document.form1.SubCat, 'RN - emergency', '救命医療　', '');
	addOption(document.form1.SubCat, 'RN - general medical-surgical', '一般内科・外科', '');
	addOption(document.form1.SubCat, 'RN - home care', '在宅医療', '');
	addOption(document.form1.SubCat, 'RN - maternity/OB', '産科', '');
	addOption(document.form1.SubCat, 'RN - occupational health', '労働衛生', '');
	addOption(document.form1.SubCat, 'RN - oncology', '腫瘍科', '');
	addOption(document.form1.SubCat, 'RN - operating room', '手術室', '');
	addOption(document.form1.SubCat, 'RN - patient care management', '患者管理', '');
	addOption(document.form1.SubCat, 'RN - pediatrics', '小児科', '');
	addOption(document.form1.SubCat, 'RN - psychiatric', '精神科', '');
	addOption(document.form1.SubCat, 'RN - rehabilitation', 'リハビリテーション', '');
	addOption(document.form1.SubCat, 'RN - school nurse', '在学看護', '');
	addOption(document.form1.SubCat, 'RN - staff education/training', 'スタッフ教育', '');
	
	addOption(document.form1.SubCat, 'Advanced Practice Nurse - Administration', '管理', '');
	addOption(document.form1.SubCat, 'Advanced Practice Nurse - Anesthetist', '麻酔', '');
	addOption(document.form1.SubCat, 'Advanced Practice Nurse - Clinical Nurse Specialist', '臨床専門看護師', '');
	addOption(document.form1.SubCat, 'Advanced Practice Nurse - Midwifery', '助産師', '');
	
	addOption(document.form1.SubCat, 'Nurse Practitioner - Acute Care', '救急治療', '');
	addOption(document.form1.SubCat, 'Nurse Practitioner - Adult', '成人看護', '');
	addOption(document.form1.SubCat, 'Nurse Practitioner - Family', '家族看護', '');
	addOption(document.form1.SubCat, 'Nurse Practitioner - Gerontologic', '老人看護', '');
	addOption(document.form1.SubCat, 'Nurse Practitioner - Neonatal', '新生児看護', '');
	addOption(document.form1.SubCat, 'Nurse Practitioner - Pediatric', '小児看護', '');
	addOption(document.form1.SubCat, 'Nurse Practitioner - Psychiatric', '精神科看護', '');
	addOption(document.form1.SubCat, 'Nurse Practitioner - Womens Health', '女性保健', '');
	addOption(document.form1.SubCat, 'Others', 'その他　', '');
}

if(document.form1.Category.value == 'Other Health Professional'){
	addOption(document.form1.SubCat, 'Audiology', '聴覚学', '');
	addOption(document.form1.SubCat, 'Dental Assisting', '歯科補助', '');
	addOption(document.form1.SubCat, 'Dental Hygiene', '歯科衛生', '');
	addOption(document.form1.SubCat, 'EMT-Basic', '基礎', '');
	addOption(document.form1.SubCat, 'EMT-Intermediate', '中級', '');
	addOption(document.form1.SubCat, 'EMT-Paramedic', '救急救命', '');
	addOption(document.form1.SubCat, 'Optometry', '検眼', '');
	addOption(document.form1.SubCat, 'First Responder', '緊急救援', '');
	addOption(document.form1.SubCat, 'Phlebotomy', '静脈切開術', '');
	addOption(document.form1.SubCat, 'Podiatry', '足治療（足病学）', '');
	addOption(document.form1.SubCat, 'Chiropractic', 'カイロプラクティック', '');
	addOption(document.form1.SubCat, 'Psychology', '心理学', '');
	addOption(document.form1.SubCat, 'Osteopathy', '整骨療法', '');
	addOption(document.form1.SubCat, 'Chiropractic', 'カイロプラクティック', '');
	addOption(document.form1.SubCat, 'Hand Therapy', 'ハンドセラピー', '');
	addOption(document.form1.SubCat, 'Massage Therapy', 'マッサージ療法', '');
	addOption(document.form1.SubCat, 'Occupational Therapy', '作業療法', '');
	addOption(document.form1.SubCat, 'Occupational Therapy Assisting', '作業療法補助', '');
	addOption(document.form1.SubCat, 'Physiotherapy', '理学療法', '');
	addOption(document.form1.SubCat, 'Pharmacy Technician', '薬剤技師', '');
	addOption(document.form1.SubCat, 'Medical Technology', '医療技術', '');
	addOption(document.form1.SubCat, 'Radiologic/Imaging Technology', '放射線/画像技術', '');
	addOption(document.form1.SubCat, 'Sonographer', '超音波検査', '');
	addOption(document.form1.SubCat, 'Clinical Laboratory Science', '臨床検査科学', '');
	addOption(document.form1.SubCat, 'Medical Transcription', '医学記録', '');
	addOption(document.form1.SubCat, 'Medical Assisting', '医療補助', '');
	addOption(document.form1.SubCat, 'Physician Assisting', '医師補助', '');
	addOption(document.form1.SubCat, 'Respiratory Therapy/Technician', '呼吸療法/技術者', '');
	addOption(document.form1.SubCat, 'Speech Pathology/Therapist', '言語病理学/セラピスト', '');
	addOption(document.form1.SubCat, 'Others', 'その他　', '');

}


if(document.form1.Category.value == 'Physician'){
	addOption(document.form1.SubCat, 'Allergy & Immunology', 'アレルギー＆免疫学', '');
	addOption(document.form1.SubCat, 'Anesthesiology', '麻酔学', '');
	addOption(document.form1.SubCat, 'Pain', '疼痛医学', '');
	addOption(document.form1.SubCat, 'Cardiology', '心臓（病）学', '');
	addOption(document.form1.SubCat, 'Critical Care', '救急医療', '');
	addOption(document.form1.SubCat, 'Dermatology', '皮膚科学', '');
	addOption(document.form1.SubCat, 'Endocrinology & Metabolism', '内分泌科学＆代謝学', '');
	addOption(document.form1.SubCat, 'Epidemiology/Public Health', '疫学/公衆衛生学', '');
	addOption(document.form1.SubCat, 'Family Practice/General Practice', '家庭医学/一般診療', '');
	addOption(document.form1.SubCat, 'Gastroenterology', '消化器内科学', '');
	addOption(document.form1.SubCat, 'Genetics', '遺伝学', '');
	addOption(document.form1.SubCat, 'Geriatrics', '老年内科学', '');
	addOption(document.form1.SubCat, 'Hematology', '血液科学', '');
	addOption(document.form1.SubCat, 'Hepatology', '肝臓病学', '');
	addOption(document.form1.SubCat, 'Infectious Diseases', '感染症学', '');
	addOption(document.form1.SubCat, 'Integrative Medicine', '統合医学', '');
	addOption(document.form1.SubCat, 'Internal Medicine', '内科学', '');
	addOption(document.form1.SubCat, 'Occupational Medicine/Health', '職業病医学', '');
	addOption(document.form1.SubCat, 'Respiratory Medicine', '呼吸器内科', '');
	addOption(document.form1.SubCat, 'Sports Medicine', 'スポーツ医学', '');
	addOption(document.form1.SubCat, 'Neonatology', '新生児学', '');
	addOption(document.form1.SubCat, 'Nephrology', '腎臓(病)学', '');
	addOption(document.form1.SubCat, 'Neurology', '神経内科学', '');
	addOption(document.form1.SubCat, 'Neurosurgery', '神経外科学', '');
	addOption(document.form1.SubCat, 'Nutrition ', '栄養学', '');
	addOption(document.form1.SubCat, 'Obstetrics/Gynecology', '産婦人科　', '');
	addOption(document.form1.SubCat, 'Oncology', '腫瘍科', '');
	addOption(document.form1.SubCat, 'Ophthalmology', '眼科', '');
	addOption(document.form1.SubCat, 'Orthopedics - Foot/Ankle', '整形外科 - 足', '');
	addOption(document.form1.SubCat, 'Orthopedics - General', '整形外科 - 一般', '');
	addOption(document.form1.SubCat, 'Orthopedics - Hand', '整形外科 - 手', '');
	addOption(document.form1.SubCat, 'Orthopedics - Knee', '整形外科 - 膝', '');
	addOption(document.form1.SubCat, 'Orthopedics - Other', '整形外科 - その他', '');
	addOption(document.form1.SubCat, 'Osteopathy', '整骨療法', '');
	addOption(document.form1.SubCat, 'Otolaryngology', '耳鼻咽喉科', '');
	addOption(document.form1.SubCat, 'Palliative Medicine', '緩和医療', '');
	addOption(document.form1.SubCat, 'Pathology', '病理学', '');
	addOption(document.form1.SubCat, 'Pediatrics', '小児科', '');
	addOption(document.form1.SubCat, 'Physical Medicine & Rehabilitation', '物理療法＆リハビリテーション', '');
	addOption(document.form1.SubCat, 'Psychiatry', '精神神経科', '');
	addOption(document.form1.SubCat, 'Radiology - Abdominal', '放射線科 - 腹部', '');
	addOption(document.form1.SubCat, 'Radiology - Cardiac', '放射線科 - 心臓', '');
	addOption(document.form1.SubCat, 'Radiology - General', '放射線科 - 一般', '');
	addOption(document.form1.SubCat, 'Radiology - Musculoskeletal', '放射線科 - 筋骨格', '');
	addOption(document.form1.SubCat, 'Radiology - Neurologic', '放射線科 - 神経学', '');
	addOption(document.form1.SubCat, 'Radiology - Nuclear Medicine', '放射線科 - 核医学', '');
	addOption(document.form1.SubCat, 'Radiology - Pediatrics', '放射線科 - 小児科', '');
	addOption(document.form1.SubCat, 'Radiology - Thoracic', '放射線科 - 胸部', '');
	addOption(document.form1.SubCat, 'Rheumatology', 'リウマチ学', '');
	addOption(document.form1.SubCat, 'Surgery', '外科', '');
	addOption(document.form1.SubCat, 'Neurosurgery', '脳神経外科', '');
	addOption(document.form1.SubCat, 'Plastic Surgery', '形成外科', '');
	addOption(document.form1.SubCat, 'Surgery - Cardiac', '外科 - 心臓', '');
	addOption(document.form1.SubCat, 'Surgery - Colon/Rectal', '外科 - 大腸/直腸', '');
	addOption(document.form1.SubCat, 'Surgery - General', '外科 - 一般', '');
	addOption(document.form1.SubCat, 'Surgery - Other', '外科 - その他', '');
	addOption(document.form1.SubCat, 'Surgery - Vascular', '外科 - 血管', '');
	addOption(document.form1.SubCat, 'Urology', '泌尿器科', '');
	addOption(document.form1.SubCat, 'Others', 'その他　', '');

}

if(document.form1.Category.value == 'Researcher/Scientist'){
	addOption(document.form1.SubCat, 'Automated Biology/HTS', '自動生物学/HTS', '');
	addOption(document.form1.SubCat, 'Automated Chemistry', '自動化学', '');
	addOption(document.form1.SubCat, 'Clinical Automation', '臨床自動化', '');
	addOption(document.form1.SubCat, 'Forensic Medicine', '法医学', '');
	addOption(document.form1.SubCat, 'Genetics', '遺伝学', '');
	addOption(document.form1.SubCat, 'Lab Director ', '研究所長', '');
	addOption(document.form1.SubCat, 'Lab Technician ', '研究所技術者', '');
	addOption(document.form1.SubCat, 'Laboratory Medicine', '臨床検査', '');
	addOption(document.form1.SubCat, 'Paraoptometric Assistant/Technician', '視機能補助/技師', '');
	addOption(document.form1.SubCat, 'Pharmocology', '薬理学', '');
	addOption(document.form1.SubCat, 'Public Health', '公衆衛生', '');
	addOption(document.form1.SubCat, 'Scientist', '科学者', '');
	addOption(document.form1.SubCat, 'Others', 'その他', '');
}

if(document.form1.Category.value == 'Resident'){
	addOption(document.form1.SubCat, 'Anesthesiology', '麻酔学', '');
	addOption(document.form1.SubCat, 'Dentistry', '歯科', '');
	addOption(document.form1.SubCat, 'Dermatology', '皮膚科', '');
	addOption(document.form1.SubCat, 'Emergency Medicine', '救急医療', '');
	addOption(document.form1.SubCat, 'Family Medicine', '家庭医学', '');
	addOption(document.form1.SubCat, 'Internal Medicine', '内科', '');
	addOption(document.form1.SubCat, 'Medical Genetics', '遺伝医学', '');
	addOption(document.form1.SubCat, 'Neurology', '神経内科', '');
	addOption(document.form1.SubCat, 'Neurosurgery', '脳神経外科', '');
	addOption(document.form1.SubCat, 'Nuclear Medicine', '核医学', '');
	addOption(document.form1.SubCat, 'Obstetrics/Gynecology', '産婦人科', '');
	addOption(document.form1.SubCat, 'Ophthalmology', '眼科', '');
	addOption(document.form1.SubCat, 'Orthopedic Surgery', '整形外科', '');
	addOption(document.form1.SubCat, 'Otolaryngology', '耳鼻咽喉科', '');
	addOption(document.form1.SubCat, 'Pathology', '病理学', '');
	addOption(document.form1.SubCat, 'Pediatrics', '小児科', '');
	addOption(document.form1.SubCat, 'Physical Medicine & Rehabilitation', '物理療法＆リハビリテーション', '');
	addOption(document.form1.SubCat, 'Plastic Surgery', '形成外科', '');
	addOption(document.form1.SubCat, 'Preventive Medicine', '予防医学', '');
	addOption(document.form1.SubCat, 'Psychiatry', '精神医学', '');
	addOption(document.form1.SubCat, 'Radiation Oncology', '放射線腫瘍学', '');
	addOption(document.form1.SubCat, 'Radiology - Diagnostic', '放射線科 - 診断', '');
	addOption(document.form1.SubCat, 'Surgery - General', '外科 - 一般', '');
	addOption(document.form1.SubCat, 'Urology', '泌尿器科', '');
	addOption(document.form1.SubCat, 'Veterinary', '獣医', '');
	addOption(document.form1.SubCat, 'Others', 'その他', '');

}

if(document.form1.Category.value == 'Student'){
	addOption(document.form1.SubCat, 'Chiropractic', 'カイロプラクティック', '');
	addOption(document.form1.SubCat, 'Complementary Medicine', '補完医学', '');
	addOption(document.form1.SubCat, 'Dentistry', '歯科', '');
	addOption(document.form1.SubCat, 'EMT-Paramedic', '救急救命士', '');
	addOption(document.form1.SubCat, 'Enrolled Nursing ', '登録看護師', '');
	addOption(document.form1.SubCat, 'Medical', '医学', '');
	addOption(document.form1.SubCat, 'Nursing - LPN/LVN', '看護師 - LPN/LVN', '');
	addOption(document.form1.SubCat, 'Nursing - RN', '看護師 - RN', '');
	addOption(document.form1.SubCat, 'Nutrition', '栄養士', '');
	addOption(document.form1.SubCat, 'Occupational Therapy', '作業療法', '');
	addOption(document.form1.SubCat, 'Optometry', '検眼', '');
	addOption(document.form1.SubCat, 'Pharmacy ', '薬学', '');
	addOption(document.form1.SubCat, 'Physiotherapy', '理学療法', '');
	addOption(document.form1.SubCat, 'Radiology/Imaging Technology', '放射線医学/造影技術', '');
	addOption(document.form1.SubCat, 'Speech Pathology/Therapy', '言語病理学/療法', '');
	addOption(document.form1.SubCat, 'Sports Medicine', 'スポーツ医学', '');
	addOption(document.form1.SubCat, 'Veterinary', '獣医学', '');
	addOption(document.form1.SubCat, 'Others', 'その他', '');


}

if(document.form1.Category.value == 'Veterinarian'){
	addOption(document.form1.SubCat, 'Veterinary - Equine', '獣医 - 馬科', '');
	addOption(document.form1.SubCat, 'Veterinary - Exotic', '獣医 - 外来', '');
	addOption(document.form1.SubCat, 'Veterinary - Large Animal', '獣医 - 大動物', '');
	addOption(document.form1.SubCat, 'Veterinary - Mixed Practice', '獣医 - 複合', '');
	addOption(document.form1.SubCat, 'Veterinary - Small Animal', '獣医 - 小動物', '');
	addOption(document.form1.SubCat, 'Veterinary Technician', '獣医学技術者', '');
	addOption(document.form1.SubCat, 'Veterinary Nurse', '獣医学看護士', '');
	addOption(document.form1.SubCat, 'Others', 'その他', '');
}

}


////////////////// 

function removeAllOptions(selectbox)
{
	var i;
	for(i=selectbox.options.length-1;i>=0;i--)
	{
		//selectbox.options.remove(i);
		selectbox.remove(i);
	}
}


function addOption(selectbox, value, text )
{
	var optn = document.createElement("OPTION");
	optn.text = text;
	optn.value = value;

	selectbox.options.add(optn);
}

