document.write('<link rel="stylesheet" type="text/css" media="all" href="http://images.wareseeker.com/support/css/widget.css" />');
ws_width = typeof api_width == 'string' ? api_width : '250px';
ws_height  = typeof api_height  == 'string' ? api_height  : '300px';
ws_border  = typeof api_border  == 'number' ? 0 : 3;
ws_target  = typeof api_windows  == 'number' ? '_blank' : '';
ws_theme = typeof api_css  == 'string' ? api_css  : 'widgetDisplayThemeBlue';
ws_id = 'ws-widget-container';
document.write('<div class="widgetPageContentDisplay" style="width: '+ws_width+';">\r\n');
document.write('<div class="'+ws_theme+'" style="border-width: ' + ws_border + 'px;">\r\n');
document.write('<div class="widgetLogo" onclick="window.open(\'http://wareseeker.com/embed-software-on-your-web-pages/\',\'_blank\',\'\');"></div>\r\n');
document.write('<div class="widgetDisplayBox">\r\n');
document.write('<div id="'+ws_id+'" class="widgetDisplayBack" style="height: '+ws_height+';">\r\n');
document.write('</div>\r\n');
document.write('</div><div style="height:20px"></div></div><div align="right" style="text-align:right;padding-right:5px; margin-top:-22px!important">\r\n');

function outputWidget(strHtml)
{
    document.getElementById(ws_id).innerHTML = strHtml;
}