Hi Guys

Is there a way that JavaScript can be used to reverse the order of a title tag?

Let me explain:

My title currently gets created dynamically by calling the breadcrumb path depending on which page I'm on. The title looks like:
PHP Code:
<title><?php echo $page_title?></title>
When I'm 3 levels deep, the title would look something like:
Accommodation | Guest Houses | My Guest House

I need the title to be reversed, so that on the same page it would show:
My Guest House | Guest Houses | Accommodation

Is this possible with JS?