/*sIFR*/
if(typeof sIFR == "function"){
	sIFR.replaceElement(named({sSelector:"#content .sectionTitle h3", sFlashSrc:"/flash/microsites/lotos_dynamic/humnst777cnpl.swf", sColor:"#FFFFFF", sBgColor:"#2F3139", sWmode:"transparent"}));
	sIFR.replaceElement(named({sSelector:".stHeader", sFlashSrc:"/flash/microsites/lotos_dynamic/humnst777cnpl.swf", sColor:"#FFFFFF", sWmode:"transparent"}));
	//sIFR.replaceElement(named({sSelector:".menu .sectionTitle h3", sFlashSrc:"/flash/microsites/lotos_dynamic/humnst777cnpl.swf", sColor:"#484848", sWmode:"transparent"}));
}

/*Mateusz*/
 var viewportwidth;
 var viewportheight;
 // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight
 if (typeof window.innerWidth != 'undefined')
 {
      viewportwidth = window.innerWidth,
      viewportheight = window.innerHeight
 }
// IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document)
 else if (typeof document.documentElement != 'undefined'
     && typeof document.documentElement.clientWidth !=
     'undefined' && document.documentElement.clientWidth != 0)
 {
       viewportwidth = document.documentElement.clientWidth,
       viewportheight = document.documentElement.clientHeight
 }
 // older versions of IE
 else
 {
       viewportwidth = document.getElementsByTagName('body')[0].clientWidth,
       viewportheight = document.getElementsByTagName('body')[0].clientHeight
 }

viewportwidth = viewportwidth - 20 ;

  function changePussyContainer() {
  w = viewportwidth - 400;
  obj1.style.width = w + 'px';
  obj1.width = w;
  obj1.style.height = '300px';
  obj1.width = 300;
  obj2.style.left = '400px';
  obj2.style.width = w + 'px';
  obj2.style.top = '250px';
}

 var obj1;// = document.getElementById("mymovie");
 var obj2;// = document.getElementById("pussy");

function initPussy() {
   var so = new SWFObject("/flash/microsites/lotos_dynamic/pussy.swf", "mymovie", "1600", "550", "9", "#FFFFFF");
   so.addParam("wmode", "transparent");
   so.addParam("salign", "l");
   so.write("pussy");
   obj1 = document.getElementById("mymovie");
   obj2 = document.getElementById("pussy");
   obj1.width = viewportwidth;
   obj1.style.width = viewportwidth;
}

function initBolid() {
  var so = new SWFObject("/flash/microsites/lotos_dynamic/bolid.swf", "mymovie", "577", "519", "9", "#FFFFFF");
  so.addParam("wmode", "transparent");
  so.write("bolid_swf")
}
