ddsmoothmenu.init({
	mainmenuid: "smoothmenu2", //Menu DIV id
	orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu-v', //class added to menu's outer DIV
	//customtheme: ["#804000", "#482400"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})


var ie = (document.all) ? 1 : 0;
var p = (ie) ? "filter" : "MozOpacity";

/* n is the element node
   v is the opacity value, from 0 to 100. */

function op(n,v){
    v = (ie) ? "alpha(opacity="+v+")" : v/100;
    n.style[p] = v;
}

function unblur() { 
this.blur(); 
}

function blurLinks() { 
if (!document.getElementById) return; 
theLinks = document.getElementsByTagName("a"); 
for(i=0; i<theLinks.length; i++) { 
theLinks[i].onfocus = unblur; 
} 
}

$(document).ready(function(){
	
	
	ori = $("#thumbs_m img").attr('src');
	
	$('.table a').hover(function(){
		
		var thumb = $(this).attr('id');
		
		$("#thumbs_m img").attr({
               src: thumb
         });
	});
	
	$('.table a').mouseout(function(){
		
		$("#thumbs_m img").attr({
               src: ori
         });
	});
});
