<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
<script type="text/javascript">
    document.domain="qq.com";
    var action=getHashValue('action');
    switch (action){
        case 'close':
            top.ptlogin2_onClose();
            break;
        case  'resize':
            var width=getHashValue('width');
            var height=getHashValue('height');
            top.ptlogin2_onResize(width,height);
            break;
        default :
            break;
    }
    function getHashValue(n){
        var m = window.location.hash.replace(/^#/g,"");
        m = m.match(new RegExp("(^|&)" + n + "=([^&]*)(&|$)"));
        return ! m ? "": decodeURIComponent(m[2]);
    }
</script>
</body>
</html>