// JavaScript Document
// Safari work around for input field
// by Bradford A. McEvilly

var str = navigator.userAgent;

var result = str.search(/Safari/i);
/*
function _gaShellTracker() {
	this._initData = function () {};
	this._trackPageview = function (){};
}
var pageTracker = new _gaShellTracker();
*/

function hideSafari(){
	if(result > -1){
	$('searchText').style.background = "none";
	$('searchText').innerHTML = "<input type=\"text\" size=\"\" name=\"keyword\" maxlength=\"\" class=\"bg_none\" style=\"width:95px; border: solid 1px #666666;\">";
}
}

function safariForm(){
	//alert(result);
	if(result > -1){
		document.write ("<style> .inputField { background: none; }");
		document.write (".input_bg { width: 210px; border: solid 1px #666666;}</style>");
	}
}


/* Hide the submenu, wherever it may be */
function hide_sub_menu()
{
    arr = $$('a.hover');
    arr.each(function(item){
        Element.removeClassName(item, 'hover');
    });
    
    $('submenu-sub').hide();
    $('submenu-content').innerHTML = '';
    Element.setStyle($('submenu-content'), { width: 'auto' });
}

/* Show a main menu's sub menu */
function show_sub_menu(menu_item, event)
{
    // Set the innerHTML
    $('submenu-content').innerHTML = $(menu_item.id + '-sub').innerHTML;
    
    // Show love to the child elements so they
    // don't hide our menu
    Element.childElements($('submenu-sub')).each(function(){
        $('submenu-sub').show();
    });

    // Absolutely position the sub-menu
    Element.absolutize($('submenu-sub'));

    // We want the width of the sub-subs
    var sub_width = Element.getWidth($('submenu-left')) +
        Element.getWidth($('submenu-content')) + 
        Element.getWidth($('submenu-right'));
    
    // Determine the min width our sub should be without looking ugly
    var min_width = Element.getWidth(menu_item) + 15;
    
    // Adjust if it needs to be widened
    if (sub_width < min_width)
    {
        var extra_width = min_width - sub_width;
        var final_content_width = Element.getWidth('submenu-content') + extra_width;
        
        // We are interested in the difference only
        Element.setStyle($('submenu-content'), {
           width: final_content_width + 'px' 
        });
    }

    // Recalc
    sub_width = Element.getWidth($('submenu-left')) +
        Element.getWidth($('submenu-content')) + 
        Element.getWidth($('submenu-right'));

    // For IE
    Element.setStyle($('submenu-sub'), { width: (sub_width + 2) + 'px' });        
    
    // Where to start
    var pos = Element.cumulativeOffset(menu_item)[0];

    // Complicated positioning that works on all browsers.  Finally.
    if (pos + Element.getWidth($('submenu-sub')) > (Element.cumulativeOffset($('right'))[0] + Element.getWidth($('right'))))
    {
        pos = Element.cumulativeOffset($('right'))[0] + Element.getWidth($('right')) - Element.getWidth($('submenu-sub'));
        
        if (Prototype.Browser.WebKit)
            pos = pos + 4;
        else
            pos = pos + 3
    }
    else
        pos = pos - 1;
        
    // Do this once
    Element.setStyle($('submenu-sub'), {
       left: pos + 'px'
    });    
}






var glsArray = new Array();
glsArray[0] = new Array("Adenocarcinoma","Adenocarcinoma","(A-den-oh-KAR-sih-NOH-muh)-Cancer that starts in the cells of the lining in some internal organs.")

glsArray[1] = new Array("Anemia","Anemia","(a-NEE-mee-a)-A condition characterized by an unusually low number of red blood cells.")

glsArray[2] = new Array("Angiography","Angiography","(an-jee-AH-gruh-fee)-X-ray study of the blood vessels using a dye injection.")

glsArray[3] = new Array("Antigen","Antigen","(an-ti-gen)-Substance found in the immune system that causes certain immune responses.")


