$(document).ready(function() {
	$('.thefnav td:nth-child(1)').addClass('first');
	$('.thefnav td:nth-child(3)').addClass('second');
	$('.thefnav td:nth-child(5)').addClass('third');
	$('.thefnav td:nth-child(7)').addClass('fourth');
	$('.thefnav td:nth-child(9)').addClass('fifth');
	$('.thefnav td[width=5]').hide();
	$('.thefnav td').attr({ width: "auto"});
    $('#login input[type=image]').css("border", "0");
    $('img[src=images/t5.gif]').hide();
	$("input[value=Send Message]").css({ float: "right", marginRight: "124px" });
	//Box
	
	//$('.this_box').prepend("<div class='box_top'><span class='box_tl'><!-- --></span><span class='box_tr'><!-- --></span></div><div class='box_middle'><!-- --></div><div class='box_bottom'><span class='box_bl'><!-- --></span><span class='box_br'><!-- --></span></div>");
	/*var the_box = $('.this_box');
    if(the_box[0]){
    	for (var i=0; i<the_box.length; i++)
    	{
    		var box_height = the_box[i].offsetHeight;
    		var box_width = the_box[i].offsetWidth;
    	}
    	var box_mid = $('.this_box .box_middle');
    	for (var a=0; a<box_mid.length; a++)
    	{
    		box_mid[a].style.height = box_height - 100 + 'px';
    		box_mid[a].style.width = box_width + 160 + 'px';
    		//alert(box_mid[a].offsetHeight)
    	}
    	var box_top = $('.this_box .box_top');
    	for (var b=0; b<box_top.length; b++)
    	{
    		box_top[b].style.width = box_width  + 'px';
    		//alert(box_top[b].offsetHeight)
    	}
    	var box_bottom = $('.this_box .box_bottom');
    	for (var c=0; c<box_bottom.length; c++)
    	{
    		box_bottom[c].style.width = box_width  + 'px';
    		//alert(box_top[a].offsetHeight)
    	}
	}*/
    var css_browser_selector = function() {var ua=navigator.userAgent.toLowerCase(),is=function(t){return ua.indexOf(t) != -1;},h=document.getElementsByTagName('html')[0],b=(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?'gecko ff2':is('firefox/3')?'gecko ff3':is('gecko/')?'gecko':is('opera/9')?'opera opera9':/opera\s(\d)/.test(ua)?'opera opera'+RegExp.$1:is('konqueror')?'konqueror':is('chrome')?'chrome webkit safari':is('applewebkit/')?'webkit safari':is('mozilla/')?'gecko':'',os=(is('x11')||is('linux'))?' linux':is('mac')?' mac':is('win')?' win':'';var c=b+os+' js'; h.className += h.className?' '+c:c;}();
    $(".thefnav td.first a").attr("href","http://columbuscareers.com/");
    $("#footer_nav .ls a:first").attr("href","http://columbuscareers.com/");
});
