$(document).ready(function(){
//	if(($.browser.name == 'msie') && ($.browser.versionNumber < 7)){ return; }

});



$(document).ready(function(){

	$('#branding .flash_slideshow').flash({
    src: template_path+'/slideshow.swf',
    width: 425,
    height: 200
	});

//	$('#sidebar li:first').addClass('first');



});



function set_cookie( name, value, exp_y, exp_m, exp_d, path, domain, secure )
{
  var cookie_string = name + "=" + escape ( value );

  if ( exp_y )
  {
    var expires = new Date ( exp_y, exp_m, exp_d );
		var myDate = "; expires=" + expires.toGMTString();
    cookie_string += myDate;
  }

  if ( path )
        cookie_string += "; path=" + escape ( path );

  if ( domain )
        cookie_string += "; domain=" + escape ( domain );
  
  if ( secure )
        cookie_string += "; secure";
  
  document.cookie = cookie_string;
}


function get_cookie ( cookie_name )
{
  var results = document.cookie.match ( '(^|;) ?' + cookie_name + '=([^;]*)(;|$)' );

  if ( results )
    return ( unescape ( results[2] ) );
  else
    return null;
}

