function doTheClock()  {
  window.setTimeout( "doTheClock"(), 1000 );
  t = newDate();
  if(document.all || document.getElementById) {
     document.title = t.toString();
  }
  else
  {
    self.status = t.toString();
  }
}

function unselect(radio_set) {
	
	if(document.getElementById(radio_set)) 
	{
		document.getElementById(radio_set).checked = false;
	}
	
}


function popupEvent(ev, w, h) { 
	  var winl = (screen.width - w) / 2;
	  var wint = (screen.height - h) / 2; 
	  win = window.open("tasksee.php?ev=" + ev + "");
	  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } 
	  } 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function closethis(){
window.close()
}

function highLight(lettre) {
	var ici = location.href;
	var morceaux = ici.split('&');
	for (var i = 0; i < document.anchors.length; i ++) {
		if (document.anchors[i] == morceaux[0]) {
			var link_id = document.anchors[i].name;
			
			if (link_id.substring(0,9) == 'menu_item') {
				var img_id = link_id + '_img';
				if (link_id != '' && document.getElementById && document.getElementById(link_id) != null) {
					document.getElementById(link_id).className = '';
					document.getElementById(img_id).src = 'images/problemagic-template_48' + lettre + '.gif';
				}
			}
		}
	}
}

// hide all menu and product divs
function hideall() {
	hideallcategories();
	hideallproducts();
}
// hide all category divs
function hideallcategories() {
	var i;
	for(i = 0; i < 8; i++)
		if(document.getElementById("c" + i))
			document.getElementById('c' + i).style.visibility = 'hidden';
}
// hide all product divs
function hideallproducts() {
	var el, i;
	i = 1;
	while (el = document.getElementById('p' + i)) {
		document.getElementById('p' + i).style.visibility = 'hidden';
		i++;
	}
}
// show layer by ID
function MM_showLayer(strLayer) { //v3.0
	hideall();
	if(document.getElementById(strLayer))
		document.getElementById(strLayer).style.visibility = "visible";
}
function closeMenu(event) {
	var current, related;
	if (window.event) {
		current=this;
		related=window.event.toElement;
	} else {
		current=event.currentTarget;
		related=event.relatedTarget;
	}
	if (current != related && !contains(current, related))
		current.style.visibility="hidden";
}
function cOn(td,oncolor){
	if(document.getElementById||(document.all && !(document.getElementById)))
		td.style.backgroundColor=oncolor;
}
function cOut(td,offcolor){
	if(document.getElementById||(document.all && !(document.getElementById)))
		td.style.backgroundColor=offcolor;
}
function contains (a, b) {
	while (b.parentNode)
		if((b=b.parentNode)==a)
			return true;
	return false;
}

function eventFunction(id) {
	document.getElementById(id).onmouseout=closeMenu
}
function openMenu(id) {
	var el;
	el = document.getElementById(id);
	el.style.visibility="visible";
}

function swapPic() {
	var imgnum = images.length - 1;
	do {
		var randnum = Math.random();
		rand1 = Math.round((imgnum - 1) * randnum) + 1;
	} while (rand1 == useRand);
	useRand = rand1;
	document.randimg.src = images[useRand].src;
}

window.name = 'main';
function OpenWindow(url) {
	newWindow = window.open(url,'', "status=1,toolbar=0,scrollbars=1,height=300,width=500");
	newWindow.focus();
}
 function showLayer(layerName)
{
	if (document.getElementById) // Netscape 6 and IE 5+
	{
		var targetElement = document.getElementById(layerName);
		targetElement.style.visibility = 'visible';
	}
}
function hideLayer(layerName)
{
	if (document.getElementById)
	{
		var targetElement = document.getElementById(layerName);
		targetElement.style.visibility = 'hidden';
	}
}
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 getCookie(name)
{
	var dc = document.cookie;
	var prefix = name + "=";
	var begin = dc.indexOf("; " + prefix);
	if (begin == -1) {
		begin = dc.indexOf(prefix);
		if (begin != 0) return null;
	} else {
		begin += 2;
	}
	var end = document.cookie.indexOf(";", begin);
	if (end == -1)
		end = dc.length;
	return unescape(dc.substring(begin + prefix.length, end));
}
function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 		'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=550,height=600');");
}

