/* Open Popup Starts */
function OpenPopUpWindow(url,width,height,scrollbars)
{	
	window.open(url,'',"width="+width+", height="+height+", scrollbars="+scrollbars+", screenX=100, screenY=100, location=0, resizable=0, status=1, toolbar=0, menubar=0", false);
}
/* Open Popup Ends */

/* Gallery Ecard Cancel Starts */
function GalleryEcardCancel()
{
	$('ecard_content').style.display = 'none';
	$('ecard_errmsg').innerHTML = '';
	$('YourName').value = '';
	$('YourEmail').value = '';
	$('RecipientName').value = '';
	$('RecipientEmail').value = '';
	$('YourComments').value = '';
}
/* Gallery Ecard Cancel Ends */

/* get Twin Share Block Starts */
function getTwinShareBlock()
{
	var noofhead=document.bookdeparture.no_of_heads.value;
	if((noofhead%2)==0)
	{
		$("twin_share_div").style.display="none";
		document.bookdeparture.is_twin_share.checked=false;
	}
	else
	{
		$("twin_share_div").style.display="block";
		document.bookdeparture.is_twin_share.checked=false;
	}
}
/* get Twin Share Block Starts */

/* Delete Confirmation Starts */
function ConfirmDelete(PageName,Par,DeleteID,Name,Lebel) 
{	
	if(confirm("Delete "+Lebel+" "+Name+" ?")) 
	{
		document.location = PageName+"?Action=Del&DeleteID=" + DeleteID+"&"+Par;
	}	
}	
/* Delete Confirmation Starts */

/* Gallery Ecard Cancel Starts */
function BookingQueryCancel()
{
	$('query_content').style.display = 'none';
	$('query_errmsg').innerHTML = '';
	$('BookingQuery').value = '';	
}
/* Gallery Ecard Cancel Ends */

/* EVENT CALENDAR FUNCTIONS*/

/* EVENT CALENDAR FUNCTIONS*/