glsArray[4] = new Array("Bacteria","Bacteria","(bak-TEER-ee-uh)-A group of single-cell microorganisms that may cause disease or infection.")

glsArray[5] = new Array("Benign","Benign","(beh-NINE)-Non-cancerous. Benign tumors do not spread, but may grow larger.")

glsArray[6] = new Array("Biotherapy","Biotherapy","(BY-oh-LAH-jih-kul- THAYR-uh-pee)-Treatment that helps the body's immune system to fight cancer or relieve side effects. Also known as immunotherapy, biological response modifier therapy, and BRM therapy.")

glsArray[7] = new Array("Biopsy","Biopsy","(BY-op-see)-A procedure where cells or tissues are removed from the body and studied with a microscope by a pathologist.")

glsArray[8] = new Array("Bone marrow","Bone marrow","(bone MAYR-oh)-Spongy tissue found in the center of most bones that produces blood cells and platelets.")

glsArray[9] = new Array("Bone scan","Bone scan","-Images of bones displayed on a computer screen or film. Radioactive material is injected into a blood vessel, captured by the bones, and read by a scanner.")

glsArray[10] = new Array("Bronchoscopy","Bronchoscopy","(bron-KOS-koh-pee)-Examination of the trachea, air passages leading to the lungs, and lungs with a thin, tubular instrument that lights and magnifies the viewing area.")


glsArray[11] = new Array("Cancer","Cancer","-A word used to describe diseases in which abnormal cells divide without control. Cancer cells may invade nearby tissues and can spread to other parts of the body through the blood and lymphatic systems.")

glsArray[12] = new Array("CBC test","CBC test","-Complete blood count test. A sample of blood is taken to observe the number of red blood cells, white blood cells, and platelets. Also known as a blood cell count test.")

glsArray[13] = new Array("Cerebrospinal fluid","Cerebrospinal fluid","(she-REE-broh-SPY-nul...)-Fluid made by brain tissue found in the hollow spaces of the brain, spinal cord, and surrounding tissue. Also known as CSF.")

glsArray[14] = new Array("Cervix","Cervix","(SER-viks)-Canal formed between the uterus and vagina.")

glsArray[15] = new Array("Chemotherapy","Chemotherapy","(KEE-moh-THAYR-uh-pee)-Drugs used as treatment to kill cancer cells.")

glsArray[16] = new Array("Cirrhosis","Cirrhosis","(sur-OH-sis)-Chronic liver disease that replaces liver cells with scar tissue.")

glsArray[17] = new Array("Colposcopy","Colposcopy","(kol-POSS-koh-pee)-Examination of the cervix and vagina using a colposcope, which lights and magnifies the viewing area.")

glsArray[18] = new Array("Computed tomography scan","Computed tomography scan","(kum-PYOO-ted toh-MAH-gruh-fee skan)-Examination inside the body using a series of detailed pictures taken from different angles. Also known as CAT scan, CT scan, and computerized axial tomography scan.")

glsArray[19] = new Array("Cystoscopy","Cystoscopy","(siss-TOSS-koh-pee)-Study of the bladder and urethra using a thin, tube-like light and lens called a cytoscope.")

glsArray[20] = new Array("DNA","DNA","-Deoxyribonucleic acid, or the molecules of cells that contain information about the genes which are carried on to each generation.")

glsArray[21] = new Array("Endocrine","Endocrine","(EN-doh-krin)-Tissue that produces hormones that help other cells or organs function. This tissue can be found in the pituitary, thyroid, and adrenal glands.")

glsArray[22] = new Array("Endometrial","Endometrial","(EN-doh-MEE-tree-ul)-Refers to the tissue lining the uterus.");

glsArray[23] = new Array("Endoscopy","Endoscopy","(en-DOSS-koh-pee)-Examination of the inside of the body with an endoscope, which lights and magnifies the viewing area.");

