function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function show_chart() {
var chart=document.getElementById('help').style;
chart.display = "block";
var h = document.getElementById('help').offsetHeight;
var w = 545;
var docwidth=document.all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+window.innerWidth;
var docheight=document.all? Math.min(truebody().scrollHeight, truebody().clientHeight) : Math.min(window.innerHeight);
var xp = (docwidth - w)/ 2;
var yp =((docheight - h) /2)   + truebody().scrollTop;
document.getElementById('help').style.left  = xp+"px";
document.getElementById('help').style.top = yp+"px";
}
function hide_chart() {
var chart=document.getElementById('help').style;
chart.display = "none";
}
function signup(v) {
if (v == '1') {
document.location.href="signup.php?java=1&pack=1";
}
if (v == '2') {
document.location.href="signup.php?java=1&pack=2";
}
if (v == '3') {
document.location.href="signup.php?java=1&pack=3";
}
}