jQuery(function(){
				
	$("#call, .snav a, .box1 h1").textShadow();
	
	//snav
	$(".snav span").vAlign();
	
	//Highlight navigation
	$("#nav_cnr li a").eq(cpg-1).addClass("active");
	
	//create arw in .tooltip
	$(".tooltip").append('<div class="arw"></div)');
	
	//tbl5 alt highlight
	$(".tbl5 .hd").each(function(){		
		$(this).nextUntil(".hd").filter(":even").addClass("alt");		
    });
	
	// fixes png's in IE6	  
	fixpng();
});

jQuery.fn.vAlign = function(){
	
	return this.each(function(){
		$elm = $(this);
		var height = $elm.height();
		var parentHeight = $elm.parent().height();
		var adj = (parentHeight - height)/2;
		$elm.css("padding-top", adj+"px");
   });
	
};

function fixpng(){
	if($.browser.msie && $.browser.version == "6.0"){
		DD_belatedPNG.fix('div, img, .btn1 a, .btn2 a, .btn2 input');
	};
};


//DD_roundies.addRule('#doc .container', '10px 5px');
