function destjump() 
{
    
    var luxWin;     //name of window spawned
    var LL_URL;     //URL of the new window
    var clickVal = "NYTHafPg";   //location user is coming from, for tracking - ***alter this value according to the site the ad is on***

    // In the case of jumping from the main site

	if ('www.luxurylink.com' != '') {

		// Set the DEST variable from the destination pulldown and the MON variable from the month pulldown

		var DEST = document.pulldown.selectdest.options[document.pulldown.selectdest.selectedIndex].value;
		var MON = document.pulldown.selectmonth.options[document.pulldown.selectmonth.selectedIndex].value;

		// Make sure both DEST and MON were selected
		
		if ((DEST == 'CD') && (MON == 'CM'))
		{
			alert ("Please choose both a destination and a month before clicking GO."); 
			return;
		}
		
		
		
		// Make sure DEST has a value
		
		if (DEST == 'CD') {
			
			DEST = '';
			
		}
		
		// Test to see if a month is selected
		
		if (document.pulldown.selectmonth.options[document.pulldown.selectmonth.selectedIndex].value == 'CM') 
		{
		
			// Special clause for Europe
			
			if (document.pulldown.selectdest.options[document.pulldown.selectdest.selectedIndex].value == '2')
			{
			
				LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Virtual/Virtual.phtml?id=1370%26Click=" + clickVal;
			
			}
			
			// Special clause for US
			
			else if (document.pulldown.selectdest.options[document.pulldown.selectdest.selectedIndex].value == '3')
			{
			
				LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Virtual/Virtual.phtml?id=1371%26Click=" + clickVal;
			
			}
		
			// Search by type
		
			else {
			
				LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Themes/MultiTheme.phtml?theme_type=" + DEST + "&Click=" + clickVal;
			
			}
	
		}
	
		else {
	
				// See if dealing with 1 or 2 digit number
			
				if (DEST < 10) {
				
					LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Search/SearchByMonth.phtml?month_selected=" + MON + "&theme=00" + DEST + "&Click=" + clickVal;
				
				}
				
				else {
				
					LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Search/SearchByMonth.phtml?month_selected=" + MON + "&theme=0" + DEST + "&Click=" + clickVal;
				
				}
	
		}
	
    
    //alert(LL_URL);
    luxWin = window.open(LL_URL, "LuxuryPop", "");
    luxWin.focus();
    
        
    //top.main.location.href = LL_URL;
	
	}
	
// In the case of jumping from the secure site
	
	else {
	
    	// Set the DEST variable from the destination pulldown and the MON variable from the month pulldown
    
    	var DEST = document.pulldown.selectdest.options[document.pulldown.selectdest.selectedIndex].value;
    	var MON = document.pulldown.selectmonth.options[document.pulldown.selectmonth.selectedIndex].value;
    
    	// Make sure both DEST and MON were selected
    	
    	if ((DEST == 'CD') && (MON == 'CM'))
    	{
    		alert ("Please choose both a destination and a month before clicking GO."); 
    		return;
    	}
    	
    	
    	
    	// Make sure DEST has a value
    	
    	if (DEST == 'CD') {
    		
    		DEST = '';
    		
    	}
    	
    	// Test to see if a month is selected
    	
    	if (document.pulldown.selectmonth.options[document.pulldown.selectmonth.selectedIndex].value == 'CM') 
    	{
    	
    		// Special clause for Europe
    		
    		if (document.pulldown.selectdest.options[document.pulldown.selectdest.selectedIndex].value == '2')
    		{
    		
    			LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Virtual/Virtual.phtml?id=1370%26Click=" + clickVal;
    		
    		}
    		
    		// Special clause for US
    		
    		else if (document.pulldown.selectdest.options[document.pulldown.selectdest.selectedIndex].value == '3')
    		{
    		
    			LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Virtual/Virtual.phtml?id=1371%26Click=" + clickVal;
    		
    		}
    	
    		// Search by type
    	
    		else {
    		
    			LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Themes/MultiTheme.phtml?theme_type=" + DEST + "&Click=" + clickVal;
    		
    		}
    
    	}
    
    	else {
    
			// See if dealing with 1 or 2 digit number
		
			if (DEST < 10) {
					
				LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Search/SearchByMonth.phtml?month_selected=" + MON + "\&theme=00" + DEST + "&Click=" + clickVal;
			
			}
			
			else {
			
				LL_URL = "http://www.luxurylink.com/Jump.phtml?rd=/index.phtml?rd=Search/SearchByMonth.phtml?month_selected=" + MON + "\&theme=0" + DEST + "&Click=" + clickVal;
			
			}
    
    	}


    luxWin = window.open(LL_URL, "LuxuryPop", "");
    luxWin.focus();
    //top.location.href = LL_URL;
	
	}

}