glsArray[24] = new Array("ERCP","ERCP","-Endoscopic retrograde cholangiopancreatography. Examination with an endoscope of the pancreatic duct, bile duct, duodenal papilla, and gallbladder.");

glsArray[25] = new Array("Estrogen","Estrogen","(ES-truh-jin)-Hormone that produces female sex characteristics, sometimes used to treat menopausal symptoms or osteoporosis and other conditions.");

glsArray[26] = new Array("G-CSF-Granulocyte colony","G-CSF-Granulocyte colony","-stimulating factor. Stimulates the production of certain white blood cells called neutrophils.");

glsArray[27] = new Array("Gallium scan","Gallium scan","-Examination used to find cancer cells or inflammation using a small amount of radioactive gallium injected into the vein and read by a scanner.");

glsArray[28] = new Array("Gamma Irradiation","Gamma Irradiation","- High energy radiation used for therapy.");

glsArray[29] = new Array("GI","GI","-Gastrointestinal, referring to intestines and stomach.");

glsArray[30] = new Array("Hemoglobin","Hemoglobin","(HEE-moh-GLOH-bin)-Material in red blood cells that carries oxygen from lungs to tissues.");

glsArray[31] = new Array("Hepatocellular carcinoma","Hepatocellular carcinoma","(HEP-a-toe-SEL-yoo-ler KAR-sih-NOH-muh)- Most common type of liver tumor, a type of adenocarcinoma.");

glsArray[32] = new Array("Hormonal therapy","Hormonal therapy","(hor-MOH-nul THAYR-uh-pee)-Treatment to change hormone levels in the body, sometimes using surgery to remove glands that make hormones. Also known as hormone treatment or endocrine therapy.");

glsArray[33] = new Array("Human papilloma virus (HPV)","Human papilloma virus (HPV)","(HYOO-mun PA-pih-LOH-muh-VY-rus)-Family of viruses that causes tissues or cells to grow abnormally, some of which increase the risk of developing cervical cancer.");

glsArray[34] = new Array("Immunotherapy","Immunotherapy","(IH-myoo-noh-THAYR-uh-pee)-Treatment that helps the body's immune system to fight cancer or relieve side effects. Also known as biological therapy, biotherapy, biological response modifier therapy, and BRM therapy.");

glsArray[35] = new Array("Intravenous pyelography ","Intravenous pyelography ","(IN-truh-VEE-nus py-uh-LAH-gruh-fee)-X-ray study of the bladder, kidneys, and ureters using a dye injected into a blood vessel. Also known as IVP.IV-Intravenous. A process of delivering a liquid or material into a vein.");

glsArray[36] = new Array("Jaundice","Jaundice","(JAWN-dis)-Liver or bile duct disorder that causes skin and the whites of the eyes to turn yellow.");

glsArray[37] = new Array("Laparoscopy","Laparoscopy","(LA-puh-ROS-koh-pee)-Examination of the inside of the abdomen with a thin, tubular instrument that lights and magnifies the viewing area.");

glsArray[38] = new Array("Leukemia","Leukemia","(loo-KEE-mee-uh)-Cancer originating in tissues that forms blood and produces high numbers of blood cells.");

glsArray[39] = new Array("Libido","Libido","(lih-BEE-doh)-The desire for sex.");

glsArray[40] = new Array("Lumpectomy","Lumpectomy","Lumpectomy (lum-PEK-toh-mee)-Surgical removal of a tumor and a small sample of surrounding normal tissue.");

glsArray[41] = new Array("Lymph node","Lymph node ","(limf node)-The rounded mass of lymphatic tissue surrounded by a capsule of connective tissue. Lymph nodes filter lymph, or lymphatic fluid, and they store white blood cells. Also called lymph gland.");

glsArray[42] = new Array("Lymph node dissection","Lymph node dissection","(limf node dis-EK-shun)-Surgical removal of the lymph nodes, either regional (removing some) or radical (removing most or all).");

