function openmoreinfowindow(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=680,height=700,scrollbars=yes');
return false;
}

function CloseTheWindow()
{
window.close();
}

function setreturndate() {
if (document.Login.Zone.options[1].selected)
	{
	document.Login.bkRDay.disabled = true
	document.Login.bkRMonth.disabled = true;
	document.Login.bkRYear.disabled = true;

	}
else
	{
	document.Login.bkRDay.disabled = false
	document.Login.bkRMonth.disabled = false;
	document.Login.bkRYear.disabled = false;
	}
}

function setentry(etype) {
 document.CustDet.entrytype.value=etype;
 document.forms["CustDet"].submit();
}

function OpenInfoWindow(mylink, windowname,windowsize)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, windowsize);
return false;
}

function submitit() {
  document.forms["SaveQuote"].submit();
}

function popsave(mylink)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, 'infopopsml','width=320,height=110,scrollbars=no');
return false;
}


function setagentcode() 
{
document.Login.agentcode.value = document.Login.agentselected.value
}

