function lnms_user_login(a1,a2,a3,a4,a5,a6)
{
b1 = a4?a4:'Import your consumer please!';
b2 = a5?a5:'Import your consumer password please!';
b3 = a6?a6:'Seem as if problem contact with administrative person please a little bit! !';
if(a2.value)
{
if(a3.value)
{
a1.submit();
}
else
{
alert(b2);
}
}
else
{
alert(b1);
}
}
function lnms_user_login_key(a1,a2,a3,a4,a5,a6)
{
if(window.event.keyCode==13 && a1 && a2 && a3)
{
lnms_user_login(a1,a2,a3,a4,a5,a6);
}
}
function lnms_user_logout(a1,a2)
{
if(a1)
{
a2 = a2?a2:'Do you need to remove from capital landing time for sure?';
if(confirm(a2))
{
document.location=a1;
}
}
}
function  post_survey(a1,a2,a3)
{
if(a1 && a2 && a3)
{
var survey_value = "";
for(var i=0;i<a2.length;i++)
{
if(a2[i].checked==true)
{
survey_value = survey_value?(survey_value+","+a2[i].value):a2[i].value;
}
}
if(survey_value)
{
a3.value = survey_value
a1.submit();
}
}
}
function view_survey(a1)
{
if(a1)
{
document.location = a1.action;
}
}
