  google.load("jquery", "1.3.2");
 // google.load("jqueryui", "1.7.2");
 // google.load("prototype", "1.6.1.0");
 // google.load("scriptaculous", "1.8.3");
  google.load("mootools", "1.2.4");
 // google.load("dojo", "1.4.0");
 // google.load("swfobject", "2.2");
 // google.load("yui", "2.8.0r4");
 // google.load("ext-core", "3.0.0");

window.onresize = function() { 
 $("div").one('click', function () {
      $(this).height(30)
             .css({cursor:"auto", backgroundColor:"green"});
    });
}



function SlideUp(){
$("#content").fadeOut(1);
}

function SlideDown(){
$("#content").fadeIn(1000);
}



function ajaxFunction(location)
{
SlideUp();
	var xmlhttp;
if (window.XMLHttpRequest)
  {
  // code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {
  // code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
{
if(xmlhttp.readyState<=3)
{
	var resp = "loading...";
	document.getElementById("content").innerHTML=resp;
	}
if(xmlhttp.readyState==4)
  {
  var resp = xmlhttp.responseText;
  document.getElementById("content").innerHTML=resp;
  }
}
xmlhttp.open("GET", location,true);
xmlhttp.send(null);
SlideDown();
}

function bounce(){
$('#content').set('tween',{
	duration: 1000,
	transition: Fx.Transitions.Bounce.easeOut,
	link: 'chain'
});
$('#content').tween('width', 0).tween('width', 100);
}


