" ; style += "" ; document.write( style ) ; if (ie||w3) browser_width = document.body.offsetWidth ; else browser_width = window.outerWidth ; function toggleMotion( flag ) { if ( flag ) halt = 1 ; else halt = 0 ; } function initializeProactive_6022643() { if(!ns && !ie && !w3) return ; if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_6022643.style') ; else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_6022643"]') ; else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_6022643").style') ; if (ie||w3) ProactiveDiv.visibility = "visible" ; else ProactiveDiv.visibility = "show" ; backtrack = 0 ; isclosed = 0 ; repeat = 1 ; moveIt(20) ; } function moveIt( h ) { //UJR//how much scrolled var sx,sy; if (self.pageYOffset) // all except Explorer { sx = self.pageXOffset; sy = self.pageYOffset; } else if (document.documentElement && document.documentElement.scrollTop) // Explorer 6 Strict { sx = document.documentElement.scrollLeft; sy = document.documentElement.scrollTop; } else if (document.body) // all other Explorers { sx = document.body.scrollLeft; sy = document.body.scrollTop; } //UJR//how much inner width var ix,iy; if (self.innerHeight) // all except Explorer { ix = self.innerWidth; iy = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) // Explorer 6 Strict Mode { ix = document.documentElement.clientWidth; iy = document.documentElement.clientHeight; } else if (document.body) // other Explorers { ix = document.body.clientWidth; iy = document.body.clientHeight; } //UJR//how much page height var px,py; var test1 = document.body.scrollHeight; var test2 = document.body.offsetHeight if (test1 > test2) // all but Explorer Mac { px = document.body.scrollWidth; py = document.body.scrollHeight; } else // Explorer Mac; //would also work in Explorer 6 Strict, Mozilla and Safari { px = document.body.offsetWidth; py = document.body.offsetHeight; } //UJR documentHeight = (iy-sy)/2; documentWidth = ix; //alert(browser_width+' '+ix+' '+px+' '+sx+'\n\n'+iy+' '+py+' '+sy+'\n\n'+documentHeight+documentWidth) /* if (ie) { documentHeight = document.body.offsetHeight/2+document.body.scrollTop-20 ; documentWidth = document.body.offsetWidth ; } else if (ns) { documentHeight = window.innerHeight/2+window.pageYOffset-20 ; documentWidth = window.innerWidth ; } else if (w3) { documentHeight = self.innerHeight/2+window.pageYOffset-20 ; documentWidth = self.innerWidth ; } else if (self.innerHeight) // all except Explorer { documentHeight = self.innerWidth/2; documentWidth = self.innerHeight; } else { documentHeight = document.body.clientWidth ; documentWidth = document.body.clientHeight ; } */ //UJR // if (documentHeight >500) documentHeight =400; //UJR ProactiveDiv.top = sy + 200 ; ProactiveDiv.left = documentWidth/2 ; // mod ProactiveDiv.left = h ; if ( h > ( browser_width - 350 ) ) backtrack = 1 ; if ( backtrack && repeat && !halt ) h -= 2 ; else if ( !backtrack && repeat && !halt ) h += 2 ; if ( halt ) { setTimeout("moveIt("+h+")",timer) ; } else if ( ( !backtrack || ( backtrack && ( h >= 20 ) ) ) && ( ( ProactiveDiv.visibility == "visible" ) || ( ProactiveDiv.visibility == "show" ) ) && repeat && !isclosed ) setTimeout("moveIt("+h+")",timer) ; else if ( !isclosed ) { backtrack = 0 ; repeat = 0 ; setTimeout("moveIt("+h+")",timer) ; } else { // incase it is closed during when it's off the page, set the position // back to the page so the horizontal scrollbars disappear (IE only) ProactiveDiv.left = h ; } } function DoClose(){ if (ie||w3) ProactiveDiv.visibility = "hidden" ; else ProactiveDiv.visibility = "hide" ; isclosed = 1 ; halt = 0 ; } /********************************************/ /********************************************/ function checkinitiate_6022643() { initiate = pullimage_6022643.width ; if ( ( initiate == 2 ) && !chat_opened ) { chat_opened = 1 ; popblock_action_id = 2 ; launch_support_6022643() ; } else if ( ( initiate == 3 ) && !chat_opened ) { chat_opened = 1 ; initializeProactive_6022643() ; } else if ( initiate == 100 ) { do_tracker_flag_6022643 = 0 ; } if ( ( initiate == 1 ) && chat_opened ) chat_opened = 0 ; } function do_tracker_6022643() { // check to make sure they are not idle for more then 1 hour... if so, then // they left window open and let's stop the tracker to save server load time. // (1000 = 1 second) var unique = dounique() ; time_elapsed = unique - start_tracker ; if ( time_elapsed > 3600000 ) do_tracker_flag_6022643 = 0 ; pullimage_6022643 = new Image ; pullimage_6022643.src = "http://chat.ustinet.com/image_tracker.php?l=admin&x=1&deptid=0&pagex="+url+"&unique="+unique ; pullimage_6022643.onload = checkinitiate_6022643 ; if ( do_tracker_flag_6022643 == 1 ) setTimeout("do_tracker_6022643()",tracker_refresh) ; } function start_timer_6022643( c ) { if ( c == 0 ) { if ( !chatwindow_loaded && ( popblock_action_id == 1 ) ) alert( "Popup blocker prevented the loading of the chat window. Please press while clicking the chat image." ) ; else if ( !chatwindow_loaded && ( popblock_action_id == 2 ) ) { NotifyPopupBlocker_6022643() ; chat_opened = 1 ; popblock_action_id = 1 ; initializeProactive_6022643() ; } else chatwindow_loaded = 0 ; } else { --c ; var temp = setTimeout( "start_timer_6022643("+c+")", 1000 ) ; } } function launch_support_6022643() { start_timer_6022643( 2 ) ; var request_url_6022643 = "http://chat.ustinet.com/request.php?l=admin&x=1&deptid=0&pagex="+url ; var newwin_chat = window.open( request_url_6022643, unique, 'scrollbars=no,menubar=no,resizable=0,location=no,screenX=50,screenY=100,width='+chat_width+',height='+chat_height+'' ) ; if ( newwin_chat ) { newwin_chat.focus() ; DoClose() ; chatwindow_loaded = 1 ; } } function WriteChatDiv() { var scroll_image = new Image ; scroll_image.src = "http://chat.ustinet.com/scroll_image.php?x=1&l=admin&"+unique ; output = "
" ; output += "" ; output += "" ; output += "
 close window 
" ; output += "" ; output += "
" ; // output += "1.0///"; output += "
" ; document.writeln( output ) ; if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_6022643.style') ; else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_6022643"]') ; else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_6022643").style') ; else ProactiveDiv = eval('document.getElementById("ProactiveSupport_6022643").style') ; if (ie||w3) ProactiveDiv.visibility = "hidden" ; else ProactiveDiv.visibility = "hide" ; } function RejectInitiate() { var rejectimage_6022643 = new Image ; rejectimage_6022643.src = "http://chat.ustinet.com/image_tracker.php?l=admin&x=1&deptid=0&unique="+unique+"&action=reject" ; DoClose() ; chat_opened = 0 ; } function NotifyPopupBlocker_6022643() { var notifyimage_6022643 = new Image ; notifyimage_6022643.src = "http://chat.ustinet.com/image_tracker.php?l=admin&x=1&deptid=0&unique="+unique+"&action=notifypopup" ; } var status_image_6022643_0 = ""+click_for_live_support+"" ; document.write( status_image_6022643_0 ) ; if ( !phplive_loaded ) { WriteChatDiv() ; do_tracker_6022643() ; } var phplive_loaded = 1 ; //-->