function bookmarksite(title,url){
if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}

function openDetail(url,width,height,left,top)
	{
		if (typeof width === 'undefined') width = 420;
		if (typeof height === 'undefined') height = 400;
		if (typeof width === 'undefined') left = 140;
		if (typeof height === 'undefined') top = 220;
		var myRef;
		var location = url;
		myRef = window.open(''+location,'mywin','left='+left+',top='+top+',width='+width+',height='+height+',toolbar=no,resizable=0,location=no,menubar=no');
	}	
	
function openEnquery(url)
	{
		var myRef;
		var location = url;
		myRef = window.open(''+location,'mywin','left=20px,top=5px,width=915px,height=800px,toolbar=no,scrollbars=yes');
	}
	
function hideRSS()
{
	document.getElementById('rssfeed').style.display='none'	
}
/* Code for show hide monument details */
function showDesc(id){ 
	var ID='town_'+id;
	if(id==1){
		$('#town_1').show(500);
		$('#town_2').hide(500);
		$('#town_3').hide(500);
		$('#town_4').hide(500);
		$('#town_5').hide(500);
	}else if(id==2){
		$('#town_1').hide(500);
		$('#town_2').show(500);
		$('#town_3').hide(500);
		$('#town_4').hide(500);
		$('#town_5').hide(500);
	}else if(id==3){
		$('#town_1').hide(500);
		$('#town_2').hide(500);
		$('#town_3').show(500);
		$('#town_4').hide(500);
		$('#town_5').hide(500);
	}else if(id==4){
		$('#town_1').hide(500);
		$('#town_2').hide(500);
		$('#town_3').hide(500);
		$('#town_4').show(500);
		$('#town_5').hide(500);
    }else if(id==5){
		$('#town_1').hide(500);
		$('#town_2').hide(500);
		$('#town_3').hide(500);
		$('#town_4').hide(500);
		$('#town_5').show(500);
	}	
}
