//###########################################################################################
//###########################################################################################
//###########################################################################################
//###########################################################################################
//#############                                                                                                                                                  #############
//#############                                                                                                                                                  #############
//#############				© Clipart of.com                                                                                                #############
//#############				                                                                                                                       #############
//#############                                                                                                                                                  #############
//###########################################################################################
//###########################################################################################
//###########################################################################################
//###########################################################################################



var now = new Date();	
var now_D = now.getDate();
var now_M = now.getMonth();
var now_Y = now.getYear();








function check_login_1() {
	//alert('Hello');
	if (document.cookie && document.cookie.indexOf('login') > -1)	{
		var info=read_cookie('login');
		//alert(info);
		if (info[2] == 'true'){location.href="http://www.myclipgalleryart.com/cgi-bin/admin.pl?username="+info[0]+"&password="+info[1];}
		else{location.href="http://www.myclipgalleryart.com/cgi-bin/admin.pl";}
		}
	return;
}

function check_login(username,password) {
		var info=[username,password]; 
		create_cookie('login', info); 
		//alert(document.cookie);
		location.href="http://www.myclipgalleryart.com/cgi-bin/admin.pl?do=login&username="+info[0]+"&password="+info[1];
}

function create_cookie(name,value) {
	order = value + "; ";
	var date = new Date();
	date.setTime(date.getTime()+(15*24*60*60*1000));
	var expires = "; expires="+date.toGMTString();
	document.cookie = name+"="+order+expires+"; path=/; domain=.myclipgalleryart.com;";
	return;
}

function read_cookie(name)	{
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++)
		{
		var c = ca[i];
		while (c.charAt(0)==' ') { c = c.substring(1,c.length);}
		if (c.indexOf(nameEQ) === 0) { return c.substring(nameEQ.length,c.length);}
		}
	return null;
}





function kill_cookie() {
//	alert('Killed the Cookie');

	var name = "login";
	var order = "; ";
	var date = new Date();
	date.setTime(date.getTime()+(-1*24*60*60*1000));
	var expires = "; expires="+date.toGMTString();

	document.cookie = name+"="+order+expires+"; path=/; domain=.myclipgalleryart.com;";
}



function hi() {
	//alert('HELLO');
}











//LINK
function view_link_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Link Information</h4><br>This link will send the visitor from Clipart Of.com to your website where you can then sell the image to the visitor. It must be a full link i.e. http://www.myclipgalleryart.com/, in order for this to work. I would suggest checking your pages to make sure they click through to the proper destination.  If not then you probably entered a bad link, in which case you would need to edit the image and correct the link.</td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}



//COPYRIGHT
function view_copyright_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Copyright Information</h4><br>55 chars maximum length. <p>Enter the name of the person or legal entity that owns the copyright. (Note: Contributors may only upload their own images)<P>This is a legal notice. Keep it short and accurate.<P>The text should contain no special characters, line breaks, etc., except perhaps, a &copy; symbol.<p>Enter <b>Public Domain</b> if the image was taken from the public domain. (Note: You must have permission to upload PD images)<p> <p>This line may be used underneath an image, on the image page or may be imbedded in an image or the image profile when providing high res &quot;comps&quot;.<P>Examples: <LI>2006 Joseph Schmoe<LI>Joe and Mandy Schmoe<LI>Public Domain<LI>&copy; 2005 Joe Schmoe All Rights Reserved<LI>Copyright 1997 Joe Schmoe All Rights Reserved<p><br></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}

//TITLE
function view_title_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Title Information</h4><br>Describe the clipart image and remember to include the type, &quot;Clipart&quot;, &quot;Clip Art&quot;, or &quot;Illustration&quot;<p>Examples:<li>Clipart of a Golden Retriever Running in a Park<li>Illustration of a Businessman and Woman Talking in an Office Setting<li>Clip art of a Beautiful and Colorful Sunset over the Grand Canyon<li>Picture of a Little Boy Jumping into His Father's Arms<li>Clipart illustration of President George W Bush Making a Campaign Speech in Portland, Maine on December 8, 2003<p><p></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}