function textCounter(field, countfield, maxlimit) {
	if (field.value.length > maxlimit) field.value = field.value.substring(0, maxlimit);
	else countfield.value = maxlimit - field.value.length;
}


function tree (a_items, a_template) {

	this.a_tpl      = a_template;
	this.a_config   = a_items;
	this.o_root     = this;
	this.a_index    = [];
	this.o_selected = null;
	this.n_depth    = -1;
	
	var o_icone = new Image(),
		o_iconl = new Image();
	o_icone.src = a_template['icon_e'];
	o_iconl.src = a_template['icon_l'];
	a_template['im_e'] = o_icone;
	a_template['im_l'] = o_iconl;
	for (var i = 0; i < 64; i++)
		if (a_template['icon_' + i]) {
			var o_icon = new Image();
			a_template['im_' + i] = o_icon;
			o_icon.src = a_template['icon_' + i];
		}
	
	this.toggle = function (n_id) {	var o_item = this.a_index[n_id]; o_item.open(o_item.b_opened) };
	this.select = function (n_id) { return this.a_index[n_id].select(); };
	this.mout   = function (n_id) { this.a_index[n_id].upstatus(true) };
	this.mover  = function (n_id) { this.a_index[n_id].upstatus() };

	this.a_children = [];
	for (var i = 0; i < a_items.length; i++)
		new tree_item(this, i);

	this.n_id = trees.length;
	trees[this.n_id] = this;
	
	for (var i = 0; i < this.a_children.length; i++) {
		document.write(this.a_children[i].init());
		this.a_children[i].open();
	}
}
function tree_item (o_parent, n_order) {

	this.n_depth  = o_parent.n_depth + 1;
	this.a_config = o_parent.a_config[n_order + (this.n_depth ? 2 : 0)];
	if (!this.a_config) return;

	this.o_root    = o_parent.o_root;
	this.o_parent  = o_parent;
	this.n_order   = n_order;
	this.b_opened  = !this.n_depth;

	this.n_id = this.o_root.a_index.length;
	this.o_root.a_index[this.n_id] = this;
	o_parent.a_children[n_order] = this;

	this.a_children = [];
	for (var i = 0; i < this.a_config.length - 2; i++)
		new tree_item(this, i);

	this.get_icon = item_get_icon;
	this.open     = item_open;
	this.select   = item_select;
	this.init     = item_init;
	this.upstatus = item_upstatus;
	this.is_last  = function () { return this.n_order == this.o_parent.a_children.length - 1 };
}

function item_open (b_close) {
	var o_idiv = get_element('i_div' + this.o_root.n_id + '_' + this.n_id);
	if (!o_idiv) return;
	
	if (!o_idiv.innerHTML) {
		var a_children = [];
		for (var i = 0; i < this.a_children.length; i++)
			a_children[i]= this.a_children[i].init();
		o_idiv.innerHTML = a_children.join('');
	}
	o_idiv.style.display = (b_close ? 'none' : 'block');
	
	this.b_opened = !b_close;
	var o_jicon = document.images['j_img' + this.o_root.n_id + '_' + this.n_id],
		o_iicon = document.images['i_img' + this.o_root.n_id + '_' + this.n_id];
	if (o_jicon) o_jicon.src = this.get_icon(true);
	if (o_iicon) o_iicon.src = this.get_icon();
	this.upstatus();
}

function item_select (b_deselect) {
	if (!b_deselect) {
		var o_olditem = this.o_root.o_selected;
		this.o_root.o_selected = this;
		if (o_olditem) o_olditem.select(true);
	}
	var o_iicon = document.images['i_img' + this.o_root.n_id + '_' + this.n_id];
	if (o_iicon) o_iicon.src = this.get_icon();
	get_element('i_txt' + this.o_root.n_id + '_' + this.n_id).style.fontWeight = b_deselect ? 'normal' : 'bold';
	
	this.upstatus();
	return Boolean(this.a_config[1]);
}

function item_upstatus (b_clear) {
	window.setTimeout('window.status="' + (b_clear ? '' : this.a_config[0] + (this.a_config[1] ? ' ('+ this.a_config[1] + ')' : '')) + '"', 10);
}

