﻿var divTop;
var divLeft;
var countryDiv;
var m=0;
var mapLinks = new Array();
var firstLinks = 0;
var secondLinks = 0;
var lastLinks = 0;

function init() {

	theTitle = document.title;
	theTags = new RegExp('<(.|\n)+?>','gi');
	theTitle = theTitle.replace(theTags, '');
	document.title = theTitle;

	if(document.getElementById('content5panel')){
		childDiv = document.getElementById('content5panel').firstChild;
		child=0;
		while(childDiv.nodeType!=1) {
  			childDiv=childDiv.nextSibling;
			child++;
  		}
		theChildren = document.getElementById('content5panel').childNodes;
		chosenChild = theChildren[child];
		chosenChild.style.marginBottom = '30px';
	}else if(document.getElementById('content4panel')){
		childDiv = document.getElementById('content4panel').firstChild;
		child=0;
		while(childDiv.nodeType!=1) {
  			childDiv=childDiv.nextSibling;
			child++;
  		}
		theChildren = document.getElementById('content4panel').childNodes;
		chosenChild = theChildren[child];
		chosenChild.style.marginBottom = '30px';
	}

	theUrl = document.URL;

	if((theUrl == 'http://www.axcan.com/') || (theUrl == 'http://www.axcan.com/index.php?lang=1') || (theUrl == 'http://www.axcan.com/index.php?lang=2')){
		document.body.style.backgroundImage = 'url(images/home-bg.gif)';
		document.getElementById('right').style.paddingTop = '40px';
		document.getElementById('left').style.paddingTop = '40px';
		document.getElementById('content5panel').style.marginTop = '20px';
		document.getElementById('content5panel').style.paddingLeft = '20px';
		document.getElementById('content5panel').style.paddingRight = '20px';
		chosenChild.style.marginBottom = '0';
	}else{
		crumbBox = document.getElementById('headerCrumbtrail').innerHTML;

		corporateMatch = crumbBox.match('Corporate Profile');
		corporateMatch2 = crumbBox.match('Profil corporatif');
		eventsMatch = crumbBox.match('Events and Conferences');
		eventsMatch2 = crumbBox.match('Événements et conférences');
		productsMatch = crumbBox.match('Our Products');
		productsMatch2 = crumbBox.match('Nos produits');
		contactMatch = crumbBox.match('Contact Us');
		contactMatch2 = crumbBox.match('Contactez-nous');
		sitemapMatch = crumbBox.match('Site Map');
		sitemapMatch2 = crumbBox.match('Carte du site');
		aboutgastroMatch = crumbBox.match('About Gastroenterology');
		aboutgastroMatch2 = crumbBox.match('La gastro-entérologie');
        glossaryMatch = crumbBox.match('Glossary');
		glossaryMatch2 = crumbBox.match('Lexique');

		theDropdown = document.createElement('div');
		theDropdown.style.textAlign = 'center';
		theDropdown.innerHTML ='<form name="Allcountries" action="">' +
	    	'<select name="countries" onchange="countryRedirect(this.form.countries);" style="width:100%;">' +
			'<option value="">-- Select Country --</option>' +
			'<option value="us_products.php?lang=1">United States</option>' +
			'<option value="canada_products.php?lang=1">Canada</option>' +
			'<option value="france_products.php?lang=1">France</option>' +
			'<option value="argentina.php?lang=1">Argentina</option>' +
			'<option value="australia.php?lang=1">Australia</option>' +
			'<option value="austria.php?lang=1">Austria</option>' +
			'<option value="belgium.php?lang=1">Belgium</option>' +
			'<option value="benin.php?lang=1">Benin</option>' +
			'<option value="bolivia.php?lang=1">Bolivia</option>' +
			'<option value="brazil.php?lang=1">Brazil</option>' +
			'<option value="bulgaria.php?lang=1">Bulgaria</option>' +
			'<option value="burkina_faso.php?lang=1">Burkina Faso</option>' +
			'<option value="cameroon.php?lang=1">Cameroon</option>' +
			'<option value="chili.php?lang=1">Chili</option>' +
			'<option value="china.php?lang=1">China</option>' +
			'<option value="colombia.php?lang=1">Colombia</option>' +
			'<option value="congo.php?lang=1">Congo</option>' +
			'<option value="costa_rica.php?lang=1">Costa Rica</option>' +
			'<option value="czech_republic.php?lang=1">Czech Republic</option>' +
			'<option value="denmark.php?lang=1">Denmark</option>' +
			'<option value="dominican_republic.php?lang=1">Dominican Republic</option>' +
			'<option value="egypt.php?lang=1">Egypt</option>' +
			'<option value="el_salvador.php?lang=1">El Salvador</option>' +
			'<option value="equador.php?lang=1">Equador</option>' +
			'<option value="finland.php?lang=1">Finland</option>' +
			'<option value="gabon.php?lang=1">Gabon</option>' +
			'<option value="germany.php?lang=1">Germany</option>' +
			'<option value="greece.php?lang=1">Greece</option>' +
			'<option value="guatemala.php?lang=1">Guatemala</option>' +
			'<option value="honduras.php?lang=1">Honduras</option>' +
			'<option value="hong_kong.php?lang=1">Hong Kong</option>' +
			'<option value="hungary.php?lang=1">Hungary</option>' +
			'<option value="italy.php?lang=1">Italy</option>' +
			'<option value="japan.php?lang=1">Japan</option>' +
			'<option value="korea.php?lang=1">Korea</option>' +
			'<option value="luxembourg.php?lang=1">Luxembourg</option>' +
			'<option value="mauritania.php?lang=1">Mauritania</option>' +
			'<option value="mexico.php?lang=1">Mexico</option>' +
			'<option value="netherlands.php?lang=1">Netherlands</option>' +
			'<option value="nicaragua.php?lang=1">Nicaragua</option>' +
			'<option value="norway.php?lang=1">Norway</option>' +
			'<option value="panama.php?lang=1">Panama</option>' +
			'<option value="paraguay.php?lang=1">Paraguay</option>' +
			'<option value="peru.php?lang=1">Peru</option>' +
			'<option value="poland.php?lang=1">Poland</option>' +
			'<option value="portugal.php?lang=1">Portugal</option>' +
			'<option value="senegal.php?lang=1">Senegal</option>' +
			'<option value="singapore.php?lang=1">Singapore</option>' +
			'<option value="slovakia.php?lang=1">Slovakia</option>' +
			'<option value="slovenia.php?lang=1">Slovenia</option>' +
			'<option value="south_africa.php?lang=1">South Africa</option>' +
			'<option value="spain.php?lang=1">Spain</option>' +
			'<option value="switzerland.php?lang=1">Switzerland</option>' +
			'<option value="taiwan.php?lang=1">Taiwan</option>' +
			'<option value="togo.php?lang=1">Togo</option>' +
			'<option value="tunisia.php?lang=1">Tunisia</option>' +
			'<option value="turkey.php?lang=1">Turkey</option>' +
			'<option value="united_kingdom.php?lang=1">United Kingdom</option>' +
			'<option value="venezuela.php?lang=1">Venezuela</option>' +
			'<option value="vietnam.php?lang=1">Vietnam</option>' +
	    	'</select></form>';

		theDropdownFr = document.createElement('div');
		theDropdownFr.style.textAlign = 'center';
		theDropdownFr.innerHTML = '<form name="Allcountries" action="">' +
	    	'<select name="countries" onchange="countryRedirect(this.form.countries);" style="width:100%;">' +
			'<option value="">-- Choisir un pays --</option>' +
			'<option value="us_products.php?lang=2">États-Unis</option>' +
			'<option value="canada_products.php?lang=2">Canada</option>' +
			'<option value="france_products.php?lang=2">France</option>' +
			'<option value="argentina.php?lang=2">Argentine</option>' +
			'<option value="australia.php?lang=2">Australie</option>' +
			'<option value="austria.php?lang=2">Autriche</option>' +
			'<option value="belgium.php?lang=2">Belgique</option>' +
			'<option value="benin.php?lang=2">Bénin</option>' +
			'<option value="bolivia.php?lang=2">Bolivie</option>' +
			'<option value="brazil.php?lang=2">Brazil</option>' +
			'<option value="bulgaria.php?lang=2">Bulgarie</option>' +
			'<option value="burkina_faso.php?lang=2">Burkina Faso</option>' +
			'<option value="cameroon.php?lang=2">Cameroun</option>' +
			'<option value="chili.php?lang=2">Chili</option>' +
			'<option value="china.php?lang=2">Chine</option>' +
			'<option value="columbia.php?lang=2">Colombie</option>' +
			'<option value="congo.php?lang=2">Congo</option>' +
			'<option value="costa_rica.php?lang=2">Costa Rica</option>' +
			'<option value="czech_republic.php?lang=2">République tchèque</option>' +
			'<option value="dominican_republic.php?lang=2">République dominicaine</option>' +
			'<option value="egypt.php?lang=2">Égypte</option>' +
			'<option value="el_salvador.php?lang=2">Salvador</option>' +
			'<option value="equador.php?lang=2">Équateur</option>' +
			'<option value="finland.php?lang=2">Finlande</option>' +
			'<option value="gabon.php?lang=2">Gabon</option>' +
			'<option value="germany.php?lang=2">Allemagne</option>' +
			'<option value="greece.php?lang=2">Grèce</option>' +
			'<option value="guatemala.php?lang=2">Guatemala</option>' +
			'<option value="honduras.php?lang=2">Honduras</option>' +
			'<option value="hong_kong.php?lang=2">Hong Kong</option>' +
			'<option value="hungary.php?lang=2">Hongrie</option>' +
			'<option value="italy.php?lang=2">Italie</option>' +
			'<option value="japan.php?lang=2">Japon</option>' +
			'<option value="korea.php?lang=2">Corée</option>' +
			'<option value="luxembourg.php?lang=2">Luxembourg</option>' +
			'<option value="mauritania.php?lang=2">Mauritanie</option>' +
			'<option value="mexico.php?lang=2">Mexique</option>' +
			'<option value="netherlands.php?lang=2">Pays-Bas</option>' +
			'<option value="nicaragua.php?lang=2">Nicaragua</option>' +
			'<option value="norway.php?lang=2">Norvège</option>' +
			'<option value="panama.php?lang=2">Panamá</option>' +
			'<option value="paraguay.php?lang=2">Paraguay</option>' +
			'<option value="peru.php?lang=2">Pérou</option>' +
			'<option value="poland.php?lang=2">Pologne</option>' +
			'<option value="portugal.php?lang=2">Portugal</option>' +
			'<option value="senegal.php?lang=2">Sénégal</option>' +
			'<option value="singapore.php?lang=2">Singapour</option>' +
			'<option value="slovakia.php?lang=2">Slovaquie</option>' +
			'<option value="slovenia.php?lang=2">Slovénie</option>' +
			'<option value="south_africa.php?lang=2">Afrique du Sud</option>' +
			'<option value="spain.php?lang=2">Espagne</option>' +
			'<option value="switzerland.php?lang=2">Suisse</option>' +
			'<option value="taiwan.php?lang=2">Taiwan</option>' +
			'<option value="togo.php?lang=2">Togo</option>' +
			'<option value="tunisia.php?lang=2">Tunisie</option>' +
			'<option value="turkey.php?lang=2">Turquie</option>' +
			'<option value="united_kingdom.php?lang=2">Royaume-Uni</option>' +
			'<option value="venezuela.php?lang=2">Venezuela</option>' +
			'<option value="vietnam.php?lang=2">Viêt Nam</option>' +
	    	'</select></form>';


		theMenudiv = document.getElementById('menudiv');

		if((corporateMatch != null) || (corporateMatch2 != null)){
			document.getElementById('headerPic').src = 'images/header-corporate.gif';
		}
		if((eventsMatch != null) || (eventsMatch2 != null)){
			document.getElementById('headerPic').src = 'images/header-events.gif';
		}
		if(productsMatch != null){
			document.getElementById('left').insertBefore(theDropdown,theMenudiv);
			document.getElementById('headerPic').src = 'images/header-contact.gif';
		}
		if(productsMatch2 != null){
			document.getElementById('left').insertBefore(theDropdownFr,theMenudiv);
			document.getElementById('headerPic').src = 'images/header-contact.gif';
		}
		if((contactMatch != null) || (contactMatch2 != null)){
			document.getElementById('headerPic').src = 'images/header-contact.gif';
		}
		if((sitemapMatch != null) || (sitemapMatch2 != null)){
			document.getElementById('headerPic').src = 'images/header-sitemap.gif';
		}
        if((aboutgastroMatch != null) || (aboutgastroMatch2 != null)){
			document.getElementById('headerPic').src = 'images/header-contact.gif';
		}
        if((glossaryMatch != null) || (glossaryMatch2 != null)){
			document.getElementById('headerPic').src = 'images/header-glossary.gif';
		}

		if(theUrl.match('us_') != null){
			usUrl = document.URL;
			if(usUrl.match('lang=2') != null){
				usUrl = usUrl.split('?');
				usUrl = usUrl[0] + '?lang=1';
				window.location = usUrl;
			}
			usResidents = document.createElement('div');
			usResidents.style.textAlign = 'center';
			usResidents.style.marginLeft = '220px';
			usResidents.innerHTML = '<span class="caption">The information provided in this section is intended for United States residents only.</span>';
			bottomLogo = document.getElementById('footer').firstChild;
			document.getElementById('footer').insertBefore(usResidents,bottomLogo);
		}

	    if(theUrl.match('canada_') != null){
			canResidents = document.createElement('div');
			canResidents.style.textAlign = 'center';
			canResidents.style.marginLeft = '220px';
			if(theUrl.match('lang=1') != null){
				canResidents.innerHTML = '<span class="caption">The information provided in this section is intended residents of Canada only.</span>';
			}else{
				canResidents.innerHTML = '<span class="caption">L\´information contenue dans cette section s\´adresse uniquement aux résidents du Canada.</span>';
			}
			bottomLogo = document.getElementById('footer').firstChild;
			document.getElementById('footer').insertBefore(canResidents,bottomLogo);
		}

	    if(theUrl.match('france_') != null){
			fraResidents = document.createElement('div');
			fraResidents.style.textAlign = 'center';
			fraResidents.style.marginLeft = '220px';
			if(theUrl.match('lang=1') != null){
				fraResidents.innerHTML = '<span class="caption">The information provided in this section is intended residents of France only.</span>';
			}else{
				fraResidents.innerHTML = '<span class="caption">L\´information contenue dans cette section s\´adresse uniquement aux résidents de la France.</span>';
			}
			bottomLogo = document.getElementById('footer').firstChild;
			document.getElementById('footer').insertBefore(fraResidents,bottomLogo);
		}

	    if(theUrl.match('germany_') != null){
			gerResidents = document.createElement('div');
			gerResidents.style.textAlign = 'center';
			gerResidents.style.marginLeft = '220px';
			if(theUrl.match('lang=1') != null){
				gerResidents.innerHTML = '<span class="caption">The information provided in this section is intended residents of Germany only.</span>';
			}else{
				gerResidents.innerHTML = '<span class="caption">L\´information contenue dans cette section s\´adresse uniquement aux résidents de l\'Allemagne.</span>';
			}
			bottomLogo = document.getElementById('footer').firstChild;
			document.getElementById('footer').insertBefore(gerResidents,bottomLogo);
		}

	    if(theUrl.match('uk_') != null){
			ukResidents = document.createElement('div');
			ukResidents.style.textAlign = 'center';
			ukResidents.style.marginLeft = '233px';
			if(theUrl.match('lang=1') != null){
				ukResidents.innerHTML = '<span class="caption">The information provided in this section is intended residents of the U.K. only.</span>';
			}else{
					ukResidents.innerHTML = '<span class="caption">L\´information contenue dans cette section s\´adresse uniquement aux résidents de la Royaume-Uni.</span>';
			}
			bottomLogo = document.getElementById('footer').firstChild;
			document.getElementById('footer').insertBefore(ukResidents,bottomLogo);
		}
	}
	if(document.getElementById('mapbox')){
		areaElements = document.getElementsByTagName('area');

		for(i=0;i<areaElements.length;i++){
			areaElements[i].onmouseover = showCountry;
			areaElements[i].onmouseout = hideCountry;
		}
	}
	if(theUrl.match('site_map.php') != null){
		siteLinks = document.getElementsByTagName('a');
		for(l=0;l<siteLinks.length;l++){
			linkClass = siteLinks[l].className;
			if(linkClass.match('siteMap') != null){
				copyLink = siteLinks[l];
				mapLinks[m] = copyLink;
				m++;
			}
		}

		thirdLinks = mapLinks.length / 3;

		firstLinkDiv = document.createElement('div');
		firstLinkDiv.className = 'leftFloat';
		firstLinkDiv.style.width = '326px';
		for(fl=0;fl<thirdLinks;fl++){
			linkHref = mapLinks[fl].href;
			linkContent = mapLinks[fl].innerHTML;
			linkClassName = mapLinks[fl].className;
			if(linkClassName == 'siteMap0'){
				linkNode = '<br /><a class="' + linkClassName + '" href="' + linkHref + '">' + linkContent + '</a>';
			}else{
				linkNode = '<a class="' + linkClassName + '" href="' + linkHref + '">' + linkContent + '</a>';
			}
			if(firstLinks == 0){
				firstLinks = linkNode;
			}else{
				firstLinks = firstLinks + '<br />' + linkNode;
			}
		}

		firstLinkDiv.innerHTML = firstLinks;


		secondLinkDiv = document.createElement('div');
		secondLinkDiv.className = 'leftFloat';
		secondLinkDiv.style.width = '246px';
		while(fl<(2*thirdLinks)){
			linkHref = mapLinks[fl].href;
			linkContent = mapLinks[fl].innerHTML;
			linkClassName = mapLinks[fl].className;
			if(linkClassName == 'siteMap0'){
				linkNode = '<br /><a class="' + linkClassName + '" href="' + linkHref + '">' + linkContent + '</a>';
			}else{
				linkNode = '<a class="' + linkClassName + '" href="' + linkHref + '">' + linkContent + '</a>';
			}
			if(secondLinks == 0){
				secondLinks = linkNode;
			}else{
				secondLinks = secondLinks + '<br />' + linkNode;
			}
			fl++;
		}

		secondLinkDiv.innerHTML = secondLinks;


		lastLinkDiv = document.createElement('div');
		lastLinkDiv.className = 'leftFloat';
		lastLinkDiv.style.paddingTop = '33px';
		while(fl<(3*thirdLinks)){
			linkHref = mapLinks[fl].href;
			linkContent = mapLinks[fl].innerHTML;
			linkClassName = mapLinks[fl].className;
			if(linkClassName == 'siteMap0'){
				linkNode = '<br /><a class="' + linkClassName + '" href="' + linkHref + '">' + linkContent + '</a>';
			}else{
				linkNode = '<a class="' + linkClassName + '" href="' + linkHref + '">' + linkContent + '</a>';
			}
			if(lastLinks == 0){
				lastLinks = linkNode;
			}else{
				lastLinks = lastLinks + '<br />' + linkNode;
			}
			fl++;
		}

		lastLinkDiv.innerHTML = lastLinks;

		document.getElementById('content4panel').innerHTML = '<p>&nbsp;</p>';
		document.getElementById('content4panel').appendChild(firstLinkDiv);
		document.getElementById('content4panel').appendChild(secondLinkDiv);
		document.getElementById('content4panel').appendChild(lastLinkDiv);
	}

	docHeight = document.body.clientHeight;
	if(document.documentElement){
		screenHeight = document.documentElement.clientHeight;
	}else{
		screenHeight = window.innerHeight;
	}

	if(docHeight < screenHeight){
		if (document.getElementById('left')){
	    	document.getElementById('left').style.minHeight = screenHeight - 375 + 'px';
		}
		if (document.getElementById('right')) {
	    	document.getElementById('right').style.minHeight = screenHeight - 405 + 'px';
		}
		if (document.getElementById('content4panel')) {
	    	document.getElementById('content4panel').style.minHeight = screenHeight - 375 + 'px';
		}
		if (document.getElementById('content5panel')) {
	    	document.getElementById('content5panel').style.minHeight = screenHeight - 375 + 'px';
		}
	}
}

