//Changes to support automatic ActiveX activation, see http://support.microsoft.com/kb/912945

function iGrafxApplet(doc, before, code, name, width, height, params, after)
{
   doc.write(before + '<APPLET CODE="'+code+'" NAME="'+name+'" MAYSCRIPT="TRUE" WIDTH="'+width+'" HEIGHT="'+height+'">'+params+'</APPLET>' + after);
}

function iGrafxObject(doc, data, width, height, type, params)
{
   doc.write('<OBJECT DATA="'+data+'" WIDTH="'+width+'" HEIGHT="'+height+'" TYPE="'+type+'">'+params+'</OBJECT>');
}