glsArray[43] = new Array("Lymphoma","Lymphoma","(lim-FOH-muh)-Cancer in the cells of the immune system, either known as Hodgkin or Non-Hodgkin Lymphomas.");

glsArray[44] = new Array("Magnetic resonance imaging (MRI)","Magnetic resonance imaging (MRI)","-Procedure using a powerful magnet and radio waves to create detailed images of organs and tissue.");

glsArray[45] = new Array("Malignant","Malignant","(muh-LIG-nunt)-Cancerous. Malignant tumors may spread and invade surrounding tissues.");

glsArray[46] = new Array("Mammogram","Mammogram","(MAM-o-gram)-Study of breast tissue using an X-ray.");

glsArray[47] = new Array("Mastectomy","Mastectomy","(ma-STEK-toh-mee)-Surgical removal of the breast or largest amount of breast tissue possible.");

glsArray[48] = new Array("Melanoma","Melanoma","(MEH-luh-NOH-muh)-Skin cancer starting in the cells that produce melanin, most often within moles.");

glsArray[49] = new Array("Metastasis","Metastasis","(meh-TAS-tuh-sis)-The spread of cancer from one part of the body to another. A tumor formed by cells that have spread is called a metastatic tumor or a metastasis.");

glsArray[50] = new Array("Microorganism","Microorganism","(MY-kroh-OR-guh-ni-sum)-Individual life form that can be viewed only with a microscope, including algae, bacteria, fungi, protozoa, and certain viruses.");

glsArray[51] = new Array("Myeloma","Myeloma","(MY-eh-LOH-muh)-Cancer found in plasma cells.");

glsArray[52] = new Array("Needle biopsy","Needle biopsy","-Tissue or fluid removal using a needle. Also known as fine-needle aspiration.");

glsArray[53] = new Array("Nutritionist","Nutritionist","-Healthcare professional with training in nutrition who may help with dietary concerns.");

glsArray[54] = new Array("Oncologist","Oncologist","(on-KAH-loh-jist)-A doctor who specializes in cancer treatment.");

glsArray[55] = new Array("Oncology nurse","Oncology nurse","(on-KAH-loh-jee...)-A nurse who specializes in caring for cancer patients.");

glsArray[56] = new Array("Ovaries","Ovaries","(OH-vuh-rees)- Female reproductive glands that form eggs, located on both sides of the uterus.");

glsArray[57] = new Array("Palliative therapy","Palliative therapy","(PA-lee-uh-tiv...)-Treatment to lessen suffering and relieve symptoms of cancer.");

glsArray[58] = new Array("Pancreas","Pancreas","(PAN-cree-us)-Organ in the abdomen that makes insulin and contains enzymes which help with digestion.");

glsArray[59] = new Array("Pap test","Pap test","-Screening to detect cancer by removing cells from the cervix and viewing under a microscope. Also known as a Pap smear.");

glsArray[60] = new Array("Pathologist","Pathologist","(puh-THAH-loh-jist)-A doctor who identifies and studies diseases by looking at tissues and cells through a microscope.");

glsArray[61] = new Array("PET scan","PET scan","-Positron emission tomography scan. Injection of radioactive glucose (sugar) into a vein, where a scanner makes images of how the body and potential cancer cells use the glucose.");

glsArray[62] = new Array("Photodynamic therapy","Photodynamic therapy","(FOH-toh-dy-NA-mik THAYR-uh-pee)-Cancer treatment that uses drugs activated by light exposure to kill cancer cells.");

glsArray[63] = new Array("Plasma","Plasma","(PLAZ-muh)-Clear, yellowish fluid in blood that carries blood cells and proteins.");

glsArray[64] = new Array("Platelet","Platelet","(PLATE-let)-Blood cell that helps form blood clots and stop bleeding. Also known as thrombocyte.");

