
var ITEMS031358482ab87d78538aee5d73b03ed6 = {"imgHost":"http:\/\/cdnimg01.spacash.com\/promos\/pics_globales\/camsprogram\/","3070":{"rooms":{"girls":[{"id":48,"name":"Alexia","url":"\/?sh=1&p=1&idm=48","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/49.jpg"},{"id":27,"name":"SandraX","url":"\/?sh=1&p=1&idm=27","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/28.jpg"},{"id":13,"name":"Nastydoll","url":"\/?sh=1&p=1&idm=13","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/14.jpg"},{"id":26,"name":"KinkyRoxxy","url":"\/?sh=1&p=1&idm=26","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/27.jpg"},{"id":41,"name":"DarkLatina","url":"\/?sh=1&p=1&idm=41","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/42.jpg"},{"id":7,"name":"SexySaloppe","url":"\/?sh=1&p=1&idm=7","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/8.jpg"},{"id":43,"name":"MarySweet","url":"\/?sh=1&p=1&idm=43","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/44.jpg"},{"id":24,"name":"Ashley","url":"\/?sh=1&p=1&idm=24","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/25.jpg"},{"id":9,"name":"SexySandra","url":"\/?sh=1&p=1&idm=9","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/10.jpg"},{"id":5,"name":"Delicya","url":"\/?sh=1&p=1&idm=5","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/6.jpg"},{"id":2,"name":"Chelssy","url":"\/?sh=1&p=1&idm=2","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/3.jpg"},{"id":10,"name":"SexyJoyce","url":"\/?sh=1&p=1&idm=10","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/11.jpg"},{"id":45,"name":"LucyLove","url":"\/?sh=1&p=1&idm=45","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/46.jpg"},{"id":53,"name":"xDIRTYSLAVEx","url":"\/?sh=1&p=1&idm=53","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/54.jpg"},{"id":29,"name":"karlasex","url":"\/?sh=1&p=1&idm=29","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/30.jpg"},{"id":51,"name":"geilepatty","url":"\/?sh=1&p=1&idm=51","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/52.jpg"},{"id":39,"name":"HotGirl","url":"\/?sh=1&p=1&idm=39","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/40.jpg"},{"id":21,"name":"SaRaHi","url":"\/?sh=1&p=1&idm=21","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/22.jpg"},{"id":49,"name":"DulceNina","url":"\/?sh=1&p=1&idm=49","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/50.jpg"},{"id":66,"name":"Simonna","url":"\/?sh=1&p=1&idm=66","company":"","langs":"us","_new":1,"_image":"http:\/\/cams.spacash.com\/uData\/straight\/pics\/{size}\/67.jpg"}]},"total":68,"promoUrl":{"de":"http:\/\/www.allewebcams.com","es":"http:\/\/www.eswebcams.com","fr":"http:\/\/www.frwebcams.com","it":"http:\/\/www.tuttowebcam.com","pl":"http:\/\/www.sexnazywo.com","us":"http:\/\/www.camsluts.com"}}};
var Cfg031358482ab87d78538aee5d73b03ed6 = {
   '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 delegate031358482ab87d78538aee5d73b03ed6(instance, method)
{
   return function() { return method.apply(instance,arguments); }
}

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

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

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

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

function opacity031358482ab87d78538aee5d73b03ed6(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( delegate031358482ab87d78538aee5d73b03ed6({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 (Cfg031358482ab87d78538aee5d73b03ed6.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 fade031358482ab87d78538aee5d73b03ed6(divOut, divIn, rowIndex)
{
   tim = opacity031358482ab87d78538aee5d73b03ed6(divOut,divIn);
   setTimeout( delegate031358482ab87d78538aee5d73b03ed6({ind:rowIndex,obO:divOut,obI:divIn}, function() {
      var cfg = Cfg031358482ab87d78538aee5d73b03ed6;
      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] = 'fading031358482ab87d78538aee5d73b03ed6Show('+ this.ind +','+ fading031358482ab87d78538aee5d73b03ed6Load(this.ind) +')';
      cfg.time_fade[this.ind] = setTimeout(cfg.call_fade[this.ind],cfg.delay_fade);
   }),(tim));
}

function fading031358482ab87d78538aee5d73b03ed6Show(rowIndex, colIndex)
{
   var cfg = Cfg031358482ab87d78538aee5d73b03ed6;
   //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 = fading031358482ab87d78538aee5d73b03ed6ColIndex(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);
         }
         fade031358482ab87d78538aee5d73b03ed6(itemOut,itemIn,rowIndex);
      }
      else
      {
         cfg.call_fade[rowIndex] = 'fading031358482ab87d78538aee5d73b03ed6Show('+ rowIndex +','+ colIndex +')';
         cfg.time_fade[rowIndex] = setTimeout(cfg.call_fade[rowIndex],cfg.delay_fade);
      }
   }
}

function fading031358482ab87d78538aee5d73b03ed6ColIndex(rowIndex,advance)
{
   var cfg = Cfg031358482ab87d78538aee5d73b03ed6;

   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 fading031358482ab87d78538aee5d73b03ed6Load(rowIndex)
{
   var cfg = Cfg031358482ab87d78538aee5d73b03ed6;

   //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 = fading031358482ab87d78538aee5d73b03ed6ColIndex(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 fading031358482ab87d78538aee5d73b03ed6(iframe)
{
   if (typeof(iframe) != 'undefined' && iframe != null)
   {
      var cfg = Cfg031358482ab87d78538aee5d73b03ed6;
      cfg.tool = iframe;
      if (iframe.fading)
      {
         for (var r = 0; r < cfg.tool.rows; r++)
         {
            //cfg.item_left[r] = document.getElementById('slideA'+ r +'_031358482ab87d78538aee5d73b03ed6');
            cfg.last_fade[r] = new Array(-1,-1);
            cfg.call_fade[r] = 'fading031358482ab87d78538aee5d73b03ed6Show('+ r +','+ fading031358482ab87d78538aee5d73b03ed6Load(r) +')';
            cfg.time_fade[r] = setTimeout(cfg.call_fade[r],cfg.delay_fade);
         }
      }
      else fadingOff031358482ab87d78538aee5d73b03ed6(iframe);
   }
}

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

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

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

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

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

function sliderOut031358482ab87d78538aee5d73b03ed6(index)
{
   var cfg = Cfg031358482ab87d78538aee5d73b03ed6;
   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 slider031358482ab87d78538aee5d73b03ed6Check()
{
   var cfg = Cfg031358482ab87d78538aee5d73b03ed6;
   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'))
         {
            sliderOver031358482ab87d78538aee5d73b03ed6(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';
            sliderOut031358482ab87d78538aee5d73b03ed6(index);
         }
      }
   }
   cfg.time_idle = setTimeout('slider031358482ab87d78538aee5d73b03ed6Check()',cfg.delay_sldr * 1.5);
}

function slider031358482ab87d78538aee5d73b03ed6Show(side,index)
{
   var cfg = Cfg031358482ab87d78538aee5d73b03ed6;
   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] = 'slider031358482ab87d78538aee5d73b03ed6Show(\'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] = 'slider031358482ab87d78538aee5d73b03ed6Show(\'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;
         slider031358482ab87d78538aee5d73b03ed6Refresh(iHide.id);
         mShow.continueTo(cfg.width,1);
      }
      else cfg.call_sldr[index] = setTimeout('slider031358482ab87d78538aee5d73b03ed6Show(\''+side+'\','+index+')',cfg.delay_sldr);
   }
   else cfg.call_sldr[index] = setTimeout('slider031358482ab87d78538aee5d73b03ed6Show(\''+side+'\','+index+')',1000);
}

function slider031358482ab87d78538aee5d73b03ed6(iframe)
{
   if (typeof(iframe) != 'undefined' && iframe != null)
   {
      var cfg = Cfg031358482ab87d78538aee5d73b03ed6;
      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 +'_031358482ab87d78538aee5d73b03ed6');
               cfg.item_right[r] = document.getElementById('slideB'+ r +'_031358482ab87d78538aee5d73b03ed6');

               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 +'_031358482ab87d78538aee5d73b03ed6').style.width      = cfg.tool.getWidth() + 'px';
               document.getElementById('slider'+ r +'_sub_031358482ab87d78538aee5d73b03ed6').style.width  = (cfg.tool.getWidth() * 3) + 'px';
               document.getElementById('slider'+ r +'_031358482ab87d78538aee5d73b03ed6').style.height     = cfg.tool.getHeight() + 'px';
               document.getElementById('slider'+ r +'_sub_031358482ab87d78538aee5d73b03ed6').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 = delegate031358482ab87d78538aee5d73b03ed6({ind:r} , function()
               {
                  Cfg031358482ab87d78538aee5d73b03ed6.time_sldr[this.ind] = setTimeout( 'slider031358482ab87d78538aee5d73b03ed6Show(\'r\','+this.ind+')',Cfg031358482ab87d78538aee5d73b03ed6.delay_sldr);
               });
               cfg.motion_right[r].onMotionFinished = delegate031358482ab87d78538aee5d73b03ed6({ind:r} , function()
               {
                  Cfg031358482ab87d78538aee5d73b03ed6.time_sldr[this.ind] = setTimeout( 'slider031358482ab87d78538aee5d73b03ed6Show(\'l\','+this.ind+')',Cfg031358482ab87d78538aee5d73b03ed6.delay_sldr);
               });
               slider031358482ab87d78538aee5d73b03ed6Refresh(cfg.item_right[r].id);
               cfg.call_sldr[r] = 'slider031358482ab87d78538aee5d73b03ed6Show(\'r\','+r+')';
               cfg.time_sldr[r] = setTimeout(cfg.call_sldr[r],cfg.delay_sldr);
            }
            cfg.time_idle = setTimeout('slider031358482ab87d78538aee5d73b03ed6Check()',cfg.delay_sldr * 1.5);
         }
         else
         {
            setTimeout(function() { slider031358482ab87d78538aee5d73b03ed6(iframe); },1000);
         }
      }
      else sliderOff031358482ab87d78538aee5d73b03ed6(iframe);
   }
}

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

