var ss_impath="http://imgs.bharatmatrimony.com/bmimages/successimgs/telugu/";	
var banner=new Array();
banner[0]=new Array(); banner[0]['MID']=['T1660226']; banner[0]['COUPLENAMES']=['Sumalatha & Santosh Kumar']; banner[0]['STORY']=['Although we belong to same neighbourhood in Mahabubnagar and our parents being close friends...'];
banner[1]=new Array(); banner[1]['MID']=['T1299904']; banner[1]['COUPLENAMES']=['Bhavya & Sathish Kumar']; banner[1]['STORY']=['It\'s quite exciting to share our story...since you guys are the reason how me and Bhavya met... '];
banner[2]=new Array(); banner[2]['MID']=['T1375301']; banner[2]['COUPLENAMES']=['G. Moushumi & Pydansuman']; banner[2]['STORY']=['Moushumi\'s parents contacted my parents after seeing my profile...'];
banner[3]=new Array(); banner[3]['MID']=['T1175104']; banner[3]['COUPLENAMES']=['Krishna Priya & Rajshekhar']; banner[3]['STORY']=['After selecting the profile and mathcing the horoscopes.Our parents arranged for a meet at pune...'];
banner[4]=new Array(); banner[4]['MID']=['T932100']; banner[4]['COUPLENAMES']=['Aparna Divakaruni & Varanasi Krishna Chaitanya']; banner[4]['STORY']=['We thank Telugu Matrimony for providing us wide range of profiles...'];

function successautorotate() {		
	var whichbanner=Math.floor(Math.random()*(banner.length));		
	if (document.getElementById('SSMID')) { document.getElementById('SSMID').innerHTML=banner[whichbanner]['MID']; }
	if (document.getElementById('SSCOUPLENAMES')) { document.getElementById('SSCOUPLENAMES').innerHTML=banner[whichbanner]['COUPLENAMES']; }
	if (document.getElementById('SSSTORY')) { document.getElementById('SSSTORY').innerHTML=banner[whichbanner]['STORY']; }
	if (document.getElementById('SSIMG')) { document.getElementById('SSIMG').innerHTML="<img src='"+ss_impath+banner[whichbanner]['MID']+".jpg' width='121' height='81' border='0' alt=''>"; }
}

var hoross_impath="http://imgs.bharatmatrimony.com/bmimages/success/popimages/";	
var horobanner=new Array();
horobanner[0]=new Array(); horobanner[0]['HMID']=['T1378967']; horobanner[0]['HCOUPLENAMES']=['Pushpanjali & Madhava reddy']; horobanner[0]['HSTORY']=['Madhav was actually a paid member in Telugu Matrimony. He send me the request then both families met with each other ..'];

function horosuccessautorotate() {	
	var whichbanner=Math.floor(Math.random()*(horobanner.length));			
	if (dgebid('HSSCOUPLENAMES')) { dgebid('HSSCOUPLENAMES').innerHTML=horobanner[whichbanner]['HCOUPLENAMES']; }
	if (dgebid('HSSSTORY')) { dgebid('HSSSTORY').innerHTML=horobanner[whichbanner]['HSTORY']; }
	if (dgebid('HSSIMG')) { dgebid('HSSIMG').innerHTML="<img src='"+hoross_impath+horobanner[whichbanner]['HMID']+".jpg' width='121' height='81' border='0' alt=''>"; }
}