glsArray[65] = new Array("Proctoscopy","Proctoscopy","(prok-TOS-koh-pee)-Examination of the rectum with a proctoscope, which lights and magnifies the viewing area.");

glsArray[66] = new Array("Prostate","Prostate","(PROS-tayt)-Male reproductive system gland that produces part of the semen.");

glsArray[67] = new Array("Prostatectomy","Prostatectomy","(PROS-tuh-TEK-toh-mee)-Surgical removal of some or all of the prostate. Radical prostatectomy is total removal of the prostate plus surrounding tissue.");

glsArray[68] = new Array("Proton","Proton","(PRO-tawn)-A positively charged particle of matter within atoms of elements sometimes used for radiation treatment.");

glsArray[69] = new Array("Radiation Therapy","Radiation Therapy","(RAY-dee-AY-shun)-The use of high energy radiation to kill cancer cells or shrink tumors.");

glsArray[70] = new Array("Radiofrequency ablation","Radiofrequency ablation","(RAY-dee-oh-FREE-kwen-see uh-BLAY-shun)-Process that destroys abnormal tissue with electrodes.");

glsArray[71] = new Array("Remission","Remission","(ree-MISH-shun)-The decrease in or disappearance of signs and symptoms of cancer.");

glsArray[72] = new Array("Sarcoma","Sarcoma","(sar-KOH-muh)-Cancer found in the blood vessels, bone, cartilage, fat, muscle or other supporting tissue.");

glsArray[73] = new Array("Sonogram","Sonogram","(SAWN-o-gram)-High-energy sound waves that are bounced from tissues or organs and captured in a computer image.");

glsArray[74] = new Array("Sputum cytology","Sputum cytology","(SPYOO-tum sy-TAH-loh-jee)-Examination of the mucus and other matter produced from lungs to detect abnormal cells.");

glsArray[75] = new Array("Squamous cell carcinoma","Squamous cell carcinoma","(SKWAY-mus sel KAR-sih-NOH-muh)-Cancer which forms in the thin, flat cells found in skin tissue, the lining of hollow body organs, and the respiratory and digestive tract passages. Also known as epidermoid carcinoma.");

glsArray[76] = new Array("Stem cell","Stem cell","-A cell that develops into other cell types.");

glsArray[77] = new Array("Targeted therapy","Targeted therapy","(...THAYR-uh-pee)-Treatment that attacks cancer cells using drugs or other substances, avoiding normal cells.");

glsArray[78] = new Array("Testosterone","Testosterone","(tes-TOS-ter-own)-Hormone that produces male sex characteristics.");

glsArray[79] = new Array("Transplantation","Transplantation","-Procedure that replaces tissue with other tissue from the same body or another person's.");

glsArray[80] = new Array("Tumor","Tumor","(TOO-mer)-Mass of tissue made by cells that do not die when scheduled or divide abnormally. Also called neoplasm. Tumors may be benign (non-cancerous) or malignant (cancerous).");

glsArray[81] = new Array("Ultrasound","Ultrasound","(UL-truh-SOWND)-Procedure using high-energy sound waves bounced off organs or tissues to take pictures. Also known as ultrasonography.");

glsArray[82] = new Array("IV-Intravenous","IV-Intravenous","A process of delivering a liquid or material into a vein.");
function showglossary(glsVal){
	valToShow = '';
	for (var ii=0;ii<glsArray.length;ii++){
		if (glsVal.toLowerCase()==glsArray[ii][0].toLowerCase()){
			valToShow = "<b class='tooltipHeader'>"+glsArray[ii][1]+":</b><br>"+glsArray[ii][2];
			return overlib(valToShow);
		}
	}
}




















//*********************** TEXT SIZE CHANGES *****************************

var fontElementId = "adjustable"; //CHANGE ME TO YOUR ELEMENT ID

//DO NOT MODIFY BELOW

