
/*
	------------- ASU Discovery Co.,Ltd -------------
	
	CreateDate: 2008-12-03 11:42
	UpdateDate: 2008-12-03 11:42
	Created by programmer IDERBAYAR	Jamsranjav
	Updated by programmer IDERBAYAR	Jamsranjav
	-------------------------------------------------
	Asuu.mn function
	
	
*/
//book select use JQUERY COOKIE
//function SelectBook(el, bookidsel){
//	var ncs = $.cookie('bookcountsel');
//	if(ncs==null) ncs=0;
//	if(el.checked){
//		$.cookie('book['+bookidsel+']', bookidsel);
//		$.cookie('bookcountsel', parseInt(ncs)+1);
//		document.getElementById('row'+bookidsel).style.backgroundColor='#E4FAA3';
//	} else {
//		document.getElementById('row'+bookidsel).style.backgroundColor='#FFFFFF';
//		if(ncs==0) ncs=1;
//		$.cookie('bookcountsel', parseInt(ncs)-1);
//		$.cookie('book['+bookidsel+']',null);
//	}
//}

//people select use JQUERY COOKIE
//function SelectPeople(el, peopleidsel){
//	var ncs = $.cookie('peoplecountsel');
//	if(ncs==null) ncs=0;
//	if(el.checked){
//		$.cookie('people['+peopleidsel+']', peopleidsel);
//		$.cookie('peoplecountsel', parseInt(ncs)+1);
//		document.getElementById('row'+peopleidsel).style.backgroundColor='#E4FAA3';
//	} else {
//		document.getElementById('row'+peopleidsel).style.backgroundColor='#FFFFFF';
//		if(ncs==0) ncs=1;
//		$.cookie('peoplecountsel', parseInt(ncs)-1);
//		$.cookie('people['+peopleidsel+']',null);
//	}
//}
/*
$.cookie('the_cookie'); // get cookie
$.cookie('the_cookie', 'the_value'); // set cookie
$.cookie('the_cookie', 'the_value', { expires: 7 }); // set cookie with an expiration date seven days in the future
$.cookie('the_cookie', '', { expires: -1 }); // delete cookie
$.cookie('the_cookie', null); // delete cookie
*/

//

$(document).ready(function(){
	$('img.know_pic_thumb').hover(function(){
		$(this).attr('class','know_pic_thumb_active');
	},function(){
		$(this).attr('class','know_pic_thumb');
	});
	$('img.member_pic_thumb').hover(function(){
		$(this).attr('class','member_pic_thumb_active');
	},function(){
		$(this).attr('class','member_pic_thumb');
	});
	$('img.book_pic_thumb').hover(function(){
		$(this).attr('class','book_pic_thumb_active');
	},function(){
		$(this).attr('class','book_pic_thumb');
	});
	$('img.book_pic_thumb1').hover(function(){
		$(this).attr('class','book_pic_thumb1_active');
	},function(){
		$(this).attr('class','book_pic_thumb1');
	});
	$('img.life_pic_thumb').hover(function(){
		$(this).attr('class','life_pic_thumb_active');
	},function(){
		$(this).attr('class','life_pic_thumb');
	});
	$('img.author_pic_thumb').hover(function(){
		$(this).attr('class','author_pic_thumb_active');
	},function(){
		$(this).attr('class','author_pic_thumb');
	});
	$('img.author_pic_thumb1').hover(function(){
		$(this).attr('class','author_pic_thumb1_active');
	},function(){
		$(this).attr('class','author_pic_thumb1');
	});
	$('img.index_pic').hover(function(){
		$(this).attr('class','index_pic_active');
	},function(){
		$(this).attr('class','index_pic');
	});
	$('img.index_pic_float').hover(function(){
		$(this).attr('class','index_pic_float_active');
	},function(){
		$(this).attr('class','index_pic_float');
	});
});