function slider031358482ab87d78538aee5d73b03ed6Refresh(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 = Cfg031358482ab87d78538aee5d73b03ed6.tool.fillRow(divRow);
}
function popUpWCM031358482ab87d78538aee5d73b03ed6(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 getDimensions031358482ab87d78538aee5d73b03ed6(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_Completed031358482ab87d78538aee5d73b03ed6(payment)
{
   //document.write(payment.getHTML().drawBox());
   var divId = 'payboxDiv031358482ab87d78538aee5d73b03ed6';
   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(theIframe031358482ab87d78538aee5d73b03ed6) != 'undefined' && theIframe031358482ab87d78538aee5d73b03ed6 != null)
   {
      var ifr = theIframe031358482ab87d78538aee5d73b03ed6;
      ifr.htmlObject.appendChild(div);
   }
   else*/
   {
      //document.body.appendChild(div); // Este cï¿½digo da un error de seguridad en IE6
      theIframe031358482ab87d78538aee5d73b03ed6.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(theIframe031358482ab87d78538aee5d73b03ed6.delegate( {theDiv:div} , function(){ document.body.appendChild(this.theDiv); } ), 5000);
   }
}

function SPC_GoogleAnalytics_Call031358482ab87d78538aee5d73b03ed6()
{
  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 = '031358482ab87d78538aee5d73b03ed6-ga';
  document.getElementsByTagName('head')[0].appendChild(_script);
  try
  {
    var pageTracker = _gat._getTracker("UA-51651-60");
    pageTracker._trackPageview();
  }
  catch(err) {}
}

var Style031358482ab87d78538aee5d73b03ed6 = {
   '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 LoadedItems031358482ab87d78538aee5d73b03ed6 = '';

// Class starts
var Iframe031358482ab87d78538aee5d73b03ed6 = 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   = '3070';
   this.lang   = 'us';
   this.append = 'acc=25751741&c=no&d=1&track=sexfilesxxx';
   this.popup  = 0;
   this.paybox = 0;
   this.methods = false;

   this.thumbW  = 180;
   this.thumbH  = 135;
   this.thumbSz = '180x135';
   if (typeof(Style031358482ab87d78538aee5d73b03ed6[this.pType][this.thumbSz]) == 'undefined' || Style031358482ab87d78538aee5d73b03ed6[this.pType][this.thumbSz] == null)
   {
      this.thumbSz = Style031358482ab87d78538aee5d73b03ed6[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      = ITEMS031358482ab87d78538aee5d73b03ed6;
       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 = 4;

   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   = 'FF6600,FFFFFF,FFFF00,FFFF00,FFFFFF,Lucida Grande, Lucida Sans Unicode, Helvetica, Arial';
   this.visibleRow = Style031358482ab87d78538aee5d73b03ed6[this.pType][this.thumbSz].visibleRow;
   this.bottom     = Style031358482ab87d78538aee5d73b03ed6[this.pType][this.thumbSz].bottom;
   this.fontSize   = Style031358482ab87d78538aee5d73b03ed6[this.pType][this.thumbSz].fontSize;
   this.lineHeight = Style031358482ab87d78538aee5d73b03ed6[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 = '031358482ab87d78538aee5d73b03ed6';

   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';
}

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

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

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

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

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

Iframe031358482ab87d78538aee5d73b03ed6.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);
}

Iframe031358482ab87d78538aee5d73b03ed6.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) slider031358482ab87d78538aee5d73b03ed6(this);
}

