function DisplayIt(IDlayerName,toogle){
	var w3cDom=document.all||document.getElementById;
	if (w3cDom){
		var doc=document.getElementById? document.getElementById(IDlayerName) : document.all[IDlayerName]
		if(toogle == 'auto'){
			if(doc.style.display == 'none'){
				doc.style.display = 'block'
			}else{
				doc.style.display = 'none'
			}
		}else{
				doc.style.display=toogle;
			}	
	}
}


function PreviewFile(FileID,title){
	top.document.getElementById('currentFileID').value=FileID;
	
	top.ColdFusion.Window.show('winFile');
	top.winFile_title.innerHTML=title;

}

function PreviewFile1(FileID,title){
	document.getElementById('currentFileID').value=FileID;
	
	ColdFusion.Window.show('winFile');

}
