function adv(){
		document.getElementById('divAdvanceSearch').style.display='';
		document.getElementById('lblAdvSearch').style.display='none';
		document.getElementById('schSearch:btnSubmitBasic').style.display='none';
	}
function basic()
	{
		document.getElementById('divAdvanceSearch').style.display='none';
		document.getElementById('lblAdvSearch').style.display='';
		document.getElementById('schSearch:btnSubmitBasic').style.display='';
	}
	
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
// dw_tooltip.js contains onresize and onload handlers
// Put tooltip div and script tags for external js files at end of document

// avoid error of passing event object from link in older browsers
if (!document.getElementById && !document.all && !document.layers)
	event = "";

function hideTip() {} // avoid errors until loaded	

var tooltip;
function doTooltip(evt,txt) {
	if (!tooltip) return;
	var cntnt = wrapTip(txt);
	goTooltip(evt,cntnt);
}

// wrap tip content for formatting
function wrapTip(txt) {
	var cntnt = "";
	if (document.layers) {
		cntnt = '<table bgcolor="' + tipBorderColor + '" width="' + tipWidth + '" cellspacing="0" cellpadding="' + tipBorderWidth + '" border="0"><tr><td><table bgcolor="' + tipBgColor + '" width="100%" cellspacing="0" cellpadding="' + tipPadding + '" border="0"><tr><td><div style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + tipFontColor + ';">' + txt  + '</div></td></tr></table></td></tr></table>';
	} else cntnt = txt;
	return cntnt;
}

//To display the right Why SOTC images displayed in the right column
function WhySOTC()
{
	var ServiceType = location.href ;
	if(ServiceType.indexOf("Escorted") >= 0)
		document.getElementById("div" + "Escorted").style.display = '' ;
	
	else if(ServiceType.indexOf("IntlCusVac") >= 0)
		document.getElementById("div" + "IntlCusVac").style.display = '' ;
		
	else if(ServiceType.indexOf("IndianCusVac") >= 0)
		document.getElementById("div" + "IndianCusVac").style.display = '' ;
		
	else if(ServiceType.indexOf("Luxury") >= 0)
		document.getElementById("div" + "Luxury").style.display = '' ;
	
	else if(ServiceType.indexOf("Theme") >= 0)
		document.getElementById("div" + "Theme").style.display = '' ;
}

///////////////////////  CUSTOMIZE TOOLTIP HERE   ///////////////////////
// settings for tooltip (don't remove any of these variables!)

// Do you want tooltip to move when mouse moves over link?
var tipFollowMouse = true;	
// be sure to set tooltip width wide enough for widest image!
// take into account border and padding
var tipWidth = 198;	// width of tooltip in pixels

// how far from mouse to show tooltip
var tipOffX	= 8;	// horizontal offset
var tipOffY	= 12; // vertical offset

var tipFontFamily = "Verdana, arial, helvetica, sans-serif";
var tipFontSize	= "10px";	// string with pixels or points (px or pt)
// tooltip content line-height
var tipLineHeight	= 1.1;	// number	(recommend 1 to 1.3)
var tipFontColor = "#000000";
var tipBgColor = "#D2F2FA";	// tooltip background color
// background image for tooltip (leave empty string if no bg image)
var tipBgImg = "";	
// "breathing room" around tooltip content
var tipPadding = 2;	// integer (pixel value)

// leave a color in here even if you don't want a border
var tipBorderColor = "#78D2E6"; 

// if you don't want a border, set tipBorderWidth to 0
var tipBorderWidth = 1; // integer (pixel value)

// if you don't want a border, set tipBorderStyle to "none"
// options for border style: "none", "solid", "ridge", "outset",
// "inset", "groove", "double", "dashed"
var tipBorderStyle = "solid"; 

var tip1 = "Tick mark indicates Guaranteed Departure for that date.";
var tip2 = "Green Circle indicates Departures on that date are Open for Sale.";
var tip3 = "Orange Circle indicates Departures on that date are Open on Request.";
var tip4 = "Red Circle indicates Departures on that date are Closed for Sale.";
