$(document).ready(function(){
//MainMenu
	$('.newsMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/news_h.png') ;
		$('> img' ,this).attr('width' , '87') ;
		$('> img' ,this).attr('height' , '21') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/news.png') ;
			$('> img' ,this).attr('width' , '75') ;
			$('> img' ,this).attr('height' , '23') ;
		}
	}) ;
	
	$('.radMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/rad_h.png') ;
		$('> img' ,this).attr('width' , '85') ;
		$('> img' ,this).attr('height' , '21') ;
		$(this).attr('style','background-color:#c00c3c;cursor:pointer;') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/rad.png') ;
			$('> img' ,this).attr('width' , '173') ;
			$('> img' ,this).attr('height' , '24') ;
			$(this).attr('style','cursor:pointer;') ;
		}
	}) ;
	
	$('.examinationsMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/examinations_h.png') ;
		$('> img' ,this).attr('width' , '87') ;
		$('> img' ,this).attr('height' , '21') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/examinations.png') ;
			$('> img' ,this).attr('width' , '186') ;
			$('> img' ,this).attr('height' , '24') ;
		}
	}) ;
	
	$('.certificationsMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/certifications_h.png') ;
		$('> img' ,this).attr('width' , '47') ;
		$('> img' ,this).attr('height' , '20') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/certifications.png') ;
			$('> img' ,this).attr('width' , '188') ;
			$('> img' ,this).attr('height' , '24') ;
		}
	}) ;
	
	$('.coursesMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/courses_h.png') ;
		$('> img' ,this).attr('width' , '42') ;
		$('> img' ,this).attr('height' , '21') ;
		$(this).attr('style','background-color:#c00c3c;cursor:pointer;') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/courses.png') ;
			$('> img' ,this).attr('width' , '112') ;
			$('> img' ,this).attr('height' , '23') ;
			$(this).attr('style','cursor:pointer;') ;
		}
	}) ;
	
	$('.contactMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/contact_h.png') ;
		$('> img' ,this).attr('width' , '86') ;
		$('> img' ,this).attr('height' , '21') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/contact.png') ;
			$('> img' ,this).attr('width' , '167') ;
			$('> img' ,this).attr('height' , '24') ;
		}
	}) ;

//MainMenu click
	$('.subMenu').click(function(){
		$(this).next().toggle() ;
	}) ;

//SubMenu
	$('.aboutMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/about_h.png') ;
		$('> img' ,this).attr('width' , '131') ;
		$('> img' ,this).attr('height' , '14') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/about.png') ;
			$('> img' ,this).attr('width' , '125') ;
			$('> img' ,this).attr('height' , '14') ;
		}
	}) ;
	
	$('.historyMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/history_h.png') ;
		$('> img' ,this).attr('width' , '166') ;
		$('> img' ,this).attr('height' , '15') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/history.png') ;
			$('> img' ,this).attr('width' , '172') ;
			$('> img' ,this).attr('height' , '15') ;
		}
	}) ;
	
	$('.studentMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/student_h.png') ;
		$('> img' ,this).attr('width' , '168') ;
		$('> img' ,this).attr('height' , '14') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/student.png') ;
			$('> img' ,this).attr('width' , '168') ;
			$('> img' ,this).attr('height' , '14') ;
		}
	}) ;
	
	$('.teacherMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/teacher_h.png') ;
		$('> img' ,this).attr('width' , '168') ;
		$('> img' ,this).attr('height' , '14') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/teacher.png') ;
			$('> img' ,this).attr('width' , '168') ;
			$('> img' ,this).attr('height' , '14') ;
		}
	}) ;
	
	$('.videoMenu > a').hover(function(){
		$('> img' ,this).attr('src' , './images/video_h.png') ;
		$('> img' ,this).attr('width' , '186') ;
		$('> img' ,this).attr('height' , '14') ;
	},function(){
		if( $(this).attr('nowpage') != 'true' )
		{
			$('> img' ,this).attr('src' , './images/video.png') ;
			$('> img' ,this).attr('width' , '186') ;
			$('> img' ,this).attr('height' , '14') ;
		}
	}) ;
}) ;
