
function go2Print()
{
    browserVersion = parseInt(navigator.appVersion);
    if (browserVersion >= 4) window.print();
}







function chVisible_(id, todo)
{
    var l_= document.getElementById(id);
    if( l_){
            if (todo == 'hide'){ l_.style.display='none'; return true; }
            if (todo == 'show'){ l_.style.display='';     return true; }
            if (todo == ''){
                if(l_.style.display == 'none') l_.style.display='';
                else l_.style.display='none';
            }
    }
return true;
}







var pp= null;

function window_popup(url, w, h)
{
         var opt = "depent=0,resizable=1,scrollbars=1,menubar=0";
         h= h+40;
         w= w+40;
         opt = opt+",height="+h+",width="+w+",menu=1";

         var time= new Date();
         var winName= "pp" + "_" + time.getTime();
         pp= open(url, winName, opt);
}







function popup(url)
{
         window_popup(url, 600, 400);
}


function add_2_fav()
{
     if (document.all) {window.external.AddFavorite(location.href,document.title); }

return false;
} 