	function CaptureClick(ClientID) {

		try {
		var lbCaptureClick = document.getElementById(ClientID);
			
		eval(unescape(lbCaptureClick.href.replace(/javascript:/, '')));
		} catch (ex) 
		{ alert(ex.description); 
			
		return false;}
		   
		}


		function updateItinerary(sVal, ClientIDCarrier, ClientIDCmdTxt)
		{
			//alert('updateItinerary');
			document.getElementById(ClientIDCmdTxt).value = sVal;
			//alert(document.getElementById(ClientIDCmdTxt).value); 
			CaptureClick(ClientIDCarrier);
		}
		
		
			function closeWin()
		{ 
		
				//OnPopupClose();
				
				return false;
		}
		
		   
         
            
	function openPreview(url)
            {
				window.scrollBy(0,1);	
    			window.scrollBy(0, -1);		
               var oManager = GetRadWindowManager();
                oWnd = window.radopen(null, "RadWindow");				
				oWnd.ClientCallBackFunction = closeWin;
		        oWnd.SetSize(550, 650);
                oWnd.SetUrl(url);
                oWnd.SetModal(true);
                oWnd.Show();
	            return false;

            }
				
	         
            
	function openPreviewAfterDark(url)
            {
					
				window.scrollBy(0,1);	
    			window.scrollBy(0, -1);		
               var oManager = GetRadWindowManager();
                oWnd = window.radopen(null, "RadWindow");				
				oWnd.ClientCallBackFunction = closeWin;
		        oWnd.SetSize(800, 900);
                oWnd.SetUrl(url);
                oWnd.SetModal(true);
                oWnd.Show();
	            return false;

            }
            
            
            
    	function openPreviewListingItem(url)       
    	{
    	
    			window.scrollBy(0,1);	
    			window.scrollBy(0, -1);	
               var oManager = GetRadWindowManager();
                oWnd = window.radopen(null, "RadWindow");				
				oWnd.ClientCallBackFunction = closeWin;
		         oWnd.SetSize(600, 515);
                oWnd.SetUrl(url);
                oWnd.SetModal(true);
                oWnd.Show();
	            return false;	
    	
    	
    	} 
            
				
			