        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">');
		    document.writeln('<param name="archive" value="dnd.jar">');
		    document.writeln('<param name="code" value="com.radinks.dnd.DNDApplet">');
		    document.writeln('<param name="name" value="Rad Upload Plus">');
           }
            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="dnd.jar">');
                document.writeln('<param name="code" value="com.radinks.dnd.DNDApplet">');
                document.writeln('<param name="name" value="Rad Upload Plus">');
            }
        }
        else
        {
            /* mac and linux */
            document.writeln('<applet ');
            document.writeln('              archive  = "dnd.jar"');
            document.writeln('                      code     = "com.radinks.dnd.DNDApplet"');
            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="50000000">');
	document.writeln('<param name="url" value="ftp://www.prsigns.com/ftp/">');
 

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

	   {

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