// JavaScript Document

	/* Use this function to open new windows in a browser */
	
	function openNewWindow(URL,windowName,optionList) {
		/* Opens a new window based on following parameters
			URL: A full URL to the site or file you wish to open
			windowName: The name of the Window that JS assigns when creating
			optionList: (Optional)--list of options for the pop-up window
		*/
		optionListValue = optionList;
		// Assign a Default Set of Parameters if the optionList does not exist
		if ((optionListValue == '') || (optionList == null)) {
			optionListValue = 'scrollbars,location,menubar,toolbar,resizable,status,locationbar';
		}
		winOpener = window.open(URL,windowName,optionListValue);
		winOpener.focus();
	}
	
	function loadTopFrame(URL) {
		top.document.location = URL
	}
	
	function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

	function popupWindow(URL,windowName,optionList) {
		/* Opens a new window based on following parameters
			URL: A full URL to the site or file you wish to open
			windowName: The name of the Window that JS assigns when creating
			optionList: (Optional)--list of options for the pop-up window
		*/
		optionListValue = optionList;
		// Assign a Default Set of Parameters if the optionList does not exist
		if ((optionListValue == '') || (optionList == null)) {
			optionListValue = 'height=300,width=270,scrollbars,location=no,menubar,toolbar=no,resizable=no,status=no,locationbar=no';
		}
		winOpener = window.open(URL,windowName,optionListValue);
		winOpener.focus();
	}
	
	function loadTopFrame(URL) {
		top.document.location = URL
	}
	
	function openQuickLink(u1) {
	if (confirm("EXIT...\n\n You have selected a hyperlink to an external web site. Sepracor Inc. does not maintain or provide information to this web site.   This hyperlink to this web site is not an endorsement or affirmation of the information provided by the web site. Sepracor Inc makes no representation or warranties with respect to the information contained therein and takes no responsibility for supplementing, updating or correcting any such information."))
	{
			window.location.href = "http://www.sepracorjobs.com";
	}
}

	function openKellyLink(u1) {
	if (confirm("EXIT...\n\n You have selected a hyperlink to an external web site. Sepracor Inc. does not maintain or provide information to this web site.   This hyperlink to this web site is not an endorsement or affirmation of the information provided by the web site. Sepracor Inc makes no representation or warranties with respect to the information contained therein and takes no responsibility for supplementing, updating or correcting any such information."))
	{
			window.location.href = "http://www.kellyservices.com";
	}
}

	function openBrovanaLink(u1) {
	if (confirm("Please note that this product is not yet commercially available. Sepracor is targeting completion of launch preparations and introduction of BROVANA(TM) (arformoterol tartrate) Inhalation Solution during the second quarter of 2007."))
	{
			window.location.href = "http://www.sepracor.com/BrovanaApprovedLabelingText.pdf";
	}
}

	function openLunestaLink(u1) {
	if (confirm("Please note that this product is not yet commercially available. Sepracor expects to commercially introduce LUNESTA(TM) brand eszopiclone immediately upon formal classification of LUNESTA as a Schedule IV controlled substance."))
	{
			window.location.href = "http://www.lunesta.com/PostedApprovedLabelingText.pdf";
	}
}
	function openXopenexLink(u1) {
	if (confirm("Please note that this product is not yet commercially available. Sepracor is targeting commercial availability for XOPENEX HFA(TM) Inhalation Aerosol MDI for around the end of 2005."))
	{
			window.location.href = "http://www.sepracor.com/XopenexHFAFinalApprovedLabelingText.pdf";
	}
}

function openCodeOfConduct(u1) {
	if (confirm("On December 10, 2008, the Board of Directors of the Company approved a Code of Conduct and Ethics, which covers all employees and directors of the Company. The new Code of Conduct and Ethics encompasses and supersedes the Code of Conduct and Ethics previously adopted by the Board of Directors on March 10, 2004 and now includes, among other things, adherence to the Pharmaceutical Research Manufacturers Association (PhRMA) Code on Interactions with Healthcare Professionals (July 1, 2002, rev. July 10, 2008)."))
	{
			window.open("http://www.sepracor.com/aboutSepracor/Code-of-Conduct.pdf");
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openPressLink(u1) {
	if (confirm("Based on the results of a review of our stock option granting practices, we have concluded that we must restate our financial statements for the quarters ended March 31, June 30 and September 30, 2005, the quarter ended March 31, 2006 and the fiscal years ended December 31, 2005, 2004 and 2003, as well as revise the financial information contained in our earnings release for the period ended June 30, 2006.  Accordingly, you should not rely on any financial statements or other financial information provided on this website."))
	{
			window.location.href = "http://www.sepracor.com/press/index.html";
	}
}

function openPresentationsLink(u1) {
	if (confirm("Based on the results of a review of our stock option granting practices, we have concluded that we must restate our financial statements for the quarters ended March 31, June 30 and September 30, 2005, the quarter ended March 31, 2006 and the fiscal years ended December 31, 2005, 2004 and 2003, as well as revise the financial information contained in our earnings release for the period ended June 30, 2006.  Accordingly, you should not rely on any financial statements or other financial information provided on this website."))
	{
			window.location.href = "http://www.sepracor.com/press/presentations.html";
	}
}

function popup(mylink, windowname)
{
	if (! window.focus)return true;
	var href;
	if (typeof(mylink) == 'string')
	href=mylink;
	else
	href=mylink.href;
	window.open(href,null,
    			"height=250,width=400,status=yes,toolbar=no,menubar=no,location=no");
	return false;
}

function targetopener(mylink, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mylink.href;
if (closeme)window.close();
return false;
}


	function openCareersLink(u1) {
	if (confirm("EXIT...\n\n You have selected a hyperlink to an external web site. Sepracor Inc. does not maintain or provide information to this web site.   This hyperlink to this web site is not an endorsement or affirmation of the information provided by the web site. Sepracor Inc makes no representation or warranties with respect to the information contained therein and takes no responsibility for supplementing, updating or correcting any such information."))
	{
			window.location.href = "https://sjobs.brassring.com/1033/ASP/TG/cim_home.asp?partnerid=20091&siteid=5097";
	}
}

	function openFieldCareersLink(u1) {
	if (confirm("EXIT...\n\n You have selected a hyperlink to an external web site. Sepracor Inc. does not maintain or provide information to this web site.   This hyperlink to this web site is not an endorsement or affirmation of the information provided by the web site. Sepracor Inc makes no representation or warranties with respect to the information contained therein and takes no responsibility for supplementing, updating or correcting any such information."))
	{
			window.location.href = "http://jobs-sepracor.icims.com/sepracor_jobs/jobs/candidate/intro.jsp";
	}
}
	
	

function newWin()
{msgWindow=window.open("http://www.maddash.net/videos/sepracor","OpenWindow","width=640,height=480,scrollbars=no"); } 

	
	
//-->
