$(document).ready(function() {
	
	if(($.browser.msie)||($.browser.opera)){
		$('div.poll').append('<div class="coin_tl"><img src="/img/0.gif" alt="" /></div><div class="coin_tr"><img src="/img/0.gif" alt="" /></div><div class="coin_bl"><img src="/img/0.gif" alt="" /></div><div class="coin_br"><img src="/img/0.gif" alt="" /></div>');
		$('div.nd').append('<div class="coin_bl"><img src="/img/0.gif" alt="" /></div><div class="coin_br"><img src="/img/0.gif" alt="" /></div>');
	};

	$(".os").jCarouselLite({
		btnNext: ".slide .sbr",
		btnPrev: ".slide .sbl",
		scroll:3
	});

	$('#list1a').accordion({header: '.head'});
	
	$('div.ndtab a').click(function () {
		$(this).parent().find('a').removeClass("active");
		$(this).addClass("active");
		var index = $(this).parent().find('a').index(this);
		$(this).parent().next()
			.find('div.infopanel').hide().eq(index).show();
		return false;
	});
	
	// <a href=#submit> to use submit forms
	$('form').each(function() {
		var self = this;
		$('a[href=#submit]', this).click(function() {
			return $(self).submit();
		});
	});
	/*
	$("#subheader a.fll").hover(
		function() {
			$(this).css("position", 'relative')
				.animate({width: "200", height: "110"}, {duration: "fast", queue: false});
		},
		function() {
			$(this).animate({width: "182", height: "100"}, {duration: "fast", queue: false}, function() {
				$(this).css("position", 'relative');
			});
		}
	);
	*/
});