<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Документ без названия</title>
<link rel="stylesheet" href="http://www.xiper.net/examples/js-plugins/gallery/fancybox/css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript" src="http://www.xiper.net/examples/js-plugins/gallery/fancybox/js/jquery.fancybox-1.3.4.pack.js"></script>
</head>
<body>
<script type="text/javascript">
$(function() {
var all = {
chance: 5, //Вероятность появления (1 на 20).
groupID: 20003922, //ID группы ВКонтакте
height: 400, //Высота окна
width: 220 //Ширина окна
};
var a = Math.floor(Math.random() * (all.chance - 1));
if(!a) $.fancybox({height: all.height, href: 'http://vk.com/widget_community.php?gid='+all.groupID+'&width='+all.width+'&height='+all.height, scrolling: 'no', type:'iframe', width: all.width});
});
</script>
</body>
</html>