function main( doc ) {
    var a = doc.id;
    var b = 123123;
    var c = "string";
    application.getDocument( doc.id );
}