/*LOAD DEPENDENCIES*/
//check if the commonlib exists and include it it doesn't
//commonlib is required by the ext helperlib.js and xmllib.js
try{if(!using){}}catch(e){document.write(unescape('%3Cscript type="text/javascript" language="javascript" src="http://run.wolfframeworks.com/widgets/code/commonlib.js">%3C/script>'))}

//check if the helperlib script is included. 
//The helperlib.js is required by the xmllib.js
try{if(!clsHelperLib){}}catch(e){document.write(unescape('%3Cscript type="text/javascript" language="javascript" src="http://run.wolfframeworks.com/widgets/code/helperlib.js">%3C/script>'))}

//check if the xmllib script is included. 
//The xmllib.js is required by the formrender.js
try{if(!clsXMLLib){}}catch(e){document.write(unescape('%3Cscript type="text/javascript" language="javascript" src="http://run.wolfframeworks.com/widgets/code/XMLLib.js">%3C/script>'))}

function writeFormRender()
{
    document.write(unescape('%3Cscript type="text/javascript" language="javascript" src="http://demo.wolfframeworks.com/ewidgets/formrenderv1.js">%3C/script>'))    
}

//check if the formrenderv1 script is included. 
//The formrenderv1.js is required by the formwidget that prints the form
try{if(wolf.drawForm == null){writeFormRender()}}catch(e){writeFormRender()}




/*LOAD LEAF*/
//This is a leaf level library that has instructions on form printing
document.write(unescape('%3Cscript type="text/javascript" language="javascript" src="http://run.wolfframeworks.com/mc/em/application/pluginsecurity/objects/release/sysUsersLogin Screen_ewidget.js">%3C/script>'))