  	
    function changeLanguage(select)
    {
      var wert = select.options[select.options.selectedIndex].value;
      var url = 'index.php?language=' + wert;
      location.href= url;
    }

function getsupport ( selectedtype )

{
  document.supportform.supporttype.value = selectedtype ;
  document.supportform.submit() ;
}

    function confirmDelete()
    {
      return confirm("Do you really want to delete this entry?");
    }

 
    function check_it(add_product_form)
    {
       if(add_product_form.product_title.value == '')
         {
           alert('Enter Product Title.');
           return false;
         }
    }
       
    
    function ImgError(source){
    source.src = "images/noimage.gif";
    source.onerror = "";
    return true;
}

$(document).ready(function () {


/* :last fix for IE6 to remove content block border-bottom on the last content elements   */
   var contentLeftID = 1;
   $(".left_column_content").each(function() 
   {$(this).attr("id","content_left_"+contentLeftID++);   });
   $('#content_left_1').addClass('first_item');
   


   var contentRightID = 1;
   $(".right_column_content").each(function() 
   {$(this).attr("id","content_right_"+contentRightID++);   });
   $('#content_right_1').addClass('first_item');

   
   
   
   
   //Gallery 
    


 $('.what_is_contemporary_visual_art').hide();


    $("#what_is_contemporary_visual_art").hover(function () 
    {
      $(".what_is_contemporary_visual_art").show("slow"); // This sets the opacity to 100% on hover
    },
    function () {
        $(".what_is_contemporary_visual_art").hide("slow"); // This sets the opacity back to 60% on mouseout
    });

   
   
   
   /* Remove default text from form fields on focus */

    $(".defaultText").focus(function(srcc)
    {
        if ($(this).val() == $(this)[0].title)
        {
            $(this).removeClass("defaultTextActive");
            $(this).val("");
        }
    });
    $(".defaultText").blur(function()
    {
        if ($(this).val() == "")
        {
            $(this).addClass("defaultTextActive");
            $(this).val($(this)[0].title);
        }
    });
    
    $(".defaultText").blur();        
   
   
   jQuery('img').load(function() {
    	jQuery(this).animate({opacity: 1.0},100);});
   
});   /* end of $(document).ready */


function blockError() {
	return true;
}

window.onerror = blockError;