// validação de formulários
function ValidaMailing() {
  if (document.frmMailingList.email.value == "") {
    alert("Informe o seu e-mail!");
    document.frmMailingList.email.focus();
    return false;
  }

  if ((document.frmMailingList.email.value != "") && (document.frmMailingList.email.value.indexOf("@") < 1)) {
    alert("Informe corretamente seu e-mail!");
    document.frmMailingList.email.value = "";
    document.frmMailingList.email.focus();
    return false;
  }
}
//--------------------------------------------------------------
function ValidaAmigo() {

  if (document.Amigo.NmRemet.value == "") {
    alert("Informe o seu nome!");
    document.Amigo.NmRemet.focus();
    return false;
  }

  if (document.Amigo.MailRemet.value.indexOf("@") < 1) {
    alert("Informe corretamente seu e-mail!");
    document.Amigo.MailRemet.value = "";
    document.Amigo.MailRemet.focus();
    return false;
  }
  if (document.Amigo.NmDest.value == "") {
    alert("Informe o nome do destinatário!");
    document.Amigo.NmDest.focus();
    return false;
  }
  if (document.Amigo.MailDest.value.indexOf("@") < 1) {
    alert("Informe corretamente o e-mail do destinatário!");
    document.Amigo.MailDest.value = "";
    document.Amigo.MailDest.focus();
    return false;
  }
  }
//-------------------------------------------------------------- 
//--------------------------------------------------------------
function validaFaleconosco() {

  if (document.email.Nome.value == "") {
    alert("Informe o seu nome!");
    document.email.Nome.focus();
    return false;
  }

  if (document.email.Email.value.indexOf("@") < 1) {
    alert("Informe corretamente seu e-mail!");
    document.email.Email.value = "";
    document.email.Email.focus();
    return false;
  }
  if (document.email.Telefone.value == "") {
    alert("Informe seu telefone de contato!");
    document.email.Telefone.focus();
    return false;
  }
  if (document.email.Titulo.value == "") {
    alert("Informe um título para a mensagem!");
    document.email.Titulo.focus();
    return false;
  }  
  if (document.email.Texto.value == "") {
    alert("Escreva sua mensagem!");
    document.email.Texto.focus();
    return false;
  } 
  }
//-------------------------------------------------------------- 
function Anuncia() {

  if (document.Anunciar.Nome.value == "") {
    alert("Informe o seu nome!");
    document.Anunciar.Nome.focus();
    return false;
  }
  
  if ((document.Anunciar.Fone.value == "") | (document.Anunciar.Fone.value.length < 7)) {
    alert("Informe corretamente o seu Telefone!");
    document.Anunciar.Fone.value = "";
    document.Anunciar.Fone.focus();
    return false;
  }

  if ((document.Anunciar.Cel.value == "") | (document.Anunciar.Cel.value.length < 7)) {
    alert("Informe corretamente o seu Celular!");
    document.Anunciar.Cel.value = "";
    document.Anunciar.Cel.focus();
    return false;
  }

  if ((document.Anunciar.Email.value == "") | (document.Anunciar.Email.value.indexOf("@") < 1)) {
    alert("Informe corretamente seu e-mail!");
    document.Anunciar.Email.value = "";
    document.Anunciar.Email.focus();
    return false;
  }
  
  if (document.Anunciar.Veic.value == "") {
    alert("Informe o nome do Veículo!");
    document.Anunciar.Veic.focus();
    return false;
  }
  
  i = document.Anunciar.MarcaVeic.selectedIndex;
  if (document.Anunciar.MarcaVeic.options[i].value == "0") {
    alert("Informe a Marca do Veículo!");
    document.Anunciar.MarcaVeic.focus();
    return false;
  }

  if (document.Anunciar.Valor.value == "") {
    alert("Informe o Valor do Veículo!");
    document.Anunciar.Valor.focus();
    return false;
  }
  
  i = document.Anunciar.AnoModVeic.selectedIndex;
  if (document.Anunciar.AnoModVeic.options[i].value == "0") {
    alert("Informe o Ano do Modelo do Veículo!");
    document.Anunciar.AnoModVeic.focus();
    return false;
  }
  
  i = document.Anunciar.AnoVeic.selectedIndex;
  if (document.Anunciar.AnoVeic.options[i].value == "0") {
    alert("Informe o Ano do Veículo!");
    document.Anunciar.AnoVeic.focus();
    return false;
  }
  
  if (document.Anunciar.Cor.value == "") {
    alert("Informe a Cor do Veículo!");
    document.Anunciar.Cor.focus();
    return false;
  }

  i = document.Anunciar.Comb.selectedIndex;
  if (document.Anunciar.Comb.options[i].value == "0") {
    alert("Informe o Combustível do Veículo!");
    document.Anunciar.Comb.focus();
    return false;
  }
}
//-------------------------------------------------------------- 
function Solicitar(){

var form 		= document.solicitar
var Nome	 	= form.Nome
var Email	 	= form.Email
var Fone 		= form.Fone
var Cid		 	= form.Cid
var Veic 		= form.Veic
var MarcaVeic 	= form.MarcaVeic

if (Nome.value == "") {
   alert("Informe o Nome. ")
   Nome.focus();
   return false;
}

if ((Email.value == "") | (Email.value.indexOf("@") < 1)) {
   alert("Informe corretamente seu Email.")
   Email.value="";
   Email.focus();
   return false;
 }

if (Fone.value == "") {
   alert("Informe o Fone.")
   Fone.focus();
   return false;
}

if (Cid.value == "") {
   alert("Informe A Cidade.")
   Cid.focus();
   return false;
 }

if (Veic.value == "") {
   alert("Informe o Veiculo.")
   Veic.focus();
   return false;
 }
 
if (MarcaVeic.value == "0") {
   alert("Informe a Marca do Veiculo.")
   MarcaVeic.focus();
   return false;
 }
}
//--------------------------------------------------------------
function validaProposta() {

  if (document.frmProp.Nome.value == "") {
    alert("Informe o seu nome!");
    document.frmProp.Nome.focus();
    return false;
  }
  if (document.frmProp.Email.value.indexOf("@") < 1) {
    alert("Informe corretamente seu e-mail!");
    document.frmProp.Email.value = "";
    document.frmProp.Email.focus();
    return false;
  }
  if (document.frmProp.Telefone.value == "") {
    alert("Informe seu telefone de contato!");
    document.frmProp.Telefone.focus();
    return false;
  }
  if (document.frmProp.Texto.value == "") {
    alert("Escreva sua mensagem!");
    document.frmProp.Texto.focus();
    return false;
  } 
  }
