var ss_impath="http://imgs.bharatmatrimony.com/bmimages/successimgs/punjabi/";	
var banner=new Array();
banner[0]=new Array(); banner[0]['MID']=['P938856']; banner[0]['COUPLENAMES']=['Neetu & Gurdeep']; banner[0]['STORY']=['We are married today because of PunjabiMatrimony.com.'];
banner[1]=new Array(); banner[1]['MID']=['P856875']; banner[1]['COUPLENAMES']=['Poonam & Yogesh']; banner[1]['STORY']=['Our engagement is completed on 12th Dec 2010 & We are get married on on 12th March 2011...'];
banner[2]=new Array(); banner[2]['MID']=['P947998']; banner[2]['COUPLENAMES']=['Nidhi & Rajat']; banner[2]['STORY']=['We met via BharatMatrimony and tied in wed-lock... forever.... Made for each other...'];
banner[3]=new Array(); banner[3]['MID']=['P961523']; banner[3]['COUPLENAMES']=['Anshu Bhandari & Nitin Chopra']; banner[3]['STORY']=['Few days before the engagement, I watched the profile of Anshu Bhandari and I sent...'];
banner[4]=new Array(); banner[4]['MID']=['P935902']; banner[4]['COUPLENAMES']=['Parul & Punit pal']; banner[4]['STORY']=['We are happy with the service provided by 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']=['H3225240']; horobanner[0]['HCOUPLENAMES']=['Sameera & Wadhwa']; horobanner[0]['HSTORY']=['...maine paid membership li aur jab sameera se baat hui or jab main unse mila to bus tabhi humne ik doosre ko select kar liya'];

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