function item_init () {
	var a_offset = [],
		o_current_item = this.o_parent;
	for (var i = this.n_depth; i > 1; i--) {
		a_offset[i] = '<img src="' + this.o_root.a_tpl[o_current_item.is_last() ? 'icon_e' : 'icon_l'] + '" border="0" align="absbottom">';
		o_current_item = o_current_item.o_parent;
	}
	return '<table cellpadding="0" cellspacing="0" border="0"><tr><td nowrap>' + (this.n_depth ? a_offset.join('') + (this.a_children.length
		? '<a href="javascript: trees[' + this.o_root.n_id + '].toggle(' + this.n_id + ')" onmouseover="trees[' + this.o_root.n_id + '].mover(' + this.n_id + ')" onmouseout="trees[' + this.o_root.n_id + '].mout(' + this.n_id + ')"><img src="' + this.get_icon(true) + '" border="0" align="absbottom" name="j_img' + this.o_root.n_id + '_' + this.n_id + '"></a>'
		: '<img src="' + this.get_icon(true) + '" border="0" align="absbottom">') : '') 
		+ '<a href="' + this.a_config[1] + '" target="' + this.o_root.a_tpl['target'] + '" onclick="return trees[' + this.o_root.n_id + '].select(' + this.n_id + ')" ondblclick="trees[' + this.o_root.n_id + '].toggle(' + this.n_id + ')" onmouseover="trees[' + this.o_root.n_id + '].mover(' + this.n_id + ')" onmouseout="trees[' + this.o_root.n_id + '].mout(' + this.n_id + ')" class="t' + this.o_root.n_id + 'i" id="i_txt' + this.o_root.n_id + '_' + this.n_id + '"><img src="' + this.get_icon() + '" border="0" align="absbottom" name="i_img' + this.o_root.n_id + '_' + this.n_id + '" class="t' + this.o_root.n_id + 'im">' + this.a_config[0] + '</a></td></tr></table>' + (this.a_children.length ? '<div id="i_div' + this.o_root.n_id + '_' + this.n_id + '" style="display:none"></div>' : '');
}

function item_get_icon (b_junction) {
	return this.o_root.a_tpl['icon_' + ((this.n_depth ? 0 : 32) + (this.a_children.length ? 16 : 0) + (this.a_children.length && this.b_opened ? 8 : 0) + (!b_junction && this.o_root.o_selected == this ? 4 : 0) + (b_junction ? 2 : 0) + (b_junction && this.is_last() ? 1 : 0))];
}

var trees = [];
get_element = document.all ?
	function (s_id) { return document.all[s_id] } :
	function (s_id) { return document.getElementById(s_id) }


function gCheckAll(chk)
    {
    for (var i=0;i < document.forms[0].elements.length;i++)
       		{
       			var e = document.forms[0].elements[i];
       			if (e.type == "checkbox")
            			{
            				e.checked = chk.checked
            			}
       		}
    }
    
function gUncheckAll(field) {
            var field;
            var Obj = eval(field);
        	for (i = 0; i < Obj.length; i++) Obj[i].checked=false;
        }

function checkAll(field)
{
for (i = 0; i < field.length; i++)
	field.checked = true ;
}

function uncheckAll(field)
{
for (i = 0; i < field.length; i++)
	field[i].checked = false ;
}

function checkedAll (id, checked) {
	var el = document.getElementById(id);
	for (var i = 0; i < el.elements.length; i++) {
	  el.elements[i].checked = checked;
	}
}

function checkedAllButThis (id, checked, thisEl, side) {
	var el = document.getElementById(id);
	for (var i = 0; i < el.elements.length; i++) {
	  if((el.elements[i] != thisEl) && (el.elements[i].name.match(side)!= null) && (thisEl.checked == true))
	   {
	    el.elements[i].checked = checked;
	   }
	}
}