//-------------------------------------------------------------- 

function Curriculo() {

var form 		= document.curriculo
var cargo	 	= form.cargo
var nome 		= form.cand_nome
var endereco 	= form.cand_endereco
var cidade 		= form.cand_cidade
var estado	 	= form.cand_estado
var telefone 	= form.cand_telefone
var email 		= form.cand_email

if (cargo.value == "") {
   alert("Informe o Cargo. ")
   cargo.focus();
   return false;
}

if (nome.value == "") {
   alert("Informe o Nome.")
   nome.focus();
   return false;
}

if (endereco.value == "") {
   alert("Informe o Endereço.")
   endereco.focus();
   return false;
 }
 
 if (cidade.value == "") {
   alert("Informe a Cidade.")
   cidade.focus();
   return false;
 }
 
if (estado.value == "") {
   alert("Informe o Estado.")
   estado.focus();
   return false;
 }
 
if (telefone.value == "") {
   alert("Informe o Telefone.")
   telefone.focus();
   return false;
 }
 
if (email.value == "") {
   alert("Informe o Email.")
   email.focus();
   return false;
 }
}

//-------------------------------------------------------------- 

//--------------------------------------------------------------

function Momentos() {

  if (document.frmMomentos.Nome.value == "") {
    alert("Informe o seu nome!");
    document.frmMomentos.Nome.focus();
    return false;
  }
  if (document.frmMomentos.Email.value.indexOf("@") < 1) {
    alert("Informe corretamente seu e-mail!");
    document.frmMomentos.Email.value = "";
    document.frmMomentos.Email.focus();
    return false;
  }
  if (document.frmMomentos.telefone.value == "") {
    alert("Informe o seu telefone de contato!");
    document.frmMomentos.telefone.focus();
    return false;
  }
  if (document.frmMomentos.Depoimento.value == "") {
    alert("Escreva sua história!");
    document.frmMomentos.Depoimento.focus();
    return false;
  }
  if (document.frmMomentos.Foto.value == "") {
    alert("Escolha uma foto!");
    return false;
  }  
}

function recebe_imagem(folder, campo, imagem){
var foto = 'img_' + campo
var FolderImg=folder + '/'
document.frmMomentos[campo].value = imagem;
document.frmMomentos[foto].src = '/ArquivosUpload/Momentos/'+FolderImg+imagem;
}
  
//-------------------------------------------------------------- 

function Oficina(form){
	var valida = true;

    if(document.frmOficina.Nome.value==''){
      valida = false;
    }
	if(document.frmOficina.Email.value==''){
      valida = false;
    }
	if(document.frmOficina.Telefone.value==''){
      valida = false;
    }
	if(document.frmOficina.Modelo.value==''){
      valida = false;
    }
	if(document.frmOficina.data.value==''){
      valida = false;
    }
	if(document.frmOficina.hora.value==''){
      valida = false;
    }			
	if(valida==false){
		alert('Preencha os campos obrigatórios!');
		return false;		
		}else{
		return true;	
		}	
	
}

//-------------------------------------------------------------- 

function TestDrive(form){
	var valida = true;

    if(document.frmTest.Nome.value==''){
      valida = false;
    }
	if(document.frmTest.Email.value==''){
      valida = false;
    }
	if(document.frmTest.Telefone.value==''){
      valida = false;
    }
	if(document.frmTest.Modelo.value==''){
      valida = false;
    }
	if(document.frmTest.data.value==''){
      valida = false;
    }
	if(document.frmTest.hora.value==''){
      valida = false;
    }	
	if(valida==false){
		alert('Preencha os campos obrigatórios!');
		return false;		
		}else{
		return true;	
		}	
}

//-------------------------------------------------------------- 

function ValidaBusca() {
  if (document.FrmBusca.Marca.value == "") {
    alert("Informe pelo menos a marca");
    document.FrmBusca.Marca.focus();
    return false;
  }
}

// obriga a selecionar checkbox para comparar carros

function validaCheckbox(form) {
var total = 0;
var max = form.Carro.length;
for (var idx = 0; idx < max; idx++) {
if (eval("document.frmPesqComparar.Carro[" + idx + "].checked") == true) {
    total += 1;
   }
}
if (total < 2) {
alert("Selecione, pelo menos, dois carros.");
return false;
}
}

// cria parâmetros para busca

function CreateString()
{
	document.FrmBusca.action='Pesq.asp?Veic='+document.getElementById("Veic").value+'&Mod='+document.getElementById("Mod").value+'&Marca='+document.getElementById("Marca").value+'&Ano='+document.getElementById("Ano").value+'&VI='+document.getElementById("VI").value+'&VF='+document.getElementById("VF").value+'&QtdCarPag='+document.getElementById("QtdCarPag").value
	document.FrmBusca.submit();	
}

function MudaQtd()
{
		document.FrmBusca.action='Pesq.asp?Veic='+document.getElementById("Veiculo").value+'&Mod='+document.getElementById("Mod").value+'&Marca='+document.getElementById("Marca").value+'&Ano='+document.getElementById("Ano").value+'&VI='+document.getElementById("VI").value+'&VF='+document.getElementById("VF").value+'&QtdCarPag='+document.getElementById("QtdCarPag").value
	
	document.FrmBusca.submit();
}

// funções do arquivo detalhes.asp
function DoPrinting(){
  if (!window.print){
  alert("Use o Netscape ou Internet Explorer \n nas versões 4.0 ou superior!")
  return
}
window.print()
}

// função Pop Up
function carregaPopUp(arquivoPop, alt,lag)
{
window.open(arquivoPop,'PopUP','scrollbars=no,width='+alt+',height='+lag+'');
}
//--------------------------------------------------------------
// transparencia para arquivos PNG
function correctPNG()
   {
   for(var i=0; i<document.images.length; i++)
      {
      var img = document.images[i]
      var imgName = img.src.toUpperCase()
      if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
         var imgID = (img.id) ? "id='" + img.id + "' " : ""
         var imgClass = (img.className) ? "class='" + img.className + "' " : ""
         var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
         var imgStyle = "display:inline-block;" + img.style.cssText
         if (img.align == "left") imgStyle = "float:left;" + imgStyle
         if (img.align == "right") imgStyle = "float:right;" + imgStyle
         if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
         var strNewHTML = "<span " + imgID + imgClass + imgTitle
         + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
         + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
         + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
         img.outerHTML = strNewHTML
         i = i-1
         }
      }
   }
