function watchit() {

var mainframe_nav = parent.mainframe.document.checker.ref_menu.value;
var mainframe_head = parent.mainframe.document.checker.ref_section.value;

var chemin = "http://www.canstahl.com/fran/";

var chemin_head = chemin + mainframe_head;
var chemin_navigation = chemin + mainframe_nav;

//ajout de variable des autre cadre

var bleed1_gauche = parent.mainframe.document.checker.marge1_gauche.value;
var bleed2_gauche = parent.mainframe.document.checker.marge2_gauche.value;
var bleed3_gauche = parent.mainframe.document.checker.marge3_gauche.value;

var bleed1_droit = parent.mainframe.document.checker.marge1_droit.value;
var bleed2_droit = parent.mainframe.document.checker.marge2_droit.value;
var bleed3_droit = parent.mainframe.document.checker.marge3_droit.value;

//adition des variables

var chemin_gauche1 = chemin + bleed1_gauche;
var chemin_gauche2 = chemin + bleed2_gauche;
var chemin_gauche3 = chemin + bleed3_gauche;

var chemin_droit1 = chemin + bleed1_droit;
var chemin_droit2 = chemin + bleed2_droit;
var chemin_droit3 = chemin + bleed3_droit;




//condition

if ( parent.bottom.location.href == chemin_head );
	else	{
		parent.bottom.location = chemin_head;
		}		
if	(  parent.head.location.href == chemin_navigation );
	else {
	parent.head.location = chemin_navigation;
	}
	
//condition pour les pour autre cadre

if ( parent.marge1_gauche.location.href == chemin_gauche1 );
	else	{
		parent.marge1_gauche.location = chemin_gauche1;
		}
if ( parent.marge2_gauche.location.href == chemin_gauche2 );
	else	{
		parent.marge2_gauche.location = chemin_gauche2;
		}	
if ( parent.marge3_gauche.location.href == chemin_gauche3 );
	else	{
		parent.marge3_gauche.location = chemin_gauche3;
		}	
	
if ( parent.marge1_droit.location.href == chemin_droit1);
	else	{
		parent.marge1_droit.location = chemin_droit1;
		}
if ( parent.marge2_droit.location.href == chemin_droit2 );
	else	{
		parent.marge2_droit.location = chemin_droit2;
		}	
if ( parent.marge3_droit.location.href == chemin_droit3 );
	else	{
		parent.marge3_droit.location = chemin_droit3;
		}	
 }

