function Search(){
		if(document.getElementById){
			tble=document.getElementsByTagName('table')
				tds=document.getElementsByTagName('td')
				for(i=0;i<tble.length;i++){
					if(tble[i].className=='navigate'){
							for(i=0;i<tds.length;i++){
								if(tds[i].className=='navigatetd'){
									
									tds[i].onmouseover= function() {this.className='upnavigatetd'; return false}	
									tds[i].onmouseout= function() {this.className='navigatetd'; return false}								
								}
								if(tds[i].className=='actived'){
									
									tds[i].onmouseover= function() {this.className='moveactived'; return false}	
									tds[i].onmouseout= function() {this.className='actived'; return false}								
								}
								if(tds[i].className=='selector'){
									
									tds[i].onmousedown= function() {this.className='pressselector'; return false}	
									tds[i].onmouseout= function() {this.className='selector'; return false}								
								}
								if(tds[i].className=='resultsel'){
									
									tds[i].onmousedown= function() {this.className='pressrezsel'; return false}	
									tds[i].onmouseout= function() {this.className='resultsel'; return false}								
								}
								if(tds[i].className=='resultform'){
									
									tds[i].onmousedown= function() {this.className='pressresultform'; return false}	
									tds[i].onmouseout= function() {this.className='resultform'; return false}								
								}
								if(tds[i].className=='returnHouse'){
									
									tds[i].onmousedown= function() {this.className='returnHousePress'; return false}	
									tds[i].onmouseout= function() {this.className='returnHouse'; return false}								
								}
								if(tds[i].className=='leftselectore'){
									
									tds[i].onmousedown= function() {this.className='Pressleftselectore'; return false}	
									tds[i].onmouseout= function() {this.className='leftselectore'; return false}								
								}
								if(tds[i].className=='butPrSlDetal'){
									
									tds[i].onmousedown= function() {this.className='PressbutPrSlDetal'; return false}	
									tds[i].onmouseout= function() {this.className='butPrSlDetal'; return false}								
								}
							}
					 }
				}
				for(i=0;i<tble.length;i++){
					if(tble[i].className=='search'){
							for(i=0;i<tds.length;i++){
								if(tds[i].className=='house'){
									tds[i].onmouseout= function() {this.className='house'; return false}
									tds[i].onmouseover= function() {this.className='Movehouse'; return false}
									tds[i].onmousedown= function() {this.className='Presshouse'; return false}
								}
								if(tds[i].className=='auto'){
									
									tds[i].onmouseout= function() {this.className='auto'; return false}
									tds[i].onmouseover= function() {this.className='Moveauto'; return false}
									tds[i].onmousedown= function() {this.className='Pressauto'; return false}
								}
									if(tds[i].className=='tech'){
									
									tds[i].onmouseout= function() {this.className='tech'; return false}
									tds[i].onmouseover= function() {this.className='Movetech'; return false}
									tds[i].onmousedown= function() {this.className='Presstech'; return false}
								}
								if(tds[i].className=='uslugi'){
									
									tds[i].onmouseout= function() {this.className='uslugi'; return false}
									tds[i].onmouseover= function() {this.className='Moveuslugi'; return false}
									tds[i].onmousedown= function() {this.className='Pressuslugi'; return false}
								}
								if(tds[i].className=='job'){
									
									tds[i].onmouseout= function() {this.className='job'; return false}
									tds[i].onmouseover= function() {this.className='Movejob'; return false}
									tds[i].onmousedown= function() {this.className='Pressjob'; return false}
								}
								if(tds[i].className=='znak'){
									
									tds[i].onmouseout= function() {this.className='znak'; return false}
									tds[i].onmouseover= function() {this.className='Moveznak'; return false}
									tds[i].onmousedown= function() {this.className='Pressznak'; return false}
								}
								if(tds[i].className=='razn'){
									
									tds[i].onmouseout= function() {this.className='razn'; return false}
									tds[i].onmouseover= function() {this.className='Moverazn'; return false}
									tds[i].onmousedown= function() {this.className='Pressrazn'; return false}
								}
								if(tds[i].className=='dog'){
									
									tds[i].onmouseout= function() {this.className='dog'; return false}
									tds[i].onmouseover= function() {this.className='Movedog'; return false}
									tds[i].onmousedown= function() {this.className='Pressdog'; return false}
								}
								if(tds[i].className=='zaivka'){
									
									tds[i].onmouseout= function() {this.className='zaivka'; return false}
									tds[i].onmouseover= function() {this.className='Movezaivka'; return false}
									tds[i].onmousedown= function() {this.className='Presszaivka'; return false}
								}
								if(tds[i].className=='furniture'){
									
									tds[i].onmouseout= function() {this.className='furniture'; return false}
									tds[i].onmouseover= function() {this.className='Movefurniture'; return false}
									tds[i].onmousedown= function() {this.className='Pressfurniture'; return false}
								}
								if(tds[i].className=='sport'){
									
									tds[i].onmouseout= function() {this.className='sport'; return false}
									tds[i].onmouseover= function() {this.className='Movesport'; return false}
									tds[i].onmousedown= function() {this.className='Presssport'; return false}
								}
								if(tds[i].className=='food'){
									
									tds[i].onmouseout= function() {this.className='food'; return false}
									tds[i].onmouseover= function() {this.className='Movefood'; return false}
									tds[i].onmousedown= function() {this.className='Pressfood'; return false}
								}
								if(tds[i].className=='butUseMessage'){
									
									tds[i].onmouseout= function() {this.className='butUseMessage'; return false}
									tds[i].onmouseover= function() {this.className='MovebutUseMessage'; return false}
									tds[i].onmousedown= function() {this.className='PressbutUseMessage'; return false}
								}
								
							}
					 }
					 
		}/*Закрывает перебор таблиц*/
	
	}/*Закрывает проверку ДОМ*/

}/*Закрывает функцию*/