// break from frames...
function framebreaker()
{
	if (top.location != location)
	{
		top.location.href = document.location.href ;
	}
}

// logout
function Logout()
{
    msg = confirm('Are you sure you want to logout?');
    if(msg)
    {
        document.location.href='/logout.html';
    }
}
function deletePage( id )
{
    if( confirm('Are you sure you want to delete this page from the manual?') )
    {
        document.location.href = 'index.php?pg=18&delete=' + id;
    }
}
function deleteComment( page, id )
{
    if( confirm('Are you sure you want to delete this comment?') )
    {
        document.location.href = 'index.php?pg=19&page='+page+'&delete=' + id;
    }
}
