" ; 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_935111() { if(!ns && !ie && !w3) return ; if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_935111.style') ; else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_935111"]') ; else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_935111").style') ; if (ie||w3) ProactiveDiv.visibility = "visible" ; else ProactiveDiv.visibility = "show" ; backtrack = 0 ; isclosed = 0 ; repeat = 1 ; moveIt(20) ; } ///////////////////////////////////////////// function fixButton(div) { var obj = document.getElementById(div); var cw = document.body.clientWidth; var ch = document.body.clientHeight; var x = document.body.scrollLeft; var y = document.body.scrollTop; var w = obj.offsetWidth; var h = obj.offsetHeight; obj.style.left = x + (cw - w - 5); obj.style.top = y + 5; } ///////////////////////////////////////////// function moveIt( h ) { ///////////////////////////////////////////// //fixButton("ProactiveSupport_935111"); //window.setInterval('fixButton("ProactiveSupport_935111")', 50); //alert('asd'); ///////////////////////////////////////////// // 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 ; // } // ProactiveDiv.top = documentHeight-100 ; // 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_935111() { initiate = pullimage_935111.width ; if ( ( initiate == 2 ) && !chat_opened ) { chat_opened = 1 ; popblock_action_id = 2 ; launch_support_935111() ; } else if ( ( initiate == 3 ) && !chat_opened ) { chat_opened = 1 ; initializeProactive_935111() ; } else if ( initiate == 100 ) { do_tracker_flag_935111 = 0 ; } if ( ( initiate == 1 ) && chat_opened ) chat_opened = 0 ; } function do_tracker_935111() { // 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_935111 = 0 ; pullimage_935111 = new Image ; pullimage_935111.src = "http://consorcio.com.uy/ayuda/image_tracker.php?l=consorcio&x=1&deptid=0&pagex="+url+"&unique="+unique ; pullimage_935111.onload = checkinitiate_935111 ; if ( do_tracker_flag_935111 == 1 ) setTimeout("do_tracker_935111()",tracker_refresh) ; } function start_timer_935111( 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_935111() ; chat_opened = 1 ; popblock_action_id = 1 ; initializeProactive_935111() ; } else chatwindow_loaded = 0 ; } else { --c ; var temp = setTimeout( "start_timer_935111("+c+")", 1000 ) ; } } function launch_support_935111() { start_timer_935111( 2 ) ; var request_url_935111 = "http://consorcio.com.uy/ayuda/request.php?l=consorcio&x=1&deptid=0&pagex="+url ; var newwin_chat = window.open( request_url_935111, 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://consorcio.com.uy/ayuda/scroll_image.php?x=1&l=consorcio&"+unique ; output = "
" ; output += "" ; output += "" ; output += "" ; output += "
" ; output += "" ; output += "
 Declinar invitación 
" ; output += "
" ; document.writeln( output ) ; if(ie) ProactiveDiv = eval('document.all.ProactiveSupport_935111.style') ; else if(ns) ProactiveDiv = eval('document.layers["ProactiveSupport_935111"]') ; else if(w3) ProactiveDiv = eval('document.getElementById("ProactiveSupport_935111").style') ; if (ie||w3) ProactiveDiv.visibility = "hidden" ; else ProactiveDiv.visibility = "hide" ; } function RejectInitiate() { var rejectimage_935111 = new Image ; rejectimage_935111.src = "http://consorcio.com.uy/ayuda/image_tracker.php?l=consorcio&x=1&deptid=0&unique="+unique+"&action=reject" ; DoClose() ; chat_opened = 0 ; } function NotifyPopupBlocker_935111() { var notifyimage_935111 = new Image ; notifyimage_935111.src = "http://consorcio.com.uy/ayuda/image_tracker.php?l=consorcio&x=1&deptid=0&unique="+unique+"&action=notifypopup" ; } var status_image_935111_0 = ""+click_for_live_support+"" ; document.write( status_image_935111_0 ) ; if ( !phplive_loaded ) { WriteChatDiv() ; do_tracker_935111() ; } var phplive_loaded = 1 ; //-->