// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults



function toggle_widget()
{
 if ($('widget-box-id').style.display!="none")
 {
   $('black_box_id').className ='topblack'
 }
 else
 {
  $('black_box_id').className ='topblack1'
 }



}


function showTip(id, inputId) 
{
   //alert(id+" and "+inputId);
    var panel = document.getElementById(id);
    //alert("panel : "+panel);
    var inputField = document.getElementById(inputId);
    //alert("inputField : "+inputField);
    //alert(panel.style.display);
    if (panel.style.display != 'block') {
        panel.style.display = 'block';
    }
    else {
        panel.style.display = 'none';
    }
}

 function changeme()
            {

                document.subscriptions.email.value="";
            }

            function submitform()
            {
                if((document.subscriptions.email.value=='Subscribe via Email') || (document.subscriptions.email.value ==''))
                {
                    alert('Please enter your email id for subscription.');
                    document.subscriptions.email.select();
                }
                else
                {
                    window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feedId=2136351;', 'popupwindow', 'scrollbars=yes,width=550,height=520');
                    document.subscriptions.submit();
                }
            }