window.onload = init;

function showCountry(e) {
	if(!e){
		e = window.event;
		scrolled = document.documentElement.scrollTop;
		divTop = e.clientY + scrolled;
		divLeft= e.clientX;
	}else{
		divTop = e.pageY + 'px';
		divLeft = e.pageX + 'px';
	}

	country = this.id;
	countryDiv = document.createElement('div');
	document.body.appendChild(countryDiv);
	countryDiv.style.position = 'absolute';
	countryDiv.style.top = divTop;
	countryDiv.style.left = divLeft;
	countryDiv.style.marginLeft = '15px';
	countryDiv.style.color = '#000';
	countryDiv.innerHTML = country;
}

function hideCountry() {
	document.body.removeChild(countryDiv);
}

function printThisPage() {
	if(document.getElementById('content5panel')){
		printWin = window.open('http://www.axcan.com/print.html?5panel','','');
	}else{
		printWin = window.open('http://www.axcan.com/print.html','','');
	}
}

function newWin(theURL,winName,features) {
	window.open(theURL,winName,features)
}

function ReminderMessage() {
	alert("IMPORTANT REMINDER\n\n Be sure to include your proof-of-purchase \(copy of pharmacy receipt or precription bottle label\) when you return this Enrollment Form. Axcan Program products can be sent to you only after proof-of-purchase is received. Axcan will send \(via UPS\) the allotted supply of SCANDISHAKE® \(24 envelopes\) or SCANDICAL® \(two 8 ounce canisters\) and ADEKs® Tablets \(60 count bottle\) or Pediatric Drops one \(60 mL\) bottle to each CF patient who submits proof-of-purchase of a one to three month supply of ULTRASE® \(pancrelipase\) Enteric-Coated Microshperes or ULTRASE® MT \(pancrelipase\) Enteric-Coated Minitablets for each month's prescription filled. To receive a Program shipment, participants should forward a new proof-of-purchase to the following address each time the prescription is filled: \n\n Axcan Scandipharm\n Comprehensive Care Program for CFSM\n P.O. Box 52065, Permit #291\n Phoenix, AZ 85072-9152");
	return true;
}

