function unsetFlashClass(objId) {
    myObj = document.getElementById(objId);
    if(myObj) myObj.className = '';
}


$(function(){

	// mail a friend
	$("a#emailPage").click(function(){
		myWindow = window.open($(this).attr("href"), "emailPage", "width=470, height=400");
		myWindow.focus();
		return false;
	})
$('a[rel=external]').click(function(){window.open($(this).attr('href'));return false;}).each(function(){
				$at=$(this).attr('title');
				$linktext = /Link opens new window/.test($at);
				if (!$linktext) $(this).attr('title',((typeof $at!="undefined") ? $at : $(this).text()) +' - Link opens new window');
			});
});		

