/*	Original:  CodeLifter.com (support@codelifter.com)
	Web Site:  http://www.codelifter.com
	This script and many more are available free online at
	The JavaScript Source!! http://javascript.internet.com
*/


function printWindow() 
{
	bV = parseInt(navigator.appVersion);
	if (bV >= 4)
		window.print();
}

/*	This script and many more are available free online at
	The JavaScript Source!! http://javascript.internet.com
	Original:  nprakaz@rediffmail.com
	Web Site:  http://www20.brinkster.com/mahathmaonline
*/

function addbookmark()
{
	// hey! don't forget to change the link when you cut and paste !!!
	
	//bookmarkurl="http://javascript.internet.com/";
	//var bookmarkurl="http://www.globaladf.org/";
	var url = location.href;
	// XXX Localized ?
	//var bookmarktitle="Asthma Drug Facility";
	var title = document.title;
	
	if (document.all && window.external) {// && window.external.AddFavorite)
		window.external.AddFavorite(url,title);
	} else if (window.sidebar) {
		//Netscape 6+ ; Mozilla, FireFox et compagnie (K-Meleon ...)
		window.sidebar.addPanel(title,url,"");
	}
}

// what's this bullshit ?!
function EmailLink(lang){
	var msg = new Array();
	msg['fr'] = "Veuillez visiter le site web de la Conference Mondiale 2009 de L'Union : http://www.worldlunghealth.org/Conf2009/website";
	msg['sp'] = 'Please take a look at the website of The Union World Conference 2009 at http://www.worldlunghealth.org/Conf2009/website';
	msg['en'] = 'Please take a look at the website of The Union World Conference 2009 at http://www.worldlunghealth.org/Conf2009/website';
	if (lang != 'en' && lang != 'sp' && lang != 'fr') {
		lang = 'en';
	}
	var body = msg[lang];
	if (lang == 'en') window.location = "mailto:"+"?subject=The Union World Conference Cancun 2009&body=" + body;
	if (lang == 'sp') window.location = "mailto:"+"?subject=The Union World Conference cancun 2009&body=" + body;
	if (lang == 'fr') window.location = "mailto:"+"?subject=Conference Mondiale de l'Union Cancun 2009&body=" + body;
}
//document.write('<onClick="EmailLink()"></FORM>')
