function hiddenfile() {
cach = document.getElementById("file").style;
cach.display = "none";}
function visiblefile() {
cach = document.getElementById("file").style;
cach.display = "inline";}

function hiddenurl() {
cach = document.getElementById("url").style;
cach.display = "none";}
function visibleurl() {
cach = document.getElementById("url").style;
cach.display = "inline";}

function hiddenexchange() {
cach = document.getElementById("exchange").style;
cach.display = "none";}
function visibleexchange() {
cach = document.getElementById("exchange").style;
cach.display = "inline";}

function startpage() {
visiblefile();}

function changefile() {
hiddenurl();
visiblefile();
hiddenexchange();}

function changeurl() {
hiddenfile();
visibleurl();
hiddenexchange();}

function changeexchange() {
hiddenfile();
hiddenurl();
visibleexchange();}


function GereControle(Controleur, Controle) {
var objControleur = document.getElementById(Controleur);
var objControle = document.getElementById(Controle);
		objControle.style.display=(objControleur.checked==true)?'inline':'none';
		objControle.disabled=(objControleur.checked==true)?false:true;
	return true;}
	

 function sizeimg(comment) {
 var comment1 = comment.options[comment.selectedIndex].value;
 if(comment1=='custom') { 
cach = document.getElementById("custom_resize").style;
cach.display = "inline";
cach1 = document.getElementById("custom_resize").disabled;
cach1.display = "false";
cach2 = document.getElementById("px").style;
cach2.display = "inline";}
 else {
cach = document.getElementById("custom_resize").style;
cach.display = "none";
cach1 = document.getElementById("custom_resize").disabled;
cach1.display = "true";
cach2 = document.getElementById("px").style;
cach2.display = "none";}
}	