function newWindow(url)
{
    var new_window;
    var windowProperties;
    windowProperties = "width=700,height=600,top=30,left=230,toolbar=0,menubar=0,resizable=1,scrollbars=yes";
    if(new_window==null) {
       new_window = window.open(url,null,windowProperties);
    } else {
       new_window.document.replace(url);
    }
}

	
	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better.. 
	// but you can experiment with effect on loadtime.
	if (mcDropDown.isSupported()) {		    

		//==================================================================================================
		// create a set of dropdowns
		//==================================================================================================
		// the first param should always be down, as it is here
		//
		// The second and third param are the top and left offset positions of the menus from their actuators
		// respectively. To make a menu appear a little to the left and bottom of an actuator, you could use
		// something like -5, 5
		//
		// The last parameter can be .topLeft, .bottomLeft, .topRight, or .bottomRight to inidicate the corner
		// of the actuator from which to measure the offset positions above. Here we are saying we want the 
		// menu to appear directly below the bottom left corner of the actuator
		//==================================================================================================
		var mcmc = new mcDropDownSet(mcDropDown.direction.down, 0, 0, mcDropDown.reference.bottomLeft);

		//==================================================================================================
		// create a dropdown menu : Solutions
		//==================================================================================================
		// the first parameter should be the HTML element which will act actuator for the menu
		//==================================================================================================
		
		// menu : Corporate profile
		var menu1 = mcmc.addMenu(document.getElementById("menu1"));		
		menu1.addItem ("About Us","/company/About_us.htm");
		menu1.addItem("Management and Board of Directors", "/company/mgmt_bod.htm");
		menu1.addItem("Scientific Advisory Board", "/company/sab.htm");		
		menu1.addItem("Thoracic Cancer Advisory Board", "/company/tcab.htm");		
		menu1.addItem("Business Policy Committee", "/company/bpc.htm");								
		//var subMenu1 = menu1.addMenu(menu1.items[1]);			

		// menu : Business Strategy
		var menu2 = mcmc.addMenu(document.getElementById("menu2"));
		menu2.addItem ("Therapeutic Areas","/biz_stgy/therap_areas.htm");
		menu2.addItem ("Clinical Development","/biz_stgy/clinical_development.htm");
		menu2.addItem ("Commercial","/biz_stgy/commercial.htm");
				
		// menu : Technology platform
		var menu3 = mcmc.addMenu(document.getElementById("menu3"));
		menu3.addItem("Background", "/tech_platform/background.htm");		
		menu3.addItem("Publications", "/tech_platform/publications.htm");
		
		// menu : Pipeline
		var menu4 = mcmc.addMenu(document.getElementById("menu4"));		
		menu4.addItem ("Product Pipeline","/pipeline/pipeline.htm");
		
		// menu: Products
		var menu5 = mcmc.addMenu(document.getElementById("menu5"));		
		menu5.addItem ("Onconase","");
		var subMenu5=menu5.addMenu (menu5.items[0]);
		subMenu5.addItem ("Clinical Results","/products/onconase_clinical_results.htm");
		subMenu5.addItem ("Profile","/products/onconase_profile.htm");
		
		// menu: Investor Relations
		var menu6 = mcmc.addMenu(document.getElementById("menu6"));		
		menu6.addItem ("Corporate Profile","http://www.ir-site.com/alfacell/corporate_profile.html");
		menu6.addItem ("Governance","http://www.ir-site.com/alfacell/corporate_governance.html");
		menu6.addItem ("Committee Charting","http://www.ir-site.com/alfacell/committee_charting.html");
		menu6.addItem ("Stock Information","http://www.ir-site.com/alfacell/stock_information.html");
		menu6.addItem ("Market Makers","http://www.ir-site.com/alfacell/market_makers.html");
		menu6.addItem ("Press Releases","http://www.ir-site.com/alfacell/press.html");		
		menu6.addItem ("SEC Filings","http://www.ir-site.com/alfacell/secfilings.asp");		
		menu6.addItem ("Analyst Coverage","http://www.ir-site.com/alfacell/analyst_coverage.html");		
		menu6.addItem ("Event Calendar","http://www.ir-site.com/alfacell/event_calendar.html");
		menu6.addItem ("Past Events","http://www.ir-site.com/alfacell/past_events.html");	
		menu6.addItem ("Email Alerts","http://www.ir-site.com/alfacell/emailnotification.html");
		menu6.addItem ("Information Request","http://www.ir-site.com/alfacell/information_request.html");
		menu6.addItem ("FAQs","http://www.ir-site.com/alfacell/faq.html");
		menu6.addItem ("RSS Feed","http://www.ir-site.com/alfacell/rss.html");	
		
		// Clinical trials
		var menu7 = mcmc.addMenu(document.getElementById("menu7"));		
		menu7.addItem ("Malignant Mesothelioma Trial","/clinical_trials/mm_trials.htm");

		// contact
		var menu8 = mcmc.addMenu(document.getElementById("menu8"));
		menu8.addItem ("Contact Us","/contact.htm");
		
								
		
		//==================================================================================================
		// write drop downs into page
		//==================================================================================================
		// this method writes all the HTML for the menus into the page with document.write(). It must be
		// called within the body of the HTML page.
		//==================================================================================================
		mcDropDown.renderAll();				
	}
