function reDo()
{
window.location.reload()
}
window.onresize = reDo;

var y;
if (self.innerHeight) // all except Explorer
{
y = self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight)
// Explorer 6 Strict Mode
{
y = document.documentElement.clientHeight;
}
else if (document.body) // other Explorers
{
y = document.body.clientHeight;
}

// if height <520 add final stylesheet
if (y > 500)
{
document.write("<style type='text/css'>@import 'css/high.css';</style>")
document.write("<!--[if ie 6]><link href='css/ie6high.css' rel='stylesheet' type='text/css' /><![endif]-->")
}
