  hs.graphicsDir = 'highslide/graphics/';
     hs.outlineType = null;

      function vvideo(id) {
        jQuery("div#vvideo1").hide();
        jQuery("div#vvideo2").hide();
        jQuery("div#vvideo3").hide();
        jQuery("div#vvideo"+id).show();
       }

      function vphoto(id) {
        jQuery("div#vphoto1").hide();
        jQuery("div#vphoto2").hide();
        jQuery("div#vphoto3").hide();
        jQuery("div#vphoto4").hide();
        jQuery("div#vphoto"+id).show();
       }

      function showvideo() {
        jQuery("div#photoside").hide();
        jQuery("div#videoside").show();
        jQuery("div#preside").hide();
        video(10);
       }

      function showphoto() {
        jQuery("div#videoside").hide();
        jQuery("div#photoside").show();
        jQuery("div#preside").hide();
       }

        function video(id) {
		var s1 = new SWFObject("mediaplayer/player.swf","ply","480","360","9","#FFFFFF");
		s1.addParam("allowfullscreen","true");
		s1.addParam("allowscriptaccess","always");
        if (id == 1) {
 	 	 s1.addParam("flashvars","file=../files/video/album1.flv&image=images/logo.jpg");
         vcomment = 'Фотоальбом из досвадебных фотографий жениха и невесты, выполненный в очень оригинальном стиле';
        }
        if (id == 2) {
	 	 s1.addParam("flashvars","file=../files/video/album.flv&image=images/logo.jpg");
         vcomment = 'Альтернативный свадебный фотоальбом на тему "они познакомились в сети"';
        }
        if (id == 3) {
	 	 s1.addParam("flashvars","file=../files/video/albumFallout.flv&image=images/logo.jpg");
         vcomment = '"Механический" фотоальбом с очень нестандартным оформлением';
        }
        if (id == 4) {
	 	 s1.addParam("flashvars","file=../files/video/clip.flv&image=images/logo.jpg");
         vcomment = 'Обзорный свадебный клип по всей свадьбе';
        }
        if (id == 5) {
	 	 s1.addParam("flashvars","file=../files/video/intDozor.flv&image=images/logo.jpg");
         vcomment = 'DOZOR-ная свадьба';
        }
        if (id == 6) {
	 	 s1.addParam("flashvars","file=../files/video/nachalo.flv&image=images/logo.jpg");
         vcomment = 'Жених... машины... рэп... идея сделать Gangsta свадьбу. Что получилось, смотрите сами';
        }
        if (id == 7) {
	 	 s1.addParam("flashvars","file=../files/video/nachaloRadik_0.flv&image=images/logo.jpg");
         vcomment = 'А так собирается жених, отучившийся со своей будущей женой в РГРТУ все 5 лет в одной группе';
        }
        if (id == 8) {
	 	 s1.addParam("flashvars","file=../files/video/nachaloTerehov_0.flv&image=images/logo.jpg");
         vcomment = 'Динамичный ролик о сборах жениха';
        }
        if (id == 9) {
	 	 s1.addParam("flashvars","file=../files/video/nevesta_radik.flv&image=images/logo.jpg");
         vcomment = 'Будущая жена';
        }
        if (id == 10) {
	 	 s1.addParam("flashvars","file=../files/video/progulka.flv&image=images/logo.jpg");
         vcomment = 'Романтическая прогулка';
        }

		s1.write("container");
        jQuery("div#videocomment").html('<b>' + vcomment + '</b>');

        }
