function mainmenu(){
	$(" #nav a").removeAttr("title");
	if(!$.browser.msie){
		$(" #nav ul ").css({opacity:"0.9"});
	}// IE  - 2nd level Fix

	$(" #nav ul ").css({display: "none"}); // Opera Fix
	$(" #nav li").hover(function(){
			$(this).find('ul:first:hidden').css({visibility: "visible",display: "none"}).show(400);
			},function(){
			$(this).find('ul:first').css({visibility: "hidden"});
			});
}

function iefix() {
	jQuery.each(jQuery.browser, function(i) {
	  if($.browser.msie){
		 $('#menuright').css("margin-top","-175");
	  }else{
		 $("#div ul li").css("display","inline-table");
	  }
	});
}

function xslide() {
	$('#xslideshow').crossSlide({
  fade: 3
	}, [
  {
    src:  'images/1.jpg',
    from: '100% 80% 1x',
    to:   '100% 0% 1.7x',
    time: 3
  }, {
    src:  'images/2.jpg',
    from: 'top left',
    to:   'bottom right 1.5x',
    time: 3
  }, {
    src:  'images/3.jpg',
    from: '100% 80% 1.5x',
    to:   '80% 0% 1.1x',
    time: 3
  }, {
    src:  'images/4.jpg',
    from: '100% 50%',
    to:   '30% 50% 1.5x',
    time: 3
  }, {
    src:  'images/5.jpg',
    from: '100% 50%',
    to:   '30% 50% 1.5x',
    time: 3
  }
]);
	
	
}

 $(document).ready(function(){					
mainmenu();
iefix();
});
