	function noiseRemoval(txtWord) {
		var tmp = ' ' + txtWord + ' ';
		
		while (tmp.match(/( 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | $ | \& | a | about | after | all | also | an | and | another | any | are | as | at | b | be | because | been | before | being | between | both | but | by | c | came | can | come | could | d | did | do | does | e | each | else | f | from | g | get | got | h | had | has | have | he | here | himself | his | how | i | if | in | into | is | it | its | j | just | k | l | like | m | make | many | me | might | more | most | much | must | my | n | never | now | o | of | on | only | or | other | our | out | over | p | q | r | re | s | said | same | see | should | since | so | some | still | such | t | take | Test | than | that | the | their | them | then | there | these | they | this | those | through | to | too | u | under | up | use | v | very | w | want | was | way | we | well | were | what | when | where | which | while | who | will | with | would | x | y | you | your | z )/gi))
			tmp = tmp.replace(/( 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | $ | \& | a | about | after | all | also | an | and | another | any | are | as | at | b | be | because | been | before | being | between | both | but | by | c | came | can | come | could | d | did | do | does | e | each | else | f | from | g | get | got | h | had | has | have | he | here | himself | his | how | i | if | in | into | is | it | its | j | just | k | l | like | m | make | many | me | might | more | most | much | must | my | n | never | now | o | of | on | only | or | other | our | out | over | p | q | r | re | s | said | same | see | should | since | so | some | still | such | t | take | Test | than | that | the | their | them | then | there | these | they | this | those | through | to | too | u | under | up | use | v | very | w | want | was | way | we | well | were | what | when | where | which | while | who | will | with | would | x | y | you | your | z )/gi,' ');
		return tmp;
	}
var keycode;
function checkKeycode(e) {

if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;

}
document.onkeydown = checkKeycode;
	function checkinput(TextSearch)
	{
		document.onkeydown = checkKeycode
		//alert(keycode);
		
		if(keycode==13)
		{
			keycode = 0;
			return false;
		}
   
		var f = document.getElementById(TextSearch).value;
		if(f =="")
			{
				alert("Please enter keywords to search for.");
				return false;
			}
		else
			if(f.length < 2)
			{
				alert("Please enter keywords more 1 word.");
				return false;
			}
			else {
				 
				document.getElementById(TextSearch).value  = noiseRemoval(f);				
				return true;
			}
	}
var cssmenuids=["cssmenu1"] //Enter id(s) of CSS Horizontal UL menus, separated by commas
var csssubmenuoffset=-1 //Offset of submenus from main menu. Default is 0 pixels.

function createcssmenu2(){
for (var i=0; i<cssmenuids.length; i++){
  var ultags=document.getElementById(cssmenuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
			ultags[t].style.top=ultags[t].parentNode.offsetHeight+csssubmenuoffset+"px"
    	var spanref=document.createElement("span")
			spanref.className="arrowdiv"
			spanref.innerHTML="&nbsp;&nbsp;&nbsp;&nbsp;"
			ultags[t].parentNode.getElementsByTagName("a")[0].appendChild(spanref)
    	ultags[t].parentNode.onmouseover=function(){
					this.style.zIndex=100
    	this.getElementsByTagName("ul")[0].style.visibility="visible"
					this.getElementsByTagName("ul")[0].style.zIndex=0
    	}
    	ultags[t].parentNode.onmouseout=function(){
					this.style.zIndex=0
					this.getElementsByTagName("ul")[0].style.visibility="hidden"
					this.getElementsByTagName("ul")[0].style.zIndex=100
    	}
    }
  }
}

if (window.addEventListener)
window.addEventListener("load", createcssmenu2, false)
else if (window.attachEvent)
window.attachEvent("onload", createcssmenu2)