function groupconf_object()
{
    var agt=navigator.userAgent.toLowerCase();
    var is_nav  = (agt.indexOf('mozilla') != -1);
    var is_ie = (agt.indexOf("msie") != -1);
    var is_win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1) );
    var is_linux = (agt.indexOf("inux")!=-1);
    if (! is_win)
    {
        alert('Groupconf currently only runs on Windows: you will not be able to use the voice conferencing');
    }
    else
    {
        if (is_ie)
        {
            document.writeln('<OBJECT ID="GroupConf" WIDTH=0 HEIGHT=0 CODEBASE="http://www.groupboard.com/groupconf/groupconf.cab#Version=1,0,0,8" CLASSID="CLSID:FC686D83-E465-46AE-A315-7D1BD14F8163"><p><b>Groupconf control not initialised - voice conferencing will not be available.</b><br>Note that Groupconf only works on Windows. If using XP, you must click on the security link at the top of the web page (where it says "click here to install").</OBJECT>');
        }
        else if (is_nav)
        {
            document.writeln('<embed name="GroupConf" type="application/groupconf-plugin" width=30 height=30 pluginspage=http://www.groupboard.com/groupconf/plugin.html>');
        }
        else
        {
            alert('Your browser is not supported: please use Internet Explorer, Mozilla, Netscape or Firefox');
        }
    }
}
