<!--//

//AJAX FUNCTIONS FOR SLIDERS //

$(document).ready(function()    
{
  //hide the all of the element with class msg_body
  //$(".msg_body").hide();
  //toggle the component with class msg_body
  $(".msg_head").click(function()
  {
    //$(".msg_body").hide();
    $(this).next(".msg_body").slideToggle(600);
  });
});

$(document).ready(function()
{
  //hide the all of the element with class msg_body
  $(".msg_body").hide();
  //toggle the component with class msg_body
  $(".msg_img").click(function()
  {
    $(".msg_body").hide();
    $(this).next(".msg_body").slideToggle(600);
  });
});

$(document).ready(function()    
{
  //hide the all of the element with class msg_body
  $(".msg_body2").hide();
  //toggle the component with class msg_body
  $(".msg_img2").click(function()
  {
    $(".msg_body2").hide();
    $(this).next(".msg_body2").slideToggle(600);
  });
});

function popBio(bioName)
{   
    var winURL = "viewBio.aspx?init=" + bioName;
    var winName = "ViewBio";
    var winht = "650px";
    var winwd = "520px";
    var winFeat = "height=" + winht + ",width=" + winwd + ",scrollbars=1,resizable=1,toolbars=0,status=1,menubar=0,location=0, left=10, top=10";
    var newWin = window.open(winURL,winName,winFeat);
    return true;
}

function paypalDonate()
{   
    var winURL = "http://www.paypal.com/donate/";
    var winName = "PaypalDontate";
    var winht = (window.screen.availHeight) - 140;
    var winwd = (window.screen.availWidth) - 480;
    var winFeat = "height=" + winht + ",width=" + winwd + ",scrollbars=1,resizable=1,toolbars=0,status=1,menubar=0,location=0, left=10, top=10";
    var newWin = window.open(winURL,winName,winFeat);
    return true;
}
function gotoURL(winURL)
{   
    var winName = "GotoURL";
    var winht = (window.screen.availHeight) - 140;
    var winwd = (window.screen.availWidth) - 260;
    var winFeat = "height=" + winht + ",width=" + winwd + ",scrollbars=1,resizable=1,toolbars=0,status=1,menubar=0,location=0, left=10, top=10";
    var newWin = window.open(winURL,winName,winFeat);
    return true;
}

function MM_swapImage()
{ //v3.0  
var i,j=0,x,a=MM_swapImage.arguments; 
document.MM_sr=new Array; 
for(i=0;i<(a.length-2);i+=3)   
if ((x=MM_findObj(a[i]))!=null)
{document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}
//-->