document.write('<STYLE TYPE="text/css">.imgTrans{border:1px #ffdbdb solid; filter:revealTrans(duration=0.7, transition='+3+';) }</STYLE>');
var onImages=new Array();
function Rollover(imgName, imgSrc){
	onImages[imgName] = new Image();
	onImages[imgName].src = imgSrc;
}
function turnOn(imgName){ 
	div_obj=document.getElementById(imgName);	
	document.getElementById(imgName+'_img').style.border='1px #acacfd solid';
	div_obj.style.color='#000';
	if(window.document.images[imgName].filters != null){
		window.document.images[imgName].filters[0].stop();		
	}
	window.document.images[imgName].offSrc = window.document.images[imgName].src;
	window.document.images[imgName].src    = onImages[imgName].src;
	
} 
function turnOff(imgName){ 	
	document.getElementById(imgName).style.color='#fff';
	document.getElementById(imgName+'_img').style.border='1px #ffdbdb solid';	
	if(window.document.images[imgName].filters != null){
		window.document.images[imgName].filters[0].apply();		
	}
	window.document.images[imgName].src = window.document.images[imgName].offSrc;
	if(window.document.images[imgName].filters != null){
		window.document.images[imgName].filters[0].play();		
	}	
}
function go_back(){
		if(!window.history.length){
			document.location.href="index.php";
		}else{
			window.history.go(-1);
		}
}
function popup_presentation(extension,the_file){								
	window.open("attach_presentation.php?size=full&extension="+extension+"&the_file="+the_file,"","scrollbars,resizable,dependent");
}
function pop_url(url){
	width_=window.screen.width-75;
	height_=window.screen.height-75;
	window.open(url , '','toolbar=no,status=yes,scrollbars,resizable,dependent,width='+width_+',height='+height_+',left=0,top=0');
}