So klappts aber jetzt doch
<!--
function ApplyResulution()
{
var NormalResulutionWidth = 1024;
var NormalResulutionHeight = 768;
//Table//
for(i=0;i<document.getElementsByTagName('TABLE').length;i++)
{
var attr,testid,isattr=false;
attr="width";
isattr=document.getElementsByTagName('TABLE')[i].getAttribute(attr);
if(!!isattr)document.getElementsByTagName('TABLE')[i].width=document.getElementsByTagName('TABLE')[i].width / NormalResulutionWidth * screen.width;
var attr,testid,isattr=false;
attr="height";
isattr=document.getElementsByTagName('TABLE')[i].getAttribute(attr);
if(!!isattr)document.getElementsByTagName('TABLE')[i].height=document.getElementsByTagName('TABLE')[i].height / NormalResulutionHeight * screen.height;
}
}
//--!>