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";
	}
}

document.body.style.cssText="background:black url(http://www.upkajuy.com/images/upkajuy_logo3.png) no-repeat fixed bottom center;";

document.write("<div align='center' style='background:black url(http://media.up-max.com/images/fill.gif) repeat; width:100%'>")


function win_current ()
{
var txt1= '&nbsp;Design for FF & IE6+ / Resolution 1024x678 - Your current ';
if (screen.width < 1024)  {
  document.write("<div align=\"left\" id=\"toptable\">")
  document.write(txt1, screen.width, 'x', screen.height);
  document.write("</div>")
}
else if (screen.width > 1024) {
var txt1= 'Design for<BR>FF & IE6+<BR>Resolution<BR>1024x678<P>Your current<BR>';

document.write("<div align=\"center\" id=\"lefttable\">")
 document.write(txt1, screen.width, 'x', screen.height);
document.write("</div>")
document.write("<div align=\"center\" id=\"righttable\">")
document.write(txt1, screen.width, 'x', screen.height);
document.write("</div>")
  getleft = show_hide("lefttable");
  getright = show_hide("righttable");

}
}

win_current();

if (screen.width > 1024) {
	document.write("<div align='center' class='mainborder'>");
}	else
{
	document.write("<div align='center' class='mainborderoff'>");
}

document.write("<div align=\"center\" class=\"maintable\"><script language=\"JavaScript\" src=\"http://www.upkajuy.com/script/top_sub.js\"></script></div>")
