vsessionid='sncwmk45m2uqn145bt5xx045'; vsource=''; vkeywords=''; sCheckRequest='http://visitors.velaro.com//Visitor/checkrequest.aspx?siteid=4771&sessionid=sncwmk45m2uqn145bt5xx045'; sArchiveLink='http://visitors.velaro.com//Visitor/ArchiveAutoOpen.aspx?siteid=4771&deptid=0&sessionid=sncwmk45m2uqn145bt5xx045'; sRequestChatLink='http://visitors.velaro.com//Visitor/requestchat.aspx?sid=sncwmk45m2uqn145bt5xx045&siteid=4771&autorefresh=yes&newtoday=no&returning=yes&origin=&pa=http%3a%2f%2fwww.backdropsource.com%2fProductinfo.asp%3fid%3d1299*pname%3d10ftx15ft-chromakey-green-backdrop-with-a-stand-and-two-softboxes&ai=yes'; sRequestCobrowse='An agent on this site has requested to initiate a co-browse session, accept?'; sAutoRequestChatLink='http://visitors.velaro.com//Visitor/requestchat.aspx?siteid=4771&autorefresh=yes&newtoday=no&returning=yes&origin=&pa=http%3a%2f%2fwww.backdropsource.com%2fProductinfo.asp%3fid%3d1299*pname%3d10ftx15ft-chromakey-green-backdrop-with-a-stand-and-two-softboxes&auto=yes'; sDialogLink='http://visitors.velaro.com//Visitor/GetMsgText.aspx?siteid=4771&deptid=0&sessionid=sncwmk45m2uqn145bt5xx045'; sHoldLink='about:blank'; iWinWidth=400; iWinHeight=300; sRedirect='http://visitors.velaro.com//Visitor/GetCobrowsePage.aspx'; sProXOffset=0; sProYOffset=0; sProXFixed=0; sProYFixed=0; apppath='http://visitors.velaro.com//'; sWinWidth='400'; sWinHeight='300'; clrChatBottom='#083994'; txtChatTitle='Backdropsource'; imgClose='http://visitors.velaro.com//images/close.gif'; clrMessageBack='#FFFFFF'; imgHeader='http://www.backdropsource.com/images/banner.jpg'; adjHeight='185'; sHoldPage='about:blank'; clrMessageText='#000000'; txtNo='No'; txtYes='Yes'; clrButtons='#ffffff'; txtClose='Close'; bAutoRequest=false; iAutoRequestTime=0; var currentRequestLink = ''; floatX=10; floatY=10; halign="center"; valign="center"; delayspeed=3; var ie5=document.all&&document.getElementById; var ns6=document.getElementById&&!document.all; var ie4=document.all; var ns4=(document.layers); var isOpera = navigator.userAgent.toLowerCase().indexOf('opera') != - 1; var vArchiveImage; var vCheckImage; visible=false; pending=false; cobrowsedenied=false; cobrowserequestpending=false; if(location.href.indexOf('index.asp?PageAction=CARTCHECKOUT&Step=6')==-1) { if(typeof window.addEventListener != 'undefined') window.addEventListener('load', VelaroStart, false); else if(typeof document.addEventListener != 'undefined') document.addEventListener('load', VelaroStart, false); else if(typeof window.attachEvent != 'undefined') window.attachEvent('onload', VelaroStart); else{ if(typeof window.onload == 'function') { var existing = onload; window.onload = function() { existing(); VelaroStart(); }; } else window.onload = VelaroStart; } } function VelaroStart() { if(location.href.indexOf('index.asp?PageAction=CARTCHECKOUT&Step=6')==-1) { vArchiveImage=document.createElement("IMG"); vArchiveImage.name='vArchiveImage'; vArchiveImage.border=0; //vArchiveImage.src=''; vArchiveImage.visible=false; vCheckImage=document.createElement("IMG"); vCheckImage.name='vArchiveImage'; vCheckImage.border=0; vCheckImage.visible=false; document.body.appendChild(vCheckImage); CheckForRequest(); if(bAutoRequest) setTimeout("ShowAutoRequest()", iAutoRequestTime); } } function CheckForRequest() { vCheckImage.onload = IsRequested; var qs = '&cnt='+timesend(); if(pending==true) qs = qs+'&chat=yes'; if(cobrowsedenied==true) qs = qs+'&cobrowse=no'; cobrowsedenied=false; pending=false; vCheckImage.src = sCheckRequest+qs; setTimeout("CheckForRequest()",5000); } function IsRequested() { var imgwidth; imgwidth = vCheckImage.width; if(imgwidth==2) ShowBox(sDialogLink,sRequestChatLink); if(imgwidth==3) { if(!cobrowserequestpending) { cobrowserequestpending=true; if(confirm(sRequestCobrowse)) { if((String(top.document.location).toLowerCase().indexOf('https')==0)&& (sRedirect.toLowerCase().indexOf('https')!=0)) sRedirect='https'+sRedirect.substring(4); else if((String(top.document.location).toLowerCase().indexOf('https')==-1)&& (sRedirect.toLowerCase().indexOf('https')==0)) sRedirect='http'+sRedirect.substring(5); //alert(sRedirect); top.document.location = sRedirect; } else { cobrowsedenied=true; } } } } function IsRequested_NEWER() { var imgwidth; imgwidth = vCheckImage.width; if(imgwidth==2) ShowBox(sDialogLink,sRequestChatLink); if(imgwidth==3) { if(!cobrowserequestpending) { cobrowserequestpending=true; if(confirm(sRequestCobrowse)) { //top.document.location = sRedirect; var cobrowseForm = top.document.createElement("form"); cobrowseForm.setAttribute("method", "post"); cobrowseForm.setAttribute("name", "frmVelaroCoBrowse"); cobrowseForm.setAttribute("action", sRedirect); var bodyNodeList = top.document.getElementsByTagName("body"); bodyNodeList[0].appendChild(cobrowseForm); cobrowseForm.submit(); } else { cobrowsedenied=true; } } } } function ShowAutoRequest() { var imgwidth; imgwidth = vCheckImage.width; if((!visible)&&(imgwidth!=4)) { ShowBox(sDialogLink+'&au=yes',sAutoRequestChatLink); vArchiveImage.src = sArchiveLink+'&cnt='+timesend(); } } function ShowBox(url, dest) { currentRequestLink = dest; WritePopup(); visible=true; Define(); theLayer = document.getElementById("floatlayer") ; theILayer= document.getElementById("hidelayer"); if (ie4||ns6) { if(!isOpera) theILayer.style.visibility="visible"; theLayer.style.visibility="visible"; theLayer.style.zIndex=10000; theILayer.style.zIndex = theLayer.style.zIndex - 1; theILayer.style.display = "block"; } else if (ns4) { document.floatlayer.visibility="show"; } document.getElementById('iframemsg').src=url window.onresize=Define; window.onscroll=Adjust; } function Define() { if ((ns4) || (ns6)) { if (halign=="left") {floatX=ifloatX}; if (halign=="right") {floatX=window.innerWidth-ifloatX-iWinWidth-20}; if (halign=="center") {floatX=Math.round((window.innerWidth-20)/2)-Math.round(iWinWidth/2)}; if (valign=="top") {floatY=ifloatY}; if (valign=="bottom") {floatY=window.innerHeight-ifloatY-iWinHeight}; if (valign=="center") {floatY=Math.round((window.innerHeight-20)/2)-Math.round(iWinHeight/2)}; } if (ie4) { if (halign=="left") {floatX=ifloatX}; if (halign=="right") {floatX=document.documentElement.offsetWidth-ifloatX-iWinWidth-20} if (halign=="center") {floatX=Math.round((document.documentElement.offsetWidth-20)/2)-Math.round(iWinWidth/2)} if (valign=="top") {floatY=ifloatY}; if (valign=="bottom") {floatY=document.documentElement.offsetHeight-ifloatY-iWinHeight} if (valign=="center") {floatY=Math.round((document.documentElement.offsetHeight-20)/2)-Math.round(iWinHeight/2)} } Adjust(); } function Adjust() { if(visible) { if ((ns4) || (ns6)) { var xOffset = window.pageXOffset; if(xOffset==0) xOffset = document.documentElement.scrollLeft; if(xOffset==0) xOffset = document.body.scrollLeft; var yOffset = window.pageYOffset; if(yOffset==0) yOffset = document.documentElement.scrollTop; if(yOffset==0) yOffset = document.documentElement.scrollTop; if (lastX==-1 || delayspeed==0) { lastX=xOffset + floatX; lastY=yOffset + floatY; } else { var dx=Math.abs(xOffset+floatX-lastX); var dy=Math.abs(yOffset+floatY-lastY); var d=Math.sqrt(dx*dx+dy*dy); var c=Math.round(d/10); if (sProXFixed==0) { if (xOffset+floatX+sProXOffset>lastX) {lastX=lastX+delayspeed+c;} if (xOffset+floatX+sProXOffsetlastY) {lastY=lastY+delayspeed+c;} if (yOffset+floatY+sProYOffsetlastX) {lastX=lastX+delayspeed+c;} if (scrollLeft+floatX+sProXOffsetlastY) {lastY=lastY+delayspeed+c;} if (scrollTop+floatY+sProYOffset'; document.body.appendChild(ilyr); lyr.innerHTML = '' + ' ' + ' ' + ' ' + '
' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '
' + ' ' + ' ' + ' ' + ' ' + ' ' + '
' + ' '+txtChatTitle+'' + ' ' + ' ' + ' ' + ' ' + '
' + '
' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + ' ' + '
' + ' ' + '
' + ' ' + ' ' + ' ' + ' ' + '
' + ' ' + ' ' + '

' + ' ' + '' + ' ' + '  '+txtYes+' ' + '  '+txtNo+' ' + '

' + '
' + '

' + ' ' + ' ' + ' ' + ' ' + ' '+txtClose+'' + ' ' + '    ' + ' ' + ' ' + '

' + '
' + '
' + '
'; document.body.appendChild(lyr); ifloatX=floatX; ifloatY=floatY; lastX=-1; lastY=-1; }