// www.essexboyz.com r2/20091027

// Admin (event)

function adminEvent() {
	document.ebz.x.value = 'AdminEvent';
	document.ebz.submit();
}

function adminEventDelete(calendarId) {
	document.ebz.x.value = 'AdminEventDelete';
	document.ebz.aeI.value = calendarId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function adminEventDeleteCancel() {
	document.ebz.x.value = 'AdminEvent';
	document.ebz.aeI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminEventEdit(calendarId) {
	document.ebz.x.value = 'AdminEventEdit';
	if (calendarId) {
		document.ebz.aeI.disabled = 0;
		document.ebz.aeI.value = calendarId;
	}
	else {
		document.ebz.aeI.disabled = 1;
	}
	document.ebz.method = 'post';
	document.ebz.submit();
}

function adminEventEditCancel() {
	document.ebz.x.value = 'AdminEvent';
	if (document.ebz.aeI) {
		document.ebz.aeI.disabled = 1;
	}
	document.ebz.startsOnD.disabled = 1;
	document.ebz.startsOnM.disabled = 1;
	document.ebz.startsOnY.disabled = 1;
	document.ebz.days.disabled = 1;
	document.ebz.eventType.disabled = 1;
	document.ebz.title.disabled = 1;
	document.ebz.phpbbTopicId.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminEventListRefresh() {
	document.ebz.x.value = 'AdminEvent';
	document.ebz.submit();
}

function adminEventWriteUpDisable(calendarId) {
	document.ebz.x.value = 'AdminEventWriteUpDisable';
	document.ebz.aeI.value = calendarId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function adminEventWriteUpDisableCancel() {
	document.ebz.x.value = 'AdminEvent';
	document.ebz.aeI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminEventWriteUpEnable(calendarId) {
	document.ebz.x.value = 'AdminEventWriteUpEnable';
	document.ebz.aeI.value = calendarId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function adminEventWriteUpEnableCancel() {
	document.ebz.x.value = 'AdminEvent';
	document.ebz.aeI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

// Admin (user)

function adminUser() {
	document.ebz.x.value = 'AdminUser';
	document.ebz.submit();
}

function adminUserDisable(userId) {
	document.ebz.x.value = 'AdminUserDisable';
	document.ebz.auI.value = userId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function adminUserDisableCancel() {
	document.ebz.x.value = 'AdminUser';
	document.ebz.auI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminUserEdit(userId) {
	document.ebz.x.value = 'AdminUserEdit';
	if (userId) {
		document.ebz.auI.disabled = 0;
		document.ebz.auI.value = userId;
	}
	else {
		document.ebz.auI.disabled = 1;
	}
	document.ebz.method = 'post';
	document.ebz.submit();
}

function adminUserEditCancel() {
	document.ebz.x.value = 'AdminUser';
	if (document.ebz.auI) {
		document.ebz.auI.disabled = 1;
	}
	if (document.ebz.phpbbUserName) {
		document.ebz.phpbbUserName.disabled = 1;
	}
	document.ebz.bornOnD.disabled = 1;
	document.ebz.bornOnM.disabled = 1;
	document.ebz.bornOnY.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminUserListRefresh() {
	document.ebz.x.value = 'AdminUser';
	document.ebz.submit();
}

function adminUserPageFirst() {
	document.ebz.auP.value = 1;
	document.ebz.x.value = 'AdminUser';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminUserPageLast() {
	document.ebz.auP.value = -1;
	document.ebz.x.value = 'AdminUser';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminUserPageNext() {
	document.ebz.auP.value++;
	document.ebz.x.value = 'AdminUser';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminUserPagePrev() {
	document.ebz.auP.value--;
	document.ebz.x.value = 'AdminUser';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function adminUserReEnable(userId) {
	document.ebz.x.value = 'AdminUserReEnable';
	document.ebz.auI.value = userId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function adminUserReEnableCancel() {
	document.ebz.x.value = 'AdminUser';
	document.ebz.auI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

// Album

function albumDelete(albumId) {
	document.ebz.x.value = 'AlbumDelete';
	document.ebz.aI.value = albumId;
	document.ebz.aT.disabled = 1;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function albumDeleteCancel(actionVerb) {
	document.ebz.x.value = actionVerb;
	document.ebz.aI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumEdit(albumId) {
	document.ebz.x.value = 'AlbumEdit';
	if (albumId) {
		document.ebz.aI.disabled = 0;
		document.ebz.aI.value = albumId;
		document.ebz.aT.disabled = 1;
	}
	else {
		document.ebz.aI.disabled = 1;
		document.ebz.aT.disabled = 0;
	}
	document.ebz.method = 'post';
	document.ebz.submit();
}

function albumEditCancel(actionVerb) {
	document.ebz.x.value = actionVerb;
	if (document.ebz.aI) {
		document.ebz.aI.disabled = 1;
	}
	if (document.ebz.aT) {
		document.ebz.aT.disabled = 1;
	}
	document.ebz.title.disabled = 1;
	document.ebz.description.disabled = 1;
	if (document.ebz.consent) {
		document.ebz.consent.disabled = 1;
	}
	if (document.ebz.objectThumb) {
		document.ebz.objectThumb.disabled = 1;
	}
	if (document.ebz.locked) {
		document.ebz.locked.disabled = 1;
	}
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumListRefresh(actionVerb) {
	document.ebz.x.value = actionVerb;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPageFirst(actionVerb) {
	document.ebz.aP.value = 1;
	document.ebz.x.value = actionVerb;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPageLast(actionVerb) {
	document.ebz.aP.value = -1;
	document.ebz.x.value = actionVerb;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPageNext(actionVerb) {
	document.ebz.aP.value++;
	document.ebz.x.value = actionVerb;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPagePrev(actionVerb) {
	document.ebz.aP.value--;
	document.ebz.x.value = actionVerb;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumView(albumId) {
	document.ebz.x.value = 'AlbumView';
	if (albumId) {
		document.ebz.aI.value = albumId;
	}
	if (document.ebz.aT) {
		document.ebz.aT.disabled = 1;
	}
	if (document.ebz.vD) {
		document.ebz.vD.disabled = 1;
	}
	if (document.ebz.vS) {
		document.ebz.vS.disabled = 1;
	}
	document.ebz.method = 'get';
	document.ebz.submit();
}

// Album photo

function albumPhotoDelete(photoId) {
	document.ebz.x.value = 'AlbumPhotoDelete';
	document.ebz.pI.value = photoId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function albumPhotoDeleteCancel() {
	document.ebz.x.value = 'AlbumView';
	document.ebz.pI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoEdit(photoId) {
	document.ebz.x.value = 'AlbumPhotoEdit';
	if (photoId) {
		document.ebz.pI.disabled = 0;
		document.ebz.pI.value = photoId;
	}
	else {
		document.ebz.pI.disabled = 1;
	}
	document.ebz.method = 'post';
	document.ebz.submit();
}

function albumPhotoEditCancel() {
	document.ebz.x.value = 'AlbumView';
	if (document.ebz.pI) {
		document.ebz.pI.disabled = 1;
	}
	if (document.ebz.imageFile) {
		document.ebz.imageFile.disabled = 1;
	}
	document.ebz.caption.disabled = 1;
	document.ebz.description.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoListRefresh() {
	document.ebz.x.value = 'AlbumView';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoNewDropboxImport() {
	document.ebz.x.value = 'AlbumPhotoNewDropboxImport';
	document.ebz.pI.disabled = 1;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function albumPhotoNewDropboxImportCancel() {
	document.ebz.x.value = 'AlbumView';
	if (document.ebz.pI) {
		document.ebz.pI.disabled = 1;
	}
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoNewMulti() {
	document.ebz.x.value = 'AlbumPhotoNewMulti';
	document.ebz.pI.disabled = 1;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function albumPhotoNewMultiCancel() {
	document.ebz.x.value = 'AlbumView';
	if (document.ebz.pI) {
		document.ebz.pI.disabled = 1;
	}
	document.ebz.imageFile1.disabled = 1;
	document.ebz.imageFile2.disabled = 1;
	document.ebz.imageFile3.disabled = 1;
	document.ebz.imageFile4.disabled = 1;
	document.ebz.imageFile5.disabled = 1;
	document.ebz.imageFile6.disabled = 1;
	document.ebz.imageFile7.disabled = 1;
	document.ebz.imageFile8.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoPageFirst() {
	document.ebz.pP.value = 1;
	document.ebz.x.value = 'AlbumView';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoPageLast() {
	document.ebz.pP.value = -1;
	document.ebz.x.value = 'AlbumView';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoPageNext() {
	document.ebz.pP.value++;
	document.ebz.x.value = 'AlbumView';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoPagePrev() {
	document.ebz.pP.value--;
	document.ebz.x.value = 'AlbumView';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function albumPhotoView(photoId) {
	document.ebz.x.value = 'AlbumPhotoView';
	document.ebz.pI.value = photoId;
	document.ebz.submit();
}

function albumPhotoViewNext() {
	document.ebz.vD.value = 1;
	document.ebz.vS.disabled = 1;
	document.ebz.submit();
}

function albumPhotoViewPrev() {
	document.ebz.vD.value = -1;
	document.ebz.vS.disabled = 1;
	document.ebz.submit();
}

function albumPhotoViewSlideshow(enable) {
	if (enable) {
		document.ebz.vS.value = '1';
	}
	else {
		document.ebz.vS.value = '';
	}
	document.ebz.submit();
}

// Calendar

function calendarShowMonth(month) {
	document.ebz.x.value = 'EventzCalendar'
	document.ebz.cM.value = month;
	document.ebz.method = 'get';
	document.ebz.submit();
}

// Consent

function consentDisagree() {
	document.ebz.action = 'index.php';
	document.ebz.x.disabled = 1;
	document.ebz.consent.disabled = 1;
	document.ebz.submit();
}

// Feature

function featureDelete(featureId) {
	document.ebz.x.value = 'FeatureDelete'
	document.ebz.fI.value = featureId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function featureDeleteCancel() {
	document.ebz.x.value = 'Featurez';
	document.ebz.fI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function featureEdit(featureId) {
	document.ebz.x.value = 'FeatureEdit'
	document.ebz.fI.value = featureId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function featureEditCancel() {
	document.ebz.x.value = 'Featurez';
	document.ebz.fI.disabled = 1;
	document.ebz.title.disabled = 1;
	document.ebz.body.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function featureList() {
	document.ebz.x.value = 'Featurez';
	document.ebz.fI.disabled = 1;
	document.ebz.aI.disabled = 1;
	document.ebz.aT.disabled = 1;
	document.ebz.aK.disabled = 1;
	document.ebz.aS.disabled = 1;
	document.ebz.aP.disabled = 1;
	document.ebz.submit();
}

function featureListRefresh() {
	document.ebz.x.value = 'Featurez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function featurePageFirst() {
	document.ebz.mP.value = 1;
	document.ebz.x.value = 'Featurez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function featurePageLast() {
	document.ebz.mP.value = -1;
	document.ebz.x.value = 'Featurez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function featurePageNext() {
	document.ebz.mP.value++;
	document.ebz.x.value = 'Featurez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function featurePagePrev() {
	document.ebz.mP.value--;
	document.ebz.x.value = 'Featurez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function featureView(featureId) {
	document.ebz.x.value = 'FeatureView';
	if (featureId) {
		document.ebz.fI.value = featureId;
	}
	else {
		document.ebz.aI.disabled = 1;
		document.ebz.pI.disabled = 1;
		document.ebz.pK.disabled = 1;
		document.ebz.pS.disabled = 1;
		document.ebz.pP.disabled = 1;
	}
	document.ebz.submit();
}

// News

function newsDelete(newsId) {
	document.ebz.x.value = 'NewsDelete';
	document.ebz.nI.value = newsId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function newsDeleteCancel() {
	document.ebz.x.value = 'Home';
	document.ebz.nI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function newsEdit(newsId) {
	document.ebz.x.value = 'NewsEdit'
	if (newsId) {
		document.ebz.nI.disabled = 0;
		document.ebz.nI.value = newsId;
	}
	else {
		document.ebz.nI.disabled = 1;
	}
	document.ebz.method = 'post';
	document.ebz.submit();
}

function newsEditCancel() {
	document.ebz.x.value = 'Home';
	if (document.ebz.nI) {
		document.ebz.nI.disabled = 1;
	}
	document.ebz.title.disabled = 1;
	if (document.ebz.imageFile) {
		document.ebz.imageFile.disabled = 1;
	}
	document.ebz.body.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

// Ride

function rideDelete(rideId) {
	document.ebz.x.value = 'RideDelete';
	document.ebz.rI.value = rideId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function rideDeleteCancel() {
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.rI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function rideEdit(rideId) {
	document.ebz.x.value = 'RideEdit'
	if (rideId) {
		document.ebz.rI.disabled = 0;
		document.ebz.rI.value = rideId;
	}
	else {
		document.ebz.rI.disabled = 1;
	}
	document.ebz.method = 'post';
	document.ebz.submit();
}

function rideEditCancel() {
	document.ebz.x.value = 'ReaderzRidez';
	if (document.ebz.rI) {
		document.ebz.rI.disabled = 1;
	}
	document.ebz.rideCatId.disabled = 1;
	document.ebz.comments.disabled = 1;
	document.ebz.performanceMods.disabled = 1;
	document.ebz.exteriorMods.disabled = 1;
	document.ebz.interiorMods.disabled = 1;
	document.ebz.ice.disabled = 1;
	document.ebz.zeroTo60Secs.disabled = 1;
	document.ebz.quarterSecs.disabled = 1;
	document.ebz.quarterMPH.disabled = 1;
	document.ebz.powerBHP.disabled = 1;
	document.ebz.powerRPM.disabled = 1;
	document.ebz.powerEst.disabled = 1;
	document.ebz.torqueLbFt.disabled = 1;
	document.ebz.torqueRPM.disabled = 1;
	document.ebz.torqueEst.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function rideNewFeature(rideId) {
	document.ebz.x.value = 'RideNewFeature';
	document.ebz.rI.value = rideId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function rideNewFeatureCancel() {
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.rI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function rideList() {
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.rI.disabled = 1;
	document.ebz.aI.disabled = 1;
	document.ebz.aT.disabled = 1;
	document.ebz.aK.disabled = 1;
	document.ebz.aS.disabled = 1;
	document.ebz.aP.disabled = 1;
	document.ebz.submit();
}

function rideListRefresh() {
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function ridePageFirst() {
	document.ebz.rP.value = 1;
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function ridePageLast() {
	document.ebz.rP.value = -1;
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function ridePageNext() {
	document.ebz.rP.value++;
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function ridePagePrev() {
	document.ebz.rP.value--;
	document.ebz.x.value = 'ReaderzRidez';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function rideView(rideId) {
	document.ebz.x.value = 'RideView';
	if (rideId) {
		document.ebz.rI.value = rideId;
	}
	else {
		document.ebz.aI.disabled = 1;
		document.ebz.pI.disabled = 1;
		document.ebz.pK.disabled = 1;
		document.ebz.pS.disabled = 1;
		document.ebz.pP.disabled = 1;
	}
	document.ebz.submit();
}

// Link

function linkDelete(linkId) {
	document.ebz.x.value = 'LinkDelete';
	document.ebz.lI.value = linkId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function linkDeleteCancel() {
	document.ebz.x.value = 'Linkz';
	document.ebz.lI.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function linkEdit(linkId) {
	document.ebz.x.value = 'LinkEdit'
	if (linkId) {
		document.ebz.lI.disabled = 0;
		document.ebz.lI.value = linkId;
	}
	else {
		document.ebz.lI.disabled = 1;
	}
	document.ebz.method = 'post';
	document.ebz.submit();
}

function linkEditCancel() {
	document.ebz.x.value = 'Linkz';
	if (document.ebz.lI) {
		document.ebz.lI.disabled = 1;
	}
	if (document.ebz.imageFile) {
		document.ebz.imageFile.disabled = 1;
	}
	document.ebz.linkType.disabled = 1;
	document.ebz.title.disabled = 1;
	document.ebz.url.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function linkFollow(linkId) {
	document.ebz.x.value = 'LinkFollow';
	document.ebz.lI.value = linkId;
	document.ebz.submit();
}

function linkList() {
	document.ebz.x.value = 'Linkz';
	document.ebz.lI.disabled = 1;
	document.ebz.submit();
}

function linkListRefresh() {
	document.ebz.x.value = 'Linkz';
	document.ebz.submit();
}

function linkPageFirst() {
	document.ebz.lP.value = 1;
	document.ebz.x.value = 'Linkz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function linkPageLast() {
	document.ebz.lP.value = -1;
	document.ebz.x.value = 'Linkz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function linkPageNext() {
	document.ebz.lP.value++;
	document.ebz.x.value = 'Linkz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function linkPagePrev() {
	document.ebz.lP.value--;
	document.ebz.x.value = 'Linkz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

// Scrapbook

function scrapbookList() {
	document.ebz.x.value = 'Scrapbook';
	document.ebz.aI.disabled = 1
	document.ebz.pI.disabled = 1
	document.ebz.pK.disabled = 1
	document.ebz.pS.disabled = 1
	document.ebz.pP.disabled = 1
	document.ebz.submit();
}

// Team EBZ

function teamEBZEdit(teamEBZId) {
	document.ebz.x.value = 'TeamEBZEdit'
	document.ebz.teI.value = teamEBZId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function teamEBZEditCancel() {
	document.ebz.x.value = 'TeamEBZ';
	document.ebz.teI.disabled = 1;
	document.ebz.name.disabled = 1;
	document.ebz.roles.disabled = 1;
	document.ebz.msnAddr.disabled = 1;
	document.ebz.about.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function teamEBZList() {
	document.ebz.x.value = 'TeamEBZ';
	document.ebz.teL.disabled = 1;
	document.ebz.teI.disabled = 1;
	document.ebz.aI.disabled = 1;
	document.ebz.aT.disabled = 1;
	document.ebz.aK.disabled = 1;
	document.ebz.aS.disabled = 1;
	document.ebz.aP.disabled = 1;
	document.ebz.submit();
}

function teamEBZView(teamEBZId) {
	document.ebz.x.value = 'TeamEBZView';
	if (teamEBZId) {
		document.ebz.teI.value = teamEBZId;
	}
	else {
		document.ebz.aI.disabled = 1;
		document.ebz.pI.disabled = 1;
		document.ebz.pK.disabled = 1;
		document.ebz.pS.disabled = 1;
		document.ebz.pP.disabled = 1;
	}
	document.ebz.submit();
}

// Write up

function writeUpEdit(writeUpId) {
	document.ebz.x.value = 'WriteUpEdit'
	document.ebz.wuI.value = writeUpId;
	document.ebz.method = 'post';
	document.ebz.submit();
}

function writeUpEditCancel() {
	document.ebz.x.value = 'WriteUpz';
	document.ebz.wuI.disabled = 1;
	document.ebz.body.disabled = 1;
	document.ebz.method = 'get';
	document.ebz.submit();
}

function writeUpList() {
	document.ebz.x.value = 'WriteUpz';
	document.ebz.wuI.disabled = 1;
	document.ebz.aI.disabled = 1;
	document.ebz.aT.disabled = 1;
	document.ebz.aK.disabled = 1;
	document.ebz.aS.disabled = 1;
	document.ebz.aP.disabled = 1;
	document.ebz.submit();
}

function writeUpListRefresh() {
	document.ebz.x.value = 'WriteUpz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function writeUpPageFirst() {
	document.ebz.wuP.value = 1;
	document.ebz.x.value = 'WriteUpz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function writeUpPageLast() {
	document.ebz.wuP.value = -1;
	document.ebz.x.value = 'WriteUpz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function writeUpPageNext() {
	document.ebz.wuP.value++;
	document.ebz.x.value = 'WriteUpz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function writeUpPagePrev() {
	document.ebz.wuP.value--;
	document.ebz.x.value = 'WriteUpz';
	document.ebz.method = 'get';
	document.ebz.submit();
}

function writeUpView(writeUpId) {
	document.ebz.x.value = 'WriteUpView';
	if (writeUpId) {
		document.ebz.wuI.value = writeUpId;
	}
	else {
		document.ebz.aI.disabled = 1;
		document.ebz.pI.disabled = 1;
		document.ebz.pK.disabled = 1;
		document.ebz.pS.disabled = 1;
		document.ebz.pP.disabled = 1;
	}
	document.ebz.submit();
}

