var IE4=(document.all);
function visibleSpan(SP) {
var Obj="";
if (IE4) {
Obj=eval("self.document.all."+SP+".style;");
}else{
Obj=document.layers[SP];
}
if (Obj.visibility=="visible" || Obj.visibility=="show") {
Obj.visibility="hidden";
}else {
Obj.visibility="visible";
//document.login.code.focus();
}
}
if (navigator.platform) {
var Mac = navigator.platform;
if (Mac.indexOf("Mac") != -1) {
document.writeln("");
} else {
document.writeln("");
}
}
var now = new Date();
var year = now.getYear();
if (year<1000) year+=1900;
var month = now.getMonth() + 1;
var day = now.getDay() + 1;
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
if(month == 1) Month="Janvier";
if(month == 2) Month="Février";
if(month == 3) Month="Mars";
if(month == 4) Month="Avril";
if(month == 5) Month="Mai";
if(month == 6) Month="Juin";
if(month == 7) Month="Juillet";
if(month == 8) Month="Août";
if(month == 9) Month="Septembre";
if(month == 10) Month="Octobre";
if(month == 11) Month="Novembre";
if(month == 12) Month="Décembre";
var todaysDate =(date +" "+ Month +" "+year);
var nav=navigator.appName;
var Ver=parseInt(navigator.appVersion);
if (((nav == "Netscape") && (Ver >= 3)) || ((nav == "Microsoft Internet Explorer") && (Ver > 3))) {
bnt01 = new Image();
bnt01.src = "/inter/img/candidat/fleche_plein_d.gif"
bnt01on = new Image();
bnt01on.src = "/inter/img/candidat/fleche_vide_d.gif"
bnt01stay = new Image();
bnt01stay.src = "/inter/img/candidat/fleche_vide_d.gif"
bnt02stay = new Image();
bnt02stay.src = "/inter/img/candidat/trianglejauneplein.gif"
bnt02on = new Image();
bnt02on.src = "/inter/img/candidat/flechejaune.gif"
bnt03on = new Image();
bnt03on.src = "/inter/img/candidat/flechegrise.gif"
bnt03stay = new Image();
bnt03stay.src = "/inter/img/candidat/trianglegrisplein.gif"
}
function move_img(img_name,img_url) {
if (((nav == "Netscape") && (Ver >= 3)) || ((nav == "Microsoft Internet Explorer") && (Ver > 3))) {
document.images[img_name].src=eval(img_url+".src");
}
}
function toggle_img(img, flag) {
if (((nav == "Netscape") && (Ver >= 3)) || ((nav == "Microsoft Internet Explorer") && (Ver > 3))) {
img_src = img.src;
img.src = img_src.replace(/^(.*)(on|off)(....)$/, "$1" + flag + "$3");
}
}
function _jumpMenu(targ,selObj,restore){
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
function _openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function CheckCB(theform) {
var liste = theform.metier;
var listitem = liste.options[liste.selectedIndex].value;
SetCookie('famille',listitem,null,'',null);
MM_goToURL('parent','rch_crit.html');
return document.MM_returnValue;
}
function CheckCB2(theform) {
var liste = theform.metier;
var listitem = liste.options[liste.selectedIndex].value;
SetCookie('famille',listitem,null,'',null);
MM_goToURL('parent','rch_crit_emp.html');
return document.MM_returnValue;
}
function FixCookieDate(date) {
var base = new Date(0);
var skew = base.getTime();
if (skew > 0) date.setTime(date.getTime() - skew);
}
function SetCookie(name, value, expires, path, domain, secure) {
document.cookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure=" : "");
}
function DeleteCookie(name, path, domain) {
if (GetCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "domain=" + domain : "") +
";expires=Thu, 01-Jan-70 00:00:01 GMT";
}
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf(";",offset);
if (endstr == -1) endstr = document.cookie.length;
return unescape(document.cookie.substring(offset,endstr));
}
function GetCookie(name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i,j) == arg) return getCookieVal(j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function getCookieVal(offset) {
var endstr = document.cookie.indexOf(";",offset);
if (endstr == -1) endstr = document.cookie.length;
return unescape(document.cookie.substring(offset,endstr));
}
function GetCookie(name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i,j) == arg) return getCookieVal(j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function FixCookieDate(date) {
var base = new Date(0);
var skew = base.getTime();
if (skew > 0) date.setTime(date.getTime() - skew);
}
function SetCookie(name, value, expires, path, domain, secure) {
document.cookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure=" : "");
}
function DeleteCookie(name, path, domain) {
if (GetCookie(name)) {
document.cookie = name + "=" +
((path) ? "; path=" + path : "") +
((domain) ? "domain=" + domain : "") +
";expires=Thu, 01-Jan-70 00:00:01 GMT";
}
}
var no = 0;
var chr = new Array();
var loc = new Array();
var loc2 = new Array();
chr[1] = 'Animateur - Présentateur';
chr[2] = 'Artiste du chant';
chr[3] = 'Artiste de la danse';
chr[4] = 'Artiste dramatique';
chr[5] = 'Artiste de la musique';
chr[6] = 'Artiste visuel, du cirque';
chr[7] = 'Technicien';
loc[1] = 'rch_crit_animpre.html';
loc[2] = 'rch_crit_artchan.html';
loc[3] = 'rch_crit_artdans.html';
loc[4] = 'rch_crit_artdram.html';
loc[5] = 'rch_crit_artmusi.html';
loc[6] = 'rch_crit_artvisu.html';
loc[7] = 'rch_crit_techni.html';
loc2[1] = 'rch_crit_animpre_emp.html';
loc2[2] = 'rch_crit_artchan_emp.html';
loc2[3] = 'rch_crit_artdans_emp.html';
loc2[4] = 'rch_crit_artdram_emp.html';
loc2[5] = 'rch_crit_artmusi_emp.html';
loc2[6] = 'rch_crit_artvisu_emp.html';
loc2[7] = 'rch_crit_techni_emp.html';
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function Init() {
var num = GetCookie('famille');
no = parseInt(num,10);
}
bnt04stay = new Image();
bnt04stay.src = "/inter/img/candidat/trianglejaune109plein.gif"
bnt04on = new Image();
bnt04on.src = "/inter/img/candidat/flechejaune109.gif"