        var _info = navigator.userAgent;
        var ie = (_info.indexOf("MSIE") > 0);
        var win = (_info.indexOf("Win") > 0);
        if(win)
        {
        
            if(ie)
            {
		         document.writeln('<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"');
		         document.writeln('      width= "290" height= "290" id="rup"');
		         document.writeln('      codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#version=1,4,1">');
            }
            else
            {
                document.writeln('<object type="application/x-java-applet;version=1.4.1"');
                document.writeln('width= "290" height= "290"  id="rup" >');
            }
            document.writeln('<param name="archive" value="dndplus.jar">');
            document.writeln('<param name="code" value="com.radinks.dnd.DNDAppletPlus">');
            document.writeln('<param name="name" value="Rad Upload Plus">');
            
        }
        else
        {
            /* mac and linux */
            document.writeln('<applet ');
            document.writeln('         archive  = "dndplus.jar"');
            document.writeln('         code     = "com.radinks.dnd.DNDAppletPlus"');
            document.writeln('         name     = "Rad Upload Plus"');
            document.writeln('         hspace   = "0"');
            document.writeln('         vspace   = "0" MAYSCRIPT="yes"');
            document.writeln('         width = "290"');
            document.writeln('         height = "290"');
            document.writeln('         align    = "middle" id="rup">');
        }

/******    BEGIN APPLET CONFIGURATION PARAMETERS   ******/
	
	document.writeln('<param name="max_upload" value="0">');
    document.writeln('<param name="message" value="http://www.takealetter.co.uk/uploadini.html">');
    document.writeln('<param name="url" value="ftp://anon:anon@ftp.takealetter.co.uk">');

        
/******    END APPLET CONFIGURATION PARAMETERS     ******/
       if(win)
	   {
		  document.writeln('</object>');
	   }
	   else

	   {

		  document.writeln('</applet>');
	   }
    
