$(document).ready(function(){var epc_path=$("script[src$='epc_html.js']").attr('src');epc_path=epc_path.replace('/epc_html.js','');var epc_lightbox='\
\
';var epc_exit_trig='';function show_epc(){$('#epc_lightbox').fadeIn('fast');epc_disable=true;}
function hide_epc(){$('#epc_lightbox').fadeOut('slow');}
$('body').prepend(epc_lightbox);$('body').prepend(epc_exit_trig);$('#epc_lightbox img').mouseover(function(){$('#epc_lightbox img').css('cursor','pointer');});$('#epc_exit_btn').mouseover(function(){$('#epc_exit_btn').css('cursor','pointer');});$('#epc_continue').click(function(){eval(epc_continue);hide_epc();});$('#epcc_continue').click(function(){hide_epc();});$('#epc_llightbox').click(function(){hide_epc();});$('#epc_exit_btn').click(function(){hide_epc();});var rel_mouse_y=0;var y_points=[6,3,9,2,8];var y_laps=[0,0];var t_laps=0;function sort_num(a,b){return a-b;}
var trig_check=false;$(document).mousemove(function(e){if(!trig_check&&!epc_disable){var trig_y=$('#epc_trig').offset().top;rel_mouse_y=e.pageY-trig_y;y_points.unshift(rel_mouse_y);y_points.pop();y_laps.unshift(new Date().getTime());y_laps.pop();t_laps=y_laps[0]-y_laps[1];if(rel_mouse_y<20&&t_laps<500){y_points_str=y_points.toString();y_points_sort=y_points.sort(sort_num);if(y_points_str==y_points_sort){trig_check=true;show_epc();}}}});});