function filingWin(theURL,winName,features) {
	alert("NOTICE:\nThe following content is hosted by a third party site. That site may have a privacy policy different from Axcan Pharma Inc. and may provide less security than the Axcan Pharma Inc. Website. Axcan Pharma Inc. is not responsible for the services and content on the third party Website.");
	window.open(theURL,winName,features);
}

function filingWin2(theURL,winName,features) {
	alert("AVIS:\nLe contenu de ce site web est hébergé par une tierce partie. Ce site pourrait avoir une politique de confidentialité différente d’Axcan Pharma inc. et pourrait être moins sécuritaire que le site Web d’Axcan Pharma inc. Axcan Pharma inc. n’est pas responsable des services et du contenu d’un site Web appartenant à une tierce partie.");
	window.open(theURL,winName,features);
}

function countryRedirect(dropdownValue) {
    var myindex  = dropdownValue.selectedIndex;
    var SelectValue = dropdownValue.options[myindex].value;
    var baseURL  = SelectValue;
    location.href = baseURL;
    return true;
}

function countryWarning(siteUrl) {
	document.getElementById('continue-button').onclick = function() {
		location.href = siteUrl;
	}	
	document.getElementById('warning').style.display = 'block';
}

/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="values.php?lang=1">Values, Mission and Vision</a>'
menu1[1]='<a href="message_president.php?lang=1">Message from the President and CEO</a>'
menu1[2]='<a href="management_team.php?lang=1">Management Team</a>'
menu1[3]='<a href="history.php?lang=1">History</a>'
menu1[4]='<a href="geographic_locations.php?lang=1">Geographic Locations</a>'
menu1[5]='<a href="research.php?lang=1">Research & Development</a>'
menu1[6]='<a href="grants.php?lang=1">Grants</a>'
menu1[7]='<a href="investor_relations.php?lang=1">Investor Relations</a>'

