function positions()
{
	return;
}

function positionsIE()
{
	return;
}

$(document).ready(function(){ 

	//preloader
		preloadImage("/img/ajax-loader2.gif");
	
	//js-links
		$(".js-link").removeAttr("href");
		$(".js-link").addClass("click dotted");
			
	//positions
		browser = "";
		if (jQuery.browser.version == "6.0" && jQuery.browser.msie) {
			//$(document).ready(positionsIE);
			//$(window).resize(positionsIE);
			browser = "ie6";
		}
		/*
		else
		{
			$(document).ready(positions);
			$(window).resize(positions);
		}
		*/
			
	//table=list
		$('table.right-list').livequery(function() {
			$("table.right-list tr td:last-child").addClass('right-col');
		});
					
	//text margins
		$("table").next("h2").addClass('in-text');
		$("p").next("h2").addClass('in-text');
		$("p").next("h3").addClass('in-text');
		$("p.lead").next("h3.pdf-link").addClass('pdf-link-up');
		
	//fonts
		$('h1').each(function(){
			if ( !$(this).hasClass('type') ) {
				$(this).addClass('type t90');
			}
		});
		Cufon.replace("h1, h2, h3, .h1, .h2, .h3, .type");
				
	//menu colors
		$("h3 a, .type a").livequery(function() {
			$(this).hover(
				function () {
					if (!($(this).parents('li').hasClass('current') || $(this).parents('li').hasClass('active')))				
						Cufon.replace($(this), {color:'#fff'});
				},
				function () {
				 	if ($(this).parents('li').hasClass('current') || $(this).parents('li').hasClass('active'))
				 		Cufon.replace($(this), {color:'#333'});
					//else if ($(this).parents('li').hasClass('active'))
					//	Cufon.replace($(this), {color:'#333'});
					else if ($(this).hasClass('nav-link'))
						Cufon.replace($(this), {color:'#fff'});										
					else	
						Cufon.replace($(this), {color:'#0086d4'});		
				}
			);		
		});	
		
	//forms	
		/*
		$('[required=1]').each(function(){ 
			$(this).attr('accept','true'); 			 
			//$(this).removeAttr('title'); 
		});
		*/
			
});


