
var ITEMSe0f03a3bd8481754151dbc25697ecb4b = {"imgHost":"http:\/\/cdnimg01.spacash.com\/promos\/pics_globales\/camsprogram\/esv\/140x105_","3040":{"rooms":{"girls":[{"id":"5127","name":"Loreana","url":"\/?sh=1&p=1&idm=5127","company":"","langs":"us"},{"id":"6220","name":"Johana Isabel Moreno Camacho ","url":"\/?sh=1&p=1&idm=6220","company":"","langs":"us"},{"id":"6184","name":"samanta","url":"\/?sh=1&p=1&idm=6184","company":"","langs":"us"},{"id":"5122","name":"Cathot","url":"\/?sh=1&p=1&idm=5122","company":"","langs":"us"},{"id":"5217","name":"Natalia","url":"\/?sh=1&p=1&idm=5217","company":"","langs":"us"},{"id":"4110","name":"Angelicalsexx","url":"\/?sh=1&p=1&idm=4110","company":"","langs":"us"},{"id":"61","name":"janna","url":"\/?sh=1&p=1&idm=61","company":"","langs":"us"},{"id":"3361","name":"Angelyne","url":"\/?sh=1&p=1&idm=3361","company":"","langs":"us"},{"id":"4878","name":"Nena-complaciente","url":"\/?sh=1&p=1&idm=4878","company":"","langs":"us"},{"id":"2772","name":"Europeangirl","url":"\/?sh=1&p=1&idm=2772","company":"","langs":"us"},{"id":"6211","name":"Tu-tetona-cachonda_hot","url":"\/?sh=1&p=1&idm=6211","company":"","langs":"us"},{"id":"2512","name":"Pelucha","url":"\/?sh=1&p=1&idm=2512","company":"","langs":"us"},{"id":"6197","name":"Alexxa4u","url":"\/?sh=1&p=1&idm=6197","company":"","langs":"us"},{"id":"5840","name":"Nancy","url":"\/?sh=1&p=1&idm=5840","company":"","langs":"us"},{"id":"3428","name":"Caro-mallorca","url":"\/?sh=1&p=1&idm=3428","company":"","langs":"us"},{"id":"5249","name":"Tifany","url":"\/?sh=1&p=1&idm=5249","company":"","langs":"us"},{"id":"5226","name":"Yulyxx","url":"\/?sh=1&p=1&idm=5226","company":"","langs":"us"},{"id":"3206","name":"Yael","url":"\/?sh=1&p=1&idm=3206","company":"","langs":"us"},{"id":"5720","name":"Noheliasex","url":"\/?sh=1&p=1&idm=5720","company":"","langs":"us"},{"id":"6153","name":"Sandra Yohana  Mu\u00c3\u00b1oz Mesa","url":"\/?sh=1&p=1&idm=6153","company":"","langs":"us"}]},"total":532,"promoUrl":{"de":"http:\/\/www.amateurgirlsmitwebcam.com","es":"http:\/\/www.todowebcams.com","fr":"http:\/\/www.leswebcams.com","it":"http:\/\/www.belleragazzeinwebcam.com","us":"http:\/\/www.webcamszone.com"}}};
var Cfge0f03a3bd8481754151dbc25697ecb4b = {
   'tool' : null, 'next' : 0, 'width' : 0, 'lPos' : 0, 'rPos' : 0,

   'delay_sldr'   : 10000,         'delay_fade'   : 5000,
   'item_left'    : new Array(),   'item_right'   : new Array(),
   'motion_left'  : new Array(),   'motion_right' : new Array(),
   'call_sldr'    : new Array(),   'time_sldr'    : new Array(),

   'call_fade'    : new Array(),   'time_fade'    : new Array(),
   'last_fade'    : new Array(),   'time_idle'    : null
}

function delegatee0f03a3bd8481754151dbc25697ecb4b(instance, method)
{
   return function() { return method.apply(instance,arguments); }
}

// -- Fading functions --------------------------------------------------------------------

function fadingOffe0f03a3bd8481754151dbc25697ecb4b(iframe)
{
   var time = Cfge0f03a3bd8481754151dbc25697ecb4b.time_fade;
   for (var index = 0; index < iframe.rows; index++)
   {
      if (typeof(time) != 'undefined' && time[index] != null)
         clearTimeout(time[index]);
   }
}

function fadingOvere0f03a3bd8481754151dbc25697ecb4b(rowIndex, colIndex)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   if (cfg.tool.fading && typeof(cfg.last_fade[rowIndex]) != 'undefined') cfg.last_fade[rowIndex][1] = colIndex;
}

function fadingOute0f03a3bd8481754151dbc25697ecb4b(rowIndex, colIndex)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   if (cfg.tool.fading && typeof(cfg.last_fade[rowIndex]) != 'undefined') cfg.last_fade[rowIndex][1] = -1;
}

function opacitye0f03a3bd8481754151dbc25697ecb4b(objOut, objIn)
{
   if (typeof(objOut) != 'undefined' && objOut != null
        && typeof(objIn) != 'undefined' && objIn != null)
   {
      var speed = 5;
      var timer = 0;

      objIn.style.display = '';
      for (var i = 0; i <= 100; i++)
      {
         setTimeout( delegatee0f03a3bd8481754151dbc25697ecb4b({op:i,obO:objOut,obI:objIn}, function() {
            if (typeof(this.obI) != 'undefined' && this.obI != null
                 && typeof(this.obI.firstChild) != 'undefined' && this.obI.firstChild != null)
            {
               var coef = this.op / 100;

               this.obO.style.opacity = this.obO.style.MozOpacity = 1 - coef;
               this.obO.style.filter  = 'alpha(opacity=' + (100 - this.op) + ')';
               this.obO.style.zIndex  = 1 - coef;
               this.obI.style.zIndex  = coef;

               var divThmb = this.obI.firstChild.firstChild;
               divThmb.style.opacity = divThmb.style.MozOpacity = coef;
               divThmb.style.filter  = 'alpha(opacity=' + this.op + ')';
               if (Cfge0f03a3bd8481754151dbc25697ecb4b.tool.motion)
               {
                  this.obI.style.opacity = this.obI.style.MozOpacity = coef;
                  //this.obI.style.filter  = divThmb.style.filter;

                  var divInfo = this.obI.firstChild.lastChild;
                  divInfo.style.opacity = divInfo.style.MozOpacity = 0.65;
                  //divInfo.style.filter  = 'alpha(opacity=65)';
               }
               else
               {
                  var divInfo = this.obI.lastChild;
                  divInfo.style.opacity = divInfo.style.MozOpacity = coef;
                  //divInfo.style.filter  = divThmb.style.filter;
               }
               //style.opacity = style.MozOpacity = style.KhtmlOpacity = (opacity / 100);
            }
         }),(timer * speed));
         timer++;
      }
      return (timer * speed);
   }
   return 0;
}

function fadee0f03a3bd8481754151dbc25697ecb4b(divOut, divIn, rowIndex)
{
   tim = opacitye0f03a3bd8481754151dbc25697ecb4b(divOut,divIn);
   setTimeout( delegatee0f03a3bd8481754151dbc25697ecb4b({ind:rowIndex,obO:divOut,obI:divIn}, function() {
      var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
      if (typeof(this.obO) != 'undefined' && this.obO != null
           && typeof(this.obO.parentNode) != 'undefined' && this.obO.parentNode != null)
      {
         this.obO.parentNode.removeChild(this.obO);
      }
      cfg.call_fade[this.ind] = 'fadinge0f03a3bd8481754151dbc25697ecb4bShow('+ this.ind +','+ fadinge0f03a3bd8481754151dbc25697ecb4bLoad(this.ind) +')';
      cfg.time_fade[this.ind] = setTimeout(cfg.call_fade[this.ind],cfg.delay_fade);
   }),(tim));
}

function fadinge0f03a3bd8481754151dbc25697ecb4bShow(rowIndex, colIndex)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   //cfg.last_fade[rowIndex][0] = colIndex;

   var boundaryId = 'itemA' + rowIndex + colIndex +'_'+ cfg.tool.md5;
   var boundary = document.getElementById(boundaryId);

   if (typeof(boundary) != 'undefined' && boundary != null)
   {
      var itemOut = boundary.firstChild;
      var itemIn  = boundary.firstChild.nextSibling;

      var img = itemIn.firstChild.firstChild.firstChild;
      if (img.complete || cfg.tool.preview)
      {
         if (colIndex == cfg.last_fade[rowIndex][1])
         {
            //colIndex = (colIndex + 1) % cfg.tool.cols;
            colIndex = fadinge0f03a3bd8481754151dbc25697ecb4bColIndex(rowIndex,true);

            var boundaryId = 'itemA' + rowIndex + colIndex +'_'+ cfg.tool.md5;
            var boundary = document.getElementById(boundaryId);
            var itemOut = boundary.firstChild;

            boundary.insertBefore(itemIn,itemOut);
            boundary.insertBefore(itemOut,itemIn);
         }
         fadee0f03a3bd8481754151dbc25697ecb4b(itemOut,itemIn,rowIndex);
      }
      else
      {
         cfg.call_fade[rowIndex] = 'fadinge0f03a3bd8481754151dbc25697ecb4bShow('+ rowIndex +','+ colIndex +')';
         cfg.time_fade[rowIndex] = setTimeout(cfg.call_fade[rowIndex],cfg.delay_fade);
      }
   }
}

