function gotoNext(id){
    switch (id) {
        case 2:  
		self.location="hotel_directory.php?pageaction=B";
		break;
	case 3:  
		self.location="hotel_directory.php?pageaction=C";
		break;
	case 4:  
		self.location="hotel_directory.php?pageaction=D";
		break;
	case 5:  
		self.location="hotel_directory.php?pageaction=E";
		break;
	case 6:  
		self.location="hotel_directory.php?pageaction=F";
		break;
	case 7:  
		self.location="hotel_directory.php?pageaction=G";
		break;
	case 8:  
		self.location="hotel_directory.php?pageaction=H";
		break;
	case 9:  
		self.location="hotel_directory.php?pageaction=I";
		break;
	case 10:  
		self.location="hotel_directory.php?pageaction=J";
		break;
	case 11:  
		self.location="hotel_directory.php?pageaction=K";
		break;
	case 12:  
		self.location="hotel_directory.php?pageaction=L";
		break;
	case 13:  
		self.location="hotel_directory.php?pageaction=M";
		break;
	case 14:  
		self.location="hotel_directory.php?pageaction=N";
		break;
	case 15:  
		self.location="hotel_directory.php?pageaction=O";
		break;
	case 16:  
		self.location="hotel_directory.php?pageaction=P";
		break;
	case 17:  
		self.location="hotel_directory.php?pageaction=Q";
		break;
	case 18:  
		self.location="hotel_directory.php?pageaction=R";
		break;
	case 19:  
		self.location="hotel_directory.php?pageaction=S";
		break;
	case 20:  
		self.location="hotel_directory.php?pageaction=T";
		break;
	case 21:  
		self.location="hotel_directory.php?pageaction=U";
		break;
	case 22:  
		self.location="hotel_directory.php?pageaction=V";
		break;
	case 23:  
		self.location="hotel_directory.php?pageaction=W";
		break;
	case 24:  
		self.location="hotel_directory.php?pageaction=X";
		break;
	case 25:  
		self.location="hotel_directory.php?pageaction=Y";
		break;
	case 26:  
		self.location="hotel_directory.php?pageaction=Z";
		break;
	default:  
		self.location="hotel_directory.php?pageaction=Z";
         }
}

function gotoAbsolute(ch){
switch (ch) {
    	case 1:  
		self.location="hotel_directory.php?pageaction=A";
		break;
    	case 2:  
		self.location="hotel_directory.php?pageaction=B";
		break;
	case 3:  
		self.location="hotel_directory.php?pageaction=C";
		break;
	case 4:  
		self.location="hotel_directory.php?pageaction=D";
		break;
	case 5:  
		self.location="hotel_directory.php?pageaction=E";
		break;
	case 6:  
		self.location="hotel_directory.php?pageaction=F";
		break;
	case 7:  
		self.location="hotel_directory.php?pageaction=G";
		break;
	case 8:  
		self.location="hotel_directory.php?pageaction=H";
		break;
	case 9:  
		self.location="hotel_directory.php?pageaction=I";
		break;
	case 10:  
		self.location="hotel_directory.php?pageaction=J";
		break;
	case 11:  
		self.location="hotel_directory.php?pageaction=K";
		break;
	case 12:  
		self.location="hotel_directory.php?pageaction=L";
		break;
	case 13:  
		self.location="hotel_directory.php?pageaction=M";
		break;
	case 14:  
		self.location="hotel_directory.php?pageaction=N";
		break;
	case 15:  
		self.location="hotel_directory.php?pageaction=O";
		break;
	case 16:  
		self.location="hotel_directory.php?pageaction=P";
		break;
	case 17:  
		self.location="hotel_directory.php?pageaction=Q";
		break;
	case 18:  
		self.location="hotel_directory.php?pageaction=R";
		break;
	case 19:  
		self.location="hotel_directory.php?pageaction=S";
		break;
	case 20:  
		self.location="hotel_directory.php?pageaction=T";
		break;
	case 21:  
		self.location="hotel_directory.php?pageaction=U";
		break;
	case 22:  
		self.location="hotel_directory.php?pageaction=V";
		break;
	case 23:  
		self.location="hotel_directory.php?pageaction=W";
		break;
	case 24:  
		self.location="hotel_directory.php?pageaction=X";
		break;
	case 25:  
		self.location="hotel_directory.php?pageaction=Y";
		break;
	case 26:  
		self.location="hotel_directory.php?pageaction=Z";
		break;
         }
}

function gotoPrev(cr){
    switch (cr) {
        case 1:  
		self.location="hotel_directory.php?pageaction=A";
		break;
        case 2:  
		self.location="hotel_directory.php?pageaction=B";
		break;
	case 3:  
		self.location="hotel_directory.php?pageaction=C";
		break;
	case 4:  
		self.location="hotel_directory.php?pageaction=D";
		break;
	case 5:  
		self.location="hotel_directory.php?pageaction=E";
		break;
	case 6:  
		self.location="hotel_directory.php?pageaction=F";
		break;
	case 7:  
		self.location="hotel_directory.php?pageaction=G";
		break;
	case 8:  
		self.location="hotel_directory.php?pageaction=H";
		break;
	case 9:  
		self.location="hotel_directory.php?pageaction=I";
		break;
	case 10:  
		self.location="hotel_directory.php?pageaction=J";
		break;
	case 11:  
		self.location="hotel_directory.php?pageaction=K";
		break;
	case 12:  
		self.location="hotel_directory.php?pageaction=L";
		break;
	case 13:  
		self.location="hotel_directory.php?pageaction=M";
		break;
	case 14:  
		self.location="hotel_directory.php?pageaction=N";
		break;
	case 15:  
		self.location="hotel_directory.php?pageaction=O";
		break;
	case 16:  
		self.location="hotel_directory.php?pageaction=P";
		break;
	case 17:  
		self.location="hotel_directory.php?pageaction=Q";
		break;
	case 18:  
		self.location="hotel_directory.php?pageaction=R";
		break;
	case 19:  
		self.location="hotel_directory.php?pageaction=S";
		break;
	case 20:  
		self.location="hotel_directory.php?pageaction=T";
		break;
	case 21:  
		self.location="hotel_directory.php?pageaction=U";
		break;
	case 22:  
		self.location="hotel_directory.php?pageaction=V";
		break;
	case 23:  
		self.location="hotel_directory.php?pageaction=W";
		break;
	case 24:  
		self.location="hotel_directory.php?pageaction=X";
		break;
	case 25:  
		self.location="hotel_directory.php?pageaction=Y";
		break;
	default:  
		self.location="hotel_directory.php?pageaction=A";
         }
}