// Some functions used to display or hide BOX features (user identity, login, toolbox)
function afficheId(baliseId) {
	if (document.getElementById && document.getElementById(baliseId) != null) {
		document.getElementById(baliseId).style.visibility='visible';
		document.getElementById(baliseId).style.display='block';
	}
	// Try to hide expand button
	if (document.getElementById && document.getElementById('expand_' + baliseId) != null) {
		document.getElementById('expand_' + baliseId).style.visibility='hidden';
		document.getElementById('expand_' + baliseId).style.display='none';
	}
	// Try to show collapse button
	if (document.getElementById && document.getElementById('collapse_' + baliseId) != null) {
		document.getElementById('collapse_' + baliseId).style.visibility='visible';
		document.getElementById('collapse_' + baliseId).style.display='block';
	}
}

function afficheIdInline(baliseId) {
	if (document.getElementById && document.getElementById(baliseId) != null) {
		document.getElementById(baliseId).style.visibility='visible';
		document.getElementById(baliseId).style.display='inline';
	}
	// Try to hide expand button
	if (document.getElementById && document.getElementById('expand_' + baliseId) != null) {
		document.getElementById('expand_' + baliseId).style.visibility='hidden';
		document.getElementById('expand_' + baliseId).style.display='none';
	}
	// Try to show collapse button
	if (document.getElementById && document.getElementById('collapse_' + baliseId) != null) {
		document.getElementById('collapse_' + baliseId).style.visibility='visible';
		document.getElementById('collapse_' + baliseId).style.display='inline';
	}
}

function cacheId(baliseId) {
	if (document.getElementById && document.getElementById(baliseId) != null) {
		document.getElementById(baliseId).style.visibility='hidden';
		document.getElementById(baliseId).style.display='none';
	}
	// Try to show expand button
	if (document.getElementById && document.getElementById('expand_' + baliseId) != null) {
		document.getElementById('expand_' + baliseId).style.visibility='visible';
		document.getElementById('expand_' + baliseId).style.display='block';
	}
	// Try to hide collapse button
	if (document.getElementById && document.getElementById('collapse_' + baliseId) != null) {
		document.getElementById('collapse_' + baliseId).style.visibility='hidden';
		document.getElementById('collapse_' + baliseId).style.display='none';
	}
}

function headerDisplay(texte) {
	if (document.getElementById && document.getElementById('header_text') != null) {
		document.getElementById('header_text').value=texte;
	}
}

function switchDiv(baliseId) {
	if ( (document.getElementById(baliseId).style.visibility=='visible') || (document.getElementById(baliseId).style.display=='block') ) {
		cacheId(baliseId);
	}
	else {
		afficheId(baliseId);
	}
}

function switchTreeDiv(baliseId, imgId, imgHiddenSrc, imgExpandedSrc) {
	if ( (document.getElementById(baliseId).style.visibility=='visible') || (document.getElementById(baliseId).style.display=='block') ) {
		cacheId(baliseId);
		document.getElementById(imgId).src = imgHiddenSrc;
	}
	else {
		afficheId(baliseId);
		document.getElementById(imgId).src = imgExpandedSrc;
	}
}

function changeLayer(prefix,form_objet) {
	for (i = 0; i < form_objet.changeLanguage.options.length; i++) {
		var id_language = form_objet.changeLanguage.options[i].value;
		if (form_objet.changeLanguage.options[i].selected == true) {
			afficheId(prefix + id_language + '_div');
		}
		else {
			cacheId(prefix + id_language + '_div');
		}
	}
}



// timestamp generating function
function cal_gen_tsmp1 (dt_datetime) {
	return(this.gen_date(dt_datetime) + ' ' + this.gen_time(dt_datetime));
}

// date generating function
function cal_gen_date1 (dt_datetime) {
	return (
		dt_datetime.getFullYear() + "-" + (dt_datetime.getMonth() < 9 ? '0' : '') + (dt_datetime.getMonth() + 1) + "-" + (dt_datetime.getDate() < 10 ? '0' : '') + dt_datetime.getDate()  
	);
}
// time generating function
function cal_gen_time1 (dt_datetime) {
	return (
		(dt_datetime.getHours() < 10 ? '0' : '') + dt_datetime.getHours() + ":"
		+ (dt_datetime.getMinutes() < 10 ? '0' : '') + (dt_datetime.getMinutes()) + ":"
		+ (dt_datetime.getSeconds() < 10 ? '0' : '') + (dt_datetime.getSeconds())
	);
}

