function html_bold(form) {
	var text = prompt('Enter the content you want to have as Bold','');
	if (text == "" || text == null) { return false; }
	else { form.content.value += '<B>' + text + '</B>'; }
}

function html_italic(form) {
	var text = prompt('Enter the content you want to have as Italic','');
	if (text == "" || text == null) { return false; }
	else { form.content.value += '<I>' + text + '</I>'; }
}

function html_underline(form) {
	var text = prompt('Enter the content you want to have as Underlined','');
	if (text == "" || text == null) { return false; }
	else { form.content.value += '<U>' + text + '</U>'; }
}

function html_url(form) {
	var text = prompt('Enter the URL','');
	if (text == "" || text == null) { return false; }
	else { form.content.value += '<A HREF="' + text + '">' + text + '</A>'; }
}

function html_link(form) {
	var text = prompt('Enter the URL','');
	if (text == "" || text == null) { return false; }
	else { 
		var linktext = prompt('Enter the Target of the link.\n_blank for new window  /  _parent for current window','');
		if (linktext == "" || linktext == null) { return false; }
		else { form.content.value += '<A HREF="' + text + '" TARGET="' + linktext + '">' + text + '</A>'; }
	}
}

function html_image_link(form) {
	var text = prompt('Enter the URL','');
	if (text == "" || text == null) { return false; }
	else { 
		var linktext = prompt('Enter the PATH to your image','');
		if (linktext == "" || linktext == null) { return false; }
		else { form.content.value += '<A HREF="' + text + '"><IMG SRC="' + linktext + '" BORDER="0"></A>'; }
	}
}

function html_image(form) {
	var text = prompt('Enter the PATH to your image','');
	if (text == "" || text == null) { return false; }
	else { form.content.value += '<IMG SRC="' + text + '">'; }
}

function html_image_align(form) {
	var text = prompt('Enter the PATH to your image','');
	if (text == "" || text == null) { return false; }
	else { 
		var linktext = prompt('Enter the alignment of the image.\nleft, center, right or absmiddle','');
		if (linktext == "" || linktext == null) { return false; }
		else { form.content.value += '<IMG SRC="' + text + '" ALIGN="' + linktext + '">'; }
	}
}

function html_video(form) {
	var text = prompt('Enter the PATH to your video','');
	if (text == "" || text == null) { return false; }
	else { form.content.value += '<EMBED SRC="' + text + '" WIDTH="320" HEIGHT="299">'; }
}

function html_flash(form) {
	var swf = prompt('Enter the PATH to your SWF movie','');
	if (swf == "" || swf == null) { return false; }
	else { 
		var swf_width = prompt('Enter the WIDTH of your flash movie','');
		if (swf_width == "" || swf_width == null) { return false; }
		else {
			var swf_height = prompt('Enter the HEIGHT of your flash movie','');
			if (swf_height == "" || swf_height == null) { return false; }
			else {
				form.content.value += '<embed height="' + swf_height + '" src="' + swf + '" width="' + swf_width + '" wmode="transparent" quality="best" play="true">\n';	
			}
		}
	}
}