window.attachEvent("onload", correctPNG);
//--------------------------------------------------------------
// Flash sem serrilhado
function objectSwf(swf,width,height) {
document.write('<object type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" data="' + swf + '">');
document.write('<param name="movie" value="' + swf + '" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="menu" value="false" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="' + swf + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" wmode="transparent"></embed>');
document.write('</object>');
}
//--------------------------------------------------------------
/************************************************************************ 
Author: Eric Simmons
Contact: info AT jswitch DOT com
Website: http://www.jswitch.com
Script featured and available at Dynamic Drive: http://www.dynamicdrive.com
Version: 2.1 05/2006       
Browser Target: Mozilla 6+/FireFox Netscape 6+, IE 5.0+
Type: XP Style Menus ver 2.1

DISCLAIMER:
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT
ANY EXPRESS OR IMPLIED WARRANTIES, JSWITCH.COM
IS NOT RESPONSIBLE FOR ANY ADVERSE AFFECTS TO
YOUR COMPUTER OR SYSTEMS RUNNING THIS SCRIPT.

LICENSE:
YOU ARE GRANTED THE RIGHT TO USE THE SCRIPT
PERSONALLY OR COMMERCIALLY. THE AUTHOR, WEBSITE LINKS 
AND LICENSE INFORMATION IN THE HEADER OF THIS SCRIPT
MUST NOT BE MODIFIED OR REMOVED. IF PORTIONS OF THE 
CODE ARE TRANSFERED TO ANOTHER SCRIT THE AUTHORS NAME
AND CONTACT INFORMATION MUST BE STATED IN THE NEW SCRIPT
BY THE PORTIONS CODE THAT HAVE BEEN TRANSFERED.


v2.2
-fixed cookie bug

v2.1
-Mouse events states for title bar
-object index bug fixes
-redesigned to look like XP :)

v 2.0
-W3C HTML 4.01 Transitional compliant
-Support for initially open menu
-New fading capability
-Cookie menu persistence
-Redesigned code


Notes:

If you want a menu to be open initially set the style display to
"inline" in the subMenu class div like this...
<div class="subMenu" style="display:inline;">


The fading effect can be disabled by setting the 
doFading var to false. I have only tested this feature on 
ie 6, Netscape 1.7, firefox 1 & 1.5

If the user has cookies enabled the script will bake a cookie ;) on
the browser to track the state of the menus. This is good news for those
of you who don't use frames, you can now have persistent menu states

Make sure you put the java script include tag after all the menus otherwise
it will not be able find and initialize them. If you have questions, or comments
about the XpStyle Menu v2 send me an email.

And lastly a plug for myself, If you need some professional help with technical
web development please drop me an email, I do contracts for a competitive price. :)



v 1.0
XP style sliding Menu Bar

***********************************************************************/


var menuObjArray = new Array();
menuObjArray[0] = new Array();
menuObjArray[1] = new Array();
menuObjArray[2] = new Array();
menuObjArray[3] = new Array();
menuObjArray[4] = new Array();
menuObjArray[5] = new Array();
menuObjArray[6] = new Array();
menuObjArray[7] = new Array();


var timerSlide = null;
var numMenuItem = 0;
var slideDelay = 5;
var divHeight = 21; 
var moveSlidePix = 7;
var isLocked = null;
var doFading = true;


InitAll();

function InitAll()
{
	var divs = document.getElementsByTagName("DIV");
	menuStateAry = GetUserCookie("xpMenuCookv2").split(",");

	aryNum = 0;
	for(dn=0; dn < divs.length;dn++)
	{
		if(String(divs.item(dn).className).substring(0,7) == "topItem")
		{	
			mainMenuDiv = divs.item(dn).parentNode;
			menuContainerDiv= mainMenuDiv.getElementsByTagName("DIV").item(1);
			itemContainerDiv= menuContainerDiv.getElementsByTagName("DIV").item(0);
			
			
			try //to apply cookies settings
			{
				if(menuStateAry != 0)
					itemContainerDiv.style.height = parseInt(menuStateAry[aryNum]) + "px";
				
				if(!doFading)
				{
					
					if (menuContainerDiv.filters)
						menuContainerDiv.filters.alpha.opacity = 100;
					else
						menuContainerDiv.opacity = 1;
				}
					
				if(menuStateAry != 0 )
				{
					if( parseInt(menuStateAry[aryNum]) == 0)
						itemContainerDiv.style.display = 'none';
					else
						itemContainerDiv.style.display = 'inline';
				}
			}
			catch(e)
			{
				e= null; //cookie may not exist yet
			}

			Init(divs.item(dn));
			aryNum++;

		}
	}	
}

function Init(objDiv)
{
    
    if (isLocked)
        return;

    var mainMenuDiv, subMenuDiv, menuContainerDiv, itemContainerDiv,styleRules;

	
	for(r=0;r < document.styleSheets.length; r++)
	{	
		if( -1 != String(document.styleSheets[r].href).indexOf("sddm.css") )	
			break;
	}
	if(!document.styleSheets[r].rules)
		styleRules = document.styleSheets[r].cssRules;
	else
		styleRules = document.styleSheets[r].rules;
		
    numMenuItem = 0;
    mainMenuDiv = objDiv.parentNode;
    subMenuDiv =  mainMenuDiv.getElementsByTagName("DIV").item(0);
    

    menuContainerDiv= mainMenuDiv.getElementsByTagName("DIV").item(1);
    itemContainerDiv= menuContainerDiv.getElementsByTagName("DIV").item(0);
    

    aLen = menuObjArray[0].length;
    for (i=0 ;i < aLen ; i++)
    {
        if (menuObjArray[0][i] == menuContainerDiv)
        {
            break;
        }
    }
    
    if (i == aLen)
    {
        menuObjArray[0][i]  = menuContainerDiv;
        menuObjArray[1][i] = itemContainerDiv;
        menuObjArray[7][i] = subMenuDiv;
        menuObjArray[7][i].onmouseover = ChangeStyle;
        menuObjArray[7][i].onmouseout = ChangeStyle;
        subMenuDiv.onclick = SetSlide;

        
		lastmenuNum = -1;
        for (b=0;b<itemContainerDiv.childNodes.length;b++)
        {
            if (itemContainerDiv.childNodes.item(b).tagName == "DIV")
            { 
                numMenuItem ++;
                itemContainerDiv.childNodes.item(b).onmouseover= ChangeStyle;
                itemContainerDiv.childNodes.item(b).onmouseout= ChangeStyle;
                lastmenuNum = b;
            }
        }  
        
        
		for(r=0;r < styleRules.length; r++)
		{
			tmpStr1 = String(styleRules[r].selectorText);
			tmpStr2 = String("." + itemContainerDiv.childNodes.item(lastmenuNum).className);
			if(tmpStr1 == tmpStr2)
			{
				if(NaN != parseInt(styleRules[r].style.height))
				{
					divHeight = parseInt(styleRules[r].style.height) + 2;
					break;
				}
				
			}
		}
				
        menuObjArray[2][i] = numMenuItem;
        menuObjArray[3][i] = mainMenuDiv;

        if (itemContainerDiv.style.display == "inline")
        {
            menuObjArray[4][i] = numMenuItem * divHeight;
            menuObjArray[0][i].style.height = numMenuItem * divHeight + "px";
            menuObjArray[6][i] = true;
			
            if(doFading)
			{
				if (menuObjArray[0][i].filters)
					menuObjArray[0][i].filters.alpha.opacity = 100;
				else
					menuObjArray[0][i].style.opacity = 1;
			}
            
            
        } else
        {
			menuObjArray[7][i].className = menuObjArray[7][i].className + "Close";
            menuObjArray[4][i] = 0;
            menuObjArray[0][i].style.height = 0 + "px";
            menuObjArray[6][i] = false;
            if(doFading)
			{
				if (menuObjArray[0][i].filters)
					menuObjArray[0][i].filters.alpha.opacity = 0;
				else
					menuObjArray[0][i].style.opacity = .0;
			}
        }

    }//end if

    mainMenuDiv = null;
    subMenuDiv =  null;
    menuContainerDiv= null;
    itemContainerDiv= null;
    
}

function SetSlide()
{   
    if (isLocked)
        return;
    else
        isLocked = this.parentNode;          
    for (i=0 ;i < menuObjArray[0].length; i++)
    {
        if (menuObjArray[3][i] == this.parentNode)
        {
            if (menuObjArray[5][i] == null)
                menuObjArray[5][i] = setInterval("RunSlide(" + i + ")", slideDelay);
            break;
        }
    }

}



function UpdateUserCookie(aryIndex)
{
    date = new Date();
    date.setTime(date.getTime() + (1000 * 60 * 60 * 24 * 30)); 
    document.cookie = "xpMenuCookv2" + "=" + escape(menuObjArray[4].toString()) + "; expires=" + date.toGMTString();  
   
}

function GetUserCookie(crumbName)
{
    colCookie = document.cookie.split("; ");
    
    for (a=0; a < colCookie.length; a++)
    {
        colCrumb = colCookie[a].split("=");                    
        if(colCrumb[0] == crumbName)
            return unescape(colCrumb[1]);
    }

    return "";

}


function RunSlide(objIndex)  
{

    if (menuObjArray[6][objIndex])
    {
		if(doFading)
		{
			if(menuObjArray[0][objIndex].filters)
				menuObjArray[0][objIndex].filters.alpha.opacity -= 100/ ( ( (menuObjArray[2][objIndex] * divHeight) / moveSlidePix) +1);
			else
				menuObjArray[0][objIndex].style.opacity -= .9/(((menuObjArray[2][objIndex] * divHeight) / moveSlidePix)+1);
		}
        menuObjArray[1][objIndex].style.display = 'none';
        menuObjArray[4][objIndex] -=  moveSlidePix;
        if (menuObjArray[4][objIndex] > 0)
            menuObjArray[0][objIndex].style.height = menuObjArray[4][objIndex] + "px";
        else
        {
            if(doFading)
			{
				if(menuObjArray[0][objIndex].filters)
					menuObjArray[0][objIndex].filters.alpha.opacity = 0;
				else
					menuObjArray[0][objIndex].style.opacity = 0;
			}
		
		
			cName = String(menuObjArray[7][objIndex].className);
			//alert(cName);

			if (cName.substring(cName.length - 4, cName.length) == "Item")
			{
				menuObjArray[7][objIndex].className = menuObjArray[7][objIndex].className+"Close";
			}
			
			if (cName.substring(cName.length - 4, cName.length) == "Over")
			{
				menuObjArray[7][objIndex].className = cName.substring(0,cName.length - 4);
				menuObjArray[7][objIndex].className = menuObjArray[7][objIndex].className+"CloseOver";
			}
			
			if (cName.substring(cName.length - 5, cName.length) == "Close")
			{
				menuObjArray[7][objIndex].className = cName.substring(0,cName.length - 5);
				menuObjArray[7][objIndex].className = menuObjArray[7][objIndex].className+"CloseOver";
			}
			
			//cName = String(menuObjArray[7][objIndex].className);
			//alert(cName);
			
			
            menuObjArray[4][objIndex] = 0;
            menuObjArray[0][objIndex].style.height = 0 + "px";
            clearInterval(menuObjArray[5][objIndex]);
            menuObjArray[5][objIndex] = null;
            menuObjArray[6][objIndex] = false;
            isLocked = null;
            UpdateUserCookie(objIndex);
            return 0;
        }
        
        return 0;
        
    }

    if (!menuObjArray[6][objIndex])
    {
		if(doFading)
		{
			if(menuObjArray[0][objIndex].filters)
				menuObjArray[0][objIndex].filters.alpha.opacity += 100/ ( ( (menuObjArray[2][objIndex] * divHeight) / moveSlidePix) +1);
			else
			{
				opcVal = parseFloat(menuObjArray[0][objIndex].style.opacity);
				opcVal += .9/((menuObjArray[2][objIndex] * divHeight) / moveSlidePix);
				menuObjArray[0][objIndex].style.opacity = opcVal;
			}
		}
        menuObjArray[4][objIndex] +=  moveSlidePix;
        if (menuObjArray[4][objIndex] < (menuObjArray[2][objIndex] * divHeight))
            menuObjArray[0][objIndex].style.height = menuObjArray[4][objIndex] + "px";
        else
        {
			
			
			if(doFading)
			{
				if(menuObjArray[0][objIndex].filters)
					menuObjArray[0][objIndex].filters.alpha.opacity = 100;
				else
					menuObjArray[0][objIndex].style.opacity = 1;
			}
			strClassName = String(menuObjArray[7][objIndex].className);
			menuObjArray[4][objIndex] = (menuObjArray[2][objIndex] * divHeight);
			menuObjArray[0][objIndex].style.height = (menuObjArray[2][objIndex] * divHeight)+ "px";			     
            menuObjArray[1][objIndex].style.display = 'inline';
            clearInterval(menuObjArray[5][objIndex]);
            menuObjArray[5][objIndex] = null;
            menuObjArray[6][objIndex] = true;
            
            
            cName = String(menuObjArray[7][objIndex].className);
			//alert(cName);
			if (cName.substring(cName.length - 4, cName.length) == "Over")
			{
				menuObjArray[7][objIndex].className = cName.substring(0,cName.length - 9);
				menuObjArray[7][objIndex].className = menuObjArray[7][objIndex].className+"Over";
			}
			
			if (cName.substring(cName.length - 5, cName.length) == "Close")
			{
				menuObjArray[7][i].className = cName.substring(0,cName.length - 5);
			}
			
			//cName = String(menuObjArray[7][objIndex].className);
			//alert(cName);
			

            isLocked = null;
             UpdateUserCookie(objIndex);
            return 0;
        }       
        return 0;
        
    }


}

function ChangeStyle()
{
    className = String(this.className);
   
    if (className.substring(className.length - 4, className.length) == "Over")
        this.className = className.substring(0,className.length - 4);
    else
        this.className = this.className + "Over";
   //  alert(this.className);
}


//--------------------------------------------------------------
// Infinite Menus

function imenus_data0(){


	this.menu_showhide_delay = 150
	this.show_subs_onclick = false
	this.hide_focus_box = false



   /*---------------------------------------------
   Box Animation Settings
   ---------------------------------------------*/


	//set to... "pointer", "center", "top", "left"
	this.box_animation_type = "center"

	this.box_animation_frames = 15
	this.box_animation_styles = "border-style:solid; border-color:#999999; border-width:1px; "



   /*---------------------------------------------
   Animated Pointer Icon Settings
   ---------------------------------------------*/


	this.main_pointer_image_width = '0'
	this.main_pointer_image_height = '0'
	this.main_pointer_image_offx = '0'
	this.main_pointer_image_offy = '0'

	this.sub_pointer_image = ''
	this.sub_pointer_image_width = '13'
	this.sub_pointer_image_height = '10'
	this.sub_pointer_image_offx = '-13'
	this.sub_pointer_image_offy = '-5'



   /*---------------------------------------------
   IE Transition Effects
   ---------------------------------------------*/


	this.subs_ie_transition_show = ""



/*[end data]*/}



//[IM Code]


// ---- Add-On [3.6 KB]: Animated Pointer Icons ----
ulm_last_pointer=null;;function imenus_add_pointer_image(obj,dto,level){if(ulm_oldnav||(ulm_mac&&(ulm_ie||ulm_navigator)))return;x4="main";if(level>0)x4="sub";var c_horizontal=true;if(level==0){if((ob1=obj.getElementsByTagName("LI")[0])&&(ob1.style.width.indexOf("100%")+1))c_horizontal=false;}var a=obj.parentNode.getElementsByTagName("UL")[0];var id=a.id.substring(a.id.indexOf("_")+1);x3=document.createElement("DIV");x3.id="pi"+a.id;x3.style.position="absolute";x3.style.visibility="hidden";x3.style.fontSize="0px";x3.style.lineHeight="0px";x3.style.zIndex=999;x3.setAttribute("ispointer",1);x3.setAttribute("scxy","0,0");x3.setAttribute("offxy","0,0");if((level==0)&&(c_horizontal)){x3.setAttribute("ish",1);x3.setAttribute("fxoff",x25(dto.main_pointer_image_offy));x3.setAttribute("sloff",x25(dto.main_pointer_image_offx));}else {x3.setAttribute("fxoff",x25(x27_pointer(x4+"_pointer_image_offx",dto,id)));x3.setAttribute("sloff",x25(x27_pointer(x4+"_pointer_image_offy",dto,id)));}wht="";if((tval=x27_pointer(x4+"_pointer_image_width",dto,id)))wht+="width='"+tval+"'";if((tval=x27_pointer(x4+"_pointer_image_height",dto,id)))wht+="height='"+tval+"'";x5=x27_pointer(x4+"_pointer_image",dto,id);if(!x5||x5.toLowerCase()=="none")obj.setAttribute("noimage",1);else obj.removeAttribute("noimage");var dexist=false;var dobj=obj.childNodes;for(var d=0;d<dobj.length;d++){if(dobj[d].getAttribute&&dobj[d].getAttribute("ispointer"))dexist=true;}if(!dexist){x3.innerHTML='<img src="'+x5+'" '+wht+'>';obj.appendChild(x3);}obj.onmousemove=function(e){e=e||window.event;var x32=this;if(this.tagName=="DIV")x32=this.getElementsByTagName("UL")[0];if((x32.className.indexOf("imncc")+1)||(x32.parentNode.className.indexOf("imncc")+1)||this.getAttribute("noimage")){imenus_hide_pointer();if(!x32.id||x32.id.indexOf("imenus")==-1)im_kille(e);return false;}var lc=this.lastChild;var bid;if(!lc.getAttribute("ispointer")){bid=this.getElementsByTagName("UL")[0].id;lc=document.getElementById("pi"+bid);}if(!lc.getAttribute("initialized"))imenus_initialize_pointer(this,lc);offxy=eval("new Array("+lc.getAttribute("offxy")+")");sloff=parseInt(lc.getAttribute("sloff"));scxy=eval("new Array("+lc.getAttribute("scxy")+")");if(lc.getAttribute("ish")){npos=e.clientX-offxy[0]+sloff+scxy[0];if(window.dp_zoomc)npos=dp_zoomc(npos);setTimeout("imenus_pointer_move('"+lc.id+"',"+npos+",'h')",0);}else {npos=e.clientY-offxy[1]+sloff+scxy[1];if(window.dp_zoomc)npos=dp_zoomc(npos);setTimeout("imenus_pointer_move('"+lc.id+"',"+npos+")",0);}var a;if(a=window.imenus_event_mc_onmousemove)a();im_kille(e);return false;};};function imenus_pointer_move(id,npos,type){var md=document.getElementById(id);if(type=="h")md.style.left=npos+"px";else md.style.top=npos+"px";if(md.getAttribute("initialized"))md.style.visibility="inherit";};function x25(val){if(val==null)return 0;return val;};function imenus_hide_pointer(check){if(ulm_last_pointer&&ulm_last_pointer.parentNode!=check){ulm_last_pointer.style.visibility="hidden";ulm_last_pointer.removeAttribute("initialized");}};function imenus_initialize_pointer(obj,lc){imenus_hide_pointer();ulm_last_pointer=lc;var txy=x26(obj);if(hpi=document.getElementById("hpi_pad")){if(a=hpi.scrollLeft)txy[0] -=a;if(a=hpi.scrollTop)txy[1] -=a;}lc.setAttribute("offxy",txy);var pxy=parseInt(lc.getAttribute("fxoff"));if(lc.getAttribute("ish"))lc.style.top=pxy+"px";else lc.style.left=pxy+"px";pobj=document.body;if((!(pobj.scrollLeft+pobj.scrollTop))&&(document.documentElement))pobj=document.documentElement;lc.setAttribute("scxy",pobj.scrollLeft+","+pobj.scrollTop);lc.setAttribute("initialized",1);};function x27_pointer(pname,dto,index){if((rval=dto[pname+index])!=null)return rval;else return dto[pname];}


// ---- Add-On [3.2 KB]: Box Outline Animations ----
;function imenus_box_ani_init(obj,dto){var tid=obj.getElementsByTagName("UL")[0].id.substring(6);if(!(ulm_navigator&&ulm_mac)&&!(window.opera&&ulm_mac)&&!(window.navigator.userAgent.indexOf("afari")+1)&& !ulm_iemac&&dto.box_animation_frames>0&&!dto.box_animation_disabled){ulm_boxa["go"+tid]=true;ulm_boxa.go=true;ulm_boxa.all=new Object();}else return;};function imenus_box_ani(show,tul,hobj,e){if(tul.className.indexOf("imcanvassubc")+1){hover_handle(hobj);return;}if(!ulm_boxa.cm)ulm_boxa.cm=new Object();if(!ulm_boxa["ba"+hobj.id])ulm_boxa["ba"+hobj.id]=new Object();ulm_boxa["ba"+hobj.id].hobj=hobj;var bo=ulm_boxa["ba"+hobj.id];bo.id="ba"+hobj.id;if(!bo.bdiv){bdiv=document.createElement("DIV");bdiv.className="ulmba";bdiv.onmousemove=function(e){if(!e)e=event;e.cancelBubble=true;};bdiv.onmouseover=function(e){if(!e)e=event;e.cancelBubble=true;};bdiv.onmouseout=function(e){if(!e)e=event;e.cancelBubble=true;};bo.bdiv=tul.parentNode.appendChild(bdiv);}var i;for(i in ulm_boxa){if((ulm_boxa[i].steps)&&!(ulm_boxa[i].id.indexOf(hobj.id)+1))ulm_boxa[i].reverse=true;}if(((hobj.className.indexOf("ishow")+1)&&bo.hobj)||(bo.bdiv.style.visibility=="visible"&&!bo.reverse))return true;imenus_box_show(bo,hobj,tul,e);};function imenus_box_h(hobj){if(hobj.className.indexOf("imctitleli")+1)return;var bo=ulm_boxa["ba"+hobj.id];if(bo&&bo.bdiv&&bo.pos){bo.reverse=true;bo.pos=bo.steps;bo.bdiv.style.visibility="visible";imenus_box_x44(bo);}};function imenus_box_reverse(x17){if(!ulm_boxa.go)return;var i;for(i in ulm_boxa.all){if(ulm_boxa.all[i]&&ulm_boxa[i].hobj!=x17){var bo=ulm_boxa[i];bo.reverse=true;ulm_boxa.all[i]=null;}}};function imenus_box_show(bo,hobj,tul,e){var type;var tdto=ulm_boxa["dto"+parseInt(hobj.id.substring(6))];clearTimeout(bo.st);bo.st=null;if(bo.bdiv)bo.bdiv.style.visibility="hidden";bo.pos=0;bo.reverse=false;bo.steps=tdto.box_animation_frames;bo.exy=new Array(tul.offsetLeft,tul.offsetTop);bo.ewh=new Array(tul.offsetWidth,tul.offsetHeight);bo.sxy=new Array(0,0);if(!(type=tul.getAttribute("boxatype")))type=tdto.box_animation_type;if(type=="center")bo.sxy=new Array(bo.exy[0]+parseInt(bo.ewh[0]/2),bo.exy[1]+parseInt(bo.ewh[1]/2));else  if(type=="top")bo.sxy=new Array(parseInt(bo.ewh[0]/2),0);else  if(type=="left")bo.sxy=new Array(0,parseInt(bo.ewh[1]/2));else  if(type=="pointer"){if(!e)e=window.event;var txy=x26(tul);bo.sxy=new Array(e.clientX-txy[0],(e.clientY-txy[1])+5);}bo.dxy=new Array(bo.exy[0]-bo.sxy[0],bo.exy[1]-bo.sxy[1]);bo.dwh=new Array(bo.ewh[0],bo.ewh[1]);bo.tul=tul;bo.hobj=hobj;imenus_box_x44(bo);};function imenus_box_x44(bo){var a=bo.bdiv;var cx=bo.sxy[0]+parseInt((bo.dxy[0]/bo.steps)*bo.pos);var cy=bo.sxy[1]+parseInt((bo.dxy[1]/bo.steps)*bo.pos);a.style.left=cx+"px";a.style.top=cy+"px";var cw=parseInt((bo.dwh[0]/bo.steps)*bo.pos);var ch=parseInt((bo.dwh[1]/bo.steps)*bo.pos);a.style.width=cw+"px";a.style.height=ch+"px";if(bo.pos<=bo.steps){if(bo.pos==0)a.style.visibility="visible";if(bo.reverse==true)bo.pos--;else bo.pos++;if(bo.pos==-1){bo.pos=0;a.style.visibility="hidden";}else {bo.st=setTimeout("imenus_box_x44(ulm_boxa['"+bo.id+"'])",8);ulm_boxa.all[bo.id]=true;}}else {clearTimeout(bo.st);bo.st=null;ulm_boxa.all[bo.id]=null;if(!bo.reverse){if((bo.hobj)&&(bo.pos>-1))hover_handle(bo.hobj);}a.style.visibility="hidden";}}


// ---- Add-On [0.7 KB]: Select Tag Fix for IE ----
;function iao_iframefix(){if(ulm_ie&&!ulm_mac&&!ulm_oldie&&!ulm_ie7){for(var i=0;i<(x31=uld.getElementsByTagName("iframe")).length;i++){ if((a=x31[i]).getAttribute("x30")){a.style.height=(x32=a.parentNode.getElementsByTagName("UL")[0]).offsetHeight;a.style.width=x32.offsetWidth;}}}};function iao_ifix_add(b){if(ulm_ie&&!ulm_mac&&!ulm_oldie&&!ulm_ie7&&window.name!="hta"&&window.name!="imopenmenu"){b.parentNode.insertAdjacentHTML("afterBegin","<iframe src='javascript:false;' x30=1 style='z-index:-1;position:absolute;float:left;border-style:none;width:1px;height:1px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);' frameborder='0'></iframe><div></div>");}}


// ---- IM Code + Security [7.4 KB] ----
im_version="10.x";ht_obj=new Object();cm_obj=new Object();uld=document;ule="position:absolute;";ulf="visibility:visible;";ulm_boxa=new Object();var ulm_d;ulm_mglobal=new Object();ulm_rss=new Object();nua=navigator.userAgent;ulm_ie=window.hideHelp;ulm_ie7=nua.indexOf("MSIE 7")+1;ulm_mac=nua.indexOf("Mac")+1;ulm_navigator=nua.indexOf("Netscape")+1;ulm_version=parseFloat(navigator.vendorSub);ulm_oldnav=ulm_navigator&&ulm_version<7.1;ulm_oldie=ulm_ie&&nua.indexOf("MSIE 5.0")+1;ulm_iemac=ulm_ie&&ulm_mac;ulm_opera=nua.indexOf("Opera")+1;ulm_safari=nua.indexOf("afari")+1;x42="_";ulm_curs="cursor:hand;";if(!ulm_ie){x42="z";ulm_curs="cursor:pointer;";}ulmpi=window.imenus_add_pointer_image;var x43;for(mi=0;mi<(x1=uld.getElementsByTagName("UL")).length;mi++){if((x2=x1[mi].id)&&x2.indexOf("imenus")+1){dto=new window["imenus_data"+(x2=x2.substring(6))];ulm_boxa.dto=dto;ulm_boxa["dto"+x2]=dto;ulm_d=dto.menu_showhide_delay;if(ulm_ie&&!ulm_ie7&&!ulm_mac&&(b=window.imenus_efix))b(x2);imenus_create_menu(x1[mi].childNodes,x2+x42,dto,x2,null,1);(ap1=x1[mi].parentNode).id="imouter"+x2;ulm_mglobal["imde"+x2]=ap1;var dt="onmouseover";if(ulm_mglobal.activate_onclick)dt="onclick";document[dt]=function(){var a;if(!ht_obj.doc){clearTimeout(ht_obj.doc);ht_obj.doc=null;}else return;ht_obj.doc=setTimeout("im_hide()",ulm_d);if(a=window.imenus_box_reverse)a();if(a=window.imenus_expandani_hideall)a();if(a=window.imenus_hide_pointer)a();if(a=window.imenus_shift_hide_all)a();};imarc("imde",ap1);if(ulm_oldnav)ap1.parentNode.style.position="static";if(!ulm_oldnav&&ulmpi)ulmpi(x1[mi],dto,0,x2);x6(x2,dto);if((ulm_ie&&!ulm_iemac)&&(b1=window.iao_iframefix))window.attachEvent("onload",b1);if((b1=window.iao_hideshow)&&(ulm_ie&&!ulm_mac))attachEvent("onload",b1);if(b1=window.imenus_box_ani_init)b1(ap1,dto);if(b1=window.imenus_expandani_init)b1(ap1,dto);if(b1=window.imenus_info_addmsg)b1(x2,dto);if(b1=window.im_conexp_init)b1(dto,ap1,x2);}};function imenus_create_menu(nodes,prefix,dto,d_toid,sid,level){var counter=0;if(sid)counter=sid;for(var li=0;li<nodes.length;li++){var a=nodes[li];var c;if(a.tagName=="LI"){a.id="ulitem"+prefix+counter;(this.atag=a.getElementsByTagName("A")[0]).id="ulaitem"+prefix+counter;if(c=this.atag.getAttribute("himg")){ulm_mglobal["timg"+a.id]=new Image();ulm_mglobal["timg"+a.id].src=c;}a.level=level;a.dto=d_toid;a.x4=prefix;a.sid=counter;if((a1=window.imenus_drag_evts)&&level>1)a1(a,dto);if(dto.hide_focus_box)this.atag.onfocus=function(){this.blur()};imenus_se(a,dto);this.isb=false;var b=a.getElementsByTagName("UL")[0];if(b){if(c=window.iao_ifix_add)c(b);var wgc;if(wgc=window.getComputedStyle){if(wgc(b.parentNode,"").getPropertyValue("visibility")=="visible"){cm_obj[a.id]=a;imarc("ishow",a,1);}}else  if(ulm_ie&&b.parentNode.currentStyle.visibility=="visible"){cm_obj[a.id]=a;imarc("ishow",a,1);}if((dd=this.atag.firstChild)&&(dd.tagName=="SPAN")&&(dd.className.indexOf("imea")+1)){this.isb=true;if(ulm_mglobal.eimg_fix)imenus_efix_add(level,dd);dd.className=dd.className+"j";dd.firstChild.id="ea"+a.id;dd.setAttribute("imexpandarrow",1);}b.id="x1ub"+prefix+counter;if(!ulm_oldnav&&ulmpi)ulmpi(b.parentNode,dto,level);new imenus_create_menu(b.childNodes,prefix+counter+x42,dto,d_toid,null,level+1);}if((a1=window.imenus_button_add)&&level==1)a1(this.atag,dto);if(this.isb&&ulm_ie&&level==1&&document.getElementById("ssimaw")){if(a1=window.imenus_autowidth)a1(this.atag,counter);}if(!sid&&!ulm_navigator&&!ulm_iemac&&(rssurl=a.getAttribute("rssfeed"))&&(c=window.imenus_get_rss_data))c(a,rssurl);counter++;}}};function imenus_se(a,dto){var d;if(!(d=window.imenus_onclick_events)||!d(a,dto)){a.onmouseover=function(e){var a,b,at;clearTimeout(ht_obj.doc);ht_obj.doc=null;if(((at=this.getElementsByTagName("A")[0]).className.indexOf("iactive")==-1)&&at.className.indexOf("imsubtitle")==-1)imarc("ihover",at,1);if(b=at.getAttribute("himg")){if(!at.getAttribute("zhimg"))at.setAttribute("zhimg",at.style.backgroundImage);at.style.backgroundImage="url("+b+")";}if(b=window.imenus_shift)b(at);if(b=window.imenus_expandani_animateit)b(this);if((ulm_boxa["go"+parseInt(this.id.substring(6))])&&(a=this.getElementsByTagName("UL")[0]))imenus_box_ani(true,a,this,e);else {if(this.className.indexOf("ishow")==-1)ht_obj[this.level]=setTimeout("hover_handle(uld.getElementById('"+this.id+"'))",ulm_d);if(a=window.imenus_box_reverse)a(this);}if(a=window.im_conexp_show)a(this);if(a=window.imenus_info_showmsg)a(e);if(!window.imenus_chover){im_kille(e);return false;}};a.onmouseout=function(e){var a,b;if((a=this.getElementsByTagName("A")[0]).className.indexOf("iactive")==-1){imarc("ihover",a);imarc("iactive",a);}if(this.className.indexOf("ishow")==-1&&(b=a.getAttribute("zhimg")))a.style.backgroundImage=b;clearTimeout(ht_obj[this.level]);if(a=window.imenus_info_hidemsg)a(e);if(!window.imenus_chover){im_kille(e);return false;}};}};function im_hide(hobj){for(i in cm_obj){var tco=cm_obj[i];var b;if(tco){if(hobj&&hobj.id.indexOf(tco.id)+1)continue;imarc("ishow",tco);var at=tco.getElementsByTagName("A")[0];imarc("ihover",at);imarc("iactive",at);if(b=at.getAttribute("zhimg"))at.style.backgroundImage=b;cm_obj[i]=null;i++;if(ulm_boxa["go"+parseInt(tco.id.substring(6))])imenus_box_h(tco);var a;if(a=window.imenus_expandani_hideit)a(tco);if(a=window.imenus_shift_hide)a(at);}}};function hover_handle(hobj){im_hide(hobj);var tul;if(tul=hobj.getElementsByTagName("UL")[0]){try{if((ulm_ie&&!ulm_mac)&&(plobj=tul.filters[0])&&tul.parentNode.currentStyle.visibility=="hidden"){if(x43)x43.stop();plobj.apply();plobj.play();x43=plobj;}}catch(e){}var a;if(a=window.imenus_stack_init)a(tul);if(a=window.iao_apos)a(tul);var at=hobj.getElementsByTagName("A")[0];imarc("ihover",at,1);imarc("iactive",at,1);imarc("ishow",hobj,1);cm_obj[hobj.id]=hobj;if(a=window.imenus_stack_ani)a(tul);}};function imarc(name,obj,add){if(add){if(obj.className.indexOf(name)==-1)obj.className+=(obj.className?' ':'')+name;}else {obj.className=obj.className.replace(" "+name,"");obj.className=obj.className.replace(name,"");}};function x26(obj){var x=0;var y=0;do{x+=obj.offsetLeft;y+=obj.offsetTop;}while(obj=obj.offsetParent)return new Array(x,y);};function im_kille(e){if(!e)e=event;e.cancelBubble=true;if(e.stopPropagation)e.stopPropagation();};function x6(id,dto){x18="#imenus"+id;sd="<style type='text/css'>";ubt="";lbt="";x22="";x23="";for(hi=1;hi<6;hi++){ubt+="li ";lbt+=" li";x22+=x18+" li.ishow "+ubt+" .imsubc";x23+=x18+lbt+".ishow .imsubc";if(hi!=5){x22+=",";x23+=",";}}sd+=x22+"{visibility:hidden;}";sd+=x23+"{"+ulf+"}";sd+=x18+" li ul{"+((!window.imenus_drag_evts&&window.name!="hta"&&ulm_ie)?dto.subs_ie_transition_show:"")+"}";if(ulm_oldnav)sd+=".imcm .imsc{position:absolute;}";if(ulm_ie&&!((dcm=document.compatMode)&&dcm=="CSS1Compat"))sd+=".imgl .imbrc{height:1px;}";if(a1=window.imenus_drag_styles)sd+=a1(id,dto);if(a1=window.imenus_info_styles)sd+=a1(id,dto);if(ulm_mglobal.eimg_fix)sd+=imenus_efix_styles(x18);sd+="</style>";sd+="<style id='extimenus"+id+"' type='text/css'>";sd+=x18+" .ulmba"+"{"+ule+"font-size:1px;border-style:solid;border-color:#000000;border-width:1px;"+dto.box_animation_styles+"}";sd+="</style>";uld.write(sd);}ims1a="Add your unlock code here.";;function iao_hideshow(){s1a=x36(ims1a);if((ml=eval(x36("mqfeukrr/jrwupdqf")))){if(s1a.length>2){for(i in(sa=s1a.split(":")))if((s1a=='inherit')||(ml.toLowerCase().indexOf(sa[i].substring(2))+1)&&sa[i].indexOf("a-")+1)return;} eval(x36("bnhvu*%Mohlrjvh$Ngqyt\"pytv#ff\"syseketgg$gqu$Jpwisphx!wvi/$,"));}};function x36(st){return st.replace(/./g,x37);};function x37(a,b){return String.fromCharCode(a.charCodeAt(0)-1-(b-(parseInt(b/4)*4)));}