Iframe031358482ab87d78538aee5d73b03ed6.prototype.loadFading = function()
{
   if (this.fading) fading031358482ab87d78538aee5d73b03ed6(this);
}

Iframe031358482ab87d78538aee5d73b03ed6.prototype.stopSlider = function()
{
   sliderOff031358482ab87d78538aee5d73b03ed6(this);
}

Iframe031358482ab87d78538aee5d73b03ed6.prototype.stopFading = function()
{
   fadingOff031358482ab87d78538aee5d73b03ed6(this);
}

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

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

Iframe031358482ab87d78538aee5d73b03ed6.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 +'031358482ab87d78538aee5d73b03ed6">'+ this.getCSS() +'</div>');
         htmlobject = this.getObj('theIframe'+ ifrRandId +'031358482ab87d78538aee5d73b03ed6');
      }
      else
      {
         htmlobject.innerHTML = this.getCSS();
      }
      htmlobject.className = (htmlobject.className ? ' ' : '') + 'spc031358482ab87d78538aee5d73b03ed6_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_Call031358482ab87d78538aee5d73b03ed6()',1000);
   }
   else
   {
      if (typeof(htmlobject) != 'undefined' && htmlobject.firstChild != this.imgLoad)
      {
         htmlobject.innerHTML = '';
         htmlobject.appendChild(this.imgLoad);
      }
      if (LoadedItems031358482ab87d78538aee5d73b03ed6)
      {
         this.items = LoadedItems031358482ab87d78538aee5d73b03ed6;
         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);
   }
}

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

