﻿function GetLogin()
{

if(document.getElementById("UC").value!="" && document.getElementById("UP").value!="")
{
debugger;
var ref;
ref="http://" + window.location.host;

var httpurl = ref + "/Traveloline/UserControl/Login.aspx?id=" + document.getElementById("UC").value + "&Pass=" + document.getElementById("UP").value + "&Cid=TL&ref=" + ref;
window.location.replace(httpurl)
 }
 else
 {
     alert("Id or Password Is Not Correct");
     window.location.host()
 }
}

