function bigpic(pg,w,h){
open('tacher_bp.php?hpg=' + pg + '&hw=' + String(w) + '&hh=' + String(h),"teacher_big",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width='+String(w+30)+',height='+String(h+40)+',resizable=1,top=0,left=0');
return false;
}

function MyDelay()
{
var moz_ver = 4;
if (navigator.userAgent.substring(0,8) == "Mozilla/") {
moz_ver = navigator.userAgent.substring(8,9);
}
var c_depth = 0;
var res_y = 0;
var res_x = 0;
if (moz_ver > 3  && (screen)) {
c_depth = screen.colorDepth;
if (c_depth == 0)
c_depth = screen.pixelDepth;
if(c_depth < 0)
c_depth = 0;
res_y = screen.height;
res_x = screen.width;
}
ltime = new Date();
document.images['iclock'].src = '../im_stat/src/clock.php?bgpic=bgclock2.png&lang=cz&hr_x=' + res_x + '&hr_y=' + res_y + '&hbpp=' + c_depth + '&ctime=' + String(ltime.valueOf());
setTimeout('MyDelay()',60000);
return false;
}
function MyOnLoad(tt)
{
setTimeout('MyDelay()',tt);
return false;
}

