﻿/// <reference path="jquery-1.2.3-intellisense.js" />
$(document).ready(function() {
   
   //$("#videoindex").show();        

    jQuery("#videoindextitle").click(function() {
    jQuery("#videoindex").hide();
        getVcastr().videoStop();
    });

    jQuery("#videoindex_1").click(function() {
        $("#videoindex").show();
        getVcastr().videoPlay();
    });

    function close() {
        jQuery("#videoindex").hide();
        getVcastr().videoStop();
    }
    setTimeout(close, 35000);



});
 function getVcastr() {
     if (navigator.appName.indexOf("Microsoft") != -1) {
         return window["vcastr3"];
     } else {
         return document["vcastr3"];
     }
 }
 
 



