﻿window.onload = function() {
	var tg = 0;
	var myHeight2 = new fx.Height('more', {duration: 400, transition: fx.sineIn});
	hideForIE();  
	myHeight2.hide();
			$('show').onclick = function() {
  			myHeight2.toggle();
  			if (tg == 0) {
					document.getElementById('show').innerHTML="less -";
				 	tg = 1;
			} else {
				document.getElementById('show').innerHTML="more +";
				tg = 0;
		};	
	};
	

};


// function hides for IE older than 7.0
function hideForIE() {
  var browserName= navigator.appName; 
   //if (browserName=="Microsoft Internet Explorer")
   if (!window.XMLHttpRequest)
   {
    document.getElementById('show').innerHTML=" ";
  };
};