
		jQuery(document).ready(function($) {		
										
		//	remove bg image - #userLinks
		$('.footerLinks ul li:last, ul#links li:last, ul#languages li:last').css('border-right','none');
		
		//	PNG fix
		//DD_belatedPNG.fix('.content, .anythingSlider #bg, .tabs li span.new, .box a span, #infomatic .tab_content .article');
		
		//	anythingSlider slider
		$('.anythingSlider ul li')
					{
						$('.anythingSlider').anythingSlider({
							easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
							autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
							delay: 7000,                    // How long between slide transitions in AutoPlay mode
							startStopped: false,            // If autoPlay is on, this can force it to start stopped
							animationTime: 1500,             // How long the slide transition takes
							hashTags: true,                 // Should links change the hashtag in the URL?
							buildNavigation: false,         // If true, builds and list of anchor links to link to each slide
							pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
							startText: "Play",             	// Start text
							stopText: "Pause",              // Stop text
							navigationFormatter: null		// Details at the top of the file on this use (advanced use)
						});
					}

		// vertical tabs
		$(".tabs").tabs("div.tab_content", {event:'mouseover'});
		
        /*
		// Date picker
		$('.pickDateDolazak').DatePicker({	
			format:'d.m.Y',
			date: '2008-07-31',
			current: $('.pickDateDolazak').val(),
			starts: 1,
			calendars: 1,
			mode: 'single',
			position: 'bottom',
			prev: '<',
			next: '>',
			//onBeforeShow: function(){$('.pickDate').DatePickerSetDate($('.pickDateDolazak').val(), true);},
			onChange: function(formated, dates){$('.pickDateDolazak').val(formated);}
		});
		$('.pickDateOdlazak').DatePicker({	
			format:'d.m.Y',
			date: '2008-07-31',
			current: $('.pickDateOdlazak').val(),
			starts: 1,
			calendars: 1,
			mode: 'single',
			position: 'bottom',
			prev: '<',
			next: '>',
			//onBeforeShow: function(){$('.pickDate').DatePickerSetDate($('.pickDate').val(), true);},
			onChange: function(formated, dates){$('.pickDateOdlazak').val(formated);}
		});
        */
			
			// ----- Browser hacks and fixes -------------------------------------------------------//
			if(jQuery.browser.msie) {
				if(jQuery.browser.version < 7.0 ) {
					$("#IiRContent .rowElem").css("height", "25px");
					$("#IiRContent").css("padding-top", "10px");
//  	 			$(".currencyBox select").css("margin-bottom", "2px");
//					$(".advancedSearch ul input[type=checkbox]").css("margin-left", "-3px");
//					$(".advancedSearch ul input[type=checkbox]").css("margin-top", "-4px");
//					$(".advancedSearch ul input[type=text]").css("margin-top", "-1px");
//					$(".buttons input").hover(function() {$(this).addClass("pretty-hover");}, function() {$(this).removeClass("pretty-hover");}); // ----- Input Button Hover Fix for IE6 --------//
				}
			}
			if(jQuery.browser.opera) {
					$("#IiRContent").css("padding-top", "10px");
			}

			if ( $.browser.webkit ) {
			  	$("#IiRContent .rowElem").css("height", "25px");
				$("#IiRContent").css("padding-top", "10px");
			}
});		

// ----- DW -------------------------------------------------------//	
				
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}


