// JavaScript Document

// Script pour le menu déroulant
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
if (document.getElementById('smenu')) {document.getElementById('smenu').style.display='none';}
if (d) {d.style.display='block';}
}

// Script pour effacer un champ
function clearValue(object) {
	if (object.value == object.defaultValue) {
	object.value = "";
	}
}
// Script pour restaurer le contenu d'un champ
function restoreValue(object) {
if (object.value === "") {
	object.value = object.defaultValue;
	}
}


function SmartAdServer(sas_pageid,sas_formatid,sas_target) {
	sas_tmstp=Math.round(Math.random()*10000000000);sas_masterflag=1;
if (sas_masterflag==1) {sas_masterflag=0;sas_master='M';} else {sas_master='S';};
document.write('<scr'+'ipt SRC="http://www.smartadserver.com/call/pubj/' + sas_pageid + '/' + sas_formatid + '/'+sas_master + '/' + sas_tmstp + '/' + escape(sas_target) + '?"></scr'+'ipt>');
}