// timestamp parsing function
function cal_prs_tsmp1 (str_datetime) {
	// if no parameter specified return current timestamp
	if (!str_datetime)
		return (new Date());

	// if positive integer treat as milliseconds from epoch
	if (RE_NUM.exec(str_datetime))
		return new Date(str_datetime);
		
	// else treat as date in string format
	var arr_datetime = str_datetime.split(' ');
	return this.prs_time(arr_datetime[1], this.prs_date(arr_datetime[0]));
}

// date parsing function
function cal_prs_date1 (str_date) {

	var arr_date = str_date.split('-');

	if (arr_date.length != 3) return cal_error ("Invalid date format: '" + str_date + "'.\nFormat accepted is yyyy-mm-dd.");
	if (!arr_date[2]) return cal_error ("Invalid date format: '" + str_date + "'.\nNo day of month value can be found.");
	if (!RE_NUM.exec(arr_date[2])) return cal_error ("Invalid day of month value: '" + arr_date[0] + "'.\nAllowed values are unsigned integers.");
	if (!arr_date[1]) return cal_error ("Invalid date format: '" + str_date + "'.\nNo month value can be found.");
	if (!RE_NUM.exec(arr_date[1])) return cal_error ("Invalid month value: '" + arr_date[1] + "'.\nAllowed values are unsigned integers.");
	if (!arr_date[0]) return cal_error ("Invalid date format: '" + str_date + "'.\nNo year value can be found.");
	if (!RE_NUM.exec(arr_date[0])) return cal_error ("Invalid year value: '" + arr_date[2] + "'.\nAllowed values are unsigned integers.");

	var dt_date = new Date();
	dt_date.setDate(1);

	if (arr_date[1] < 1 || arr_date[1] > 12) return cal_error ("Invalid month value: '" + arr_date[1] + "'.\nAllowed range is 01-12.");
	dt_date.setMonth(arr_date[1]-1);
	 
	if (arr_date[0] < 100) arr_date[0] = Number(arr_date[0]) + (arr_date[0] < NUM_CENTYEAR ? 2000 : 1900);
	dt_date.setFullYear(arr_date[0]);

	var dt_numdays = new Date(arr_date[0], arr_date[1], 0);
	dt_date.setDate(arr_date[2]);
	if (dt_date.getMonth() != (arr_date[1]-1)) return cal_error ("Invalid day of month value: '" + arr_date[2] + "'.\nAllowed range is 01-"+dt_numdays.getDate()+".");

	return (dt_date)
}

// time parsing function
function cal_prs_time1 (str_time, dt_date) {

	if (!dt_date) return null;
	var arr_time = String(str_time ? str_time : '').split(':');

	if (!arr_time[0]) dt_date.setHours(0);
	else if (RE_NUM.exec(arr_time[0]))
		if (arr_time[0] < 24) dt_date.setHours(arr_time[0]);
		else return cal_error ("Invalid hours value: '" + arr_time[0] + "'.\nAllowed range is 00-23.");
	else return cal_error ("Invalid hours value: '" + arr_time[0] + "'.\nAllowed values are unsigned integers.");
	
	if (!arr_time[1]) dt_date.setMinutes(0);
	else if (RE_NUM.exec(arr_time[1]))
		if (arr_time[1] < 60) dt_date.setMinutes(arr_time[1]);
		else return cal_error ("Invalid minutes value: '" + arr_time[1] + "'.\nAllowed range is 00-59.");
	else return cal_error ("Invalid minutes value: '" + arr_time[1] + "'.\nAllowed values are unsigned integers.");

	if (!arr_time[2]) dt_date.setSeconds(0);
	else if (RE_NUM.exec(arr_time[2]))
		if (arr_time[2] < 60) dt_date.setSeconds(arr_time[2]);
		else return cal_error ("Invalid seconds value: '" + arr_time[2] + "'.\nAllowed range is 00-59.");
	else return cal_error ("Invalid seconds value: '" + arr_time[2] + "'.\nAllowed values are unsigned integers.");

	dt_date.setMilliseconds(0);
	return dt_date;
}

