if (top.frames.length != 0)
top.location = self.document.location;
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
function openNewWindow(){
newWin = window.open(self.document.location);
newWin.opener = self;
}


function get_object(id)
{
	if (document.getElementById)
	{
		return document.getElementById(id);
	}
	else if (document.all)
	{
		return document.all[id];
	}
	else if (document.layers)
	{
		return document.layers[id];
	}
	else
	{
		return null;
	}
}

function show_hide (id)
{
	object = get_object (id);
	if (object)
	{
			object.style.display = "block";
	}
}

var txt1= '&nbsp;Design for FF & IE6+ / Resolution 1024x768 - Your current ';
if (screen.width < 1024)  {
  document.write(txt1, screen.width, 'x', screen.height);
  getleft = show_hide("lefttable");
}
else if (screen.width > 1024) {
var txt1= 'Design for<BR>FF & IE6+<BR>Resolution<BR>1024x768<P>Your current<BR>';
  document.write(txt1, screen.width, 'x', screen.height);
  getleft = show_hide("lefttable");
  getright = show_hide("righttable");
  document.body.style.cssText="background:black url(http://media.up-max.com/images/fill.gif) repeat";

}

