var ss_impath="http://imgs.bharatmatrimony.com/bmimages/successimgs/kannada/";	
var banner=new Array();
banner[0]=new Array(); banner[0]['MID']=['K553653']; banner[0]['COUPLENAMES']=['Priyadarsini & Rajasekar']; banner[0]['STORY']=['we came to know each other through matrimony. he saw my profile and approached my father...'];
banner[1]=new Array(); banner[1]['MID']=['K550225']; banner[1]['COUPLENAMES']=['Jyothi H.G & Lokesh G']; banner[1]['STORY']=['I met my wife Jyothi on Kannada Matrimony. We first interacted based on the listing...'];
banner[2]=new Array(); banner[2]['MID']=['K622901']; banner[2]['COUPLENAMES']=['Kavya & Sudeer rao']; banner[2]['STORY']=['Thanks a lot for helping me to find a suitable match'];
banner[3]=new Array(); banner[3]['MID']=['K662154']; banner[3]['COUPLENAMES']=['Ramya & Ashok']; banner[3]['STORY']=['Thanks for helping me in finding my soul mate.'];
banner[4]=new Array(); banner[4]['MID']=['K701170']; banner[4]['COUPLENAMES']=['Rashmi & Avinash']; banner[4]['STORY']=['Thanks to the website and wish the team a long grand successes.'];


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