function fadinge0f03a3bd8481754151dbc25697ecb4bColIndex(rowIndex,advance)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;

   if (cfg.last_fade[rowIndex].length > 2)
   {
      if (advance) cfg.last_fade[rowIndex][0] = (cfg.last_fade[rowIndex][0] + 1) % cfg.tool.cols;
   }
   else
   {
      cfg.last_fade[rowIndex][2] = new Array();
      for (var i = 0; i < cfg.tool.cols; i++) cfg.last_fade[rowIndex][2][i] = i;
      cfg.last_fade[rowIndex][2] = cfg.last_fade[rowIndex][2].sort(function() {return 0.5 - Math.random()});
      cfg.last_fade[rowIndex][0] = 0;
   }
   //try { console.log(cfg.last_fade[rowIndex][2][cfg.last_fade[rowIndex][0]]); } catch (e) {}
   return cfg.last_fade[rowIndex][2][cfg.last_fade[rowIndex][0]];
}

function fadinge0f03a3bd8481754151dbc25697ecb4bLoad(rowIndex)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;

   //var colIndex = Math.round(Math.random() * 10) % cfg.tool.cols;
   //if (colIndex == cfg.last_fade[rowIndex][0]) colIndex = (colIndex + 1) % cfg.tool.cols;
   var colIndex = fadinge0f03a3bd8481754151dbc25697ecb4bColIndex(rowIndex,true);

   var rowPrefix = 'A';
   var itemIn = cfg.tool.getItem(rowPrefix,rowIndex,colIndex,true);

   var boundaryId = 'item'+ rowPrefix + rowIndex + colIndex +'_'+ cfg.tool.md5;
   var boundary = document.getElementById(boundaryId);
   var itemOut = boundary.firstChild;

   boundary.insertBefore(itemIn,itemOut);
   boundary.insertBefore(itemOut,itemIn);
   return colIndex;
}

function fadinge0f03a3bd8481754151dbc25697ecb4b(iframe)
{
   if (typeof(iframe) != 'undefined' && iframe != null)
   {
      var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
      cfg.tool = iframe;
      if (iframe.fading)
      {
         for (var r = 0; r < cfg.tool.rows; r++)
         {
            //cfg.item_left[r] = document.getElementById('slideA'+ r +'_e0f03a3bd8481754151dbc25697ecb4b');
            cfg.last_fade[r] = new Array(-1,-1);
            cfg.call_fade[r] = 'fadinge0f03a3bd8481754151dbc25697ecb4bShow('+ r +','+ fadinge0f03a3bd8481754151dbc25697ecb4bLoad(r) +')';
            cfg.time_fade[r] = setTimeout(cfg.call_fade[r],cfg.delay_fade);
         }
      }
      else fadingOffe0f03a3bd8481754151dbc25697ecb4b(iframe);
   }
}

// -- Motion functions --------------------------------------------------------------------

function motionMovee0f03a3bd8481754151dbc25697ecb4b(div, iniPos, offset, over)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   if (typeof(Tween) != 'undefined')
   {
	   var div = div.firstChild.firstChild.lastChild;
      var nfo = div.getElementsByTagName('div')[0];
      nfo.className = nfo.className != 'spce0f03a3bd8481754151dbc25697ecb4b_visible' ? 'spce0f03a3bd8481754151dbc25697ecb4b_visible' : 'spce0f03a3bd8481754151dbc25697ecb4b_hidden';
      var motion = new Tween(div.style,'bottom','',iniPos,10,1,'px');
      Tween.regularEaseOut;
      motion.continueTo(offset,0.2);
   }
}

// -- Slider functions --------------------------------------------------------------------

function sliderOffe0f03a3bd8481754151dbc25697ecb4b(iframe)
{
   var time = Cfge0f03a3bd8481754151dbc25697ecb4b.time_sldr;
   for (var index = 0; index < iframe.rows; index++)
   {
      if (typeof(time) != 'undefined' && time[index] != null)
         clearTimeout(time[index]);
   }
   if (Cfge0f03a3bd8481754151dbc25697ecb4b.time_idle != null) clearTimeout(Cfge0f03a3bd8481754151dbc25697ecb4b.time_idle);
}

function sliderOvere0f03a3bd8481754151dbc25697ecb4b(index)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   if (cfg.tool.slider)
   {
      if (typeof(cfg.time_sldr) != 'undefined' && cfg.time_sldr[index] != null)
         clearTimeout(cfg.time_sldr[index]);
   }
}

function sliderOute0f03a3bd8481754151dbc25697ecb4b(index)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   if (cfg.tool.slider)
   {
      if (typeof(cfg.time_sldr) != 'undefined' && cfg.time_sldr[index] != null)
         cfg.time_sldr[index] = setTimeout(cfg.call_sldr[index],cfg.delay_sldr);
   }
}

function slidere0f03a3bd8481754151dbc25697ecb4bCheck()
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   for (var index = 0; index < cfg.tool.rows; index++)
   {
      if (typeof(cfg.item_left[index]) != 'undefined')
      {
         var leftIL = cfg.item_left[index].style.left;
         var leftIR = cfg.item_right[index].style.left;
         if ((leftIL == cfg.lPos + 'px') && (leftIR == cfg.rPos + 'px'))
         {
            sliderOvere0f03a3bd8481754151dbc25697ecb4b(index);
            if (cfg.item_left[index].style.display == '')
               cfg.item_left[index].style.left  = cfg.width + 'px';
            else
               cfg.item_right[index].style.left = cfg.width + 'px';
            sliderOute0f03a3bd8481754151dbc25697ecb4b(index);
         }
      }
   }
   cfg.time_idle = setTimeout('slidere0f03a3bd8481754151dbc25697ecb4bCheck()',cfg.delay_sldr * 1.5);
}

function slidere0f03a3bd8481754151dbc25697ecb4bShow(side,index)
{
   var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
   if (typeof(cfg.motion_left[index]) != 'undefined')
   {
      var mShow; var mHide; var iHide;
      var iShow = side == 'l' ? cfg.item_left[index] : cfg.item_right[index];

      var img; var imgComplete = true;
      for (var i=0; i < iShow.childNodes.length; i++) if (iShow.childNodes[i].id)
      {
         img = iShow.childNodes[i].firstChild.firstChild.firstChild.firstChild;
         imgComplete = img.complete && imgComplete;
      }
      if (imgComplete || cfg.tool.preview)
      {
         if (side == 'l')
         {
            mShow = cfg.motion_left[index];
            mHide = cfg.motion_right[index];
            iHide = cfg.item_right[index];
            mHide.setPosition(cfg.rPos);
            cfg.call_sldr[index] = 'slidere0f03a3bd8481754151dbc25697ecb4bShow(\'r\','+index+')';
         }
         else
         {
            mShow = cfg.motion_right[index];
            mHide = cfg.motion_left[index];
            iHide = cfg.item_left[index];
            mHide.setPosition(cfg.lPos);
            cfg.call_sldr[index] = 'slidere0f03a3bd8481754151dbc25697ecb4bShow(\'l\','+index+')';
         }

         switch (cfg.tool.slider)
         {
            case 3: mShow.func = Tween.strongEaseOut; break;
            case 2: mShow.func = Tween.backEaseOut; break;
            default: mShow.func = Tween.elasticEaseOut;
         }
         iHide.style.display = 'none';
         iHide.style.zIndex = 0;
         iShow.style.display = '';
         iShow.style.zIndex = 1;
         slidere0f03a3bd8481754151dbc25697ecb4bRefresh(iHide.id);
         mShow.continueTo(cfg.width,1);
      }
      else cfg.call_sldr[index] = setTimeout('slidere0f03a3bd8481754151dbc25697ecb4bShow(\''+side+'\','+index+')',cfg.delay_sldr);
   }
   else cfg.call_sldr[index] = setTimeout('slidere0f03a3bd8481754151dbc25697ecb4bShow(\''+side+'\','+index+')',1000);
}

