function email(who) { document.write(''); } function swapicons(what, toggle) { if(toggle) { document.getElementById(what).src = '/tpl/gshell/img/p_' + what + '_off.gif'; } else { document.getElementById(what).src = '/tpl/gshell/img/p_' + what + '_on.gif'; } } function enlarge_screenshot(title, id) { enlargedwindow = window.open("/screenpop.php?title=" + title + "&id=" + id,"","height=650,width=800,top=5,left=10,resizable=yes,scrollbars=no"); window_resize(); } function window_resize() { x = screen.availWidth-20; y = screen.availHeight-15; enlargedwindow.window.resizeTo(x,y); } function hyshowme() { document.getElementById('bottom_hyperniainfo').style.display = ''; } function hyhideme() { document.getElementById('bottom_hyperniainfo').style.display = 'none'; } var lastgid = 0; function showginfo(id) { if(lastgid > 0) { hideginfo(lastgid); } document.getElementById('sub_'+id).style.display = ''; document.getElementById('par_'+id).className = 'newsitem_expand'; lastgid = id; } function hideginfo(id) { document.getElementById('sub_'+id).style.display = 'none'; document.getElementById('par_'+id).className = 'newsitem_noexpand'; lastgid = 0; } //stats = new Image(); //stats.src = "/x/count.php?id=2&s_referer="+top.document.referrer+"&s_requesturi="+top.document.location;