function favoris() {
	if ( navigator.appName != 'Microsoft Internet Explorer' )	{ 
		window.sidebar.addPanel("Tecmark Corporation",location.href,""); 
	} else { 
		window.external.AddFavorite(location.href,"Tecmark Corporation"); 
	}
}


function changeHREF1() {
	var address = document.getElementById('language').value;
	document.location = address;
}

function changeHREF2() {
	var address = document.getElementById('pdfdownload').value;
	document.location = address;
}

// LANGUAGE FUNCTIONS
$('.language div').click(function() {
	$(this).next('ul').toggle();
});

$(document).bind('click', function(e) {
    var $clicked = $(e.target);
    if (! $clicked.parents().hasClass("language"))
        $(".language ul").hide();
});
