﻿	
    
test=function()
    {
alert("saeed");
showBusy("videoContent");
document.getElementById("videoContent").innerHTML="";

    }

// show busy image
showBusy=function(divName)
{
document.getElementById(divName).innerHTML = "<p style='text-align:center'><img src='images/loading.gif'></p>";
}
    
function getPodcastVideo()
{
alert('top');
document.getElementById("videoContent").innerHTML="";

showBusy("videoContent");
var m="<a href='media/SelfRegistration/SelfRegistration.flv' style='display:block;width:644px;height:368px' id='player'> </a>";
m+="<script type='text/javascript'>flowplayer('player', 'flowplayer-3.0.7.swf');</script>"; 
//m+="<script type='text/javascript'>alert('saeed');</script>"; 
//alert(m);
document.getElementById("videoContent").innerHTML=m;
alert('bottom');

}

function showVideo()
{
//$("#video").css({"display" : 'inline'});
var v=document.getElementById("page");
//v.style.display = 'inline';
v.className='visible';

var d=document.getElementById("videoContent");
d.style.display = 'none';
}

 
 
function popup(url) 
{
 var width  = 950;
 var height = 500;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 params += ', top='+top+', left='+left;
 params += ', directories=no';
 params += ', location=no';
 params += ', menubar=no';
 params += ', resizable=no';
 params += ', scrollbars=no';
 params += ', status=no';
 params += ', toolbar=no';
 newwin=window.open(url,'windowname5', params);
 if (window.focus) {newwin.focus()}
 return false;
}

 
   
