if ( typeof( phplive_md5 ) == "undefined" ) { !function(a){"use strict";function b(a,b){var c=(65535&a)+(65535&b),d=(a>>16)+(b>>16)+(c>>16);return d<<16|65535&c}function c(a,b){return a<>>32-b}function d(a,d,e,f,g,h){return b(c(b(b(d,a),b(f,h)),g),e)}function e(a,b,c,e,f,g,h){return d(b&c|~b&e,a,b,f,g,h)}function f(a,b,c,e,f,g,h){return d(b&e|c&~e,a,b,f,g,h)}function g(a,b,c,e,f,g,h){return d(b^c^e,a,b,f,g,h)}function h(a,b,c,e,f,g,h){return d(c^(b|~e),a,b,f,g,h)}function i(a,c){a[c>>5]|=128<>>9<<4)+14]=c;var d,i,j,k,l,m=1732584193,n=-271733879,o=-1732584194,p=271733878;for(d=0;d>5]>>>b%32&255);return c}function k(a){var b,c=[];for(c[(a.length>>2)-1]=void 0,b=0;b>5]|=(255&a.charCodeAt(b/8))<16&&(e=i(e,8*a.length)),c=0;16>c;c+=1)f[c]=909522486^e[c],g[c]=1549556828^e[c];return d=i(f.concat(k(b)),512+8*b.length),j(i(g.concat(d),640))}function n(a){var b,c,d="0123456789abcdef",e="";for(c=0;c>>4&15)+d.charAt(15&b);return e}function o(a){return unescape(encodeURIComponent(a))}function p(a){return l(o(a))}function q(a){return n(p(a))}function r(a,b){return m(o(a),o(b))}function s(a,b){return n(r(a,b))}function t(a,b,c){return b?c?r(b,a):s(b,a):c?p(a):q(a)}"function"==typeof define&&define.amd?define(function( ){return t}):a.phplive_md5=t}(this); }
if ( typeof( phplive_init_jquery ) == "undefined" )
{
var phplive_jquery ;
var phplive_stat_refer = encodeURIComponent( document.referrer.replace("http", "hphp") ) ;
var phplive_stat_onpage = encodeURIComponent( location.toString( ).replace("http", "hphp") ) ;
var phplive_stat_title = encodeURIComponent( document.title ) ;
var phplive_stat_title_temp = phplive_stat_title.replace( / /g,'' ) ; if ( !phplive_stat_title_temp ) { phplive_stat_title = "- no title -" ; }
var phplive_win_width = screen.width ;
var phplive_win_height = screen.height ;
var phplive_resolution = escape( phplive_win_width + " x " + phplive_win_height ) ;
var phplive_query_extra = "&r="+phplive_stat_refer+"&title="+phplive_stat_title+"&resolution="+phplive_resolution ;
var proto = location.protocol ; // to avoid JS proto error, use page proto for areas needing to access the JS objects
var phplive_browser = navigator.appVersion ; var phplive_mime_types = "" ;
var phplive_display_width = screen.availWidth ; var phplive_display_height = screen.availHeight ; var phplive_display_color = screen.colorDepth ; var phplive_timezone = new Date().getTimezoneOffset() ;
if ( navigator.mimeTypes.length > 0 ) { for (var x=0; x < navigator.mimeTypes.length; x++) { phplive_mime_types += navigator.mimeTypes[x].description ; } }
var phplive_browser_token = phplive_md5( phplive_display_width+phplive_display_height+phplive_display_color+phplive_timezone+phplive_browser+phplive_mime_types ) ;
var phplive_session_support = ( typeof( Storage ) !== "undefined" ) ? 1 : 0 ;
if ( phplive_session_support ) { if ( typeof( sessionStorage.minmax ) == "undefined" ) { try { sessionStorage.minmax = 1 ; } catch (error) {} } }
var phplive_js_center = function(a){var b=phplive_jquery(window),c=b.scrollTop( );return this.each(function( ){var f=phplive_jquery(this),e=phplive_jquery.extend({against:"window",top:false,topPercentage:0.5},a),d=function( ){var h,g,i;if(e.against==="window"){h=b;}else{if(e.against==="parent"){h=f.parent( );c=0;}else{h=f.parents(against);c=0;}}g=((h.width( ))-(f.outerWidth( )))*0.5;i=((h.height( ))-(f.outerHeight( )))*e.topPercentage+c;if(e.top){i=e.top+c;}f.css({left:g,top:i});};d( );b.resize(d);});} ;
var phplive_jquery_loading = 0 ;
var phplive_quirks = 0 ;
var phplive_IE ;
//@cc_on phplive_IE = navigator.appVersion ;
var phplive_IE_cs = ( phplive_IE && !0 ) ? 0 : 0 ;
var mode = document.compatMode,m ;
if ( ( mode == 'BackCompat' ) && phplive_IE ) { phplive_quirks = 1 ; }
window.phplive_init_jquery = function( )
{
if ( typeof( phplive_jquery ) == "undefined" )
{
if ( typeof( window.jQuery ) == "undefined" )
{
if ( !phplive_jquery_loading )
{
phplive_jquery_loading = 1 ;
var script_jquery = document.createElement('script') ;
script_jquery.type = "text/javascript" ; script_jquery.async = true ;
script_jquery.onload = script_jquery.onreadystatechange = function ( ) {
if ( ( typeof( this.readyState ) == "undefined" ) || ( this.readyState == "loaded" || this.readyState == "complete" ) )
{
phplive_jquery_loading = 0 ;
phplive_jquery = window.jQuery.noConflict( ) ;
phplive_jquery.fn.center = phplive_js_center ;
}
} ;
script_jquery.src = "https://phplive.hopone.net/js/framework.js?4.4.8" ;
var script_jquery_s = document.getElementsByTagName('script')[0] ;
script_jquery_s.parentNode.insertBefore(script_jquery, script_jquery_s) ;
}
}
else
{
phplive_jquery_loading = 0 ;
phplive_jquery = window.jQuery ;
phplive_jquery.fn.center = phplive_js_center ;
}
} else { phplive_jquery_loading = 0 ; }
}
window.phplive_unique = function( ) { var date = new Date( ) ; return date.getTime( ) ; }
phplive_init_jquery( ) ;
}
if ( typeof( phplive_widget_embed ) == "undefined" )
{
var phplive_interval_jquery_check ;
// one default invite per page to avoid multiple invites
var phplive_widget_embed = 0 ;
var this_position = ( phplive_quirks ) ? "absolute" : "fixed" ;
var phplive_embed_div_js_loaded = 0 ;
var phplive_embed_div_loaded = 0 ;
var phplive_widget_div_js_loaded = 0 ;
var phplive_widget_div_loaded = 0 ;
// seems the quirks fixed so keep it same for now (was 270x180)
var phplive_widget_width = ( phplive_quirks ) ? 250 : 250 ;
var phplive_widget_height = ( phplive_quirks ) ? 160 : 160 ;
var phplive_widget_image = 'https://phplive.superb.net/themes/initiate/initiate.gif?1449000572' ;
var phplive_widget_image_op = 'https://phplive.hopone.net/themes/initiate/initiate_op_cover.png' ;
var phplive_widget = "" ;
window.phplive_display_invite_widget = function( thecoverimg, theurl )
{
if ( !phplive_widget_div_js_loaded )
{
phplive_widget_div_js_loaded = 1 ;
phplive_jquery( "body" ).append( phplive_widget ) ;
}
if ( !phplive_widget_div_loaded )
{
phplive_widget_div_loaded = 1 ;
phplive_create_iframe( 'phplive_widget', 'iframe_widget', theurl ) ;
phplive_jquery( '#phplive_widget_image_img').attr( 'src', thecoverimg ) ;
if ( 1 > 4 )
{
phplive_jquery( '#phplive_widget_image' ).center( ).show( ) ;
phplive_jquery( '#phplive_widget' ).center( ).fadeIn('fast') ;
}
else
{
if ( thecoverimg.indexOf( "op_cover" ) != -1 )
{
phplive_jquery( '#phplive_widget' ).fadeIn( "fast", function( ) {
phplive_jquery( '#phplive_widget_image' ).animate({ left: '50px' }, 200, function( ) {
phplive_jquery( '#phplive_widget_image' ).show( ) ;
}) ;
}) ;
}
else
{
phplive_jquery( '#phplive_widget_image' ).show( ).animate({ left: '50px' }, 2000, function( ) {
phplive_jquery( '#phplive_widget' ).fadeIn('fast') ;
}) ;
}
}
}
}
window.phplive_widget_init = function ( )
{
if ( typeof( phplive_interval_jquery_check ) != "undefined" ) { clearInterval( phplive_interval_jquery_check ) ; }
phplive_interval_jquery_check = setInterval(function( ){
if ( typeof( phplive_jquery ) != "undefined" )
{
clearInterval( phplive_interval_jquery_check ) ;
phplive_display_invite_widget( phplive_widget_image_op, "https://phplive.hopone.net/widget.php?token="+phplive_browser_token+"&height="+phplive_widget_height +"&"+phplive_unique( ) ) ;
}
}, 200) ;
}
window.phplive_widget_launch = function( )
{
phplive_widget_div_loaded = 0 ;
phplive_widget_close( ) ;
phplive_launch_chat_1(0, 1, "", 0, 0, 1) ;
}
window.phplive_widget_close = function( )
{
phplive_jquery( '#phplive_widget' ).fadeOut('fast') ;
phplive_jquery( '#phplive_widget_image' ).fadeOut('fast') ;
phplive_create_iframe( 'phplive_widget', 'iframe_widget', 'about:blank' ) ;
}
window.phplive_widget_decline = function( )
{
if ( phplive_widget_div_loaded )
{
var phplive_pullimg_widget = new Image ;
phplive_pullimg_widget.onload = function( ) {
if ( 1 > 4 ) { phplive_jquery( '#phplive_widget' ).fadeOut('fast') ; }
else { phplive_jquery( '#phplive_widget_image' ).animate({ left: -800 }, 2000) ; }
};
phplive_pullimg_widget.src = "https://phplive.hopone.net/ajax/chat_actions_disconnect.php?action=disconnect&token="+phplive_browser_token+"&isop=0&widget=1&"+phplive_unique( ) ;
phplive_widget_close( ) ;
phplive_widget_div_loaded = 0 ;
}
}
window.phplive_widget_embed_launch = function( theurl, theminmax, theauto )
{
if ( !phplive_embed_div_js_loaded )
{
phplive_embed_div_js_loaded = 1 ;
var phplive_widget_embed_div = " \
" ;
phplive_jquery( "body" ).append( phplive_widget_embed_div ) ;
}
if ( !phplive_embed_div_loaded )
{
phplive_embed_div_loaded = 1 ;
var load_counter = 0 ;
if ( phplive_session_support ) { try { sessionStorage.minmax = theminmax ; } catch (error) {} }
if ( theminmax ) { phplive_jquery('#phplive_widget_embed_iframe_loading').show( ) ; }
phplive_create_iframe( 'phplive_widget_embed_iframe_wrapper', 'iframe_widget_embed', theurl+"&embed=1&"+phplive_unique( ) ) ;
phplive_jquery( '#iframe_widget_embed' ).load(function ( ){
++load_counter ;
// some browsers triggers load() multiple times... only check on 1st instance
if ( load_counter == 1 )
{
if ( !theminmax )
{
phplive_jquery('#phplive_widget_embed_iframe_loading').hide( ) ;
phplive_jquery('#phplive_widget_embed_iframe').css({'bottom': 50000}).show( ) ;
setTimeout( function( ){ phplive_widget_embed_minimize( ) ; phplive_jquery('#phplive_widget_embed_iframe').css({'bottom': 5}) ; }, 1500 ) ;
}
else
{
phplive_jquery('#phplive_widget_embed_iframe').hide( ) ;
phplive_jquery('#phplive_widget_embed_iframe').css({'bottom': 5}) ;
phplive_jquery('#phplive_widget_embed_iframe').fadeIn('fast', function( ) {
phplive_jquery('#phplive_widget_embed_iframe_loading').hide( ) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow').fadeIn('fast') ;
}) ;
}
}
}) ;
}
else
{
phplive_widget_embed_window_reset( ) ;
if ( phplive_session_support ) { try { sessionStorage.minmax = 1 ; } catch (error) {} }
phplive_jquery('#phplive_widget_embed_iframe').fadeOut('fast', function( ) {
phplive_jquery('#phplive_widget_embed_iframe').fadeIn('fast', function ( ) { phplive_jquery( '#phplive_widget_embed_iframe_shadow' ).fadeIn('fast') ; } ) ;
}) ;
}
}
window.phplive_widget_embed_minimize = function( )
{
phplive_jquery('#phplive_widget_embed_iframe').css({'height': 40}) ;
phplive_jquery('#phplive_widget_embed_iframe').css({'width': 250}) ;
phplive_jquery('#phplive_embed_menu_minimize').hide( ) ;
phplive_jquery('#phplive_embed_menu_popout').hide( ) ;
phplive_jquery('#phplive_embed_menu_maximize').show( ) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow').hide( ) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow_minimzed').fadeIn("fast") ;
if ( phplive_session_support ) { try { sessionStorage.minmax = 0 ; } catch (error) {} }
}
window.phplive_widget_embed_maximize = function( )
{
phplive_widget_embed_window_reset( ) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow').fadeIn("fast") ;
phplive_jquery('#phplive_widget_embed_iframe_shadow_minimzed').hide( ) ;
if ( phplive_session_support ) { try { sessionStorage.minmax = 1 ; } catch (error) {} }
}
window.phplive_widget_embed_popout = function( )
{
phplive_launch_chat_1(1, 1, "", 0, 0, 0) ;
phplive_jquery('#phplive_widget_embed_iframe').css({'bottom': 50000}) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow').hide( ) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow_minimzed').hide( ) ;
phplive_widget_embed_window_reset( ) ;
phplive_create_iframe( 'phplive_widget_embed_iframe_wrapper', 'iframe_widget_embed', 'about:blank' ) ;
phplive_embed_div_loaded = 0 ;
}
window.phplive_widget_embed_close = function( )
{
phplive_jquery('#phplive_widget_embed_iframe').css({'bottom': 50000}) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow').hide( ) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow_minimzed').hide( ) ;
phplive_widget_embed_window_reset( ) ;
phplive_create_iframe( 'phplive_widget_embed_iframe_wrapper', 'iframe_widget_embed', 'about:blank' ) ;
phplive_embed_div_loaded = 0 ;
}
window.phplive_widget_embed_window_reset = function( )
{
phplive_jquery('#phplive_widget_embed_iframe').css({'height': 510}) ;
phplive_jquery('#phplive_widget_embed_iframe').css({'width': 450}) ;
phplive_jquery('#phplive_embed_menu_maximize').hide( ) ;
phplive_jquery('#phplive_embed_menu_popout').show( ) ;
phplive_jquery('#phplive_embed_menu_minimize').show( ) ;
phplive_jquery('#phplive_widget_embed_iframe_shadow_minimzed').hide( ) ;
}
window.phplive_create_iframe = function( thediv, thename, theurl )
{
var phplive_dynamic_iframe = document.createElement("iframe") ;
phplive_dynamic_iframe.src = theurl ;
phplive_dynamic_iframe.id = thename ; phplive_dynamic_iframe.name = thename ;
phplive_dynamic_iframe.style.width = "100%" ;
phplive_dynamic_iframe.style.height = "100%" ;
phplive_dynamic_iframe.style.border = 0 ;
phplive_dynamic_iframe.scrolling = "no" ;
phplive_dynamic_iframe.frameBorder = 0 ;
phplive_dynamic_iframe.style.MozBorderRadius = "5px" ;
phplive_dynamic_iframe.style.borderRadius = "5px" ;
phplive_jquery('#'+thediv).empty( ).html( phplive_dynamic_iframe ) ;
}
var phplive_interval_jquery_init = setInterval(function( ){ if ( typeof( phplive_jquery ) != "undefined" ) {
clearInterval( phplive_interval_jquery_init ) ;
} }, 100) ;
}
if ( typeof( phplive_thec_1 ) == "undefined" )
{
var phplive_thec_1 = 0 ;
var phplive_fetch_status_image_1 ;
var phplive_fetch_footprint_image_1 ;
var phplive_interval_fetch_status_1 ;
var phplive_interval_footprint_1 ;
var phplive_request_url_query_1 = "d=1&token="+phplive_browser_token+"&onpage="+phplive_stat_onpage+"&title="+phplive_stat_title+"&" ;
var phplive_fetch_status_url_1 = "https://phplive.hopone.net/ajax/status.php?action=js&token="+phplive_browser_token+"&deptid=1&jkey=a1dce59110c6d6cb57c23039b096214b" ;
var phplive_request_url_1 = "https://phplive.hopone.net/phplive.php?"+phplive_request_url_query_1 ;
var phplive_request_url_1_embed = "https://phplive.hopone.net/phplive_embed.php?"+phplive_request_url_query_1 ;
var phplive_offline_redirect_1 = 0 ;
var phplive_online_offline_1 ;
var phplive_image_online_1 = "https://phplive.superb.net/web/icon_online_0.JPEG?1449000572" ;
var phplive_image_offline_1 = "https://phplive.superb.net/pics/icons/icon_offline.gif" ;
window.phplive_get_thec_1 = function( ) { return phplive_thec_1 ; }
window.phplive_fetch_status_1 = function( )
{
phplive_fetch_status_image_1 = new Image ;
phplive_fetch_status_image_1.onload = phplive_fetch_status_actions_1 ;
phplive_fetch_status_image_1.src = phplive_fetch_status_url_1+"&"+phplive_unique( ) ;
}
window.phplive_fetch_status_actions_1 = function( )
{
var thisflag = phplive_fetch_status_image_1.width ;
if ( ( thisflag == 1 ) || ( thisflag == 4 ) || ( thisflag == 6 ) || ( thisflag == 8 ) || ( thisflag == 10 ) )
{
phplive_online_offline_1 = 1 ;
if ( ( thisflag == 4 ) && !phplive_widget_div_loaded && !phplive_embed_div_loaded ) { phplive_widget_init( ) ; }
else if ( ( thisflag == 10 ) && !phplive_widget_div_loaded && !phplive_embed_div_loaded ) { }
else if ( ( thisflag == 8 ) && !phplive_embed_div_loaded )
{
// setTimeout is for brief delay to avoid too fast loading causing 1px height issue
if ( phplive_session_support )
{
if ( sessionStorage.minmax == 1 ) { setTimeout( function( ){ phplive_launch_chat_1(0, 1, "", 1, 1, 0) ; }, 100 ) ; }
else { setTimeout( function( ){ phplive_launch_chat_1(0, 0, "", 1, 1, 0) ; }, 100 ) ; }
}
else { setTimeout( function( ){ phplive_launch_chat_1(0, 0, "", 0, 1, 0) ; }, 100 ) ; }
}
else if ( thisflag == 6 ) { phplive_display_invite_widget( phplive_widget_image, "about:blank" ) ; } // auto invite
}
else
{
phplive_online_offline_1 = 0 ;
if ( ( thisflag == 5 ) && !phplive_widget_div_loaded && !phplive_embed_div_loaded ) { phplive_widget_init( ) ; }
else if ( ( thisflag == 11 ) && !phplive_widget_div_loaded && !phplive_embed_div_loaded ) { }
if ( ( thisflag == 9 ) && !phplive_embed_div_loaded )
{
if ( phplive_session_support )
{
if ( sessionStorage.minmax == 1 ) { setTimeout( function( ){ phplive_launch_chat_1(0, 1, "", 1, 1, 0) ; }, 100 ) ; }
else { setTimeout( function( ){ phplive_launch_chat_1(0, 0, "", 1, 1, 0) ; }, 100 ) ; }
}
else { setTimeout( function( ){ phplive_launch_chat_1(0, 0, "", 0, 1, 0) ; }, 100 ) ; }
}
else if ( thisflag == 7 ) { phplive_display_invite_widget( phplive_widget_image, "about:blank" ) ; } // auto invite
}
if ( typeof( phplive_interval_fetch_status_1 ) != "undefined" )
clearInterval( phplive_interval_fetch_status_1 ) ;
phplive_interval_fetch_status_1 = setInterval(function( ){ phplive_fetch_status_1( ) ; }, 13 * 1000) ;
}
window.phplive_footprint_track_1 = function( )
{
var c = phplive_get_thec_1( ) ; ++phplive_thec_1 ;
var fetch_url = "https://phplive.hopone.net/ajax/footprints.php?deptid=1&token="+phplive_browser_token+"&onpage="+phplive_stat_onpage+"&c="+c+"&"+phplive_unique( ) ;
if ( !c ) { fetch_url += phplive_query_extra ; }
phplive_fetch_footprint_image_1 = new Image ;
phplive_fetch_footprint_image_1.onload = phplive_fetch_footprint_actions_1 ;
phplive_fetch_footprint_image_1.src = fetch_url ;
}
window.phplive_fetch_footprint_actions_1 = function( )
{
var thisflag = phplive_fetch_footprint_image_1.width ;
if ( thisflag == 1 )
{
if ( typeof( phplive_interval_footprint_1 ) != "undefined" )
clearInterval( phplive_interval_footprint_1 ) ;
phplive_interval_footprint_1 = setTimeout(function( ){ phplive_footprint_track_1( ) }, 25 * 1000) ;
}
else if ( thisflag == 4 )
{
// if browser idle too long, clear all interval processes to save on resources
if ( typeof( phplive_interval_footprint_1 ) != "undefined" ) { clearInterval( phplive_interval_footprint_1 ) ; }
if ( typeof( phplive_interval_fetch_status_1 ) != "undefined" ) { clearInterval( phplive_interval_fetch_status_1 ) ; }
if ( typeof( phplive_interval_status_check_1431042259 ) != "undefined" ) { clearInterval( phplive_interval_status_check_1431042259 ) ; }
}
}
window.phplive_launch_chat_1 = function( theflag, theminmax, thetheme, theforce, theauto, thewidget )
{
// theflag - indication of md5 reset for chat window popout
// theforce - force embed chat
var winname = ( theflag ) ? "popup_win" : "win_"+phplive_unique( ) ;
var name = email = ""
var custom_vars = "&custom=" ;
if ( typeof( theminmax ) == "undefined" ){ theminmax = 1 ; }
if ( typeof( thetheme ) == "undefined" ){ thetheme = "" ; }
if ( typeof( phplive_v ) != "undefined" )
{
for ( var key in phplive_v )
{
if ( key == "name" ) { name = encodeURIComponent( phplive_v["name"] ) ; }
else if ( key == "email" ) { email = encodeURIComponent( phplive_v["email"] ) ; }
else { custom_vars += encodeURIComponent( key )+"-_-"+encodeURIComponent( phplive_v[key] )+"-cus-" ; }
}
}
phplive_widget_close( ) ; // incase widget is opened, close it since chat window opened
if ( ( "" != "" ) && !phplive_online_offline_1 && !theauto ) { location.href = "" ; }
else
{
var launch_embed = ( theforce ) ? 1 : 0 ;
if ( phplive_online_offline_1 ) { if ( 0 && !theflag ) { launch_embed = 1 ; } }
else { if ( 0 && !theflag ) { launch_embed = 1 ; } }
// if the device window is smaller then widget width, most likely a mobile browser
// and better to open in new window for streamlined chat experience (window.innerWidth)
if ( 450 > phplive_win_width ) { launch_embed = 0 ; }
if ( launch_embed && !phplive_IE_cs )
phplive_widget_embed_launch( phplive_request_url_1_embed+"&theme="+thetheme+"&js_name="+name+"&js_email="+email+custom_vars+"&", theminmax, theauto ) ;
else if ( !theauto )
{
if ( thewidget ) { theflag = 1 ; }
popupWin = window.open( phplive_request_url_1+"&popout="+theflag+"&theme="+thetheme+"&js_name="+name+"&js_email="+email+custom_vars+"&", winname, 'scrollbars=no,resizable=yes,menubar=no,location=no,screenX=50,screenY=100,width=600,height=560' ) ;
var interval = window.setInterval(function() {
try {
if (popupWin == null || popupWin.closed) {
window.clearInterval(interval);
if (typeof closeCallback === "function") {
closeCallback(popupWin);
}
}
}
catch (e) {
}
}, 1000);
}
}
}
phplive_fetch_status_1( ) ;
phplive_footprint_track_1( ) ;
}
if ( typeof( phplive_btn_loaded_1431042259 ) == "undefined" )
{
var phplive_btn_loaded_1431042259 = 1 ;
var phplive_interval_status_check_1431042259 ;
var phplive_interval_jquery_check_1431042259 ;
var phplive_online_offline_prev_1431042259 ;
window.phplive_image_refresh_1431042259 = function( )
{
if ( typeof( phplive_interval_status_check_1431042259 ) != "undefined" ) { clearInterval( phplive_interval_status_check_1431042259 ) ; }
var image_or_text ;
if ( phplive_online_offline_1 )
image_or_text = ( 0 ) ? "" : "
" ;
else
{
if ( 1 ) { image_or_text = "" ; }
else { image_or_text = ( 0 ) ? "" : "
" ; }
}
if ( phplive_online_offline_prev_1431042259 != image_or_text )
{
document.getElementById("phplive_btn_1431042259").innerHTML = image_or_text ;
phplive_online_offline_prev_1431042259 = image_or_text ;
}
phplive_interval_status_check_1431042259 = setInterval(function( ){ phplive_image_refresh_1431042259( ) ; }, 5000) ;
}
window.phplive_output_image_or_text_1431042259 = function( )
{
if ( typeof( phplive_online_offline_1 ) == "undefined" )
{
phplive_interval_status_check_1431042259 = setInterval(function( ){
if ( typeof( phplive_online_offline_1 ) != "undefined" )
phplive_image_refresh_1431042259( ) ;
}, 200) ;
}
else { phplive_image_refresh_1431042259( ) ; }
}
window.phplive_process_1431042259 = function( )
{
if ( phplive_quirks )
{
var phplive_btn = document.getElementById('phplive_btn_1431042259') ;
if ( ( typeof( phplive_btn.style.position ) != "undefined" ) && phplive_btn.style.position )
phplive_btn.style.position = "absolute" ;
}
phplive_output_image_or_text_1431042259( ) ;
}
var phplive_interval_jquery_check_1431042259 = setInterval(function( ){
if ( typeof( phplive_jquery ) != "undefined" ){
clearInterval( phplive_interval_jquery_check_1431042259 ) ; phplive_interval_jquery_check_1431042259 = this.undefined ;
phplive_process_1431042259( ) ;
}
else if ( !phplive_jquery_loading ) { phplive_init_jquery( ) ; }
}, 200) ;
}