//Contents for menu 2
var menu2=new Array()
menu2[0]='<a href="conferences.php?lang=1">Conferences</a>'
menu2[1]='<a href="medical_symposia.php?lang=1">Medical Symposia</a>'



//Contents for menu 3
var menu3=new Array()
menu3[0]='<a href="north_america.php?lang=1">North America</a>'
menu3[1]='<a href="latin_america.php?lang=1">Latin America</a>'
menu3[2]='<a href="europe.php?lang=1">Europe</a>'
menu3[3]='<a href="asia.php?lang=1">Asia / Eurasia</a>'
menu3[4]='<a href="africa_middleeast.php?lang=1">Africa - Middle East</a>'
menu3[5]='<a href="oceania.php?lang=1">Oceania</a>'


//Contents for menu 4
var menu4=new Array()
menu4[0]='<a href="http://careers.axcan.protected.ca/aboutaxcan.php?lang=1">About Axcan</a>'
menu4[1]='<a href="http://careers.axcan.protected.ca/workingaxcan.php?lang=1">Working at Axcan</a>'
menu4[2]='<a href="http://careers.axcan.protected.ca/ourcareers.php?lang=1">Our Careers</a>'
menu4[3]='<a href="http://careers.axcan.protected.ca/searchjobs.php?lang=1">Search Jobs</a>'