/* Module Change Font (string) */
function changeFont(fontClass){
setCookie("fontSize", fontClass, 5);
location.reload(true);

}		

/* Module Set Default Font Size (void) */
function setDefaultFontSize(){ 
	var fontSize = getCookie("fontSize")

	if(fontSize){
		document.write ("<link rel=\"stylesheet\" href=\"/cancer/css/text_styles_" + fontSize + ".css\" />");

	        
	}
	else
	{
		setCookie("fontSize", "small", 5);
		setDefaultFontSize();
	}
}

/* Module Set Cookie (string, string, int) -- http://www.w3schools.com/js/js_cookies.asp */
function setCookie(c_name,value,expiredays){
	var exdate=new Date();
	exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=c_name+ "=" +escape(value)+ ((expiredays==null) ? "" : ";expires="+exdate.toGMTString() ) + ";path=/";
}
/* Module Get Cookie (string) -- http://www.w3schools.com/js/js_cookies.asp */
function getCookie(c_name){
	if(document.cookie.length>0){
		c_start=document.cookie.indexOf(c_name + "=");
		if (c_start!=-1){ 
			c_start=c_start + c_name.length+1;
			c_end=document.cookie.indexOf(";",c_start);
			if (c_end==-1) c_end=document.cookie.length;
			return unescape(document.cookie.substring(c_start,c_end));
		}
	}
	return false;
}