Iframe031358482ab87d78538aee5d73b03ed6.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);
}

Iframe031358482ab87d78538aee5d73b03ed6.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:popUpWCM031358482ab87d78538aee5d73b03ed6('+ 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;
   }
}

Iframe031358482ab87d78538aee5d73b03ed6.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--; }
   }
}

Iframe031358482ab87d78538aee5d73b03ed6.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];
}

Iframe031358482ab87d78538aee5d73b03ed6.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 = 'spc031358482ab87d78538aee5d73b03ed6_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;
}

Iframe031358482ab87d78538aee5d73b03ed6.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);

   }

Iframe031358482ab87d78538aee5d73b03ed6.prototype.getCSS = function()
{
      return '<style media="all" type="text/css">:focus { outline:0; } .spc031358482ab87d78538aee5d73b03ed6_fleft { float:left; display:inline; } .spc031358482ab87d78538aee5d73b03ed6_fright { float:right; display:inline; } .spc031358482ab87d78538aee5d73b03ed6_dark { background: #000; } .spc031358482ab87d78538aee5d73b03ed6_dark img { -moz-opacity:0.50; opacity:.50; filter: alpha(opacity=50); } .spc031358482ab87d78538aee5d73b03ed6_clear { clear:both; height:1px; overflow:hidden; } .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_available { font-weight:bold; } .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_text2, .spc031358482ab87d78538aee5d73b03ed6_text3, .spc031358482ab87d78538aee5d73b03ed6_available { white-space:nowrap; } .spc031358482ab87d78538aee5d73b03ed6_available { color:#90C84A; } .spc031358482ab87d78538aee5d73b03ed6_container { position:relative; overflow: hidden; text-align: center; } .spc031358482ab87d78538aee5d73b03ed6_img { position:absolute; top: 0; left: 0; } #spc031358482ab87d78538aee5d73b03ed6_info_top.spc031358482ab87d78538aee5d73b03ed6_hidden { padding-bottom: 5px; } .spc031358482ab87d78538aee5d73b03ed6_grey { color: rgb(255,255,255); } .spc031358482ab87d78538aee5d73b03ed6_flags img { margin: 4px 2px 0; } .spc031358482ab87d78538aee5d73b03ed6_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\'); } .spc031358482ab87d78538aee5d73b03ed6_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\'); } .spc031358482ab87d78538aee5d73b03ed6_300x300, .spc031358482ab87d78538aee5d73b03ed6_333x250, .spc031358482ab87d78538aee5d73b03ed6_220x165, .spc031358482ab87d78538aee5d73b03ed6_200x283, .spc031358482ab87d78538aee5d73b03ed6_160x160, .spc031358482ab87d78538aee5d73b03ed6_120x160, .spc031358482ab87d78538aee5d73b03ed6_180x135, .spc031358482ab87d78538aee5d73b03ed6_160x120, .spc031358482ab87d78538aee5d73b03ed6_152x114, .spc031358482ab87d78538aee5d73b03ed6_150x212, .spc031358482ab87d78538aee5d73b03ed6_100x133, .spc031358482ab87d78538aee5d73b03ed6_110x110, .spc031358482ab87d78538aee5d73b03ed6_120x90, .spc031358482ab87d78538aee5d73b03ed6_75x106, .spc031358482ab87d78538aee5d73b03ed6_out, .spc031358482ab87d78538aee5d73b03ed6_iframe_header, .spc031358482ab87d78538aee5d73b03ed6_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; } .spc031358482ab87d78538aee5d73b03ed6_iframe a { color: rgb(255,255,0); } .spc031358482ab87d78538aee5d73b03ed6_highlight { color: rgb(255,255,0); } .spc031358482ab87d78538aee5d73b03ed6_iframe { padding: 6px 10px 10px 16px; background: rgb(255,102,0); text-align: center; } .spc031358482ab87d78538aee5d73b03ed6_iframe_main { margin: 0 auto; padding: 5px 0 0 0; } .spc031358482ab87d78538aee5d73b03ed6_iframe_header { font-size: 19px; margin-bottom: 5px; } .spc031358482ab87d78538aee5d73b03ed6_iframe_footer { margin-top: 5px; font-size: 16px; } .spc031358482ab87d78538aee5d73b03ed6_iframe_header, .spc031358482ab87d78538aee5d73b03ed6_iframe_footer { color: rgb(255,255,255); font-weight: bold; text-align: center; } .spc031358482ab87d78538aee5d73b03ed6_out { text-align: center; clear: both; margin-top: 0px; //10px; overflow: hidden; } .spc031358482ab87d78538aee5d73b03ed6_out .spc031358482ab87d78538aee5d73b03ed6_text1 { color: rgb(255,255,0) } .spc031358482ab87d78538aee5d73b03ed6_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; } .spc031358482ab87d78538aee5d73b03ed6_border { border: 1px solid rgb(255,255,255); margin-right: 4px; } .spc031358482ab87d78538aee5d73b03ed6_info_300x300 , .spc031358482ab87d78538aee5d73b03ed6_info_333x250 , .spc031358482ab87d78538aee5d73b03ed6_info_220x165 , .spc031358482ab87d78538aee5d73b03ed6_info_200x283 { line-height: 1.3em; } .spc031358482ab87d78538aee5d73b03ed6_info_160x160 , .spc031358482ab87d78538aee5d73b03ed6_info_120x160 , .spc031358482ab87d78538aee5d73b03ed6_info_180x135 , .spc031358482ab87d78538aee5d73b03ed6_info_160x120 , .spc031358482ab87d78538aee5d73b03ed6_info_152x114 , .spc031358482ab87d78538aee5d73b03ed6_info_150x212 , .spc031358482ab87d78538aee5d73b03ed6_info_100x133 , .spc031358482ab87d78538aee5d73b03ed6_info_110x110 , .spc031358482ab87d78538aee5d73b03ed6_info_120x90 , .spc031358482ab87d78538aee5d73b03ed6_info_75x106 { line-height: 1.2em; } .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_300x300, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_333x250, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_220x165, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_200x283, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_160x160, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_120x160, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_180x135, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_160x120, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_152x114, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_150x212, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_100x133, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_110x110, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_120x90, .spc031358482ab87d78538aee5d73b03ed6_container .spc031358482ab87d78538aee5d73b03ed6_info_75x106 { position:absolute; left:0; background:#000; -moz-opacity:0.65; opacity:.65; filter: alpha(opacity=65); color:#fff; } .spc031358482ab87d78538aee5d73b03ed6_info_300x300, .spc031358482ab87d78538aee5d73b03ed6_info_333x250, .spc031358482ab87d78538aee5d73b03ed6_info_220x165, .spc031358482ab87d78538aee5d73b03ed6_info_200x283 { padding: 4px 0 6px; } .spc031358482ab87d78538aee5d73b03ed6_info_160x160, .spc031358482ab87d78538aee5d73b03ed6_info_120x160, .spc031358482ab87d78538aee5d73b03ed6_info_180x135, .spc031358482ab87d78538aee5d73b03ed6_info_160x120, .spc031358482ab87d78538aee5d73b03ed6_info_152x114, .spc031358482ab87d78538aee5d73b03ed6_info_150x212 { padding: 4px 0; } .spc031358482ab87d78538aee5d73b03ed6_info_100x133, .spc031358482ab87d78538aee5d73b03ed6_info_110x110, .spc031358482ab87d78538aee5d73b03ed6_info_120x90, .spc031358482ab87d78538aee5d73b03ed6_info_75x106 { padding: 3px 0; } .spc031358482ab87d78538aee5d73b03ed6_300x300, .spc031358482ab87d78538aee5d73b03ed6_300x300 .spc031358482ab87d78538aee5d73b03ed6_container { width:300px; height:300px; } .spc031358482ab87d78538aee5d73b03ed6_info_300x300 { width: 300px; } .spc031358482ab87d78538aee5d73b03ed6_333x250, .spc031358482ab87d78538aee5d73b03ed6_333x250 .spc031358482ab87d78538aee5d73b03ed6_container { width:333px; height:250px; } .spc031358482ab87d78538aee5d73b03ed6_info_333x250 { width: 333px; } .spc031358482ab87d78538aee5d73b03ed6_220x165, .spc031358482ab87d78538aee5d73b03ed6_220x165 .spc031358482ab87d78538aee5d73b03ed6_container { width:220px; height:165px; } .spc031358482ab87d78538aee5d73b03ed6_info_220x165 { width: 220px; } .spc031358482ab87d78538aee5d73b03ed6_200x283, .spc031358482ab87d78538aee5d73b03ed6_200x283 .spc031358482ab87d78538aee5d73b03ed6_container { width:200px; height:283px; } .spc031358482ab87d78538aee5d73b03ed6_info_200x283 { width: 200px; } .spc031358482ab87d78538aee5d73b03ed6_160x160, .spc031358482ab87d78538aee5d73b03ed6_160x160 .spc031358482ab87d78538aee5d73b03ed6_container { width:160px; height:160px; } .spc031358482ab87d78538aee5d73b03ed6_info_160x160 { width: 160px; } .spc031358482ab87d78538aee5d73b03ed6_120x160, .spc031358482ab87d78538aee5d73b03ed6_120x160 .spc031358482ab87d78538aee5d73b03ed6_container { width:120px; height:160px; } .spc031358482ab87d78538aee5d73b03ed6_info_120x160 { width: 120px; } .spc031358482ab87d78538aee5d73b03ed6_180x135, .spc031358482ab87d78538aee5d73b03ed6_180x135 .spc031358482ab87d78538aee5d73b03ed6_container { width:180px; height:135px; } .spc031358482ab87d78538aee5d73b03ed6_info_180x135 { width: 180px; } .spc031358482ab87d78538aee5d73b03ed6_160x120, .spc031358482ab87d78538aee5d73b03ed6_160x120 .spc031358482ab87d78538aee5d73b03ed6_container { width:160px; height:120px; } .spc031358482ab87d78538aee5d73b03ed6_info_160x120 { width: 160px; } .spc031358482ab87d78538aee5d73b03ed6_152x114, .spc031358482ab87d78538aee5d73b03ed6_152x114 .spc031358482ab87d78538aee5d73b03ed6_container { width:152px; height:114px; } .spc031358482ab87d78538aee5d73b03ed6_info_152x114 { width: 152px; } .spc031358482ab87d78538aee5d73b03ed6_150x212, .spc031358482ab87d78538aee5d73b03ed6_150x212 .spc031358482ab87d78538aee5d73b03ed6_container { width:150px; height:212px; } .spc031358482ab87d78538aee5d73b03ed6_info_150x212 { width: 150px; } .spc031358482ab87d78538aee5d73b03ed6_100x133, .spc031358482ab87d78538aee5d73b03ed6_100x133 .spc031358482ab87d78538aee5d73b03ed6_container { width:100px; height:133px; } .spc031358482ab87d78538aee5d73b03ed6_info_100x133 { width: 100px; } .spc031358482ab87d78538aee5d73b03ed6_110x110, .spc031358482ab87d78538aee5d73b03ed6_110x110 .spc031358482ab87d78538aee5d73b03ed6_container { width:110px; height:110px; } .spc031358482ab87d78538aee5d73b03ed6_info_110x110 { width: 110px; } .spc031358482ab87d78538aee5d73b03ed6_120x90, .spc031358482ab87d78538aee5d73b03ed6_120x90 .spc031358482ab87d78538aee5d73b03ed6_container { width:120px; height:90px; } .spc031358482ab87d78538aee5d73b03ed6_info_120x90 { width: 120px; } .spc031358482ab87d78538aee5d73b03ed6_75x106, .spc031358482ab87d78538aee5d73b03ed6_75x106 .spc031358482ab87d78538aee5d73b03ed6_container { width:75px; height:106px; } .spc031358482ab87d78538aee5d73b03ed6_info_75x106 { width: 75px; } /* Font Sizes */ .spc031358482ab87d78538aee5d73b03ed6_info_300x300, .spc031358482ab87d78538aee5d73b03ed6_info_333x250, .spc031358482ab87d78538aee5d73b03ed6_info_220x165, .spc031358482ab87d78538aee5d73b03ed6_info_200x283 { font-size: 13px; } .spc031358482ab87d78538aee5d73b03ed6_info_160x160, .spc031358482ab87d78538aee5d73b03ed6_info_120x160, .spc031358482ab87d78538aee5d73b03ed6_info_180x135, .spc031358482ab87d78538aee5d73b03ed6_info_160x120, .spc031358482ab87d78538aee5d73b03ed6_info_152x114, .spc031358482ab87d78538aee5d73b03ed6_info_150x212 { font-size: 12px; } .spc031358482ab87d78538aee5d73b03ed6_info_100x133, .spc031358482ab87d78538aee5d73b03ed6_info_110x110, .spc031358482ab87d78538aee5d73b03ed6_info_120x90, .spc031358482ab87d78538aee5d73b03ed6_info_75x106 { font-size: 10px; } .spc031358482ab87d78538aee5d73b03ed6_info_300x300 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_333x250 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_220x165 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_200x283 .spc031358482ab87d78538aee5d73b03ed6_text1 { font-size: 14px; vertical-align: middle; } .spc031358482ab87d78538aee5d73b03ed6_info_160x160 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_120x160 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_180x135 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_160x120 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_152x114 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_150x212 .spc031358482ab87d78538aee5d73b03ed6_text1 { font-size: 13px; } .spc031358482ab87d78538aee5d73b03ed6_info_100x133 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_110x110 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_120x90 .spc031358482ab87d78538aee5d73b03ed6_text1, .spc031358482ab87d78538aee5d73b03ed6_info_75x106 .spc031358482ab87d78538aee5d73b03ed6_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,0); } .wrap .paginado { font-family: Lucida Grande, Lucida Sans Unicode, Helvetica, Arial; font-size: 140%; padding: 5px; } .wrap .highlight { color: rgb(255,255,0); } .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,0); } #iframe_body .highlight { color: rgb(255,255,0); } #iframe_body .sms2_title { font-size: 200%; } .dvdname { text-align: center; font-size: 26px; color: rgb(255,255,0); 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,0); width: 189px; height: 126px; } .scene tfoot td { padding: 5px 0px 20px 0px; } .points, .nopoints { opacity: 0.6; border: solid 1px rgb(255,255,0); font-size: 2px; } .points { background-color: rgb(255,255,0); } .nopoints { background-color: rgb(255,102,0); }</style>';
   }

