function MM_swapImage2(id, path, alt){
	if(!document.getElementById(id)){
		var img = jQuery('<img src="'+path+'" alt="'+alt+'" id="graphic">');
		jQuery("#rightcol").html(img);
		call();
	}
		
	document.getElementById(id).src = path;
	document.getElementById(id).alt = alt;
}

function bind(){
	var path = document.getElementById('graphic').alt;
	if(path == 'false')
		return false;
	var ext = path.split('.');
	switch(ext[1]){
		default:
		case 'mov':
			var content = '<embed src="'+path+'" width="600" height="440" scale="tofit">';
			document.getElementById('rightcol').innerHTML = content; break;
		case 'swf':
			var content = new SWFObject(path+"?" + Math.random(), "objv", "600", "440", "8", "#ffffff");
			content.write("rightcol");
			break;
	}
}

function call(){
	jQuery("#graphic").click(function(){
		bind();
	});	
}

jQuery(document).ready(function(){
	call();
});