//CAPTION
function view_caption_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Caption Information</h4><br>The caption is a short, concise image description. <p>It should <i>not</i> include words like &quot;Clipart&quot;, &quot;Clip Art&quot;, Picture&quot;, &quot;Illustration&quot;, etc., unless the image is <i>of</i> an illustration or clipart image.<p>Good Examples:<li>Dogs Playing on the Beach<li>Child Crying<li>Man Flying Box Kite in Park<li>Astrophoto: Andromeda Galaxy<p>Bad Examples:<li>Clipart of a Dog &nbsp; <-- Remove &quot;Clipart of a&quot; and be more descriptive<li>Child &nbsp; <-- Not descriptive enough<li>Kite Picture &nbsp; <-- Not descriptive enough and remove &quot;Picture&quot;<li>Astrophoto Taken with a Meade LXD75 at Prime Focus with ISO 1600 Speed Film &nbsp; <p>Save the lengthy descriptions for the description area and the &quot;Clipart of&quot;, &quot;Clip art of&quot;, &quot;Illustration of&quot;, etc... for the title area.<p>Please try to be descriptive yet concise.<p></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}

//DESCRIPTION
function view_description_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Description Information</h4><br>Describe what is happening in the image and the contents of the image. <p><FORM><b><font color='#666666'>Example 1:</font></B><br><TEXTAREA ROWS='6' COLS='95'>Clipart of a group of protesters in Ashland, Oregon on December 18th, 2004. In this illustration there are about 100 people carry signs, marching through downtown Ashland. This group of people were demonstrating against expansion of the Ashland Ski Area. The ski area, located atop Mt Ashland, is the main ski resort serving the Rogue Valley in Southern Oregon.</textarea><p><b><font color='#666666'>Example 2:</font></B><br><TEXTAREA ROWS='6' COLS='95'>This picture shows a happy family sitting on their couch at home, enjoying a relaxing evening in front of the television. In this illustration a father, mother and two kids, a boy, about 10 and a toddler girl, are cuddling together of the sofa eating popcorn and watching a movie on TV. The family is African American and the house is very typical of an upper-middle-class family in the United States. </textarea></form><p><p></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}

//SEARCH TERMS
function view_search_terms_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Search Terms Information</h4><br>Put yourself in the place of the searcher: would you want <i>this image</i> coming up for <i>this term</i>?<p>Start with the obvious and work towards the not-so-obvious.<p>Terms used should apply directly to that image. <p><form><b><font color='#666666'>For a clipart image of a man walking his german shepherd in a park:</font></b><br><textarea ROWS='6' COLS='95'>dog, dogs, german shepherd, german shepherds, dog breed, dog breeds, canine, shepherd, pet, pets, auto, autos, man, men, people, person, man walking dog, men walking dogs, park, parks, walking, walk, man walking a german shepherd</textarea></form><p>Complex terms consisting of more than one word are good as long they are pertinent to the image. An exact match of a search to a complex term gives you the top search result.<p>Do not use terms that are not <i>directly</i> related to the image. Keyword spammers will have their images ranked low so they come up lower than all the other images or your terms will be deleted and we will re-write them.<p>...if in doubt, leave it out.<p></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}




//KEYWORD
function view_keyword_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Keyword Information</h4><br>This will add a list of similar images beneath your main image.<p>Only use 1 search term.<p>For instance, if you have a picture of a cat then use 1 search term like cat, or feline, or pet, or auto.<p>Dont use a term like house, or car, or donkey, if the picture is of a cat.<p></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}