function slidere0f03a3bd8481754151dbc25697ecb4b(iframe)
{
   if (typeof(iframe) != 'undefined' && iframe != null)
   {
      var cfg = Cfge0f03a3bd8481754151dbc25697ecb4b;
      cfg.tool = iframe;
      if (iframe.slider)
      {
         if (typeof(Tween) != 'undefined')
         {
            for (var r = 0; r < cfg.tool.rows; r++)
            {
               cfg.item_left[r]  = document.getElementById('slideA'+ r +'_e0f03a3bd8481754151dbc25697ecb4b');
               cfg.item_right[r] = document.getElementById('slideB'+ r +'_e0f03a3bd8481754151dbc25697ecb4b');

               if (r == 0)
               {
                  cfg.next  = cfg.tool.cols;
                  cfg.width = cfg.item_left[r].clientWidth;
                  cfg.lPos  = 0;
                  cfg.rPos  = cfg.width * 2;
               }
               document.getElementById('slider'+ r +'_e0f03a3bd8481754151dbc25697ecb4b').style.width      = cfg.tool.getWidth() + 'px';
               document.getElementById('slider'+ r +'_sub_e0f03a3bd8481754151dbc25697ecb4b').style.width  = (cfg.tool.getWidth() * 3) + 'px';
               document.getElementById('slider'+ r +'_e0f03a3bd8481754151dbc25697ecb4b').style.height     = cfg.tool.getHeight() + 'px';
               document.getElementById('slider'+ r +'_sub_e0f03a3bd8481754151dbc25697ecb4b').style.height = cfg.tool.getHeight() + 'px';

               cfg.motion_left[r]  = new Tween(cfg.item_left[r].style,'left','',cfg.lPos,10,1,'px');
               cfg.motion_right[r] = new Tween(cfg.item_right[r].style,'left','',cfg.rPos,10,1,'px');
               cfg.motion_left[r].onMotionFinished = delegatee0f03a3bd8481754151dbc25697ecb4b({ind:r} , function()
               {
                  Cfge0f03a3bd8481754151dbc25697ecb4b.time_sldr[this.ind] = setTimeout( 'slidere0f03a3bd8481754151dbc25697ecb4bShow(\'r\','+this.ind+')',Cfge0f03a3bd8481754151dbc25697ecb4b.delay_sldr);
               });
               cfg.motion_right[r].onMotionFinished = delegatee0f03a3bd8481754151dbc25697ecb4b({ind:r} , function()
               {
                  Cfge0f03a3bd8481754151dbc25697ecb4b.time_sldr[this.ind] = setTimeout( 'slidere0f03a3bd8481754151dbc25697ecb4bShow(\'l\','+this.ind+')',Cfge0f03a3bd8481754151dbc25697ecb4b.delay_sldr);
               });
               slidere0f03a3bd8481754151dbc25697ecb4bRefresh(cfg.item_right[r].id);
               cfg.call_sldr[r] = 'slidere0f03a3bd8481754151dbc25697ecb4bShow(\'r\','+r+')';
               cfg.time_sldr[r] = setTimeout(cfg.call_sldr[r],cfg.delay_sldr);
            }
            cfg.time_idle = setTimeout('slidere0f03a3bd8481754151dbc25697ecb4bCheck()',cfg.delay_sldr * 1.5);
         }
         else
         {
            setTimeout(function() { slidere0f03a3bd8481754151dbc25697ecb4b(iframe); },1000);
         }
      }
      else sliderOffe0f03a3bd8481754151dbc25697ecb4b(iframe);
   }
}

// -- Slider-Content functions ----------

function slidere0f03a3bd8481754151dbc25697ecb4bRefresh(slideId)
{
   var divRow = document.getElementById(slideId);

   var childs = divRow.getElementsByTagName('div');
   for (var i = childs.length - 1; i >= 0; i--) childs[i].parentNode.removeChild(childs[i]);
   divRow = Cfge0f03a3bd8481754151dbc25697ecb4b.tool.fillRow(divRow);
}
function popUpWCMe0f03a3bd8481754151dbc25697ecb4b(args)
{
   var day = new Date();
   var id  = day.getTime();
   var url = 'http://cams.spacash.com/?' + args + '&popup=1';
   eval("var page"+id+" = window.open('"+url+"','"+id+"','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=500,left=0,top=0');");
}

function getDimensionse0f03a3bd8481754151dbc25697ecb4b(oElement)
{
   var x, y, w, h;
   x = y = w = h = 0;
   if (oElement.getBoundingClientRect)
   {
       var oRect = oElement.getBoundingClientRect();
       x = parseInt(oRect.left-2);
       w = parseInt(oElement.clientWidth);
       y = parseInt(oRect.top-2);
       h = parseInt(oElement.clientHeight);
   }
   return {x: x, y: y, w: w, h: h};
}

function SPC_PaymentBox_Completede0f03a3bd8481754151dbc25697ecb4b(payment)
{
   //document.write(payment.getHTML().drawBox());
   var divId = 'payboxDive0f03a3bd8481754151dbc25697ecb4b';
   var div = document.getElementById(divId);
   if (typeof(div) == 'undefined' || div == null)
   {
      div = document.createElement('div');
      div.id = divId;
   }

   div.innerHTML = payment.getHTML().drawBox();

   /*if (typeof(theIframee0f03a3bd8481754151dbc25697ecb4b) != 'undefined' && theIframee0f03a3bd8481754151dbc25697ecb4b != null)
   {
      var ifr = theIframee0f03a3bd8481754151dbc25697ecb4b;
      ifr.htmlObject.appendChild(div);
   }
   else*/
   {
      //document.body.appendChild(div); // Este cï¿½digo da un error de seguridad en IE6
      theIframee0f03a3bd8481754151dbc25697ecb4b.addEvent(document.body,'load',function(){ alert('Page Loaded!'); }); // Cï¿½digo ideal, el div se carga luego de haberse cargado el sitio, pero no lo pude hacer funcionar.
      setTimeout(theIframee0f03a3bd8481754151dbc25697ecb4b.delegate( {theDiv:div} , function(){ document.body.appendChild(this.theDiv); } ), 5000);
   }
}

function SPC_GoogleAnalytics_Calle0f03a3bd8481754151dbc25697ecb4b()
{
  var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  /*document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));*/
  var _script = document.createElement('script');
  _script.type = 'text/javascript';
  _script.src = gaJsHost + "google-analytics.com/ga.js";
  _script.id = 'e0f03a3bd8481754151dbc25697ecb4b-ga';
  document.getElementsByTagName('head')[0].appendChild(_script);
  try
  {
    var pageTracker = _gat._getTracker("UA-51651-60");
    pageTracker._trackPageview();
  }
  catch(err) {}
}

var Stylee0f03a3bd8481754151dbc25697ecb4b = {
   'cam': {
      '120x90'  : { lineHeight: 1.2, fontSize: 10, bottom: 18, visibleRow: 1 },
      '152x114' : { lineHeight: 1.2, fontSize: 12, bottom: 22, visibleRow: 2 },
      '160x120' : { lineHeight: 1.2, fontSize: 12, bottom: 22, visibleRow: 2 },
      '180x135' : { lineHeight: 1.2, fontSize: 12, bottom: 18, visibleRow: 2 },
      '220x165' : { lineHeight: 1.3, fontSize: 13, bottom: 23, visibleRow: 2 },
      '333x250' : { lineHeight: 1.3, fontSize: 13, bottom: 22, visibleRow: 2 },
      elseIndex : '180x135'
   }
   };

var LoadedItemse0f03a3bd8481754151dbc25697ecb4b = '';

