function newEditor(id,dest,width,height){
	setContent();
	var pars = 'dest=' + dest + '&width=' + width + '&height=' + height;
	new Ajax.Updater(id,'editor.asp',{method: 'get', parameters: pars});
}
		
function cancel(){
	$('content').innerHTML = strContent;
}
	
function setContent(){
	strContent = $('content').innerHTML;
}

function highlight(el){
	el.style.backgroundColor = '#FFFFCC';
	if ($('edit')){
		$('edit').style.display = '';
	}
}

function revert(el){
	el.style.backgroundColor = '';
	if ($('edit')){
		$('edit').style.display = 'none';
	}
}

function viewLogin(){
	$('signin').style.display = '';
}

function hideLogin(){
	$('signin').style.display = 'none';
}