/*
 *	Bind Minimize Button/Toggle
 */
 // $(document).ready(function(){
//	  $("#togglebtn").click(function () {
//	      $("#widget_news").slideToggle("slow");
//	      $("#togglebtn_img").attr('src','images/btn-max.png');
//	    });
//  }); 


          $(document).ready(function(){
               $('#togglebtn').toggle(
                    function(){ // you can add as much here as you'd like
                         $('#widget_news').slideToggle('fast');
                         $('#togglebtn').attr("src","images/btn-max.png");
                    }, function() { // same here
                         $('#widget_news').slideToggle('fast');
                         $('#togglebtn').attr("src","images/btn-min.png");
                    });

          });

/*
 *	Window Resizer
 */
	function setDivHeight() {
		if (parseInt(navigator.appVersion)>3) {
		if (window.innerHeight) { h = window.innerHeight; }
		else if (document.documentElement && document.documentElement.clientHeight) { h = document.documentElement.clientHeight; } 
		else if (document.body) { h = document.body.clientHeight; } document.getElementById("myframe").height= h + "px"; }
	}
