
/**************
 * rool over
 */
function initRollOverImages() {
	var image_cache = new Object();
	$("img.over").not("[src*='_o.']").each(function(i) {
		var imgsrc = this.src;
		var dot = this.src.lastIndexOf('.');
		var imgsrc_o = this.src.substr(0, dot) + '_o' + this.src.substr(dot, 4);
		image_cache[this.src] = new Image();
		image_cache[this.src].src = imgsrc_o;
		$(this).hover(
			function() { this.src = imgsrc_o; },
			function() { this.src = imgsrc; }
		);
	});
}
$(document).ready(initRollOverImages);

function font(param){
	var size = "86%";
	
	if (param == "small") {
		size = "76%";
	}else if (param == "medium") {
		size = "86%";
	}else if (param == "large") {
		size = "100%";
	}
	
	$("body").css("font-size",size);
	$.cookie("fsize",size,{expires:30,path:'/'});//1
}

$(function(){
	$("body").css("font-size",$.cookie('fsize'));
});