/** Works with RaskuSubmenu: */
function toggleSubmenu($anchor) {
  jQuery($anchor).parent().parent().children('ul').toggle();
  
  if (jQuery($anchor).text() == '+') {
    jQuery($anchor).text('-')
  } else {
    jQuery($anchor).text('+')
  }
  
  return true;
}
/* Uncomment this if you want to add icon in links that link to outside the site.
   Opens pages in new window.
jQuery(document).ready(function() {
  var links = jQuery('a').filter(function() {
    return this.hostname && this.hostname !== location.hostname;
  });
  links.attr('target', '_blank');
  links.append(' <img src="/assets/templates/rasku2010/images/ext_link.gif" alt="Linkki muualle"/>');
});
*/