var ss_impath="http://imgs.bharatmatrimony.com/bmimages/successimgs/bengali/";	
var banner=new Array();
banner[0]=new Array(); banner[0]['MID']=['B707801']; banner[0]['COUPLENAMES']=['Sarmistha & Sajal']; banner[0]['STORY']=['We got married on January 16, 2011 after we found each other through Bharat Matrimony...'];
banner[1]=new Array(); banner[1]['MID']=['B595442']; banner[1]['COUPLENAMES']=['Sanghita & Debojit']; banner[1]['STORY']=['We both met each other through Bengalimatrimony. I had expressed interest in her profile and she replied...'];
banner[2]=new Array(); banner[2]['MID']=['B366564']; banner[2]['COUPLENAMES']=['Bedasruti Gupta & Subhadip Majumdar']; banner[2]['STORY']=['It\'s quite exciting to share our story...Search for an ideal partner was on for...'];
banner[3]=new Array(); banner[3]['MID']=['B783796']; banner[3]['COUPLENAMES']=['Phalguni Pal & Shubhbrata Roy']; banner[3]['STORY']=['The profile I had created for my son and within one month I received the perfect match...'];
banner[4]=new Array(); banner[4]['MID']=['B855044&B810858']; banner[4]['COUPLENAMES']=['Stuti Banerjee & Ankur Chatterjee']; banner[4]['STORY']=['We lived in the same locality but met each other at Bharatmatrimony.com...'];

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']=['B595442']; horobanner[0]['HCOUPLENAMES']=['Sanghita & Debojit']; horobanner[0]['HSTORY']=['We met each other on Bengalimatrimony. I had expressed interestand she replied few months later after getting the paid membership.'];

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=''>"; }
}
