// JavaScript Document

var test_canvas = document.createElement("canvas");
var canvascheck = (test_canvas.getContext)? true : false;
if (canvascheck) Cufon.set('engine','canvas');
Cufon.replace('.half h2, .half2 h2, #FullWidthPink h1',{ textShadow: '-1px 1px #000' });

 $(function() {

   $("#site-info li > div").addClass("firstdiv");
   $("#nav li > a> div").addClass("navbg");

   // $("#lang-rollover li:nth-child(1)").css('background','url(/images/langrollover_bg_top.png) no-repeat').children().css('height','21px');
   // $("#lang-rollover li:last-child").css('background','url(/images/langrollover_bg_btm.png) no-repeat left bottom');

   $('table.tbl_content td:first-child').css('background','url(/images/tbl_td_bg.gif) repeat-y');
   $('table.tbl_content td:last-child').css('background','url(/images/tbl_td_bg.gif) repeat-y top right');
   $('table.tbl_content tr:nth-child(2n) td').css('background-color','#d2d3ed');

   /* variable curved table */
   $('table.variable-table-outer tr.outer-top-row td:first-child').css('text-align','left');
   $('table.variable-table-outer tr.outer-top-row td:last-child').css('text-align','right');

   $('table.variable-table-outer tr:last-child td:first-child').css('text-align','left');
   $('table.variable-table-outer tr:last-child td:last-child').css('text-align','right');
   /**/
 });

