function lubieTo() {
 
    //$('body').append('<div class="lubieTo"><img src="images/expand.png" /><iframe id="facebook" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FMAIK-Agencja-Reklamowa%2F187967761226177" scrolling="no" frameborder="0" style="padding:4px;height:35px;width:300px;" allowTransparency="true"></iframe></div>');
    $('body').append('<div class="lubieTo"><img src="images/expand.png" /><br /><iframe id="facebook" src="http://www.facebook.com/plugins/likebox.php?href=http%253A%252F%252Fwww.facebook.com%252Fpages%252FMAIK-Agencja-Reklamowa%252F187967761226177&amp;width=300&amp;colorscheme=light&amp;show_faces=false&amp;stream=false&amp;header=true&amp;height=62" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:62px;" allowTransparency="true"></iframe></div>');
    //$('body').append('<div class="lubieTo"><img src="images/expand.png" /><br /><iframe id="facebook" src="http://www.facebook.com/plugins/likebox.php?href=http%253A%252F%252Fwww.facebook.com%252Fpages%252FMAIK-Agencja-Reklamowa%252F187967761226177&amp;width=300&amp;colorscheme=light&amp;show_faces=true&amp;stream=true&amp;header=true&amp;height=427" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:427px;" allowTransparency="true"></iframe></div>');
    $('.lubieTo').css("background-color", "white");
    $('.lubieTo').css("width", $('iframe').width());
    $('.lubieTo').css("opacity", "0.8");
    $('iframe#facebook').toggle();
    $('.lubieTo').click(function(){ $('iframe#facebook').slideToggle('slow'); });
}

<!-- Ukrywanie adresów email przed robotami -->
function emailCloaking() {
  $('.email').each( function() {
    var ats, dots, address, i;
    ats = [' [at] ', ' (at) ', ' [malpa] ', ' (malpa) '];
    dots = [' [dot] ', ' (dot) ', ' [kropka] ', ' (kropka) '];
    address = $(this).html();
    for ( i = 0; i < ats.length; i++ ) {
      address = address.replace(ats[i], '@');
    }
    for ( i = 0; i < dots.length; i++ ) {
      address = address.replace(dots[i], '.');
    }
    $(this).html('<a href="mailto:' + address + '" title="" class="email">' + address + '</a>');
  });
}; 

<!-- generowanie odbić -->
//function generateReflection(generuj) {
//  if(generuj) {
//    var options = {opacity:0.45, height:0.25};
//    $(".odbicie").reflect(options);
//  }
//};
function blinkHeader(ile) {
  for(i=0; i<ile; i++){
    $('#header').fadeToggle('slow', function() {
      $('#header').fadeToggle('slow');
    });
  }
}
function rePos_flashContent() {
  $(document).ready(function() {
    if( !swfobject.hasFlashPlayerVersion("9.0.0") ) {
      $('#flashContent').css('margin', '0');
      $('#flashContent').css('top', '0');
    } 
  });
};

function switchSWFMovie(movie, width, height) {
  var flashvars = {};
  var params = {
    menu: "false",
		scale: "noScale",
		allowFullscreen: "true",
		allowScriptAccess: "always",
		wmode: "transparent"
  };
  var attributes = { 
    id:"maikContent"
  };
  swfobject.embedSWF(movie, "content", width, height, "", flashvars, params, attributes);
};
<!-- zmiana koloru tla / stara strona -->
function changebg(newcolor) {
	//document.bgColor=newcolor;
	$('body').css('background-color', newcolor);
	$('body').css('background-image', "URL('')");
}

var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

function changebg_DoFSCommand(command, args) {
  var changebgObj = InternetExplorer ? changebg : document.changebg;
}

if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub changebg_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call changebg_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}

