/* 

	Site.js 2011/07/01
______________________________________________________________________________ */

/*  */
var g_a_c = 'UA-24295618-1'; // var g_a_c = 'UA-XXXXXXX-XX';
jQuery(function(){ try{ if (jQuery.cookie('fsize')) { setFont(jQuery.cookie('fsize'),'#main','.size_change a'); }else{ setFont('font_medium','#main','.size_change a'); } } catch(e){}; jQuery('.size_change a').click(function(){ setFont(jQuery(this).attr('class'),'#main','.size_change a');return false; }); try{ jQuery(function(){ jQuery('a[rel="zoom"]').colorbox(); }); } catch(e){}; });
function font(size){jQuery('#main').css('font-size',size);try{jQuery.cookie('fsize',size,{expires:30,path:'/'});}catch(e){};};
function setFont(size,target,functions){var percent=(size=='font_large')?'120%':(size=='font_small')?'90%':'100%';jQuery(target).css('font-size',percent);jQuery(functions).css({'color':'#0060a9','background-color':'#ffffff'});jQuery('.'+size).css({'color':'#ffffff','background-color':'#0060a9'});try{jQuery.cookie('fsize',size,{expires:30,path:'/'});}catch(e){};};
if (g_a_c) { var _gaq = _gaq || []; _gaq.push(['_setAccount', g_a_c]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript';ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' :'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga, s); })(); };