//Contents for menu 5
var menu5=new Array()
menu5[0]='<a href="values.php?lang=2">Valeurs, Mission et Vision</a>'
menu5[1]='<a href="message_president.php?lang=2">Mot du Pr&eacute;sident et Chef de la direction</a>'
menu5[2]='<a href="management_team.php?lang=2">&Eacute;quipe de Direction</a>'
menu5[3]='<a href="history.php?lang=2">Historique</a>'
menu5[4]='<a href="geographic_locations.php?lang=2">Localisations g&eacute;ographiques</a>'
menu5[5]='<a href="research.php?lang=2">Recherche et d&eacute;veloppement</a>'
menu5[6]='<a href="grants.php?lang=2">Subventions</a>'
menu5[7]='<a href="investor_relations.php?lang=2">Relations aux investisseurs</a>'


//Contents for menu 6
var menu6=new Array()
menu6[0]='<a href="conferences.php?lang=2">Conf&eacute;rences</a>'
menu6[1]='<a href="medical_symposia.php?lang=2">Symposiums m&eacute;dicaux</a>'


//Contents for menu 7
var menu7=new Array()
menu7[0]='<a href="north_america.php?lang=2">Am&eacute;rique du Nord</a>'
menu7[1]='<a href="latin_america.php?lang=2">Am&eacute;rique latine</a>'
menu7[2]='<a href="europe.php?lang=2">Europe</a>'
menu7[3]='<a href="asia.php?lang=2">Asie / Eurasie</a>'
menu7[4]='<a href="africa_middleeast.php?lang=2">Afrique et Moyen Orient</a>'
menu7[5]='<a href="oceania.php?lang=2">Oc&eacute;anie</a>'


