function clearSignIn()
{

oTextBoxes = new Array();
oInputs = document.getElementsByTagName( 'input' );
for ( i = 0; i < oInputs.length; i++ )
{
    if ( oInputs[i].type == 'text' )
    {
        oTextBoxes.push( oInputs[i] ); 
    }
}

for ( i = 0; i < oTextBoxes.length; i++ )
{
    document.getElementById (oTextBoxes[i].id).value = '';
    
}


if (document.getElementById ('txtPassword') != null)
{
document.getElementById ('txtPassword').value = '';
}

if (document.getElementById ('txtFieldSoftware') != null)
{
document.getElementById ('txtFieldSoftware').selectedIndex = 0;
}

if (document.getElementById ('txtFieldHardware') != null)
{
document.getElementById ('txtFieldHardware').selectedIndex = 0;
}

if (document.getElementById ('txtFieldEndUC') != null)
{
document.getElementById ('txtFieldEndUC').selectedIndex = 0;
}

if (document.getElementById ('txtFieldOfficeE') != null)
{
document.getElementById ('txtFieldOfficeE').selectedIndex = 0;
}

if (document.getElementById ('txtFieldDCN') != null)
{
document.getElementById ('txtFieldDCN').selectedIndex = 0;
}

if (document.getElementById ('txtFieldCarrier') != null)
{
document.getElementById ('txtFieldCarrier').selectedIndex = 0;
}

if (document.getElementById ('txtFieldConsulting') != null)
{
document.getElementById ('txtFieldConsulting').selectedIndex = 0;
}

if (document.getElementById ('txtFieldOther') != null)
{
document.getElementById ('txtFieldOther').selectedIndex = 0;
}

}

function clearUploadCompany()
{
document.getElementById ('txtCompanyName').value = '';
document.getElementById ('txtURL').value ='';
document.getElementById ('txtDescription').value = '';
document .getElementById ('comboCompanyType').selectedIndex = 0;
}
