function twidth(){
 sw = screen.width;
 if(document.layers)
  sw = innerWidth;
 else{
  if(document.body.clientWidth)
   sw = document.body.clientWidth;
 }
 if(sw<1026)
  document.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"100%\">");
 else
  document.write("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"1004\">");
}