//Contents for menu 8
var menu8=new Array()
menu8[0]='<a href="http://careers.axcan.protected.ca/aboutaxcan.php?lang=2">&Agrave; propos d\'Axcan</a>'
menu8[1]='<a href="http://careers.axcan.protected.ca/workingaxcan.php?lang=2">Travailler chez Axcan</a>'
menu8[2]='<a href="http://careers.axcan.protected.ca/ourcareers.php?lang=2">Nos carri&egrave;res</a>'
menu8[3]='<a href="http://careers.axcan.protected.ca/searchjobs.php?lang=2">Recherche d\'emploi</a>'

		
var menuwidth='150px' //default menu width
var menubgcolor='#f1eee8'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="filter:alpha(opacity=95);visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
	var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
	var parentEl=what.offsetParent;
	while (parentEl!=null){
		totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
		parentEl=parentEl.offsetParent;
	}
	return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
	if (document.getElementById("mainMenufr")){
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+ 23 + "px"
	}else{
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+ 29 + "px"
	}	
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu


/***********************************************
* Ultimate Fade-In Slideshow (v1.5): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/header1.jpg", "", ""]
fadeimages[1]=["images/header2.jpg", "", ""]

var fadeimagesfr=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesfr[0]=["images/header1-fr.jpg", "", ""]
fadeimagesfr[1]=["images/header2-fr.jpg", "", ""]

var fadebgcolor="white"

////NO need to edit beyond here/////////////

var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers

var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all

function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:10;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')

if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree

}
else
obj.tempobj.style.opacity=obj.degree/100
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}

 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else
crossobj.style.opacity=this.degree/100
}


fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}


/***********************************************
* Validate Forms
***********************************************/

function validate() {

	if(document.info.EMail.value == "") {
		alert ("E-mail is a required field");
		document.info.EMail.focus();
		return false;
	} else {
		var str = document.info.EMail.value;
		var filter = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i ;

		if (!filter.test(str)) {
			alert("Please verify your email address format");
			document.info.EMail.focus();
			return false;
		}
	}
	return true;
}

function validateFR() {

	if(document.info.EMail.value == "") {
		alert ("Le courriel est un champ obligatoire");
		document.info.EMail.focus();
		return false;
	} else {
		var str = document.info.EMail.value;
		var filter = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i ;

		if (!filter.test(str)) {
			alert("Veuillez vérifier le format de votre adresse courriel");
			document.info.EMail.focus();
			return false;
		}
	}
	return true;
}


