if ( self.location.href != top.location.href )
	top.location.href = self.location.href;

function openWindow( url, windowId )
{
	var height = 0;
	var width = 0;

	playSound( "clickSound" );
	width = screen.availWidth;
	height = screen.availHeight;
	var win = window.open( url, windowId, 'width=' + width + ',height=' + height + ',left=0,top=0,scrollbars=no,status=no,toolbar=no,resizable=no,menubar=no,location=no');
}

function playSound( soundId )
{
	try 
	{
		var elt = document[ soundId ];
		elt.play();
	}
	catch ( e )
	{
		; // plugin does not support play or embeds.
	}

	return true;
}

