$(function() {

   $("#tweet").tweet({
   	join_text: "auto",
		 username: "worldperfectdk",
		 avatar_size: 0,
		 count: 1,
		 intro_text: "",
		 auto_join_text_default: " ", 
		 auto_join_text_ed: "",
		 auto_join_text_ing: "",
		 auto_join_text_reply: "",
		 auto_join_text_url: "",
		 loading_text: "Loader fra twitter.com..."
   });
   
  if ( $.browser.msie ) {
 	// NOGET TIL MSIE
 	} else {
 	
	// GENERELLE HOVER //
	
   $(".lighten").hover(
    function () {
   $(this).stop().animate({ opacity: '.7'},300);
   }, 
   function () {
 	$(this).stop().animate({ opacity: '1'},700);
    });
   // FB
   $(".fbHead").hover(
    function () {
   $(this).stop().animate({ backgroundColor: '#3B5998'},300);
   }, 
   function () {
 	$(this).stop().animate({ backgroundColor: '#666'},700);
    });
   // CASE
    $("#lcase a").hover(
    function () {
   $(this).stop().animate({ backgroundColor: '#3798D4'},300);
   }, 
   function () {
 	$(this).stop().animate({ backgroundColor: '#333'},700);
    });
   // INSPIRATION
    $("#linsp a").hover(
    function () {
   $(this).stop().animate({ backgroundColor: '#1E588B'},300);
   }, 
   function () {
 	$(this).stop().animate({ backgroundColor: '#333'},700);
    });
   // OMTALE 
    $("#lomtale a").hover(
    function () {
   $(this).stop().animate({ backgroundColor: '#2576BC'},300);
   }, 
   function () {
 	$(this).stop().animate({ backgroundColor: '#333'},700);
    });
    // KOMPETENCE LINKS 
    $(".motherload .linkHolder a ").hover(
    function () {
   $(this).stop().animate({ backgroundColor: '#44BDED'},300);
   }, 
   function () {
 	$(this).stop().animate({ backgroundColor: '#333'},700);
    });
   }
   // DEN STORE PLAN HOVER //
   
   $(".visionary").live({
   	mouseenter:function()
    {$(this).stop().animate({ backgroundColor: '#333'},150 );},
    mouseleave:function()
    {$(this).animate({ backgroundColor: '#44BDED'},150);}
   });
   
   /* AARHUS VISIONER ARRAYLORT */ 
   var arr = [    	
				"Plastikposefri Aarhus												 ",
				"Reklamer Ja tak-skilte, i stedet for Reklamer Nej tak-skilte		 ",
				"Flere vertikale gr&oslash;nne haver										 ",
				"F&aelig;rre biler i byen	  												 ",
				"Bedre og billigere kollektiv trafik								 ",
				"Bedre cykel-infrastruktur											 ",
				"Flere el-biler og -busser. Og hey, hvor er egentlig el-lastbilerne? ",
				"Flere &oslash;kologiske og lokale madvarer								 ",
				"Mindre emballage til frugter i supermarkeder						 ",
				"Mere mad fra supermarkederne til hjeml&oslash;se i stedet for containere.	 ",
				"Vedvarende energi til Aarhus som by								 ",
    ]
	jQuery.each(arr, function(index, value) {
	$("#wpVision_list").append("<div class='griddo visionary'><div class='griddoInner'><a target='_blank' href='http://twitter.com/home?status="+ '%23aarhusvision: ' + value +"'>" + value + '</a></div><div>');
	});		 	
	$(".formresp").fadeOut(0).css({ backgroundColor : "#74C9E5"});
	
	

});
    
    