function cal_error (str_message) {
	alert (str_message);
	return null;
}



function setSelectFromSessionStoredValues(form, fields, fieldValues) {
	for (j in fields) {
		if (fieldValues[fields[j]] != undefined) {
			obj = eval(form + fields[j]);
			for (i = 0; i < obj.options.length; i++) {
				if (obj.options[i].value == fieldValues[fields[j]]) {
					obj.options[i].selected=true;
				}
			}
		}
	}
}

function startSlideShow(imageArray,startImageIndex,divName,miliseconds,timerName)
{
  
  /*
  for (i = 0; i < imageArray.length; i++) {
	alert('IMG: ' + imageArray[i]);
  }
  */

  //alert('IMG: ' + imageArray[startImageIndex]);
			
			$("." + divName + " img").fadeOut(200, function() {
			  $(this).attr({'src':imageArray[startImageIndex]});
			  if (this.complete) $(this).fadeIn(500);
            });
  
  //document.getElementById(divName).src = imageArray[startImageIndex];
  
  startImageIndex++;

  if(startImageIndex>=imageArray.length) startImageIndex = 0;

  newArray = Array();

  newArray = imageArray;
  newIndex = startImageIndex;
  newDivName = divName;
  newmiliseconds = miliseconds;
  newtimerName = timerName;

  timerName=setTimeout("startSlideShow(newArray,newIndex,newDivName,newmiliseconds,newtimerName)",miliseconds);

}	

function validateProductAffiliate(agreementText) {
  if(document.productAffiliateForm.is_agreement.checked)
	{
	  //alert('AGREEMENT CHECKED');
	  document.productAffiliateForm.submit();
	}
  else alert(agreementText);
}

function SetFavorite(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}

function changeBreadCr(imageURL, divName) {


//$(this).fadeOut('img[2]',100, swapImageBack);
//$(this).fadeIn('img[1]',100);

//$("." + divName + " img").fadeOut(1000);
//$(this).attr("src", imageURL);
//$(this).fadeIn(1000);



              $("." + divName + " img").fadeOut(1, function() {
                $(this).attr({'src':imageURL});
                if (this.complete) $(this).fadeIn(100);
                //if (this.complete) $("." + divName).fadeTo("slow", 1.0);
                //$(this).fadeIn("slow");
              });

			/*
                         $("." + divName).fadeTo(1, 0.3);
			 $("." + divName).html('<img src="' + imageURL + '" alt="">');
			 $("." + divName).fadeTo("slow", 1.0);
                         */

}

function viewFadeSlide(slideNumber, countImages) {


 for (var i = 0; i < countImages; i ++) {
  document.getElementById('slide_' + i).className = '';
 }
 
 //document.getElementById('slide_1').className = '';
 //document.getElementById('slide_2').className = '';
 //document.getElementById('slide_3').className = '';

 document.getElementById('slide_'+slideNumber).className = 'active';

 //alert(slideNumber);

}

function AccountBlink()
{
	if(document.getElementById('AccountNumber'))
	{
		switch(document.getElementById('AccountNumber').className)
		{
			case 'account-number fc-red':
			{
				document.getElementById('AccountNumber').className = 'account-number fc-red2';
// 				document.getElementById('AccountImportant').className = 'account-important fc-red2';
				break;
			}
// 			case 'account-number fc-red2':
// 			{
// 				document.getElementById('AccountNumber').className = 'account-number fc-red3';
// 				document.getElementById('AccountImportant').className = 'account-important fc-red3';
// 				break;
// 			}
			case 'account-number fc-red3':
			{
				document.getElementById('AccountNumber').className = 'account-number fc-red4';
// 				document.getElementById('AccountImportant').className = 'account-important fc-red4';
				break;
			}
			case 'account-number fc-red4':
			{
				document.getElementById('AccountNumber').className = 'account-number fc-red5';
// 				document.getElementById('AccountImportant').className = 'account-important fc-red5';
				break;
			}
			case 'account-number fc-red5':
			default:
			{
				document.getElementById('AccountNumber').className = 'account-number fc-red';
// 				document.getElementById('AccountImportant').className = 'account-important fc-red';
				break;
			}	
		}
	}
}



 
 
