// JavaScript Document


function extRedirecta(externalLink) 
{
	var answer = confirm("You are about to leave the SOMA250.com website and go to an independent website that is not owned or controlled by Meda Pharmaceuticals Inc. We are not responsible for the content of the website you are about to visit. Do you wish to continue?");
	if(answer == true)
	{
		window.open(externalLink);
	}
}

function adobeRedirecta() 
{
	var answer = confirm("You are about to leave the SOMA250.com website and go to an independent website that is not owned or controlled by Meda Pharmaceuticals Inc. We are not responsible for the content of the website you are about to visit. Do you wish to continue?  ");
	if(answer == true)
	{
		window.open("http://www.adobe.com/go/EN_US-H-GET-READER");
	}
}

function MedaRedirector()
{
	var copy = "You are about to leave the SOMA250.com website and go to the meda.us website. Meda Pharmaceuticals Inc. owns and maintains the SOMA250.com and meda.us websites. Do you wish to continue?";
	
	var answer = confirm(copy);
	if (answer == true)
	{
		window.open("http://www.meda.us");
	}
}

function hcpHomeRedirector() {

    var copy = "Do you certify that you are a licensed healthcare professional in the United States?\n\n";
        copy += "Press Cancel if you are a patient";
        var answer = confirm(copy);
        if (answer == true)
        {
            window.location = document.getElementById("goto_hcp_link").href;
			return true;
        }
}

function extRedirect(externalLink) {
	// generate DHTML popup	window with "Ok" and "Cancel" buttons.
	
	
	
	
	
}
