// JavaScript Document
function bw_check()
	{
		var is_major=parseInt(navigator.appVersion);
		this.nver=is_major;
		this.ver=navigator.appVersion;
		this.agent=navigator.userAgent;
		this.dom=document.getElementById?1:0;
		this.opera=window.opera?1:0;	
		this.ie55=(this.ver.indexOf("MSIE 5.5")>-1&&this.dom&&!this.opera)?1:0;	
		this.ie5=(this.ver.indexOf("MSIE 5")>-1&&this.dom&&!this.ie55&&!this.opera)?1:0;
		this.ie6=(this.ver.indexOf("MSIE 6")>-1&&this.dom&&!this.opera)?1:0;
		this.ie4=(document.all&&!this.dom&&!this.opera)?1:0;
		this.ie=this.ie4||this.ie5||this.ie6;
		this.mac=this.agent.indexOf("Mac")>-1;
		this.ns6=(this.dom&&parseInt(this.ver)>=5)?1:0;
		this.ie3=(this.ver.indexOf("MSIE")&&(is_major<4));
		this.hotjava=(this.agent.toLowerCase().indexOf('hotjava')!=-1)?1:0;
		this.ns4=(document.layers&&!this.dom&&!this.hotjava)?1:0;
		this.bw=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera);
		this.ver3=(this.hotjava||this.ie3);
		this.opera7=((this.agent.toLowerCase().indexOf('opera 7')>-1) || (this.agent.toLowerCase().indexOf('opera/7')>-1));
		this.operaOld=this.opera&&!this.opera7;
		return this;
	};

	var lat_news_one=" ";
	var lat_news_two=" ";
	var lat_news_three=" ";
	var lat_news_four=" ";
	var prev=" ";
	news_toggle=1;
	lat_news_one="<p class='bodyTxt1'>&ldquo;Partnering with Sify has given us a robust infrastructure. High uptimes and prompt customer service has made Sify an integral part of our product offering.&rdquo;<br><br><b>A. Roychoudhury</b><br><em>Customer Support Manager</em><br> TACO MobiApps</p>";
	lat_news_two="<p class='bodyTxt1'>&ldquo;We chose Sify to conduct our Security Consulting Audit as they are our Internet Bandwidth service provider, and we realized they could provide world-class network security services to us. Our experience with Sify for the security audit has been very good.&rdquo;<br><br><b>Mr. A. K. Sircar</b><br><em>Controller - Information Technology</em><br>Organon (India) Limited</p>";
	lat_news_three="<p class='bodyTxt1'>&ldquo;This is the first time I am working with a consultant who exceeded my expectations!! Having worked in the Customer Satisfaction tracking industry I know how difficult it is to get an 'exceeded expectations' rating!!&rdquo;<br><br><b>Mr. David Krueger</b><br><em>Global Operations IT Director</em><br>Talisma</p>";
	lat_news_four="<p class='bodyTxt1'>&ldquo;Sify's leadership in India for providing MPLS Layer 2 and Layer 3 VPN services for enterprises with full redundancies built at all levels, along with their strong value proposition for providing International MPLS connectivity services played a critical role in WOIL adopting their network.&rdquo;<br><br><b>Mr Ajay Khanna</b><br><em>Manager IT &amp; Networks</em><br>Whirlpool of India Limited</p>";
	prev="null";
	
	function change_news(news_val)
	{
		if (prev != news_val)
		{
			switch(news_val)
			{	
				case "1"  :
						if (bw.ns4) 
						{ 
	  						document.lat_news.document.open(); 
							document.lat_news.document.write(lat_news_one);
							document.slideshowlayer.document.close(); 	
						} 
						else if (bw.ns6) 
						{
							document.getElementById("lat_news").innerHTML = lat_news_one; 							
						} 
						else
						{ 
							lat_news.innerHTML = lat_news_one; 
						}
						break;

				case "2"  :
						if (bw.ns4) 
						{ 
	  						document.lat_news.document.open(); 
							document.lat_news.document.write(lat_news_two);
							document.slideshowlayer.document.close(); 	

						} 
						else if (bw.ns6) 
						{
							document.getElementById("lat_news").innerHTML = lat_news_two; 							
						} 
						else
						{ 
							lat_news.innerHTML = lat_news_two; 
						}
						break;
				case "3"  :
						if (bw.ns4) 
						{ 
	  						document.lat_news.document.open(); 
							document.lat_news.document.write(lat_news_two);
							document.slideshowlayer.document.close(); 	

						} 
						else if (bw.ns6) 
						{
							document.getElementById("lat_news").innerHTML = lat_news_three; 							
						} 
						else
						{ 
							lat_news.innerHTML = lat_news_three; 
						}
						break;

					prev=val;
				case "4"  :
						if (bw.ns4) 
						{ 
	  						document.lat_news.document.open(); 
							document.lat_news.document.write(lat_news_four);
							document.slideshowlayer.document.close(); 	

						} 
						else if (bw.ns6) 
						{
							document.getElementById("lat_news").innerHTML = lat_news_four; 							
						} 
						else
						{ 
							lat_news.innerHTML = lat_news_four; 
						}
						break;

					prev=val;
					
			}
		}
	}

function changeLatestNews()
{
	if(news_toggle==1) news_val="1";
	if(news_toggle==2) news_val="2";
	if(news_toggle==3) news_val="3";
	if(news_toggle==4) news_val="4";
	setTimeout('change_news(news_val);news_controller();',12000);
}

function news_controller()
{
	news_toggle += 1;
	if (news_toggle == 5) news_toggle = 1;
	changeLatestNews();
}