$(document).ready(function(){

	$('.midrightrollover').hide();
	
	$('.menulink').hover(function() {
		$("#bg_" + $(this).attr("id")).animate({ opacity: 'show' }, 'fast');
	},function(){
		$("#bg_" + $(this).attr("id")).animate({ opacity: 'hide' }, 'fast');
	});
	
	$('.menulink').hover(function() {
		$("#cs_" + $(this).attr("id")).show();
	},function(){
		$("#cs_" + $(this).attr("id")).hide();
	});

});

function onBig(img)
{
	document.getElementById("big").src = img;
}

function preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function loadcontent(contentdiv, contenturl)
{
	$(""+contentdiv+"").load(contenturl);
}


