function js110Bookmark(sURL,sText)
{	window.external.AddFavorite(sURL,sText);
}

function js110RemoveWaitmessage()
{	if (!global_isNav)
	{	document.all.divWaitMessage.style.visibility='hidden';
	}
	else
	{	document.divWaitMessage.visibility='hidden';
	}
}

function openWindow(url,size)
{
	js110OpenWindow(url,size)
}

function js110OpenWindow(url,size)
{	var sAll='scrollbars,width=860,height=600'
	var sApp='resizable,status,'
	
	if (size == "big")
	{	popupWin=window.open(url,'infoWindow_Insurance',sApp+sAll)
	}
	else if (size == "LTSBDOTCOMApp")
	{	popupWin=window.open(url,'LTSBDOTCOMAppWindow_Insurance',sApp+sAll)
	}
	else if (size == "AOLapp")
	{	popupWin=window.open(url,'AOLappWindow_Insurance',sApp+sAll)
	}
	else if (size == "YahooApp")
	{	popupWin=window.open(url,'YahooAppWindow_Insurance',sApp+sAll)
	}
	else if (size == "ParkersApp")
	{	popupWin=window.open(url,'ParkersAppWindow_Insurance',sApp+sAll)
	}
	else if (size == "PromotionAppHome")
	{	popupWin=window.open(url,'PromotionAppHomeWindow_Insurance',sApp+sAll)
	}
	else if (size == "PromotionAppCar")
	{	popupWin=window.open(url,'PromotionAppCarWindow_Insurance',sApp+sAll)
	}
	else if (size == "EmailPopUp")
	{	popupWin=window.open(url,'EmailPopUpWindow_Insurance',sApp+sAll)
	}
	else if (size == "CreativeVirtBotPage")
	{	popupWin=window.open(url,'infoWindow_Insurance','width=520,height=550')
	}
	else if (size == "CreativeVirtChoicePage")
	{	popupWin=window.open(url,'infoWindow_Insurance','width=520,height=380')
	}
	else 
	{	popupWin=window.open(url,'appWindow_Insurance',sApp+sAll)
	}
}

function js030DisableLinks() {js110DisableLinks();}
function js110DisableLinks()
{	if (navigator.appName != "Netscape")
	{	for (var i=0;i<document.links.length;i++) 
		{	document.links[i].style.cursor="wait";
			if (document.links[i].name != 'aLeftNav' && document.links[i].name != 'aHelpMe')
			{	document.links[i].disabled=true;
				// disable links by changing into book mark
				document.links[i].href='#~~';    
			}
		}
	}
}

function js030SetMouseIcon() {js110SetMouseIcon();}
function js110SetMouseIcon()
{	if (!global_isNav)
	{	document.TheForm.style.cursor="wait";
	}
}

function js030VerifyAndSubmitForm(target, sNewAction){js110VerifyAndSubmitForm(target, sNewAction);}
function js110VerifyAndSubmitForm(target, sNewAction)
{   document.TheForm.Control_Request.value=target;
	js110DisableLinks();
	js110SetMouseIcon();
	if (sNewAction)
	{	sNewAction+='.asp';
		document.TheForm.action=sNewAction;
	}
	document.TheForm.submit();		
}

function js110VerifyAndSubmitFormWithQuerySTR(target, sNewAction,sQuerySTR)
{   document.TheForm.Control_Request.value=target;
	js110DisableLinks();
	js110SetMouseIcon();
	if (sNewAction)
	{	sNewAction = sNewAction + '.asp?' + sQuerySTR;
		document.TheForm.action=sNewAction;
	}
	document.TheForm.submit();		
}




function js110ClearDownSessionValuesYN()
{
	var bClearDown;
	bClearDown = confirm("Are you sure you want to clear all customer data?");
	if (bClearDown)
	{
		document.SessionClear.submit();
	}
}

