var win = null;
function NewWindow(mypage,myname,w,h){
LeftPosition = (screen.width) ? (screen.width-w)/2 - 20 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars,resizable'
win = window.open(mypage,myname,settings)
}


// JavaScript Document
function ShowCaravanQuote(url)
            {
				alert('We are sorry, our quote engine for this product is temporarily unavailable.  We apologise for any inconvenience this may cause.');
				//NewWindow(pageTracker._getLinkerUrl(url) , "QuoteWindow", 880, 590 );
	return false;
				
         
            }
function ShowQuote(url)
            {
				if(url.indexOf('www.jltonline.co.uk') > 0)
				{
				NewWindow(url, "QuoteWindow", 880, 590 );
				}
				else
				{
				
	alert('We are sorry, our quote engine for this product is temporarily unavailable.  We apologise for any inconvenience this may cause.');
				}
				return false;
				/*
			//Get window manager
            var oManager = GetRadWindowManager();
            var oWnd = oManager.GetWindowByName('QuoteWindow');
			 if (oWnd)
            {    
                oWnd.Show();
                oWnd.SetActive(true);
            }
else
{
                var oWnd = window.radopen(url, 'QuoteWindow');
    }            */
         
            }
			function ShowRecall(url)
            {
				if(url.indexOf('www.jltonline.co.uk') > 0)
				{
					NewWindow(url, "QuoteWindow", 880, 590 );
				}
				else
				{
				alert('We are sorry, our quote engine for this product is temporarily unavailable.  We apologise for any inconvenience this may cause.');
				}
				//
	return false;
			/*
            var oManager = GetRadWindowManager();
            var oWnd = oManager.GetWindowByName('RecallWindow');
			 if (oWnd)
            {    
                oWnd.Show();
                oWnd.SetActive(true);
            }
else
{
                var oWnd = window.radopen(url, 'RecallWindow');
                 
    }            */
              
            }