function hideOption(cancerType) {
	var divObj;							
	var selObj  = document.getElementById("theCancerType");	
	for (var i=0; i<selObj.length; i++) {
		if(selObj.options[i].value == cancerType) {
			selObj.options[i]=null;
		}
	}
	
	if("bladderCancer" == cancerType){
		divObj = document.getElementById("blurb_bladderCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("brainCancer" == cancerType){
		divObj = document.getElementById("blurb_brainCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("breastCancer" == cancerType){
		divObj = document.getElementById("blurb_breastCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("cervicalCancer" == cancerType){
		divObj = document.getElementById("blurb_cervicalCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("colonCancer" == cancerType){
		divObj = document.getElementById("blurb_colonCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("esophagealCancer" == cancerType){
		divObj = document.getElementById("blurb_esophagealCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("stomachCancer" == cancerType){
		divObj = document.getElementById("blurb_stomachCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("headCancer" == cancerType){
		divObj = document.getElementById("blurb_headCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("kidneyCancer" == cancerType){
		divObj = document.getElementById("blurb_kidneyCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("leukemia" == cancerType){
		divObj = document.getElementById("blurb_leukemia");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("liverCancer" == cancerType){
		divObj = document.getElementById("blurb_liverCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("lungCancer" == cancerType){
		divObj = document.getElementById("blurb_lungCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("lymphoma" == cancerType){
		divObj = document.getElementById("blurb_lymphoma");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("multipleMyeloma" == cancerType){
		divObj = document.getElementById("blurb_multipleMyeloma");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("ovarianCancer" == cancerType){
		divObj = document.getElementById("blurb_ovarianCancer");	
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("pancreaticCancer" == cancerType){
		divObj = document.getElementById("blurb_pancreaticCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("prostateCancer" == cancerType){
		divObj = document.getElementById("blurb_prostateCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("skinCancer" == cancerType){
		divObj = document.getElementById("blurb_skinCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("softTissue" == cancerType){
		divObj = document.getElementById("blurb_softTissue");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("uterineCancer" == cancerType){
		divObj = document.getElementById("blurb_uterineCancer");	
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}

}

function showAdditionalResource(cancerType) {

	var divObj;
	if("bladderCancer" == cancerType){
		divObj = document.getElementById("addlres_bladderCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("brainCancer" == cancerType){
		divObj = document.getElementById("addlres_brainCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("breastCancer" == cancerType){
		divObj = document.getElementById("addlres_breastCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("cervicalCancer" == cancerType){
		divObj = document.getElementById("addlres_cervicalCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("colonCancer" == cancerType){
		divObj = document.getElementById("addlres_colonCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("esophagealCancer" == cancerType){
		divObj = document.getElementById("addlres_esophagealCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("stomachCancer" == cancerType){
		divObj = document.getElementById("addlres_stomachCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("headCancer" == cancerType){
		divObj = document.getElementById("addlres_headCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("kidneyCancer" == cancerType){
		divObj = document.getElementById("addlres_kidneyCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("leukemia" == cancerType){
		divObj = document.getElementById("addlres_leukemia");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("liverCancer" == cancerType){
		divObj = document.getElementById("addlres_liverCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("lungCancer" == cancerType){
		divObj = document.getElementById("addlres_lungCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("lymphoma" == cancerType){
		divObj = document.getElementById("addlres_lymphoma");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("multipleMyeloma" == cancerType){
		divObj = document.getElementById("addlres_multipleMyeloma");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("ovarianCancer" == cancerType){
		divObj = document.getElementById("addlres_ovarianCancer");	
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("pancreaticCancer" == cancerType){
		divObj = document.getElementById("addlres_pancreaticCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("prostateCancer" == cancerType){
		divObj = document.getElementById("addlres_prostateCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("skinCancer" == cancerType){
		divObj = document.getElementById("addlres_skinCancer");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("softTissue" == cancerType){
		divObj = document.getElementById("addlres_softTissue");
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
	if("uterineCancer" == cancerType){
		divObj = document.getElementById("addlres_uterineCancer");	
		divObj.style.visibility = 'visible';
		divObj.style.display = 'block';
	}
}

function goToPage(appURL) {
	var selObj  = document.getElementById("theCancerType");	
	var theSelValue = selObj.options[selObj.selectedIndex].value;
	if("bladderCancer" == theSelValue){
		document.location=appURL+"/bladder_cancer.html";
	}
	if("brainCancer" == theSelValue){
		document.location=appURL+"/brain_cancer.html";
	}
	if("breastCancer" == theSelValue){
		document.location=appURL+"/breast_cancer.html";
	}
	if("cervicalCancer" == theSelValue){
		document.location=appURL+"/cervical_cancer.html";
	}
	if("colonCancer" == theSelValue){
		document.location=appURL+"/colon_cancer.html";
	}
	if("esophagealCancer" == theSelValue){
		document.location=appURL+"/esophageal_cancer.html";
	}
	if("stomachCancer" == theSelValue){
		document.location=appURL+"/gastrointestinal_cancer.html";
	}
	if("headCancer" == theSelValue){
		document.location=appURL+"/headneck_cancer.html";
	}
	if("kidneyCancer" == theSelValue){
		document.location=appURL+"/kidney_cancer.html";
	}
	if("leukemia" == theSelValue){
		document.location=appURL+"/leukemia.html";
	}
	if("liverCancer" == theSelValue){
		document.location=appURL+"/liver_cancer.html";
	}
	if("lungCancer" == theSelValue){
		document.location=appURL+"/lung_cancer.html";
	}
	if("lymphoma" == theSelValue){
		document.location=appURL+"/lymphoma.html";
	}
	if("multipleMyeloma" == theSelValue){
		document.location=appURL+"/multiplemyeloma.html";
	}
	if("ovarianCancer" == theSelValue){
		document.location=appURL+"/ovarian_cancer.html";
	}
	if("pancreaticCancer" == theSelValue){
		document.location=appURL+"/pancreatic_cancer.html";
	}
	if("prostateCancer" == theSelValue){
		document.location=appURL+"/prostate_cancer.html";
	}
	if("skinCancer" == theSelValue){
		document.location=appURL+"/skin_cancer.html";
	}
	if("softTissue" == theSelValue){
		document.location=appURL+"/softtissuesarcoma.html";
	}
	if("uterineCancer" == theSelValue){
		document.location=appURL+"/uterine_cancer.html";
	}
	
}