//RATING
function view_rating_help()	{
	var selected_text = "";
	selected_text += "<table style='border: solid #f8f8f8 1px; padding: 10px;' bgcolor='#FFFF99'  border='0' width='100%' height='0' cellpadding='0' cellspacing='20'><tr><td class='md'><A onClick='view_link_help();'><font color='blue'>Link</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_title_help();'><font color='blue'>Title</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_caption_help();'><font color='blue'>Caption</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_description_help();'><font color='blue'>Description</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_rating_help();'><font color='blue'>Rating</font></A> &nbsp; &nbsp; &nbsp; <A onClick='view_keyword_help();'><font color='blue'>Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A onClick='hide_information();'><b><font color='blue'>Remove Help Files >></font></b></A><br><br><h4>Rating Information</h4><br>Rank your image high if you want it to show up at the top of your search results.<p>Rank it low to show up at the bottom of your search results.<p></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}






//Hide information
function hide_information()	{
	var selected_text = "";
	selected_text += "";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}	







//HELP LINKS
//<A title=\"Copyright Help\" onClick=\"view_copyright_help();\"><font color=\"blue\">Copyright</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Title Help\" onClick=\"view_title_help();\"><font color=\"blue\">Title</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Caption Help\" onClick=\"view_caption_help();\"><font color=\"blue\">Caption</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Description Help\" onClick=\"view_description_help();\"><font color=\"blue\">Description</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Rating Help\" onClick=\"view_rating_help();\"><font color=\"blue\">Rating</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Keyword Help\" onClick=\"view_keyword_help();\"><font color=\"blue\">Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A title=\"Hide Information\" onClick=\"hide_information();\"><b><font color=\"blue\">Remove Help Files >></font></b></A>

//TEMPLATE
//function view_rating_help()	{
//	var selected_text = "";
//	selected_text += "<table class=\"border\" bgcolor=\"#f8f8f8\"  border=\"0\" width=\"100%\" height=\"0\" cellpadding=\"0\" cellspacing=\"20\"><tr><td class=\"md\"><h4>Search Terms Information</h4><br>BLANK<p><br><A title=\"Copyright Help\" onClick=\"view_copyright_help();\"><font color=\"blue\">Copyright</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Title Help\" onClick=\"view_title_help();\"><font color=\"blue\">Title</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Caption Help\" onClick=\"view_caption_help();\"><font color=\"blue\">Caption</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Description Help\" onClick=\"view_description_help();\"><font color=\"blue\">Description</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Rating Help\" onClick=\"view_rating_help();\"><font color=\"blue\">Rating</font></A> &nbsp; &nbsp; &nbsp; <A title=\"Keyword Help\" onClick=\"view_keyword_help();\"><font color=\"blue\">Search Term for Similar Images</font></A> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <A title=\"Hide Information\" onClick=\"hide_information();\"><b><font color=\"blue\">Remove Help Files >></font></b></A></td></tr></table>";
//	document.getElementById('input_box').innerHTML = selected_text;
//	return;
//}





//function show_textarea_box_for_description()	{
//	var selected_text = "";
//	selected_text += "<table class=\"sm\" width=\"0\"><tr><td><TEXTAREA name=\"description\" cols=\"50\" rows=\"12\"></TEXTAREA></td></tr></table>";
//	document.getElementById('input_box').innerHTML = selected_text;
//	return;
//}

















///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//DESCRIPTION
function show_find_and_replace_for_description()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td>Find: <INPUT type='text' size='29' name='find' value=''> </td><td>Replace: <INPUT type='text' size='29' name='replace' value=''></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}
function show_textarea_box_for_description()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td><TEXTAREA name='description' cols='50' rows='12'></TEXTAREA></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}









//USE RESTRICTIONS
function show_find_and_replace_for_use_restrictions()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td>Find: <INPUT type='text' size='29' name='find' value=''> </td><td>Replace: <INPUT type='text' size='29' name='replace' value=''></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}
function show_textarea_box_for_use_restrictions()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td><TEXTAREA name='use_restrictions' cols='50' rows='12'></TEXTAREA></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}







//TITLE
function show_find_and_replace_input_box_for_the_title()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td>Find: <INPUT type='text' size='29' name='find' value=''> </td><td>Replace: <INPUT type='text' size='29' name='replace' value=''></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}
function show_input_box_for_the_title()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td><input type='text' size='65' name='title' value='' ></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}






//CAPTION
function show_find_and_replace_input_box_for_the_caption()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td>Find: <INPUT type='text' size='29' name='find' value=''> </td><td>Replace: <INPUT type='text' size='29' name='replace' value=''></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}
function show_input_box_for_the_caption()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td><input type='text' size='65' name='caption' value='' ></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}






//SEARCH TERMS
function show_find_and_replace_for_search_terms()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td>Find: <INPUT type='text' size='29' name='find' value=''> </td><td>Replace: <INPUT type='text' size='29' name='replace' value=''></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}
function show_textarea_box_for_search_terms()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td><TEXTAREA name='search_terms' cols='50' rows='12'></TEXTAREA></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}





//KEY TERM
function show_find_and_replace_boxes_for_key_term()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td>Find: <INPUT type='text' size='29' name='find' value=''> </td><td>Replace: <INPUT type='text' size='29' name='replace' value=''></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}
function show_input_box_for_key_term()	{
	var selected_text = "";
	selected_text += "<table class='sm' width='0'><tr><td><input type='text' size='29' name='key_term' value='' ></td></tr></table>";
	document.getElementById('input_box').innerHTML = selected_text;
	return;
}