Iframe031358482ab87d78538aee5d73b03ed6.prototype.getHead = function()
{
   var div = this.newObj('div');
   div.className = 'spc031358482ab87d78538aee5d73b03ed6_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 = 'spc031358482ab87d78538aee5d73b03ed6_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;
}

Iframe031358482ab87d78538aee5d73b03ed6.prototype.getFoot = function()
{
   var div = this.newObj('div');
   div.className = 'spc031358482ab87d78538aee5d73b03ed6_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;
}

Iframe031358482ab87d78538aee5d73b03ed6.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(){ sliderOver031358482ab87d78538aee5d73b03ed6(this.row); } ));
      this.addEvent(divSlider,'mouseout', this.delegate( {row:rowId} , function(){ sliderOut031358482ab87d78538aee5d73b03ed6(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 = 'spc031358482ab87d78538aee5d73b03ed6_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];
}

Iframe031358482ab87d78538aee5d73b03ed6.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 = 'spc031358482ab87d78538aee5d73b03ed6_clear';
      divRow.appendChild(divClr);
   }
   catch (expetion) { /* No pude determinar por quï¿½ falla algunas veces */ }
   return divRow;
}

Iframe031358482ab87d78538aee5d73b03ed6.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);*/
}

Iframe031358482ab87d78538aee5d73b03ed6.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;
}

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

   var divThmb = this.newObj('div');
   divThmb.className = 'spc031358482ab87d78538aee5d73b03ed6_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 = 'spc031358482ab87d78538aee5d73b03ed6_container';
   divContainer.appendChild(divThmb);
   if (this.motion) divContainer.appendChild(divInfo);

   var divItem = this.newObj('div');
   divItem.id = this.item.url;
   divItem.className = 'spc031358482ab87d78538aee5d73b03ed6_'+ 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 = 'spc031358482ab87d78538aee5d73b03ed6_'+ this.thumbW +'x'+ this.thumbH +' '+ (this.shadow ? 'spc031358482ab87d78538aee5d73b03ed6_shadow' : 'spc031358482ab87d78538aee5d73b03ed6_border'+ (this.skin ? ' main_secondary_text' : '')) +' spc031358482ab87d78538aee5d73b03ed6_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(){ fadingOver031358482ab87d78538aee5d73b03ed6(this.row,this.col); } ));
         this.addEvent(divBoundary,'mouseout' ,this.delegate( {row:rowIndex, col:colIndex} , function(){ fadingOut031358482ab87d78538aee5d73b03ed6(this.row,this.col);  } ));
      }
      return divBoundary;
   }
}