/***********************************************
* Build Flash
***********************************************/

function buildFlash() {
    //begin the OBJECT tag, which will be understood by ActiveX-capable browsers
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="835" height="750" />');
    document.write('<param name="allowScriptAccess" value="sameDomain" />');
    document.write('<param name="movie" value="urso-brochure.swf" />');
    document.write('<param name="wmode" value="transparent" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="bgcolor" value="#ffffff" />');

    //If this browser understands the mimeTypes property and recognizes the MIME Type //"application/x-shockwave-flash"...
    if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
       //...write out the following <EMBED> tag into the document.
       document.write('<embed src="urso-brochure.swf" quality="high" bgcolor="#ffffff" width="835" height="750" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    }
    //Close the OBJECT tag.
    document.write('</object>');
}


/***************************************************
*	 Grant Application Verification                *
***************************************************/

function validateApplication(language) {

	var lang = language;

	if(document.grantApplication.Institution_Name.value == "") {
		if (lang == "en") {
			alert ("Institution name is a required field");
		} else {
			alert ("Nom de l’établissement est un champ obligatoire");
		}
		document.grantApplication.Institution_Name.focus();
		return false;
	}

    if(document.grantApplication.Institution_Address.value == "") {
        if (lang == "en") {
			alert ("Institution address is a required field");
		} else {
			alert ("Adresse de l’établissement est un champ obligatoire");
		}
		document.grantApplication.Institution_Address.focus();
		return false;
	}

    if(document.grantApplication.PI_Title.value == "") {
        if (lang == "en") {
			alert ("Primary Investigator Title is a required field");
		} else {
			alert ("Le titre du Investigateur principal est un champ obligatoire");
		}
		document.grantApplication.PI_Title.focus();
		return false;
	}

	if((document.grantApplication.Primary_Investigator.value == "First name, Last name") || (document.grantApplication.Primary_Investigator.value == "") || (document.grantApplication.Primary_Investigator.value == "Prénom, nom")) {
        if (lang == "en") {
			alert ("Primary Investigator is a required field");
		} else {
			alert ("Investigateur principal est un champ obligatoire");
		}
		document.grantApplication.Primary_Investigator.focus();
		return false;
	}

    if(document.grantApplication.PI_Office_Phone.value == "") {
        if (lang == "en") {
			alert ("PI office phone # is a required field");
		} else {
			alert ("No de téléphone de l’IP est un champ obligatoire");
		}
		document.grantApplication.PI_Office_Phone.focus();
		return false;
	}

    if(document.grantApplication.PI_Fax.value == "") {
        if (lang == "en") {
			alert ("PI fax # is a required field");
		} else {
			alert ("No de télécopieur de l’IP est un champ obligatoire");
		}
		document.grantApplication.PI_Fax.focus();
		return false;
	}

    if(document.grantApplication.PI_Email.value == "") {
        if (lang == "en") {
			alert ("PI e-mail is a required field");
		} else {
			alert ("Adresse électronique de l’IP est un champ obligatoire");
		}
		document.grantApplication.PI_Email.focus();
		return false;
	} else {
		var str = document.grantApplication.PI_Email.value;
		var filter = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i ;

		if (!filter.test(str)) {
            if (lang == "en") {
				alert("Please verify your email address format");
			} else {
				alert ("Veuillez vérifier le format de votre adresse courrie");
			}
			document.grantApplication.PI_Email.focus();
			return false;
		}
	}

    if(document.grantApplication.Submission_Type.value == "") {
        if (lang == "en") {
			alert ("Submission type is a required field");
		} else {
			alert ("Type de demande est un champ obligatoire");
		}
		document.grantApplication.Submission_Type.focus();
		return false;
	}

    if(document.grantApplication.Protocol_Title.value == "") {
        if (lang == "en") {
			alert ("Protocol Title is a required field");
		} else {
			alert ("Titre du protocole est un champ obligatoire");
		}
		document.grantApplication.Protocol_Title.focus();
		return false;
	}

	var phasesChecked = document.getElementsByName('Study_Phase[]');
	var boxChecked = false;
	for (var i = 0; i < phasesChecked.length; i++) {
  		if (phasesChecked[i].checked) {
	   		boxChecked = true;
			break;
		}
	}
	if (!boxChecked) {
        if (lang == "en") {
			alert ("Study Phase is a required field");
		} else {
			alert ("Phases de l'étude est un champ obligatoire");
		}
		document.grantApplication.Protocol_Title.focus();
   		return false;
   	}

    if(document.grantApplication.Study_Type.value == "") {
        if (lang == "en") {
			alert ("Study Type is a required field");
		} else {
			alert ("Type d'étude est un champ obligatoire");
		}
		document.grantApplication.Study_Type.focus();
		return false;
	}

    if(document.grantApplication.Intervention_Type.value == "") {
        if (lang == "en") {
			alert ("Intervention Type is a required field");
		} else {
			alert ("Type d'intervention est un champ obligatoire");
		}
		document.grantApplication.Intervention_Type.focus();
		return false;
	}

    if(document.grantApplication.Primary_Country.value == "") {
        if (lang == "en") {
			alert ("Primary Country is a required field");
		} else {
			alert ("Pays principal est un champ obligatoire");
		}
		document.grantApplication.Primary_Country.focus();
		return false;
	}

    if(document.grantApplication.Study_Rationale.value == "") {
        if (lang == "en") {
			alert ("Study rationale is a required field");
		} else {
			alert ("Justification de l'étude est un champ obligatoire");
		}
		document.grantApplication.Study_Rationale.focus();
		return false;
	}

    if(document.grantApplication.Study_Synopsis.value == "") {
        if (lang == "en") {
			alert ("Study synopsis is a required field");
		} else {
			alert ("Résumé de l'étude est un champ obligatoire");
		}
		document.grantApplication.Study_Synopsis.focus();
		return false;
	}

    if(document.grantApplication.Study_Objective_Primary.value == "") {
        if (lang == "en") {
			alert ("Primary objective is a required field");
		} else {
			alert ("Objectif primaire est un champ obligatoire");
		}
		document.grantApplication.Study_Objective_Primary.focus();
		return false;
	}

    if(document.grantApplication.Study_Objective_Secondary.value == "") {
        if (lang == "en") {
			alert ("Secondary objective is a required field");
		} else {
			alert ("Objectifs secondaires est un champ obligatoire");
		}
		document.grantApplication.Study_Objective_Secondary.focus();
		return false;
	}

    if(document.grantApplication.Study_Population.value == "") {
        if (lang == "en") {
			alert ("Study population is a required field");
		} else {
			alert ("Groupe à l'étude est un champ obligatoire");
		}
		document.grantApplication.Study_Population.focus();
		return false;
	}

    if((document.grantApplication.Expected_Study_Duration.value == "Please provide # days, weeks, months or years") || (document.grantApplication.Expected_Study_Duration.value == "")) {
        if (lang == "en") {
			alert ("Expected study duration is a required field");
		} else {
			alert ("Durée prévue de l'étude est un champ obligatoire");
		}
		document.grantApplication.Expected_Study_Duration.focus();
		return false;
	}

    if(document.grantApplication.Axcan_Funding_Requested.value == "") {
        if (lang == "en") {
			alert ("Is funding from Axcan requested is a required field");
		} else {
			alert ("Demandez-vous une subvention à Axcan est un champ obligatoire");
		}
		document.grantApplication.Axcan_Funding_Requested.focus();
		return false;
	}

    if(document.grantApplication.Funding_Request_Endowment_Charitable_Cooperative.value == "") {
        if (lang == "en") {
			alert ("Is this funding request part of a universal endowment, charitable endorsement or cooperative agreement is a required field");
		} else {
			alert ("Cette demande de subvention fait-elle partie d'une fondation universelle, d'un acte de bienfaisance ou d'un accord coopératif est un champ obligatoire");
		}
		document.grantApplication.Funding_Request_Endowment_Charitable_Cooperative.focus();
		return false;
	}

    if(document.grantApplication.Requested_Drug_From_Axcan.value == "") {
        if (lang == "en") {
			alert ("Is drug from Axcan requested is a required field");
		} else {
			alert ("Demandez-vous des médicaments à Axcan est un champ obligatoire");
		}
		document.grantApplication.Requested_Drug_From_Axcan.focus();
		return false;
	}

    if(document.grantApplication.Another_Company_Approached.value == "") {
        if (lang == "en") {
			alert ("Has (or will) another pharmaceutical/biotech company been (or be) approached to provide support is a required field");
		} else {
			alert ("Une autre compagnie pharmaceutique/biotechnologique a-t-elle été ou sera-t-elle approchée pour offrir de l’aide est un champ obligatoire");
		}
		document.grantApplication.Another_Company_Approached.focus();
		return false;
	}

    if(document.grantApplication.Exchange_Study_Safety_Information.value == "") {
        if (lang == "en") {
			alert ("Are you willing to exchange study safety information with Axcan Pharma Inc. during the course of the proposed study is a required field");
		} else {
			alert ("Êtes-vous disposé à transmettre les données d'innocuité de l'étude (c.-à-d. les événements indésirables graves) à Axcan Pharma Inc. au cours de l'étude proposée est un champ obligatoire");
		}
		document.grantApplication.Exchange_Study_Safety_Information.focus();
		return false;
	}

    if(document.grantApplication.Provide_Axcan_With_Results_Prior.value == "") {
        if (lang == "en") {
			alert ("Are you willing to provide Axcan with any publication resulting from this study prior to submission for the sake of review and comments is a required field");
		} else {
			alert ("Êtes-vous disposé à fournir à Axcan toute publication découlant de cette étude avant de la soumettre, et cela, aux fins d'examen et de commentaires est un champ obligatoire");
		}
		document.grantApplication.Provide_Axcan_With_Results_Prior.focus();
		return false;
	}

	return true;

}
