
// Use Freely as long as following messages are intact ::
//---------------------------------------------------------------
// Fading Dynamic Content JavaScript v 2.0                      |
//    Made minor changes, Works on IE and NS6                   |
//    Added support for NS4                                     |
//    Added option to AutoStart on load or onClick              |
// This script written and © 2002 Premshree Pillai.             |
// All rights reserved.                                         |
// Created on : 28/04/02                                        |
// Modified on : 11/05/02                                       |
// Web : http://www.qiksearch.com/                              |
// Mail : premshree@hotmail.com                                 |
// FREE JavaScripts at http://www.qiksearch.com/javascripts.htm |
// v 2.0 - Now supports NS4                                     |
// v 1.2 - Option to Autostart on load or click to start        |
// v 1.1 - Supports IE and NS6, option to loop continuosly      |
// v 1.0 - Fading Dynamic Content                               |
//---------------------------------------------------------------
// Location of script : http://www.qiksearch.com/javascripts/fading-dynamic-content20.htm

//--------------------------------------CUTOMISE----------------------------------------------



	var qiksearch_js_text = new Array ();
	qiksearch_js_text[0] = "&quot;For maximum return on investment 'hop on and go' with eZanga. It is possible to successfully market your local business with pay per click advertising. eZanga has proven it to me with RESULTS. eZanga attracts high quality leads from customers who want our products/services and are ready to buy. We've not only converted a majority of the leads from eZanga into sales, but eZanga is our #1 lead source right now. A big thanks to Dan Zitofsky, sales manager, for his commitment to customer service and making this process so easy for us.&quot;<br /><br /><strong>Chrystal Peterson,</strong><br /><strong>Stellar Communications, LLC</strong><br />";
	qiksearch_js_text[1] = "&quot;Through our work with Rich at eZanga, we\'ve been able to better monitor our employee\'s calls and responses to our customers, allowing us to better train and educate our sales staff while at the same time, increasing our number of leads and our organic search engine placements.&quot;<br/><br/><strong>Elizabeth Mace,</strong><br /\><strong>Ride-Away Corporation</strong>";
	qiksearch_js_text[2] = "&quot;You\'re the best thing that\'s happened to Junk-Your-Junk.&quot;<br/><br/><strong>Peter Fortin,</strong><br/><strong>Junk Your Junk Disposal Inc.</strong>";
	qiksearch_js_text[3] = "&quot;eZanga has taken my business to a new level. My search engine marketing campaign is generating 10.57 for every dollar they spend. eZanga takes care of my campaign and I can enjoy my dream house on the Back River.&quot;<br/><br/><strong>Garey Simmons,</strong><br/><strong>Optimal Health</strong>";
	qiksearch_js_text[4] = "&quot;When I started my lead generation campaign with eZanga I was skeptical. After they took over my lead generation program, I am generating more leads than I thought was possible based on my budget! I am always amazed when I look at the numbers.&quot;<br/><br/><strong>Chad Willard,</strong><br/><strong>SW Ventures</strong>";
	qiksearch_js_text[5] = "&quot;You know last night I googled audiology looking for AAA website and our name and address and web address pops up on the first page on the right hand side. How great is that! Go eZanga!&quot;<br/><br/><strong>KLCann, Au.D</strong><br><strong>Hearing Services of Delaware Inc.</strong>";
	qiksearch_js_text[6] = "&quot;eZanga has very quickly become our primary source of high quality, pay-per-click traffic to our web properties.  Dan Zitofsky and the Team are extremely responsive and always take a customized approach to meet our objectives.  We couldn’t be happier with the results! Through our relationship with eZanga we\'ve been able to take our business to new levels. We\'ve definitely hopped on!&quot;<br/><br/><strong>Karbis Fodulyan</strong><br/><strong>UltraRPM, Inc</strong>";
	qiksearch_js_text[7] = "&quot;I've been using eZanga.com for 2 years, I\'ve always been happy with the service. We are getting tons of leads and our business has grown more than 20%. Good jobs guy! Keep it up.&quot;<br/><br/><strong>Michael Abitbol</strong><br/><strong>Seobrand.net</strong>";
	   // The Fading Contents, HTML Tags supported
	var qiksearch_space_width = 727; // The width of the content space
	var qiksearch_space_height = 116; // The height of the content space
	var qiksearch_space_borderw=0; // Border width
	var qiksearch_space_borderc="#FF9900"; // Border Color
	var timeOutVal=500; // Delay in milliseconds
	var isLoop=true; // If you want to loop continuosly then true, else false
	var isAutoStart=true; // If you want the Fading to start else you have to click to start
	var qiksearch_js_text_static='<a href="javascript:resetAll();writeDiv();" style="text-decoration:none" accesskey="l"><font color="#000000" face="verdana,arial,helvetica" size="-1"><b>C<u>l</u>ick to Start</b></font></a>'; // The default content if AutoStart false
	
	//--------------------------------------------------------------------------------------------
	
	//-----------------------------DO-NOT-MODIFY-BELOW-THIS---------------------------------------
	
	var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1;
	var ns6=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1;
	var ns4=document.layers;
	var qiksearch_DyObj;
	var qiksearch_space_ns4_left=(screen.width/2-20)-Math.round(qiksearch_space_width/2);
	
	function setDyObj()
	{
	 if(ie4)
	 {
	  qiksearch_DyObj=document.all.qiksearch_js_space;
	 }
	 if(ns6)
	 {
	  qiksearch_DyObj=document.getElementById("qiksearch_js_space");
	 }
	}
	
	if(ie4||ns6)
	{
	 document.write('<table border="0" class="testy_bg"><tr><td align="left" valign="top">');
	 document.write('<div id="qiksearch_js_space">');
	 document.write('</div>');
	 document.write('</td></tr></table>');
	}
	
	var def_10='A',def_11='B',def_12='C',def_13='D',def_14='E',def_15='F';
	var colorVal=15;
	var div_count=0;
	
	function qiksearch_fade_desat(getColorIntVal)
	{
	 var returnVal;
	 if(getColorIntVal>=10)
	 {
	  for(var i=0; i<=15; i++)
	  {
	   if((getColorIntVal==i))
	   {
		returnVal = eval('def_' + i);
	   }
	  }
	 }
	 else
	 {
	  returnVal=getColorIntVal;
	 }
	 return(returnVal);
	}
	
	function writeDiv()
	{
	 if(ns4)
	 {
	  qiksearch_DyObj=document.qiksearch_space_ns4;
	 }
	 if(ie4||ns6)
	 {
	  qiksearch_DyObj.innerHTML=  qiksearch_js_text[div_count] + '</span>' ;
	 }
	 if(ns4)
	 {
	  qiksearch_DyObj.document.write('<table width="100%" border="0" class="testy_bg"><tr><td align="left" valign="top">' + qiksearch_js_text[div_count] + '</span></td></tr><tr><td>Hi</td></tr></table>');
	  qiksearch_DyObj.document.close();
	 }
	
	 if((colorVal>0)  && (colorVal!=0))
	 {
	  colorVal--;
	 }
	 else
	 {
	  colorVal=15;
	  if(div_count<qiksearch_js_text.length)
	  {
	   div_count++;
	  }
	
	  if(div_count==qiksearch_js_text.length)
	  {
	   if(isLoop)
	   {
		setTimeout("resetAll()",timeOutVal);
		setTimeout("writeDiv()",timeOutVal);
	   }
	   else
	   {
		if(ie4||ns6)
		{
		 qiksearch_DyObj.innerHTML = qiksearch_js_text_static;
		}
		if(ns4)
		{
		 qiksearch_DyObj.document.write('<table width="100%" border="0" class="testy_bg"><tr><td align="left" valign="top">' + qiksearch_js_text_static + '</td></tr></table>');
		 qiksearch_DyObj.document.close();
		}
	   }
	  }
	
	 }
	
	 if(div_count<qiksearch_js_text.length)
	 {
	  setTimeout("writeDiv()",timeOutVal);
	 }
	}
	
	function joinColor(getColor)
	{
	 return (getColor + '0' + getColor + '0' + getColor + '0');
	}
	
	function resetAll()
	{
	 div_count=0;
	 colorVal=15;
	}
	
	setDyObj();
	
	function start_fader()
	{
	 if(isAutoStart)
	 {
	  writeDiv();
	 }
	 else
	 {
	  if(ie4||ns6)
	  {
	   qiksearch_DyObj.innerHTML = qiksearch_js_text_static;
	  }
	  if(ns4)
	  {
	   qiksearch_DyObj=document.qiksearch_space_ns4;
	   qiksearch_DyObj.document.write('<table width="100% border="0""><tr><td align="left" valign="top">' + qiksearch_js_text_static + '</td></tr></table>');
	   qiksearch_DyObj.document.close();
	  }
	 } 
	}
	
	window.onload=start_fader;
	
	if(ns4)
	{
	 document.write('<layer bgcolor="#FFFFFF" id="qiksearch_space_ns4" width="' + qiksearch_space_width + '" left="' + qiksearch_space_ns4_left + '"></layer>');
	}
