function opdlg2()
{
    J.dialog.get( 'test2', {
        page : '/liuyan/Message.html', cover : true, drag : true 
    } );
}
function opdlg2( skin )
{
    J.dialog.get( skin, {
        page : '/liuyan/Message.html', skin : skin, cover : true, drag : true, foot : false 
    } );
}
window.onload = function ()
{
    P.S.auto();
    alert( 'This is the page loading automatically after the adjustment of the size of the window' );
}
function add()
{
    var e = document.createElement('p');
    e.align = 'center';
    e.innerHTML = 'This is the content of the increase';
    document.body.appendChild(e);
    P.S.auto();
}
window.onload = function ()
{
    var n = 355;
    var obj = document.getElementById("fixed");
    window.onscroll = function ()
    {
        obj.style.top = (document.body.scrollTop || document.documentElement.scrollTop) + n + 'px';
    }
    window.onresize = function ()
    {
        obj.style.top = (document.body.scrollTop || document.documentElement.scrollTop) + n + 'px';
    }
}

