﻿// JScript File

//Showing and Hiding the Watch Now Div Window 
function showVideo(shodDiv1,shodDiv2,videoname)
{
  // alert('Flash/video_plyer2_final.swf?filename='+videoname);

    document.getElementById(shodDiv1).style.display='block';
    document.getElementById(shodDiv2).style.display='block';  
    var strPlayer="<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0\" width=\"592\" height=\"430\"><param name=\"movie\" value=\"Flash/video_plyer2_final.swf?filename="+ videoname +"\" /><param name=\"quality\" value=\"high\"/><param name=\"scale\" value=\"exactfit\"/><param name=\"allowFullScreen\" value=\"true\" /><embed src=\"Flash/video_plyer2_final.swf?filename="+ videoname +"\" quality=\"high\" scale=\"exactfit\" allowFullScreen=\"true\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"592\" height=\"430\"></embed></object>";
    document.getElementById('divPlayer').innerHTML = strPlayer;
  // alert(strPlayer);
}

function hideVideo(shodDiv1,shodDiv2)
{  
    document.getElementById(shodDiv1).style.display='none';
    document.getElementById(shodDiv2).style.display='none';     
    document.getElementById('divPlayer').innerHTML = '';
}

function showCareersDiv(work_withgod)
{
         alert('hii');
        document.getElementById(work_withgod).style.display='block';
}

function HideCareersDiv()
{
        document.getElementById(work_withgod).style.display='none';
}
function showHideDivs(divId)
{ 
   
     var hidValue=document.getElementById('hidDivId').value;
     //alert(hidValue);
    if(hidValue!="0" && hidValue!="")
    {
        document.getElementById(hidValue).style.display="none";
    }
    if(divId!='')
    {
        document.getElementById(divId).style.display='block';
    }
    document.getElementById('hidDivId').value=divId; 
//document.getElementById(divId).style.display='block';
}
function MM_openBrWindow(theURL,winName,features)

{ //v2.0
  window.open(theURL,winName,features);
}