// JavaScript Document

/*
Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com
Modified by jscheuer1 for continuous content. Credit MUST stay intact for use
*/

//Specify the marquee's width (in pixels)
var marqueewidth="170px"
//Specify the marquee's height
var marqueeheight="150px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Specify initial pause before scrolling in milliseconds
var initPause=1000
//Specify start with Full(1)or Empty(0) Marquee
var full=1
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1
//Specify Break characters for IE as the two iterations
//of the marquee, if text, will be too close together in IE
var iebreak='<p></p>'

//Specify the marquee's content
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
 
           
var marqueecontent='<font face="Verdana"><p class="aligning">Dear Support1000,<br><br>I wish to show my gratitude for the valuable assistance provided by your staff.<br><br>I want to point out the tact, finesse, knowledge and patience that Bali displayed in solving my problem with a dogged computer issue.<br><br>Also for Mr Steve Haley of Massachusetts for being very helpful.<br><br>I am grateful and appreciative even of the cost/benefit of the support. I am also mindful of the readiness and the pursuit of eagerness that Bali exhibited.<br><br>He bent over backwards to provide the support service in that he contacted me several times on his own initiative to be helpful.<br><br>May I wish you all well and keep up the wonderful service.<br><br></p><p class="aligningname"><b>Very Truly yours,<br>Harry Gruen</b></p><hr/><br><p class="aligning">Bala also may be useful,the personable ,patient, representative technician who solved all my computer problems masterfully!<br><br>I had spyware and popups, intricately woven into the fabric of my computer I had numerous programs poorly installed by myself and others which behaved unpredictably It was a pleasure to sit back and watch as an Invisible hand manipulated the curser across the screen,eliminating my problems skillfully, thank you Support 1000.<br><br>Thanks Bala!<br></p><p class="aligningname"><b>Larry Lachoff</b></p><hr/><br><p class="aligning">BALA is the best support tech I have ever used . Smart-understanding and courteous.<br><br>I called your company because a competitor has kept me trying to fix something over the last week when BALA took 45 minutes-Thank very much and BALA was worth whatever your paying him x 2.<br><br></p><p class="aligningname"><b>Scot Dieringer</b></p><hr/><br><p class="aligning">I want to thank your company for the repair to my computer system.<br><br> I was impressed with the patience your tech had with me and the unrelenting pursuit to correct my problem.  It took a little time to find the problem, but when found, it was resolved quickly.<br><br>Your cost was very reasonable, better than what I’ve seen from other services.  The fact that I paid for just what I needed done, makes it an ideal service.  I would recommend your service to anyone who has a real computer problem.  Pay for just the problem, what a concept.<br><br>Thanks again.<br></p><p class="aligningname"><b>Mark Owens<br>Annapolis, Md.</b></p><hr/><br><p class="aligning">The person I spoke to was very courteous, showed good knowledge and patience, and helped me resolve three issues.<br><br> I am happy with the service.<br></p><p align="left" class="aligningname"><b>Dave Kushin</b></p><hr/><p class="aligning"><br> I just got off the phone with Bala, who was helping me with an internet connection problem that no one else that I had contacted previously had been able to resolve.<br><br> The problem was that while my internet connection was fine, I couldn&rsquo;t load Google or any Google-related sites (including Gmail, my email service), which seemed simple but was a problem which no one else could figure out.<br><br> Bala was really patient and knew exactly what he was doing. In the end, he got it working for me. I&rsquo;m so impressed by the quality of service.<br><br> Thanks so much! <br></p><p class="aligningname"><b>Deb </b></p><hr/><p class="aligning"><br> I just wanted you to let someone know that Bala the service tech was fast, polite, efficient and a great guy to talk to.<br><br> He fixed my problem extremely fast and I would recommend this service to anyone, whether a novice or expert. It is hard to find someone on line, but I would not hesitate to use Bala and company again.<br><br> Good Luck on your venture.<br></p><p class="aligningname"><b>Dave Wallace<br>Miami </b></p><hr/></font>'


////NO NEED TO EDIT BELOW THIS LINE////////////
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
var actualheight=''
var cross_marquee, cross_marquee2, ns_marquee

function populate(){
if (iedom){
var lb=document.getElementById&&!document.all? '' : iebreak
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee2=document.getElementById? document.getElementById("iemarquee2") : document.all.iemarquee2
cross_marquee.style.top=(full==1)? '8px' : parseInt(marqueeheight)+8+"px"
cross_marquee2.innerHTML=cross_marquee.innerHTML=marqueecontent+lb
actualheight=cross_marquee.offsetHeight
cross_marquee2.style.top=(parseInt(cross_marquee.style.top)+actualheight+8)+"px" //indicates following #1
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.top=parseInt(marqueeheight)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualheight=ns_marquee.document.height
}
setTimeout('lefttime=setInterval("scrollmarquee()",20)',initPause)

//changechat('chat2','images/livechat.jpg');
}
window.onload=populate

function scrollmarquee(){

if (iedom){
if (parseInt(cross_marquee.style.top)<(actualheight*(-1)+8))
cross_marquee.style.top=(parseInt(cross_marquee2.style.top)+actualheight+8)+"px"
if (parseInt(cross_marquee2.style.top)<(actualheight*(-1)+8))
cross_marquee2.style.top=(parseInt(cross_marquee.style.top)+actualheight+8)+"px"
cross_marquee2.style.top=parseInt(cross_marquee2.style.top)-copyspeed+"px"
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
}

else if (document.layers){
if (ns_marquee.top>(actualheight*(-1)+8))
ns_marquee.top-=copyspeed
else
ns_marquee.top=parseInt(marqueeheight)+8
}
}

if (iedom||document.layers){
with (document){
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px;width:100%;">')
write('</div><div id="iemarquee2" style="position:absolute;left:0px;top:0px;width:100%;z-index:100;">')
write('</div></div>')

}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee">')
write('<layer name="ns_marquee2" width='+marqueewidth+' height='+marqueeheight+' left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
}
}


function changechat(divname,imagepath)
{
	myImage = new Image;
//	myImage.src = "images/msvista.jpg";
	myImage.src = imagepath;
	var obj = document.getElementById(divname);
	//var obj1 = obj.getElementsByTagName('div');
	//if (!obj.getElementsByTagName('img'))
	//alert("not Found");
	var images = obj.getElementsByTagName("img");
	for (i = 0; i < images.length; i++)
		images[i].src = myImage.src;
	//	alert(images[i].src);
		//	alert(obj.getElementsByTagName(images[i]).src);
	var links = obj.getElementsByTagName("a");	
	for (i = 0; i < links.length; i++)
		{
		links[i].style.color = "#ffffff";
		}
	obj.style.display = "inline";
	var obj = document.getElementById('chat1');
	var links = obj.getElementsByTagName("a");	
	for (i = 0; i < links.length; i++)
		{
		links[i].style.color = "#242223";
		}
	obj.style.display = "inline";
	
}