function unsetFlashClass(objId) {
    myObj = document.getElementById(objId);
    if(myObj) myObj.className = '';
}


$(function(){

	if (typeof($("a#emailPage").attr('id')) != 'undefined') {
		// mail a friend
		$("a#emailPage").click(function(){
			myWindow = window.open($(this).attr("href"), "emailPage", "width=470, height=400");
			myWindow.focus();
			return false;
		})
	}		
});