var ss_impath="http://imgs.bharatmatrimony.com/bmimages/successimgs/marwadi/";	
var banner=new Array();
banner[0]=new Array(); banner[0]['MID']=['D195318']; banner[0]['COUPLENAMES']=['Madhu Agarwal & Vinamra Agarwal']; banner[0]['STORY']=['Hi, I am Vinamra here and working with ICICI Prudetial Life Insurance as an  Area Manager...'];
banner[1]=new Array(); banner[1]['MID']=['D263311']; banner[1]['COUPLENAMES']=['Supriya & Pankaj']; banner[1]['STORY']=['Lots of Thanks to Marwadimatrimony.com In just 6 days after getting paid membership i got a call...'];
banner[2]=new Array(); banner[2]['MID']=['H2485337']; banner[2]['COUPLENAMES']=['Neha & Nimish']; banner[2]['STORY']=['I received Neha\'s profile through BharatMatrimony\'s daily match emails....'];
banner[3]=new Array(); banner[3]['MID']=['H1547439']; banner[3]['COUPLENAMES']=['Sweta Rani & Kishore Kumar Sahu']; banner[3]['STORY']=['Hi BM Team, First of all let us thanks each and everyone who...'];
banner[4]=new Array(); banner[4]['MID']=['H1648249']; banner[4]['COUPLENAMES']=['Nikita Bansal & Yogesh Chauhan']; banner[4]['STORY']=['Thanks to Bharatmatrimony.com which changed our lives all together !!..'];

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']=['D263311']; horobanner[0]['HCOUPLENAMES']=['Supriya & Pankaj']; horobanner[0]['HSTORY']=['Lots of Thanks to Marwadimatrimony.com In just 6 days after getting paid membership i got a call, her parents contacted my family we met each other and we got engaged...'];

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=''>"; }
}
