﻿function SetWindowMiddle()
{
    if(window.screen.width>1024)
    {
        document.write("<style type=\"text/css\">body{margin-left:"+(window.screen.width-1024)/2+"px}</style>");
    }
}