 $(document).ready(function(){ 
        $(document).pngFix(); 
    }); 


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

var slides=new Array("null","","","","");
var slideCurrent = 1;
var slideTracker = 1;

var slideData = new Array();
      slideData[1] = "<div class='subhdr'>MarketLive </div> MarketLive is an intelligent mobile application that offers investors the ability to monitor the market movement, track stocks and portfolio in real-time, get real time market news, manage investment accounts, and trade stocks. The application provides an easy to use and rich user interface. <br><br>Combined with market data feed, proactive trading alerts, brokerage houses can deliver the richest set of investment capabilities in the global financial markets.";
	  slideData[2] = "<div class='subhdr'>BankLive</div> BankLive mobile application offers consumers a robust and unrivalled user experience to view accounts, pay bills, transfer funds, interact with banks easily and quickly. <br><br>Leverging the BankLive capabilities for account management, location based services and interactive customer engagement, banks and financial institutions can reduce their operational costs and penetrate into new markets.";  
      slideData[3] = "<div class='subhdr'>CashLive</div>CashLive banking and payment application empowers mobile operators and banks to transform mobile phones into a digital bank account. <br><br>Migrant workers, domestic service workers, youth, and other unbanked customers can now access banking functions using mobile devices - the actionable command user interface enables the customers to conduct their financial activities quickly and securely.";
      slideData[4] = "<div class='subhdr'>MediaLive</div>MediaLive is the most robust and user friendly application that allows media companies to deliver their content to mobile users in rich native device format.<br><br> MediaLive allows media and content companies to reach millions of users with minimal cost, while maximize on the advertisement revenue.  The solution allows our customers to increase the user base with rich analytical capabilities."
	   slideData[5] = "<div class='subhdr'>RewardLive </div>The explosive growth of smart phones has provided a unique opportunity to leading brands to build loyalty and affinity with their customers in an (Always Connected) mode.<br><br>Increasingly more customers are looking to their phones to search, browse and get coupons for the products they buy at the point of sale. Providing these users with a rich mobile experience will keep the customer loyalty high and drive higher brand affinity."
	   slideData[6] = "<div class='subhdr'>ServiceLive </div>ServiceLive from Vizio Mobile is a wireless field service solution that strategically automates and streamlines manual processes.  ServiceLive from Vizio Mobile is an end-to-end Workflow Solution that enables the enterprises to automate the last, but most important line of interaction with their customers, driving enhanced customer loyalty.<br><br>ServiceLive is a robust and scalable solution that goes beyond the basics of mobile field service.";

function MM_setSlideTimer(){
	delete slideTimerID;
	slideTimerID = setTimeout ( "MM_setSlide()", 10000 );
}

function MM_clearSlideTimer(){
	clearTimeout(slideTimerID);
}

function MM_setSlide(id){
	//slideTracker++;
	//document.getElementById("slidetracker").innerHTML = slideTracker;
	MM_clearSlideTimer();
	//alert("set slide!");
	if(id == null){
		id = slideCurrent+1;
		if(id>6){
			id=1;
		}
	}
	for(x=1;x<7;x++){
		if(x!=id){
			MM_swapImage('nav_'+slides[x],'','images/'+slides[x]+'',1);
		}else{
			MM_swapImage('nav_'+slides[x],'','images/'+slides[x]+'',1);
			
			
			// right side main application swap images script//
			// end swap image script//
			
			document.getElementById("slidetext").innerHTML = slideData[id];
		}
	}
	slideCurrent = id;
	MM_setSlideTimer();
}