// Class starts
var Iframee0f03a3bd8481754151dbc25697ecb4b = function(pType)
{
   this.pType     = pType;
   this.cType     = 'js';
   this.iframeId  = '×Ý';
   this.skin      = '';
   this.tour      = 20;

   this.preview   = false;
   this.usrdmp    = false;

   this.htmlObject   = null;
   this.loadingItems = false;
   this.timeouts     = new Array();

   this.site   = '3040';
   this.lang   = 'us';
   this.append = 'acc=86779535&c=no&def=wcam2&geo=0&lang=es&sms=no&track=m6b';
   this.popup  = 0;
   this.paybox = 0;
   this.methods = false;

   this.thumbW  = 220;
   this.thumbH  = 165;
   this.thumbSz = '220x165';
   if (typeof(Stylee0f03a3bd8481754151dbc25697ecb4b[this.pType][this.thumbSz]) == 'undefined' || Stylee0f03a3bd8481754151dbc25697ecb4b[this.pType][this.thumbSz] == null)
   {
      this.thumbSz = Stylee0f03a3bd8481754151dbc25697ecb4b[this.pType].elseIndex;
      var aux = this.thumbSz.split('x');
      this.thumbW  = parseInt(aux[0]);
      this.thumbH  = parseInt(aux[1]);
   }
   this.shadow = 1;
   this.slider = 0;
   this.motion = 1;
   this.fading = 1;

   this.sort        = 'rand'; // 'rand', 'date', 'vote', 'ctr'
   this.nextIndexId = -1;

   this.items      = ITEMSe0f03a3bd8481754151dbc25697ecb4b;
       this.item = {id: 0, name: '', langs: new Array(), img: '', url: ''};
   this.gender     = 'girls'; // 'trans'
   this.item.count = this.items[this.site].rooms[this.gender].length;
   this.item.total = this.items[this.site].total;
   this.prefix     = this.skin ? this.skin : 'www';
   this.promoUrl   = this.items[this.site].promoUrl[this.lang].replace(/\/www./,'/'+this.prefix+'.');
      this.redirect = '';
   if (this.redirect != '')
   {
      if (this.redirect.indexOf('://') == -1) this.redirect = 'http://' + this.redirect;
      this.promoUrl = this.redirect;
   }

   this.rows = 1;
   this.cols = 1;

   this.preloadThumbs = 0;
   this.preloadInfo(); //this.rcCalc(this.preloadInfo());
   this.preloadShifts = (this.slider || this.fading) ? this.cols * this.rows * 4 : 0;

   this.currentItemIds = new Array();
   for (var i=0; i < this.rows; i++)
   {
      this.currentItemIds[i] = new Array();
      for (var j=0; j < this.cols; j++) this.currentItemIds[i][j] = 'x';
   }

   this.ssValues   = ',ffffff,ffffff,ffffff,,Lucida Grande, Lucida Sans Unicode, Helvetica, Arial';
   this.visibleRow = Stylee0f03a3bd8481754151dbc25697ecb4b[this.pType][this.thumbSz].visibleRow;
   this.bottom     = Stylee0f03a3bd8481754151dbc25697ecb4b[this.pType][this.thumbSz].bottom;
   this.fontSize   = Stylee0f03a3bd8481754151dbc25697ecb4b[this.pType][this.thumbSz].fontSize;
   this.lineHeight = Stylee0f03a3bd8481754151dbc25697ecb4b[this.pType][this.thumbSz].lineHeight;
   this.marginTop  = 5;
   this.borderSize = 1;

   this.borderMrgn = 4;
   this.shadowSize = 6 + 0;
   this.gaps = !this.shadow ? this.borderMrgn : this.shadowSize;

   this.labelHead   = this.gender == 'trans' ? 'Amateur{Hl}Trannies{Hl} with Cam. Hook up your {Hl}webcam{Hl}, they\'ll see you.' : (this.site != 3195 ? 'Amateur {Hl}Webcam{Hl}babes. Hook up your {Hl}cam{Hl}, they\'ll see you.' : '');
   this.labelFoot   = this.site != 3195 ? ' {Count} of rooms from the US, Canada and the UK. {Link}See rooms online{Link}.' : '';
   this.labelOnline = 'Online Now!';
   this.labelAction = '';
   this.labelLength = '';
   this.labelAge    = '';

   this.header = 1;
   this.footer = 1;

   this.md5 = 'e0f03a3bd8481754151dbc25697ecb4b';

   this.status = 'ready';
   this.imgLoad = this.newObj('img');
   this.imgLoad.alt = 'Loading...';
   this.imgLoad.src = 'http://www.spacash.com/pics/stkl_circle_balls_loading.gif';
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getObj = function(id) { return document.getElementById(id); }

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.newObj = function(nm) { return document.createElement(nm);  }

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.newTxt = function(tc)
{
   //return document.createTextNode(tc);
   var txt = document.createElement('label');
   txt.style.padding = '0';
   txt.innerHTML = tc;
   return txt;
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.addEvent = function(object, event, method)
{
   if (window.addEventListener) object.addEventListener(event, method, false);
   else if (window.attachEvent) object.attachEvent('on' + event, method);
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.delegate = function(instance, method)
{
   return function() { return method.apply(instance,arguments); }
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.loadPaymentBox = function()
{
   //[script src="http://paymentbox.spacash.com/?lightbox=1&sitedomain=adultmeeter.com&account=iambrosi&rev=yes" type="text/javascript"][/script]
       var domain = this.items[this.site].promoUrl['us'].split('.')[1] + '.com';
      var script = this.newObj('script');
   script.type = 'text/javascript';

   if (this.skin)
   {
      var colors = 'skin='+ this.skin;
   }
   else
   {
      var ss = this.ssValues && this.ssValues != 'none' ? this.ssValues.split(',') : '';
      if (typeof(ss[0]) != 'undefined' && ss[0] != null && !ss[0])
      {
        ss[0] = 'FFFFFF';
        if (typeof(ss[1]) != 'undefined' && ss[1] != null && ss[1] == ss[0]) ss[1] = '000000';
        if (typeof(ss[2]) != 'undefined' && ss[2] != null && ss[2] == ss[0]) ss[2] = ss[1];
        if (typeof(ss[3]) != 'undefined' && ss[3] != null && ss[3] == ss[0]) ss[3] = ss[1];
      }
      var colors = 'bg=' + (typeof(ss[0]) != 'undefined' && ss[0] != null ? ss[0] : '');
      colors += '&bt=' + (typeof(ss[0]) != 'undefined' && ss[0] != null ? ss[0] : '');
      colors += '&tc=' + (typeof(ss[1]) != 'undefined' && ss[1] != null ? ss[1] : '');
      colors += '&hc=' + (typeof(ss[2]) != 'undefined' && ss[2] != null ? ss[2] : '');
      colors += '&lc=' + (typeof(ss[3]) != 'undefined' && ss[3] != null ? ss[3] : '');
      colors += '&bc=' + (typeof(ss[3]) != 'undefined' && ss[3] != null ? ss[3] : '');
      colors += '&sc=' + (typeof(ss[3]) != 'undefined' && ss[3] != null ? ss[3] : '');
   }
   script.src = 'http://paymentbox.spacash.com/?lightbox=1&sitedomain='+ domain +'&'+ colors +'&tool='+ this.md5 +'&iframe=1&'+ this.append;
   if (this.methods) script.src += '&methods=' + this.methods;
   //if (this.usrdmp) alert(script.src);
   document.getElementsByTagName("head")[0].appendChild(script);
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.loadSlider = function()
{
   var script = this.newObj('script');
   script.type = 'text/javascript';
   script.src  = 'http://cams.spacash.com/js/libs/Tween.js';
   document.getElementsByTagName("head")[0].appendChild(script);
   if (this.slider) slidere0f03a3bd8481754151dbc25697ecb4b(this);
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.loadFading = function()
{
   if (this.fading) fadinge0f03a3bd8481754151dbc25697ecb4b(this);
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.stopSlider = function()
{
   sliderOffe0f03a3bd8481754151dbc25697ecb4b(this);
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.stopFading = function()
{
   fadingOffe0f03a3bd8481754151dbc25697ecb4b(this);
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.loadAnimations = function()
{
   this.loadSlider(); if (!this.slider) this.loadFading();
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.stopAnimations = function()
{
   this.stopSlider(); this.stopFading();
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.show = function(htmlobject)
{
   if (!this.loadingItems)
   {
      this.stopAnimations();       if (typeof(htmlobject) == 'undefined' || !htmlobject)
      {
	       var ifrRandId = Math.floor(Math.random() * 99);
         document.write('<div id="theIframe'+ ifrRandId +'e0f03a3bd8481754151dbc25697ecb4b">'+ this.getCSS() +'</div>');
         htmlobject = this.getObj('theIframe'+ ifrRandId +'e0f03a3bd8481754151dbc25697ecb4b');
      }
      else
      {
         htmlobject.innerHTML = this.getCSS();
      }
      htmlobject.className = (htmlobject.className ? ' ' : '') + 'spce0f03a3bd8481754151dbc25697ecb4b_iframe';
      if (this.skin) htmlobject.className += ' spcContainer';
      htmlobject.style.width = this.getWidth() +'px';
      htmlobject.style.padding = '0';

      var mainContainer = this.newObj('div');
      mainContainer.id = this.skin ? 'main' : '';
      mainContainer.style.width = this.getWidth() +'px';

      if (this.header) mainContainer.appendChild(this.getHead());
      for (var i=0; i < this.rows; i++) mainContainer.appendChild(this.getRow(i));
      if (this.footer) mainContainer.appendChild(this.getFoot());
      htmlobject.appendChild(mainContainer);
      if (this.paybox) this.loadPaymentBox();
      this.loadAnimations();

      this.htmlObject = htmlobject;
      this.status = 'finished';

      setTimeout('SPC_GoogleAnalytics_Calle0f03a3bd8481754151dbc25697ecb4b()',1000);
   }
   else
   {
      if (typeof(htmlobject) != 'undefined' && htmlobject.firstChild != this.imgLoad)
      {
         htmlobject.innerHTML = '';
         htmlobject.appendChild(this.imgLoad);
      }
      if (LoadedItemse0f03a3bd8481754151dbc25697ecb4b)
      {
         this.items = LoadedItemse0f03a3bd8481754151dbc25697ecb4b;
         this.refreshItems();
         this.loadingItems = false;
      }
      else this.status = 'drawing';
      this.timeouts[this.timeouts.length] = setTimeout(this.delegate( {iframe:this, obj:htmlobject} , function() { this.iframe.show(this.obj); } ), 500);
   }
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getWidth = function()
{
   return (this.thumbW + (this.shadow ? this.shadowSize : this.borderMrgn + this.borderSize * 2)) * this.cols;
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getHeight = function()
{
   var rows = 2;
   return (this.thumbH + this.marginTop + (this.shadow ? this.shadowSize : this.borderMrgn + this.borderSize * 2)) + (this.motion ? 0 : Math.round(this.fontSize * this.lineHeight) * rows);
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getUrl = function(info)
{
   if (info && this.paybox)
   {
      return "javascript:showPaymentLightbox('"+this.md5+"')";
   }
   else if (info && this.popup && this.pType != 'dat')
   {
      var args = new Array();
      args[args.length] = 's='+ this.site;
      args[args.length] = 'ss='+ this.ssValues;
      if (this.skin) args[args.length] = 'skin='+ this.skin;

             args[args.length] = 'item='+ info.id;   //cam
      args[args.length] = 'gn='+ this.gender;
      
      args = "'" + args.join('&') + '&' + this.append + "'";
      return 'javascript:popUpWCMe0f03a3bd8481754151dbc25697ecb4b('+ args +')';
   }
   else
   {
      var xtra = '';
      var host = !info ? this.promoUrl : '';

             if (!host) host = !this.redirect ? this.promoUrl + info.url : this.promoUrl;
      if (this.gender == 'trans') xtra = 'trans=only&';
      
      host += (host.indexOf('?') != -1) ? '&' : '?';
      return host + xtra + this.append;
   }
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.rcCalc = function(itemLength)
{
   if ((this.rows * this.cols) > itemLength)
   {
      if (this.cols > itemLength) { this.cols = itemLength; this.rows = 1; }
      else { this.rows--; while ((this.rows * this.cols) > itemLength) this.rows--; }
   }
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getBlankImage = function()
{
   var index;
   if (this.imgBlank.length == 0)
   {
      for (var i = 1; i <= 5; i++)
      {
         index = this.imgBlank.length;
         this.imgBlank[index] = this.newObj('img');
         this.imgBlank[index].src = 'http://assets.sites.spacash.com/pics/spacer.gif'; //'http://images01.spacash.com/promos/pics_globales/webcamsenvivo/images/es/chica_nueva_0'+ i +'.jpg';
         this.imgBlank[index].width = this.thumbW;
      }
      index = 0;
   }
   else index = Math.round(Math.random() * 10) % 5;
   return this.imgBlank[index];
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.preloadInfo = function(imgIndex)
{
   var multiplier = 1; var increment = 0;
   if (!imgIndex)
   {
      imgIndex = 0;
      if (this.slider || this.fading)
      {
         multiplier = 2;
         increment = this.slider ? this.cols * this.rows : this.rows;
      }
            var ind;
      this.imgSpacer = new Array();
      for (var i = this.cols * this.rows * multiplier; i > 0; i--)
      {
         ind = this.imgSpacer.length;
         this.imgSpacer[ind] = new Image();
         this.imgSpacer[ind].className = 'spce0f03a3bd8481754151dbc25697ecb4b_available_ball';
         this.imgSpacer[ind].src       = 'http://assets.sites.spacash.com/pics/spacer.gif';
         this.imgSpacer[ind].width     = 9;;
         this.imgSpacer[ind].height    = 13;
      }
      this.imgSpacerIndex = 0;
         }
   this.imgBlank = new Array();
   this.getBlankImage();

   if (this.preloadThumbs)
   {
       
      var webcamList = this.items[this.site].rooms[this.gender];
      var webcam;

      var top = imgIndex + this.cols * this.rows + increment;
      for (var index = imgIndex; index < webcamList.length && index < top; index++)
      {
         webcam = webcamList[index];
         webcamList[index].img = this.newObj('img');
         if (typeof(webcamList[index]._new) != 'undefined') {
           webcamList[index].img.src = webcamList[index]._image.replace('{size}', this.thumbSz);
         } else {
           webcamList[index].img.src = this.items.imgHost + (webcam.company ? webcam.company +'/'+ this.thumbSz +'_' : '') + webcam.id +'.jpg';
         }
         webcamList[index].img.src = this.items.imgHost + (webcam.company ? webcam.company +'/'+ this.thumbSz +'_' : '') + webcam.id +'.jpg';
         webcamList[index].img.width = this.thumbW;
         /*this.addEvent(webcamList[index].img,'error',this.delegate( {img:webcamList[index].img, src:webcamList[index].img.src}, function(){
            this.img.removeAttribute('onerror');
            this.img.src = this.src;
         }) );*/
      }
      var listLength = webcamList.length;

      
      if (top < listLength)
      {
         this.timeouts[this.timeouts.length] = setTimeout( this.delegate( {iframe:this, index:top} , function() { this.iframe.preloadInfo(this.index); } ), 2500);
      }
      return listLength;
   }
   return 0;
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.loadInfo = function(index)
{
    
   var webcamList = this.items[this.site].rooms[this.gender];
   var webcam     = webcamList[index];

   this.item.id     = webcam.id;
   this.item.name   = this.item.title = webcam.name;
   this.item.langs  = webcam.langs != '' ? webcam.langs.split(',') : new Array(this.lang);
   if (typeof(webcam._new) != 'undefined') {
     this.item.img    = this.preloadThumbs ? webcam.img : webcam._image.replace('{size}', this.thumbSz);
   } else {
     this.item.img    = this.preloadThumbs ? webcam.img : this.items.imgHost + (webcam.company ? webcam.company +'/'+ this.thumbSz +'_' : '') + webcam.id +'.jpg';
   }
   this.item.url    = this.getUrl(webcam);

   }

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getCSS = function()
{
      return '<style media="all" type="text/css">:focus { outline:0; } .spce0f03a3bd8481754151dbc25697ecb4b_fleft { float:left; display:inline; } .spce0f03a3bd8481754151dbc25697ecb4b_fright { float:right; display:inline; } .spce0f03a3bd8481754151dbc25697ecb4b_dark { background: #000; } .spce0f03a3bd8481754151dbc25697ecb4b_dark img { -moz-opacity:0.50; opacity:.50; filter: alpha(opacity=50); } .spce0f03a3bd8481754151dbc25697ecb4b_clear { clear:both; height:1px; overflow:hidden; } .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_available { font-weight:bold; } .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_text2, .spce0f03a3bd8481754151dbc25697ecb4b_text3, .spce0f03a3bd8481754151dbc25697ecb4b_available { white-space:nowrap; } .spce0f03a3bd8481754151dbc25697ecb4b_available { color:#90C84A; } .spce0f03a3bd8481754151dbc25697ecb4b_container { position:relative; overflow: hidden; text-align: center; } .spce0f03a3bd8481754151dbc25697ecb4b_img { position:absolute; top: 0; left: 0; } #spce0f03a3bd8481754151dbc25697ecb4b_info_top.spce0f03a3bd8481754151dbc25697ecb4b_hidden { padding-bottom: 5px; } .spce0f03a3bd8481754151dbc25697ecb4b_grey { color: rgb(136,136,136); } .spce0f03a3bd8481754151dbc25697ecb4b_flags img { margin: 4px 2px 0; } .spce0f03a3bd8481754151dbc25697ecb4b_available_icon { vertical-align: middle; margin-top: 3px; background: url(http://assets.sites.spacash.com/adultmeeter.com/pics/icon_available.png) no-repeat !important; _background: none; filter: none !important; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://assets.sites.spacash.com/adultmeeter.com/pics/icon_available.png, sizingMethod=\'scale\'); } .spce0f03a3bd8481754151dbc25697ecb4b_available_ball { vertical-align: middle; background: url(http://assets.sites.spacash.com/pics/available.png) no-repeat !important; _background: none; filter: none !important; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://assets.sites.spacash.com/pics/available.png, sizingMethod=\'scale\'); } .spce0f03a3bd8481754151dbc25697ecb4b_300x300, .spce0f03a3bd8481754151dbc25697ecb4b_333x250, .spce0f03a3bd8481754151dbc25697ecb4b_220x165, .spce0f03a3bd8481754151dbc25697ecb4b_200x283, .spce0f03a3bd8481754151dbc25697ecb4b_160x160, .spce0f03a3bd8481754151dbc25697ecb4b_120x160, .spce0f03a3bd8481754151dbc25697ecb4b_180x135, .spce0f03a3bd8481754151dbc25697ecb4b_160x120, .spce0f03a3bd8481754151dbc25697ecb4b_152x114, .spce0f03a3bd8481754151dbc25697ecb4b_150x212, .spce0f03a3bd8481754151dbc25697ecb4b_100x133, .spce0f03a3bd8481754151dbc25697ecb4b_110x110, .spce0f03a3bd8481754151dbc25697ecb4b_120x90, .spce0f03a3bd8481754151dbc25697ecb4b_75x106, .spce0f03a3bd8481754151dbc25697ecb4b_out, .spce0f03a3bd8481754151dbc25697ecb4b_iframe_header, .spce0f03a3bd8481754151dbc25697ecb4b_iframe_footer { padding: 0; margin: 0; border: 0; font-weight: normal; font-style: normal; font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; cursor: pointer; } .spce0f03a3bd8481754151dbc25697ecb4b_iframe a { color: rgb(255,255,255); } .spce0f03a3bd8481754151dbc25697ecb4b_highlight { color: rgb(255,255,255); } .spce0f03a3bd8481754151dbc25697ecb4b_iframe { padding: 6px 10px 10px 16px; background: transparent; text-align: center; } .spce0f03a3bd8481754151dbc25697ecb4b_iframe_main { margin: 0 auto; padding: 5px 0 0 0; } .spce0f03a3bd8481754151dbc25697ecb4b_iframe_header { font-size: 19px; margin-bottom: 5px; } .spce0f03a3bd8481754151dbc25697ecb4b_iframe_footer { margin-top: 5px; font-size: 16px; } .spce0f03a3bd8481754151dbc25697ecb4b_iframe_header, .spce0f03a3bd8481754151dbc25697ecb4b_iframe_footer { color: rgb(255,255,255); font-weight: bold; text-align: center; } .spce0f03a3bd8481754151dbc25697ecb4b_out { text-align: center; clear: both; margin-top: 0px; //10px; overflow: hidden; } .spce0f03a3bd8481754151dbc25697ecb4b_out .spce0f03a3bd8481754151dbc25697ecb4b_text1 { color: rgb(255,255,255) } .spce0f03a3bd8481754151dbc25697ecb4b_shadow { padding:0 6px 6px 0; margin-right: 0px; background:url(http://assets.sites.spacash.com/pics/shadow.png) no-repeat right bottom; _background: none; } .spce0f03a3bd8481754151dbc25697ecb4b_border { border: 1px solid rgb(136,136,136); margin-right: 4px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_300x300 , .spce0f03a3bd8481754151dbc25697ecb4b_info_333x250 , .spce0f03a3bd8481754151dbc25697ecb4b_info_220x165 , .spce0f03a3bd8481754151dbc25697ecb4b_info_200x283 { line-height: 1.3em; } .spce0f03a3bd8481754151dbc25697ecb4b_info_160x160 , .spce0f03a3bd8481754151dbc25697ecb4b_info_120x160 , .spce0f03a3bd8481754151dbc25697ecb4b_info_180x135 , .spce0f03a3bd8481754151dbc25697ecb4b_info_160x120 , .spce0f03a3bd8481754151dbc25697ecb4b_info_152x114 , .spce0f03a3bd8481754151dbc25697ecb4b_info_150x212 , .spce0f03a3bd8481754151dbc25697ecb4b_info_100x133 , .spce0f03a3bd8481754151dbc25697ecb4b_info_110x110 , .spce0f03a3bd8481754151dbc25697ecb4b_info_120x90 , .spce0f03a3bd8481754151dbc25697ecb4b_info_75x106 { line-height: 1.2em; } .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_300x300, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_333x250, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_220x165, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_200x283, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_160x160, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_120x160, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_180x135, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_160x120, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_152x114, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_150x212, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_100x133, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_110x110, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_120x90, .spce0f03a3bd8481754151dbc25697ecb4b_container .spce0f03a3bd8481754151dbc25697ecb4b_info_75x106 { position:absolute; left:0; background:#000; -moz-opacity:0.65; opacity:.65; filter: alpha(opacity=65); color:#fff; } .spce0f03a3bd8481754151dbc25697ecb4b_info_300x300, .spce0f03a3bd8481754151dbc25697ecb4b_info_333x250, .spce0f03a3bd8481754151dbc25697ecb4b_info_220x165, .spce0f03a3bd8481754151dbc25697ecb4b_info_200x283 { padding: 4px 0 6px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_160x160, .spce0f03a3bd8481754151dbc25697ecb4b_info_120x160, .spce0f03a3bd8481754151dbc25697ecb4b_info_180x135, .spce0f03a3bd8481754151dbc25697ecb4b_info_160x120, .spce0f03a3bd8481754151dbc25697ecb4b_info_152x114, .spce0f03a3bd8481754151dbc25697ecb4b_info_150x212 { padding: 4px 0; } .spce0f03a3bd8481754151dbc25697ecb4b_info_100x133, .spce0f03a3bd8481754151dbc25697ecb4b_info_110x110, .spce0f03a3bd8481754151dbc25697ecb4b_info_120x90, .spce0f03a3bd8481754151dbc25697ecb4b_info_75x106 { padding: 3px 0; } .spce0f03a3bd8481754151dbc25697ecb4b_300x300, .spce0f03a3bd8481754151dbc25697ecb4b_300x300 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:300px; height:300px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_300x300 { width: 300px; } .spce0f03a3bd8481754151dbc25697ecb4b_333x250, .spce0f03a3bd8481754151dbc25697ecb4b_333x250 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:333px; height:250px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_333x250 { width: 333px; } .spce0f03a3bd8481754151dbc25697ecb4b_220x165, .spce0f03a3bd8481754151dbc25697ecb4b_220x165 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:220px; height:165px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_220x165 { width: 220px; } .spce0f03a3bd8481754151dbc25697ecb4b_200x283, .spce0f03a3bd8481754151dbc25697ecb4b_200x283 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:200px; height:283px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_200x283 { width: 200px; } .spce0f03a3bd8481754151dbc25697ecb4b_160x160, .spce0f03a3bd8481754151dbc25697ecb4b_160x160 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:160px; height:160px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_160x160 { width: 160px; } .spce0f03a3bd8481754151dbc25697ecb4b_120x160, .spce0f03a3bd8481754151dbc25697ecb4b_120x160 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:120px; height:160px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_120x160 { width: 120px; } .spce0f03a3bd8481754151dbc25697ecb4b_180x135, .spce0f03a3bd8481754151dbc25697ecb4b_180x135 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:180px; height:135px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_180x135 { width: 180px; } .spce0f03a3bd8481754151dbc25697ecb4b_160x120, .spce0f03a3bd8481754151dbc25697ecb4b_160x120 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:160px; height:120px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_160x120 { width: 160px; } .spce0f03a3bd8481754151dbc25697ecb4b_152x114, .spce0f03a3bd8481754151dbc25697ecb4b_152x114 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:152px; height:114px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_152x114 { width: 152px; } .spce0f03a3bd8481754151dbc25697ecb4b_150x212, .spce0f03a3bd8481754151dbc25697ecb4b_150x212 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:150px; height:212px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_150x212 { width: 150px; } .spce0f03a3bd8481754151dbc25697ecb4b_100x133, .spce0f03a3bd8481754151dbc25697ecb4b_100x133 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:100px; height:133px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_100x133 { width: 100px; } .spce0f03a3bd8481754151dbc25697ecb4b_110x110, .spce0f03a3bd8481754151dbc25697ecb4b_110x110 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:110px; height:110px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_110x110 { width: 110px; } .spce0f03a3bd8481754151dbc25697ecb4b_120x90, .spce0f03a3bd8481754151dbc25697ecb4b_120x90 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:120px; height:90px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_120x90 { width: 120px; } .spce0f03a3bd8481754151dbc25697ecb4b_75x106, .spce0f03a3bd8481754151dbc25697ecb4b_75x106 .spce0f03a3bd8481754151dbc25697ecb4b_container { width:75px; height:106px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_75x106 { width: 75px; } /* Font Sizes */ .spce0f03a3bd8481754151dbc25697ecb4b_info_300x300, .spce0f03a3bd8481754151dbc25697ecb4b_info_333x250, .spce0f03a3bd8481754151dbc25697ecb4b_info_220x165, .spce0f03a3bd8481754151dbc25697ecb4b_info_200x283 { font-size: 13px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_160x160, .spce0f03a3bd8481754151dbc25697ecb4b_info_120x160, .spce0f03a3bd8481754151dbc25697ecb4b_info_180x135, .spce0f03a3bd8481754151dbc25697ecb4b_info_160x120, .spce0f03a3bd8481754151dbc25697ecb4b_info_152x114, .spce0f03a3bd8481754151dbc25697ecb4b_info_150x212 { font-size: 12px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_100x133, .spce0f03a3bd8481754151dbc25697ecb4b_info_110x110, .spce0f03a3bd8481754151dbc25697ecb4b_info_120x90, .spce0f03a3bd8481754151dbc25697ecb4b_info_75x106 { font-size: 10px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_300x300 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_333x250 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_220x165 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_200x283 .spce0f03a3bd8481754151dbc25697ecb4b_text1 { font-size: 14px; vertical-align: middle; } .spce0f03a3bd8481754151dbc25697ecb4b_info_160x160 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_120x160 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_180x135 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_160x120 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_152x114 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_150x212 .spce0f03a3bd8481754151dbc25697ecb4b_text1 { font-size: 13px; } .spce0f03a3bd8481754151dbc25697ecb4b_info_100x133 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_110x110 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_120x90 .spce0f03a3bd8481754151dbc25697ecb4b_text1, .spce0f03a3bd8481754151dbc25697ecb4b_info_75x106 .spce0f03a3bd8481754151dbc25697ecb4b_text1 { font-size: 11px; } /****************************** Popup ******************************/ .wrap div { text-align:center; } .wrap { width: 545px; padding: 0px; margin: auto; font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; color: rgb(255,255,255) !important; font-size: 11px; } .wrap .img_container { padding: 0px; width: 545px; margin: 0px auto; } .wrap .img_container img { border: none; } .wrap .img_container div { border: none; float: left; padding: 0px; margin: 0px; } .wrap .scene_header { padding-bottom: 6px; font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; font-size: 160%; color: rgb(255,255,255) !important; } .wrap .scene_footer { padding-top: 7px; font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; color: rgb(255,255,255) !important; font-size: 140%; text-align: center; font-weight: bold; } .wrap a { font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; color: rgb(255,255,255); } .wrap .paginado { font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; font-size: 140%; padding: 5px; } .wrap .highlight { color: rgb(255,255,255); } .wrap .scene_download_link { text-align: center; font-size: 140%; } .wrap .separador { height: 20px; clear: both; } .wrap #smsdiv { padding-bottom: 20px; font-size: 120%; } .clear { clear:both; height: 0px; overflow: hidden; } #iframe_body { font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; font-size: 12px; padding: 0px; margin: 0px auto; text-align: center; background: transparent } #iframe_body form { margin: 0px; } #iframe_body .input { font-size: 11px; height: 20px; } #iframe_body .microbox { padding: 0 5px 5px; } #iframe_body .sms2_main { padding: 5px; } #iframe_body .sms2_access { padding: 5px; } #iframe_body .sms2_access .sms2_button { font-size: 150%; } #iframe_body .sms2_foot { font-size: 85%; padding: 0 5px 0px 5px; } #iframe_body iframe_body { color: rgb(255,255,255); } #iframe_body .microbox a { color: rgb(255,255,255); } #iframe_body .highlight { color: rgb(255,255,255); } #iframe_body .sms2_title { font-size: 200%; } .dvdname { text-align: center; font-size: 26px; color: rgb(255,255,255); padding:10px; } #dvdinfo #info_block_left { padding: 3px; width: 176px; } #dvdinfo #info_block_right { vertical-align: top; padding-left: 4px; margin-top: 2px; line-height: 20px; } .scene { } .scene thead td { text-align: center; } .scene tbody td { padding: 5px; } .scene tbody td img { border: solid 1px rgb(255,255,255); width: 189px; height: 126px; } .scene tfoot td { padding: 5px 0px 20px 0px; } .points, .nopoints { opacity: 0.6; border: solid 1px rgb(255,255,255); font-size: 2px; } .points { background-color: rgb(255,255,255); } .nopoints { background-color: transparent; }</style>';
   }

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getHead = function()
{
   var div = this.newObj('div');
   div.className = 'spce0f03a3bd8481754151dbc25697ecb4b_iframe_header';
   if (this.skin) div.className += ' main_primary_text';

   /* Highlights */
   var span;
   var pieces = this.labelHead.split('{Hl}');
   for (var i=0; i < pieces.length; i++)
   {
      if (i % 2)
      {
         pieces[i] = pieces[i].replace(/{City}/,'United States Of America');

         span = this.newObj('span');
         span.className = 'spce0f03a3bd8481754151dbc25697ecb4b_highlight';
         if (this.skin) span.className += ' main_highlight';

         span.appendChild(this.newTxt(pieces[i]));
         div.appendChild(span);
      }
      else
      {
         div.appendChild(this.newTxt(pieces[i]));
      }
   }
   return div;
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getFoot = function()
{
   var div = this.newObj('div');
   div.className = 'spce0f03a3bd8481754151dbc25697ecb4b_iframe_footer';
   if (this.skin) div.className += ' main_primary_text';

   /* Links */
   var a;
   var pieces = this.labelFoot.split('{Link}');
   for (var i=0; i < pieces.length; i++)
   {
      pieces[i] = pieces[i].replace(/{Count}/,this.item.total);

      if (i % 2)
      {
         a = this.newObj('a');
         a.className = this.skin ? 'main_link' : '';
         a.href = this.getUrl();
         a.target = '_blank';
         //a.appendChild(this.newTxt(pieces[i])); // No funciona en IE!!!
         a.innerHTML = pieces[i];
         div.appendChild(a);
         div.appendChild(this.newTxt('&nbsp;'));
      }
      else
      {
         div.appendChild(this.newTxt(pieces[i]));
      }
   }
   return div;
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getRow = function(rowId)
{
   var index;
   var div = new Array();

   if (this.slider)
   {
      //'<div id="slider'+ _TRNum +'_'+ this.md5 +'" class="slider_container" '+ sliderEvents +' style="overflow:hidden;height:'+ this.getHeight() +'px;">';
      var divSlider = this.newObj('div');
      divSlider.id = 'slider'+ rowId +'_'+ this.md5;
      divSlider.className = 'slider_container';
      divSlider.style.overflow = 'hidden';
      divSlider.style.width  = this.getWidth() +'px';
      divSlider.style.height = this.getHeight() +'px';
      this.addEvent(divSlider,'mouseover',this.delegate( {row:rowId} , function(){ sliderOvere0f03a3bd8481754151dbc25697ecb4b(this.row); } ));
      this.addEvent(divSlider,'mouseout', this.delegate( {row:rowId} , function(){ sliderOute0f03a3bd8481754151dbc25697ecb4b(this.row);  } ));

      //'<div id="slider'+ _TRNum +'_sub_'+ this.md5 +'" style="position:relative;left:-'+ this.toolWidth +'px;height:'+ this.getHeight() +'px;">';
      var divSliderSub = this.newObj('div');
      divSliderSub.id = 'slider'+ rowId +'_sub_'+ this.md5;
      divSliderSub.style.position = 'relative';
      divSliderSub.style.width  = (this.getWidth() * 3) + 'px';
      divSliderSub.style.height = this.getHeight() +'px';
      divSliderSub.style.left = '-'+ this.getWidth() +'px';
   }

   //'<table id="slideA'+ _TRNum +'_'+ this.md5 +'" class="model_info" cellpadding="0" cellspacing="'+ /*this.cellSpacing*/0 + '" border="0" style="width:'+ this.toolWidth +'px;'+ (this.slider ? 'left:'+ this.toolWidth +'px;position:absolute;top:0px;z-index:0;' : '') +'">';
   //'<table id="slideB'+ _TRNum +'_'+ this.md5 +'" class="model_info" cellpadding="0" cellspacing="'+ /*this.cellSpacing*/0 + '" border="0" style="width:'+ this.toolWidth +'px;left:'+ (this.toolWidth*2) +'px;position:absolute;top:0px;z-index:1;display:none;">';
   var top = (this.slider) ? 1 : 0;
   for (var i=0; i <= top; i++)
   {
      index = (i == 0) ? 'A' : 'B';
      div[i] = this.newObj('div');
      div[i].id = 'slide'+ index + rowId +'_'+ this.md5;
      div[i].className = 'spce0f03a3bd8481754151dbc25697ecb4b_iframe_main';
      div[i].style.width  = this.getWidth()  +'px';
      div[i].style.height = this.getHeight() +'px';
      if (this.slider)
      {
         div[i].style.position = 'absolute';
         div[i].style.top = '0px';
         div[i].style.left = this.getWidth() * (i+1) +'px';
         div[i].style.zIndex = i;
         if (i == 1) div[i].style.display = 'none';
      }
   }

   if (typeof(div[0]) != 'undefined' && div[0] != null) div[0] = this.fillRow(div[0]);

   if (this.slider)
   {
      for (var i=0; i < div.length; i++) divSliderSub.appendChild(div[i]);
      divSlider.appendChild(divSliderSub);
      return divSlider;
   }
   return div[0];
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.fillRow = function(divRow)
{
   try
   {
      // divRow.id = 'slide' . [A|B] . rowId . '_' . <md5>
      var rowPrefix = divRow.id.substr(5,1);
      var rowId = parseInt(divRow.id.substring(6,divRow.id.indexOf('_')));
      if (divRow.childNodes.length > 0) for (var i = divRow.childNodes.length - 1; i >= 0; i--)
      {
         divRow.removeChild(divRow.childNodes[i]);
      }
      for (var i=0; i < this.cols; i++) divRow.appendChild(this.getItem(rowPrefix,rowId,i));
      var divClr = this.newObj('div');
      divClr.className = 'spce0f03a3bd8481754151dbc25697ecb4b_clear';
      divRow.appendChild(divClr);
   }
   catch (expetion) { /* No pude determinar por quï¿½ falla algunas veces */ }
   return divRow;
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.setNextItem = function(rowIndex,colIndex,tries)
{
   var index;
   if (!tries) tries = 10;
   var cpId  = this.currentItemIds[rowIndex][colIndex];

   var cIds = '.';
   for (var rI in this.currentItemIds) if (!isNaN(rI)) cIds += this.currentItemIds[rI].join('.') + '.';

   //var cIds  = '.' + this.currentItemIds[rowIndex].join('.') + '.';
   while (this.currentItemIds[rowIndex][colIndex] == cpId)
   {
      index = this.getIndex();
      if (cIds.indexOf('.'+ index +'.') < 0 || !(this.slider || this.fading) || !tries)
      {
         this.currentItemIds[rowIndex][colIndex] = index;
      }
      tries--;
   }

   this.loadInfo(index);
   /*if (this.usrdmp && (typeof(this.item.img) == 'undefined' || this.item.img == null || !this.item.img.complete) && (this.slider || this.fading) && (tries > 0))
   {
      this.currentItemIds[rowIndex][colIndex] = cpId;
      this.setNextItem(rowIndex,colIndex,tries);
   }
   if (this.usrdmp) alert(this.item.img.src);*/
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getIndex = function()
{
   var index = -1;

   switch (this.pType)
   {
      case 'mov':
         if (this.sort != 'rand' || !(this.slider || this.fading) || this.preloadShifts)
         {
            this.nextIndexId = (this.nextIndexId + 1) % this.item.count;
            index = this.nextIndexId;
            if (this.preloadShifts) this.preloadShifts--;
         }
         else index = Math.round(Math.random() * 1000) % this.item.count;
         break;

      case 'dvd':
         if (this.sort != 'rand' || !(this.slider || this.fading) || this.preloadShifts)
         {
            this.nextIndexId = (this.nextIndexId + 1) % this.item.count;
            index = this.nextIndexId;
            if (this.preloadShifts) this.preloadShifts--;
         }
         else index = Math.round(Math.random() * 1000) % this.item.count;
         break;

      default:
         if (!(this.slider || this.fading) || this.preloadShifts)
         {
            this.nextIndexId = (this.nextIndexId + 1) % this.item.count;
            index = this.nextIndexId;
            if (this.preloadShifts) this.preloadShifts--;
         }
         else index = Math.round(Math.random() * 1000) % this.item.count;
   }
   return index;
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getItem = function(rowPrefix,rowIndex,colIndex,noBoundary)
{
   this.setNextItem(rowIndex,colIndex);
   var divInfo = this.getItemInfo();

   var divThmb = this.newObj('div');
   divThmb.className = 'spce0f03a3bd8481754151dbc25697ecb4b_img';

   if (this.preloadThumbs)
   {
      if (typeof(this.item.img) == 'undefined' || this.item.img == null) this.item.img = this.getBlankImage();
      //if (typeof(this.item.img.parentNode) != 'undefined' && this.item.img.parentNode != null)
      //{
         var clon = this.item.img.cloneNode(0);
         divThmb.appendChild(clon);
      //}
      //else divThmb.appendChild(this.item.img);
   }
   else
   {
      var img = this.newObj('img');
      img.src = this.item.img;
      img.width = this.thumbW;
      divThmb.appendChild(img);
   }

   var divContainer = this.newObj('div');
   divContainer.className = 'spce0f03a3bd8481754151dbc25697ecb4b_container';
   divContainer.appendChild(divThmb);
   if (this.motion) divContainer.appendChild(divInfo);

   var divItem = this.newObj('div');
   divItem.id = this.item.url;
   divItem.className = 'spce0f03a3bd8481754151dbc25697ecb4b_'+ this.thumbW +'x'+ this.thumbH;
   divItem.title = this.item.title;
   divItem.appendChild(divContainer);

   divItem.style.position = 'absolute';
   divItem.style.top = divItem.style.left = '0px';
   if (noBoundary)
   {
      divItem.style.zIndex  = 0;
      divItem.style.display = 'none';
   }
   else divItem.style.zIndex = 1;
   if (!this.motion) divItem.appendChild(divInfo);

   if (noBoundary) return divItem;
   else
   {
      var divBoundary = this.newObj('div');
      divBoundary.id = 'item'+ rowPrefix + rowIndex + colIndex +'_'+ this.md5;
      divBoundary.style.position = 'relative';
      divBoundary.className = 'spce0f03a3bd8481754151dbc25697ecb4b_'+ this.thumbW +'x'+ this.thumbH +' '+ (this.shadow ? 'spce0f03a3bd8481754151dbc25697ecb4b_shadow' : 'spce0f03a3bd8481754151dbc25697ecb4b_border'+ (this.skin ? ' main_secondary_text' : '')) +' spce0f03a3bd8481754151dbc25697ecb4b_fleft';
      divBoundary.appendChild(divItem);

      this.addEvent(divBoundary,'click', this.delegate( {div:divBoundary} , function(){
         var url = this.div.firstChild.id;
         if (url.indexOf('javascript:') != -1)
         {
            eval(url.replace(/javascript:/,''));
         }
         else
         {
            var form = document.createElement('form');
            form.method = 'get';
            form.target = '_blank';
            form.action = url;
            var vals; var item;
            var args = url.split('?'); args = args[1].split('&');
            for (var i=0; i < args.length; i++)
            {
               vals = args[i].split('=');
               item = document.createElement('input');
               item.type  = 'hidden';
               item.name  = vals[0];
               item.value = vals[1];
               form.appendChild(item);
            }
            document.getElementsByTagName("head")[0].appendChild(form);
            form.submit();
         }
      } ));

      if (this.motion) this.putItemMask(divBoundary);
      if (this.fading)
      {
         this.addEvent(divBoundary,'mouseover',this.delegate( {row:rowIndex, col:colIndex} , function(){ fadingOvere0f03a3bd8481754151dbc25697ecb4b(this.row,this.col); } ));
         this.addEvent(divBoundary,'mouseout' ,this.delegate( {row:rowIndex, col:colIndex} , function(){ fadingOute0f03a3bd8481754151dbc25697ecb4b(this.row,this.col);  } ));
      }
      return divBoundary;
   }
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.delItemMask = function(divBoundary, itemId)
{
   if (this.motion)
   {
      var childs = divBoundary.childNodes;
      var i = childs.length - 1;
      while (i >= 0)
      {
         if (childs[i].className.indexOf('mask') != -1)
         {
            childs[i].parentNode.removeChild(childs[i]);
            i = -1;
         }
         else i--;
      }
   }
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.putItemMask = function(divBoundary, itemId)
{
   if (this.motion)
   {
      //<div style="position:absolute;background:#000000;opacity:0;filter:alpha(opacity=0);top:0px;left:0px;width:150px;height:212px;z-index:9;"></div>
      var divMask = this.newObj('div');
      divMask.className = 'mask';
      divMask.style.position = 'absolute';// 'relative';
      divMask.style.background = '#ff0000';
      divMask.style.opacity = divMask.style.MozOpacity = 0;
      divMask.style.filter = 'alpha(opacity=0)';
      divMask.style.top = '0px';// '-'+ this.thumbH +'px';
      divMask.style.left = '0px';
      divMask.style.zIndex = '9';
      divMask.style.width = this.thumbW +'px';
      divMask.style.height = this.thumbH +'px';
      divBoundary.appendChild(divMask);

      if (!itemId) itemId = this.item.id;
      this.addEvent(divMask,'mouseover',this.delegate( {div:divBoundary, offset:this.bottom} , function(){ motionMovee0f03a3bd8481754151dbc25697ecb4b(this.div, (0 - this.offset), 0, 1); } ));
      this.addEvent(divMask,'mouseout' ,this.delegate( {div:divBoundary, offset:this.bottom} , function(){ motionMovee0f03a3bd8481754151dbc25697ecb4b(this.div, 0, (0 - this.offset), 0); } ));
   }
}

Iframee0f03a3bd8481754151dbc25697ecb4b.prototype.getItemInfo = function()
{
   var div; var img;
   var vInfo = new Array();
   var hInfo = new Array();

    
	//<div class="spc_text1 main_link">VIOLETA</div>
   div = this.newObj('div');
   div.className = 'spce0f03a3bd8481754151dbc25697ecb4b_text1';
   if (this.skin) div.className += ' main_link';
   div.appendChild(this.newTxt(this.item.name));
   vInfo[vInfo.length] = div;

	//<div class="spc_text2 spc_grey main_secondary_text"><img src="pics/spacer.gif" width="12" height="12" class="spc_available_ball" alt="" /> Available to chat</div>
   if (!this.motion || this.visibleRow > 1)
   {
      div = this.newObj('div');
      div.className = 'spce0f03a3bd8481754151dbc25697ecb4b_text2 spce0f03a3bd8481754151dbc25697ecb4b_grey';
      if (this.skin) div.className += ' main_secondary_text';
      div.appendChild(this.imgSpacer[this.imgSpacerIndex]);
      div.appendChild(this.newTxt(' '+ this.labelOnline));
      vInfo[vInfo.length] = div;
      this.imgSpacerIndex = (this.imgSpacerIndex + 1) % this.imgSpacer.length;
   }

   if (this.motion)
   {
		//<div class="spc_flags"><img src="pics/us.gif" alt="" /><img src="pics/uk.gif" alt="" /><img src="pics/es.gif" alt="" /><img src="pics/fr.gif" alt="" /></div>
      div = this.newObj('div');
      div.className = 'spce0f03a3bd8481754151dbc25697ecb4b_flags';
      for (var i=0; i < this.item.langs.length; i++)
      {
         img = this.newObj('img');
         img.src = 'http://assets.sites.spacash.com/eswebcams/pics/'+ this.item.langs[i] +'.gif';
         div.appendChild(img);
      }
      hInfo[hInfo.length] = div;
   }
   else hInfo = vInfo;

   
   if (this.motion)
   {
      var divVisible = this.newObj('div');
      divVisible.id = 'spce0f03a3bd8481754151dbc25697ecb4b_info_top';
      divVisible.className = 'spce0f03a3bd8481754151dbc25697ecb4b_hidden';
      for (var i=0; i < vInfo.length; i++) divVisible.appendChild(vInfo[i]);
   }

   var divInfo = this.newObj('div');
   divInfo.className = 'spce0f03a3bd8481754151dbc25697ecb4b_info_'+ this.thumbW +'x'+ this.thumbH;
   if (this.motion)
   {
      divInfo.id = 'motion_panel_' + this.item.id;
      divInfo.style.bottom = '-'+ this.bottom +'px';
      divInfo.appendChild(divVisible);
   }
   else
   {
       divInfo.className += ' spce0f03a3bd8481754151dbc25697ecb4b_out';
       if (this.skin) divInfo.className += ' main_link';
   }
   for (var i=0; i < hInfo.length; i++) divInfo.appendChild(hInfo[i]);

   return divInfo;
}

// Class invocation
var theIframee0f03a3bd8481754151dbc25697ecb4b = new Iframee0f03a3bd8481754151dbc25697ecb4b('cam');
theIframee0f03a3bd8481754151dbc25697ecb4b.show(); /*document.getElementById('container')*/

try
{
  if(window.LI_idok===undefined){function LI_getCk(b){b+="=";var a=document.cookie.split(";"),f,d,e;for(d=0;d<a.length;d++){f=a[d];e=f.indexOf(b);if(e>=0){return f.substring(e+b.length).replace(/^\s+|\s+$/g,"")}}return null}var LI_tdom="http://t.liveintnet.com/",LI_ckn="idlive2",LI_idok=0,LI_idlive=LI_getCk(LI_ckn);function LI_apnitm(a,c){var b=[document.getElementsByTagName("head")[0],document.getElementsByTagName("body")[0]];if(((c==0)&&(b[0]==undefined))||((c==1)&&(b[1]!=undefined))){b[1].insertBefore(a,b[1].firstChild)}else{b[0].appendChild(a)}}(function(){var a=document.createElement("script");a.type="text/javascript";a.src=LI_tdom+((LI_idlive!=null)?("t/"+LI_idlive+"/"):"")+"t.js";LI_apnitm(a,0)})()};
}
catch (exception) { }
