function imageWindow(mypage, mywidth, myheight){
	window.open(mypage,'Hotel_Images','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+(mywidth+20)+',height='+(myheight+35)+',top=60,left=60');
	return false;
}

function NewWindow(mypage){
	window.open(mypage,'Hotels','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=800,height=600,top=60,left=200');
	return false;
}

function customWindow(mypage, mywidth, myheight){
	window.open(mypage,'MAHTEC','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='+mywidth+',height='+myheight+',top=60,left=60');
	return false;
}

function tick() {
var hours, minutes, seconds, ap, intHours, intMinutes, intSeconds, today;
today = new Date();
intHours = today.getHours();
intMinutes = today.getMinutes();
intSeconds = today.getSeconds();
switch(intHours){
	case 0:
		hours = 12;
		ap = "AM";
		break;
	case 12:
		hours = intHours;
		ap = "PM";
		break;
	case 24:
		hours = 12;
		ap = "AM";
		break;
	default:
		if (intHours > 12)
		{
		  hours = intHours - 12;
		  ap = "PM";
		  break;
		}
		else if(intHours < 12)
		{
		  hours = intHours;
		  ap ="AM";
		}
}
if (intMinutes < 10) {
   minutes = "0"+intMinutes;
} else {
   minutes = intMinutes;
}

if (intSeconds < 10) {
   seconds = "0"+intSeconds;
} else {
   seconds = intSeconds;
}
Clock.innerHTML = hours+":"+minutes+":"+seconds+" "+ap;
window.setTimeout("tick();", 100);
}

function display(item) {
	document.getElementById(item+"content").style.display="block";
	document.getElementById(item+"status").innerHTML="-";
}

function hide(item) {
	document.getElementById(item+"content").style.display="none";
	document.getElementById(item+"status").innerHTML="+";
}

function toggleview(item) {
	if (document.getElementById(item+"content").style.display == "none") {
		display(item);
	} else {
		hide(item);
	}
}

function toggledisplay(action) {
	if (action == "show") {
		display("desc");
		display("obje");
		display("outl");
		display("regi");
	} else {
		hide("desc");
		hide("obje");
		hide("outl");
		hide("regi");
	}
}