var NS4 = (document.layers) ? 1 : 0;
var IE4 = (document.all) ? 1 : 0;

var mylimiter = 0;

onload = start;

var customer_quotes=new Array();

customer_quotes[0]='<i>I have been a client of Pixel web designs for years. Their designs are very nice and they complete the project in time.<br />-Fr.Antony Jacob, Director Samhathi, India<br />-website: <a href="http://www.samhathi-india.org" target="_blank" title="Samhathi-india">www.samhathi-india.org</a></i>';
customer_quotes[1]='<i>I am satisfied with the work of Pixel web designs. We are getting lots of business through the website.<br />-Bijoy Kannur, Music Director Ghazal Audios, Italy <br />-website: <a href="http://www.ghazalaudios.com" target="_blank" title="Ghazal Audios">www.ghazalaudios.com</a></i>';
customer_quotes[2]='<i>These guys done a good job. We have got the facelift through their creative and innovative design for Marrare Exports<br />-Adv.Vishnu, CEO Marrare Exports, India<br />-website: <a href="http://www.marrareexport.com" target="_blank" title="Marrare Exports">www.marrareexport.com</a></i>';

function start()
	{
	update();
	}


function update()
	{
	display("customer_quote", customer_quotes[Math.floor(Math.random()*(customer_quotes.length))]);
	}


function display(id, str)
	{
	mylimiter++;
	if (NS4)
		{
    		with (document[id].document)
    			{
			open();
			write(str);
			close();
			}
		}
	if(IE4)
		{
		document.all[id].innerHTML = str;
		}
	else
		{
			document.getElementById('customer_quote').innerHTML = str;
		}
	if (mylimiter < 12)
		{
		setInterval("update()", 6000);
		}
	}