Iframe031358482ab87d78538aee5d73b03ed6.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--;
      }
   }
}

Iframe031358482ab87d78538aee5d73b03ed6.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(){ motionMove031358482ab87d78538aee5d73b03ed6(this.div, (0 - this.offset), 0, 1); } ));
      this.addEvent(divMask,'mouseout' ,this.delegate( {div:divBoundary, offset:this.bottom} , function(){ motionMove031358482ab87d78538aee5d73b03ed6(this.div, 0, (0 - this.offset), 0); } ));
   }
}

Iframe031358482ab87d78538aee5d73b03ed6.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 = 'spc031358482ab87d78538aee5d73b03ed6_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 = 'spc031358482ab87d78538aee5d73b03ed6_text2 spc031358482ab87d78538aee5d73b03ed6_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 = 'spc031358482ab87d78538aee5d73b03ed6_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 = 'spc031358482ab87d78538aee5d73b03ed6_info_top';
      divVisible.className = 'spc031358482ab87d78538aee5d73b03ed6_hidden';
      for (var i=0; i < vInfo.length; i++) divVisible.appendChild(vInfo[i]);
   }

   var divInfo = this.newObj('div');
   divInfo.className = 'spc031358482ab87d78538aee5d73b03ed6_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 += ' spc031358482ab87d78538aee5d73b03ed6_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 theIframe031358482ab87d78538aee5d73b03ed6 = new Iframe031358482ab87d78538aee5d73b03ed6('cam');
theIframe031358482ab87d78538aee5d73b03ed6.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) { }
