" ;
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_1071585()
{
if(!ns && !ie && !w3) return ;
if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_1071585.style') ;
else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_1071585"]') ;
else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_1071585").style') ;
if (ie||w3)
ProactiveDiv.visibility = "visible" ;
else
ProactiveDiv.visibility = "show" ;
backtrack = 0 ;
isclosed = 0 ;
repeat = 1 ;
moveIt(20) ;
}
$(document).ready(function(){
//on window scroll fire it will call a function.
$(window).scroll(function () {
//after window scroll fire it will add define pixel added to that element.
set = $(document).scrollTop()+"px";
//this is the jQuery animate function to fixed the div position after scrolling.
$('#ProactiveSupport_1071585').animate({top:set},{duration:1000,queue:false});
});
});
function DoClose(){
if (ie||w3)
ProactiveDiv.visibility = "hidden" ;
else
ProactiveDiv.visibility = "hide" ;
isclosed = 1 ;
halt = 0 ;
}
/********************************************/
/********************************************/
function checkinitiate_1071585()
{
initiate = pullimage_1071585_.width ;
if ( ( initiate == 2 ) && !chat_opened )
{
chat_opened = 1 ;
launch_support_1071585_() ;
}
else if ( ( initiate == 3 ) && !chat_opened )
{
chat_opened = 1 ;
initializeProactive_1071585() ;
}
else if ( initiate == 100 )
{
do_tracker_flag_1071585 = 0 ;
}
if ( ( initiate == 1 ) && chat_opened )
chat_opened = 0 ;
}
function do_tracker_1071585()
{
// 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_1071585 = 0 ;
pullimage_1071585_ = new Image ;
pullimage_1071585_.src = "/image_tracker.php?l=&x=&deptid=&page="+url+"&unique="+unique ;
pullimage_1071585_.onload = checkinitiate_1071585 ;
if ( do_tracker_flag_1071585 == 1 )
setTimeout("do_tracker_1071585()",tracker_refresh) ;
}
function launch_support_1071585_()
{
var request_url_1071585_ = "/request.php?l=&x=&deptid=&page="+url ;
newwin = window.open( request_url_1071585_, unique, 'scrollbars=no,menubar=no,resizable=0,location=no,screenX=50,screenY=100,width=450,height=360' ) ;
newwin.focus() ;
DoClose() ;
}
function WriteChatDiv()
{
var scroll_image = new Image ;
scroll_image.src = "/scroll_image.php?x=&l=&"+unique ;
output = "
" ;
output += "
" ;
output += " |
" ;
output += "" ;
output += " " ;
output += " |
" ;
output += "
" ;
document.writeln( output ) ;
if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_1071585.style') ;
else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_1071585"]') ;
else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_1071585").style') ;
if (ie||w3)
ProactiveDiv.visibility = "hidden" ;
else
ProactiveDiv.visibility = "hide" ;
}
function RejectInitiate()
{
var rejectimage_1071585_ = new Image ;
rejectimage_1071585_.src = "/image_tracker.php?l=&x=&deptid=&unique="+unique+"&action=reject" ;
DoClose() ;
chat_opened = 0 ;
}
if ( !phplive_loaded )
{
WriteChatDiv() ;
do_tracker_1071585() ;
}
var phplive_loaded = 1 ;
//-->