var screenWidth, newVisitor, viewWidth, winWidth, scn_width, enddate, strCaption
var menuViewType=GetCookie("menuViewType")
menuViewType=(menuViewType == null)?"Tree":menuViewType
var encodeMode=0
var useFrame="False"
var isBanglaText=false
	
var isPrinterFriendly=(getQueryString("printerfriendly")==1)?1:0

var BLANKIMAGE	='<img src="' + '/images/blank.gif">'
var sQuote='"'


//WINDOW SIZE
	enddate=new Date()
	enddate.setTime(enddate.getTime()+(60*60*24*1000*1460))

	screenWidth=screen.availWidth
	newVisitor = (GetCookie("ScreenWidth") == null)?true:false
	viewWidth=screenWidth - 30
	winWidth=viewWidth - 334
	scn_width=viewWidth  
	
	
	//if (newVisitor!=true)
	//	DeleteCookie("ScreenWidth")
	//SetCookie("ScreenWidth", screenWidth, enddate.getTime()+60*60*24*1000*1460)
	


var winTitleBg,	winTitleFg,winBg,fieldLabelBg,fieldBg,cellbody,columnhd,linkColor,leftPanelBg,bottomPanelBg,winSurroundBg
if (winTitleBg=="" || typeof(winTitleBg)=="undefined") {
	
	winTitleBg = "#7897C5"
	winTitleFg = "#ffffff"
	winBg = "#ffffff" 
	fieldLabelBg = "#bbcbdb"
	fieldBg = "#ffffff"
	cellbody = "#ecefef"
	columnhd ="#deeff4"  
	linkColor="#4040ff"
	bottomPanelBg="#eefdff"
	winSurroundBg="#ccddee"
	leftPanelBg=bottomPanelBg
}

var menuBgNormal=bottomPanelBg
var menuBgSub ="#ccffee"
var menuBgSelected= "#64c4b0" //"#ccffee"
var LineImage='<img src="/images/blank.gif" height="1" width="1" border="0">'
var DottedHLineImage=' background="/images/dottedhline.gif"'
var DottedVLineImage='<img src="/images/dottedvline.gif" height="1" width="1" border="0">'
var vLineRight='<td width="1" bgcolor="#406080">'+LineImage+'</td><td width="1" bgcolor="black">'+LineImage+'</td><td width="1" bgcolor="#777777">'+LineImage+'</td>'



var app=navigator.appName
var vers=navigator.appVersion
var version = (parseInt(navigator.appVersion.charAt(0))>3)?4:parseInt(navigator.appVersion.charAt(0))
var browzer=(((app=='Netscape') && (parseInt(vers)<=3))?"NS3":((app=='Microsoft Internet Explorer') && (parseInt(vers)<=3))?"IE3":((app=='Microsoft Internet Explorer') && (parseInt(vers)>3))?"IE4":((app=='Netscape') && (parseInt(vers)>3))?"NS4":"AA")
var browzerType = (browzer.substr(0,2)) + "-" + ((version>3)?"DHTML":"STATIC")

var menus = new Array()
var greeting=true
var isOnline=(location.hostname.substr(0,5)=="stage") ? false : true
var isLocal =(location.hostname.substr(0,5)=="bengal")? false : true


var jdf_test=GetCookie("Joydurga");
jdf_test = (jdf_test != null)?jdf_test.toLowerCase():""
var JDFSupplied = (GetCookie("Sitemarvel Fonts") == "Downloaded" || jdf_test == "durga mai ki joy" )?true:false
var JDFDeclined = (GetCookie("Joydurga") == "Declined" || GetCookie("Sitemarvel Fonts") == "Declined")?true:false
var SmBanglaFonts = (GetCookie("BOJDF") == "yes")?true:false
var UserName = GetCookie("Logon")



var dload=0
var installed=0
var dloadprompt='<span style="color:green; font-size=16">I want to download font</span>'
var isjdfprompt='<span style="color:green; font-size=16">Yes, I installed Sitemarvel Bangla</span>'









var glrypix=new Array(6)
var glryurls=new Array(6)
var newspix=new Array(3)
var newsurls=new Array(3)
var utilpix=new Array(13)
var utilurls=new Array(13)
var no_items=0 
var no_urls=0
var showgroup="nye"; //vcard type 
var str=""
var engine="AltaVista"
var urlref = ""
var img0,img1,img2,img3
var dir=""
var thisFile=false
var remote="" //"top.noframe"
var boLogo, boPresents, boHome,boMenu;
var isLoaded=true
var contentRef="index.asp"
var chat_alias=""
var chat_room=0
var chat_login=""	
var chat_passw=""	
var chat_window=null			
			

     	
if (browzer>"IE2") {
	boLogo = new Image(234,40)
	boPresents = new Image(208,50)
	boHome = new Image(50,20)
	boMenu = new Image(150,96)
    boLogo.src = ""
    boPresents.src ="/images/bo_presents.gif"
	boHome.src="/images/bo1.gif"
	boMenu.src="/images/colormenu2.gif"
	
	img0="boLogo.src" 
	img1="boPresents.src"
	img2="boHome.src"
	img3="boMenu.src"
}
else{
	img0=""
	img1="/images/bo_presents.gif"
	img2="/images/bo1.gif"      
	img3="/images/colormenu2.gif"
}




glrypix[0]="Intro"
glrypix[1]="Arts"
glrypix[2]="Literature"
glrypix[3]="Folklore"
glrypix[4]="Pride of..."
glrypix[5]='Home'
glryurls[0]="gallery.asp"
glryurls[1]="bengali-arts.asp"
glryurls[2]="bengali-literature.asp"
glryurls[3]="bengali-folklore.asp"
glryurls[4]="bengali-greats.asp"
glryurls[5]="index.asp"

utilpix[0]="Send Cards"
utilpix[1]="Matrimonial"
utilpix[2]="InTouch"
utilpix[3]="Classified"
utilpix[4]="CalChat"
utilpix[5]="Community"
utilpix[6]="BanglaWriter"
utilpix[7]="eBaarta"
utilpix[8]="EventsReport"
utilpix[9]="ViewPoints"
utilpix[10]="AalapChakra"
utilpix[11]="OpinionPolls"
utilpix[12]="Festival"
utilurls[0]="/virtual_cards/send_card.asp"
utilurls[1]="matrimony.asp"
utilurls[2]="ff.asp"
utilurls[3]="buscol.asp"
utilurls[4]="calchat.asp"
utilurls[5]="commune.asp"
utilurls[6]="eztext.asp"
utilurls[7]="ebaarta.asp"
utilurls[8]="eventsreporter.asp"
utilurls[9]="dristikone.asp"
utilurls[10]="freechatline.asp"
utilurls[11]="survey.asp"
utilurls[12]="rejoice.asp"


/* proofing online visitor is not a form submit bot */
var botProofString
var grafxFontArr=new Array(36)
grafxFontArr[0]="0.gif"
grafxFontArr[1]="1.gif"
grafxFontArr[2]="2.gif"
grafxFontArr[3]="3.gif"
grafxFontArr[4]="4.gif"
grafxFontArr[5]="5.gif"
grafxFontArr[6]="6.gif"
grafxFontArr[7]="7.gif"
grafxFontArr[8]="8.gif"
grafxFontArr[9]="9.gif"
grafxFontArr[10]="a.gif"
grafxFontArr[11]="b.gif"
grafxFontArr[12]="c.gif"
grafxFontArr[13]="d.gif"
grafxFontArr[14]="e.gif"
grafxFontArr[15]="f.gif"
grafxFontArr[16]="g.gif"
grafxFontArr[17]="h.gif"
grafxFontArr[18]="i.gif"
grafxFontArr[19]="j.gif"
grafxFontArr[20]="k.gif"
grafxFontArr[21]="l.gif"
grafxFontArr[22]="m.gif"
grafxFontArr[23]="n.gif"
grafxFontArr[24]="o.gif"
grafxFontArr[25]="p.gif"
grafxFontArr[26]="q.gif"
grafxFontArr[27]="r.gif"
grafxFontArr[28]="s.gif"
grafxFontArr[29]="t.gif"
grafxFontArr[30]="u.gif"
grafxFontArr[31]="v.gif"
grafxFontArr[32]="w.gif"
grafxFontArr[33]="x.gif"
grafxFontArr[34]="y.gif"
grafxFontArr[35]="z.gif"



function getQueryString(strQs)
{
	var readFrom, ret=""
	if (strQs!="") {
		var arrQueryStrings = new Array()
		var qryStr=unescape(location.search)
	
		arrQueryStrings=qryStr.split("&")
		for (var i=0;i<arrQueryStrings.length;i++) {
			if (arrQueryStrings[i].indexOf(strQs)!=-1) 	{
				readFrom=arrQueryStrings[i].indexOf("=")+1
				ret=arrQueryStrings[i].substr(readFrom)
				break
			}
		}
	}
	return(ret)		
}


function proofUserEntry(entry)
{
	if (entry != botProofString) {
		alert("Online verification string empty or does not match the Control String displayed. Check and re-enter.")
		location.reload()
	}
	else {
		document.getElementById("actualForm").style.visibility="visible"
		isHuman()
	}
}

function printGrafxNumber(nmb)
{
	var asciiCode,ndx,grafxHtml=""
	for (x=0;x<6;x++) {
		asciiCode=nmb.charCodeAt(x)
		if (asciiCode > 96) 
			ndx=asciiCode-87 // take 96 and add 10
		else
			ndx=asciiCode-48
		grafxHtml=grafxHtml+'<img src="/images/grafx/'+grafxFontArr[ndx]+'" width="30" height="30" alt="">'
	}
	document.write(grafxHtml)	
}

function genrateAlphaNumericRandomString()
{
	var chr,ndx,ANRString=""
	for (x=0;x<6;x++) {
		ndx=Math.round(Math.random()* 35)
		chr=grafxFontArr[ndx].charAt(0)
		ANRString=ANRString+chr
	}
	botProofString=ANRString
}


/* eop: proofing online visitor is not a form submit bot */


var now = new Date()
var sec = now.getSeconds()
var len = 4
var today=new Date()
var mins=today.getMinutes()
var ap=today.getHours()
var yr=today.getYear()
var kp="doChar"  //top.remote+".doChar"
var kd="checkDown" //top.remote+".checkDown"
var kpwa="IEfix" //top.remote+".IEfix"
var kpfx="NSfix" //top.remote+".NSfix"
var wcLatelines=""
var wcHeadlines=""
var wcMenu='<b><big><u>THE CUP SPECIAL</u></big></b><br>&#149; <a href="worldcup.html#start">World Cricket on show</a><br>&#149; <a href="worldcup.html#todays">Next Match</a><br>&#149; <a href="worldcup.html#scoreboard">The Scoreboard</a><br>&#149; <a href="worldcup.html#winners">Winners of the Cup</a><br>&#149; <a href="worldcup.html#teams">The Cup Teams</a><br>&#149; <a href="worldcup.html#schedule">Games Schedule</a><br>&#149; <a href="wcdays.html#start">Daily Summary + Stats</a><br>&#149; <a href="feedback.asp"> Your opinion</a></small><br>'
var secs = new Date()
var days=new Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat");
var mths=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
var mssg=(ap<12)?"Good Morning!":(ap>16)?"Good Evening!":"Good Afternoon!"
var eHeadlines = "<br><b><big>News Headlines:</big></b><br>&#149; Shantidev Ghosh goes behind the curtain<br>&#149; DU to confer D.Lit. to PM Hasina<br>&#149; Indira: the Woman of the Millennium<br>&#149; Pak junta plots to legitimise takeover<br>&#149; Calcutta no more - try Kolkata<br><br>"
var bHeadlines ="<br>&#254; KlKrZr„ Argrk eukxdr kràrMuxlr sfxk AroxQ <br>&#254; Çcrdi‹²t prsodrxK XrKr sgmšsgbìrl„ sWslU ùb„r pxg<br>&#254; mrs¿xbg ùNrn sPkÇmrs¿k ùlrxK ers‚ sbxld<br>&#254; prRrk gQxkk ùmŸÙr drkt Bs‹bkr MrÁt<br>&#254; KrksMl ùUe - ersKàrdt oriskK Px¦k Dgík P¦r¿<br>&#254; KlKrZr, KrlKrZr<br><br>"


timenow=ap+":"+mins
ap=(ap>11)?"pm ":"am "
mins=(mins<10)?"0"+mins:mins
yr=(yr<2000)?eval(1900+yr):yr
datenow=today.getDate()+' '+mths[today.getMonth()]+' '+yr;
//mssg='<b> '+mssg+ '</b> &#149; '+ days[today.getDay()]+' '+datenow+' '+today.getHours()+':'+mins+ap+ ' &#149; Best Viewed in 800x600 &#149; <b>Script Enabled</b>'
var rnd = (sec < len) ? sec : sec % (len)


function setupContent()
{ 
location=contentRef
}

var groups = new Array()
groups[0]=""
groups[1]="Bengal & Bengali"
groups[2]="Heritage Gallery"
groups[3]="Gharey-Bairey"
groups[4]="Classifieds"
groups[5]="Cards & Gifts"
groups[6]="BangoSandhan"
groups[7]="Special Archive"
groups[8]="Home"
groups[9]="MyPreferences"

menus[0]=new service(0,"/bengal.asp","Bengal & Bengali")
menus[1]=new service(0,"/gallery.asp","Heritage Gallery")
menus[2]=new service(0,"/gb.asp","Gharey-Bairey")
menus[3]=new service(0,"/matrimony.asp","Matrimonials/Classifieds")
menus[4]=new service(0,"/virtual_cards/select_card.asp","Cards & Gifts")
menus[5]=new service(0,"/bangosandhan/","Bangosandhan")
menus[6]=new service(0,"/puja2k/puja2k.asp","Special Archive")
menus[7]=new service(0,"/index.asp","Home")
menus[8]=new service(0,"/preferences.asp","MyPreferences")

menus[9]=new service(1,"/bengal.asp","Bengal")
menus[10]=new service(1,"/bengali4u.asp","ActiveBengali")
menus[11]=new service(1,"/unicode.asp","ActiveForum")
menus[12]=new service(1,"/fontdload.asp","Bangla Font")
menus[13]=new service(1,"/fontfaq.asp","Font Help")
menus[14]=new service(1,"/eztext.asp","BanglaWriter")
menus[15]=new service(1,"/ezBangla.asp","ezBangla Keyboard")
menus[16]=new service(1,"/ebaarta.asp","eBaarta - Bangla eMail")
menus[17]=new service(1,"/bengali-calendar.asp","Panjika")
menus[18]=new service(1,"/commune.asp","CommunityConnect")
menus[19]=new service(1,"/survey.asp","Community Issues/Polls")


menus[20]=new service(2,"/bangla-quotes.asp","Memorable Quotes")
menus[21]=new service(2,"/bengali-literature.asp","Literature")
menus[22]=new service(2,"/bengali-folklore.asp","Folk Traditions")
menus[23]=new service(2,"/bengali-arts.asp","Arts & Crafts")
menus[24]=new service(2,"/bengali-greats.asp","Hall of Fame")

menus[25]=new service(3,"/gb.asp","Bisteerna Dooparey")
menus[26]=new service(3,"/novel.asp","eNovel")
menus[27]=new service(3,"/newsbrief.asp","Sambad Konika")
menus[28]=new service(3,"/banglanews.asp","Parikroma")
menus[29]=new service(3,"/dristikone.asp","Dristikone")
menus[30]=new service(3,"/eventsreporter.asp","EventsReporter")
menus[31]=new service(3,"/anganeybihanga.htm","AnganeyBihango")
menus[32]=new service(3,"/ePaathshaala.asp","ePaathshaala")

menus[33]=new service(4,"/jobs.asp","Jobs")
menus[34]=new service(4,"/matrimony.asp","Matrimonials")
menus[35]=new service(4,"/buscol.asp","Classifieds")
menus[36]=new service(4,"/ff.asp","MessageBoard")
menus[37]=new service(4,"/calchat.asp","Places in Heart")

menus[38]=new service(5,"/virtual_cards/select_card.asp","Greeting Cards")
menus[39]=new service(5,"/freechatline.asp","Chatrooms")
menus[40]=new service(5,"/rejoice.asp","Festival Book")
menus[41]=new service(5,"/gift.html","Your Free Gift")
menus[42]=new service(5,"/shops/","Gift Shop")
menus[43]=new service(5,"http://www.amazon.com/exec/obidos/redirect-home/bengalonline","Books CDs Toys")

menus[44]=new service(6,"/bangosandhan/","BangoSandhan")
menus[45]=new service(6,"/search.asp","VisvaSandhan")
menus[46]=new service(6,"/bangosandhan/bo_urls.asp","Suggest a Site (Add URL)")

menus[47]=new service(7,"/puja2k/puja2k.asp","Puja 2000 Special") //probasi.html
menus[48]=new service(7,"/puja99/puja99.asp","Puja 99 Special")
menus[49]=new service(7,"/puja99/darshan99.asp","DeviDarshan 99")
menus[50]=new service(7,"/sports2000.asp","SportsDigest")
menus[51]=new service(7,"/netajigate.html","NetajiGate")

menus[52]=new service(8,"/index.asp","Home")
menus[53]=new service(8,"/about.asp","About Us")
menus[54]=new service(8,"/mission.asp","Mission")
menus[55]=new service(8,"/credits.asp","Acknowledgement")
menus[56]=new service(8,"/whatsnew.asp","What\'s New")
menus[57]=new service(8,"/whatusaid.html","What Visitors Said")
menus[58]=new service(8,"/feedback.asp","Comment")

menus[59]=new service(9,"/preferences.asp","Session Preferences")




function mainMenu()
{
	document.write('<table width="100%" border="0"><tr><td><map name="menumap">',
	'<area shape="rect" coords="0, 9, 150, 22" href="bengal.asp">',
	'<area shape="rect" coords="0, 21, 150, 36" href="gallery.asp">',
	'<area shape="rect" coords="0, 37, 150, 50" href="probasi.html">',
	'<area shape="rect" coords="0, 51, 150, 64" href="gb.asp">',
	'<area shape="rect" coords="0, 65, 150, 78" href="feedback.asp">',
	'<area shape="rect" coords="0, 79, 150, 92" href="/bangosandhan/">',
	'</map><img src="'+eval(img3)+'" height="96" width="150" usemap="#menumap" border="0"></td></tr></table>',
	'<table align="center" cellpadding="0" cellspacing="0" bgcolor="#0000cc" width="150"><tr><td><font size="1"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr></table>');
}

function script_troubleMenu()
{
	document.write('<map name="troublemap">',
	'<area shape="rect" coords="5, 35, 145, 47" href="bengaliweb.asp">',
	'<area shape="rect" coords="5, 48, 145, 61" href="script-reform.asp">',
	'<area shape="rect" coords="5, 62, 145, 75" href="script-reform2.asp">',
	'</map><img src="/images/the_trouble_is.gif" height="80" width="150" usemap="#troublemap" border="0">');
}

function banglaMenu()
{
	document.write('<map name="banglamap">',
	'<area shape="rect" coords="40, 3, 145, 55" href="/novel.asp">',
	'<area shape="rect" coords="10, 60, 145, 95" href="/ePaatshaala.htm">',
	'<area shape="rect" coords="3, 105, 110,150" href="/gb.asp">',
	'<area shape="rect" coords="3, 151, 110, 195" href="/dristikone.asp">',
	'<area shape="rect" coords="15, 205, 145, 240" href="/bengali-calendar.asp">',
	'<area shape="rect" coords="40, 250, 145, 295" href="/eztext.asp">',
	'<area shape="rect" coords="155, 3, 255, 55" href="/eventsreporter.asp">',
	'<area shape="rect" coords="155, 60, 285, 95" href="/ebaarta.asp">',
	'<area shape="rect" coords="188, 105, 295, 150" href="/anganeybihanga.htm">',
	'<area shape="rect" coords="188, 151, 295, 195" href="/banglanews.asp">',
	'<area shape="rect" coords="155, 205, 285, 240" href="/gb.asp">',
	'<area shape="rect" coords="155, 250, 255, 295" href="/bengaliweb.asp">',
	'<area shape="rect" coords="115, 115, 185, 185" href="/fontdload.asp">',
	'</map><img src="/images/banglamenu.gif" height="300" width="300" usemap="#banglamap" border="0">');
}
function qsearch()
{
	if (document.forms["BOS"].keyword.value=="") {
		alert("First enter the search string - then click go!")	;
	}
	else
		document.forms["BOS"].submit();
}

function floatButton () {
	if (document.all) {
		document.all.topTable.style.pixelTop = document.body.scrollTop;
	}
	/*
	else { 
		if (document.layers) {
			document.topTable.top = window.pageYOffset;
		}
		else {
			if (document.getElementById) {
				document.topTable.style.position='absolute';
				document.getElementById('topTable').style.top = -10;
			}
		}
	}
	*/
}

var TT_SMLink = '<div id=smAdvert style=\"width:300px;height:300px;border:1px;background-color:white;\"> '+
	'<table align=center width=280><tr><td><h3 class=englishTextBig>We don\'t just develop websites</h3><p align=justify class=englishText> We create interactive web applications to give your customers an enjoyable experience to view and know about your products and services. Not only do they feel at home, they develop a realistic feel of your operation, environment, customs and service capabilities.</p>' +
	'<br><div align=center><img src=\"http://www.sitemarvel.com/images/think-SM.gif\" width=145></div></td></tr></table></div>'
	
	
function topPanel(wx,sbHtml)
{
	

	//discard wx param
	wx=viewWidth
	
	if (window.location.hostname=="www.bengalonline.sitemarvel.com")
		window.location.hostname = "bengalonline.sitemarvel.com";
		document.getElementsByTagName("BASE").href="http://"+ window.location.hostname 
		visitor=GetCookie("Logon")
		if (visitor.length)
		   visitorWelcomeMsg="| Welcome " + GetCookie("Logon") + " |"
		else
		   visitorWelcomeMsg=""
		
	var tp = '<body  bgcolor="#ccddee" text="#204080" alink="#4040ff" link="#4040ff" vlink="#4040ff" topmargin="0" marginheight="0" leftmargin="1" marginwidth="1">' +
    '<a name="start"></a>' +
    '<div name="topTable" ID="topTable" STYLE="position:relative; top:0px; z-index:999;background-color:white; overflow:visible;">' +
    '<table bgcolor="#000000" width="100%" border="0" cellpadding="0" cellspacing="0">'+
		'<tr><td bgcolor="#0F9675" width="'+eval((screenWidth-550)/2)+'"> &nbsp;</td>'+
		'<td bgcolor="#0F9675" align="center">&nbsp;<br>'
				//alert(location.hostname)
				if (location.href=="http://"+location.hostname+"/index.asp" || location.href=="http://"+location.hostname+"/" || location.href=="http://"+location.hostname+"/index.html") {
					tp+='<table align="center" width="550" cellpadding="0" cellspacing="0" border="0">'+
						'<!--tr><td colspan="2" class="EnglishText" align="center"><a href="/bengal.asp">'+
						'<img name="mainWin" src="/images/bangobanner.jpg" width="550" height="150" usemap="#menumap" border="0" alt="click to enter"></a></td></tr-->' +
						'<tr><td width="350" bgcolor="#42a865" class="EnglishText">' + visitorWelcomeMsg + '</td>'+
						'<td bgcolor="#42a865" align="right">'+
							' |<a href="bol_prez.asp?selectedMode=prez" style="font-family:Arial,Helvetica"> quick tour</a>' +
							' |<a href="index.asp" style="font-family:Arial,Helvetica"> enter </a> |</td></tr>'+
							'</table>'
				}
		tp+='</td>' +
		'<td bgcolor="#0F9675" width="' + eval((screenWidth-550)/2)+'"> &nbsp;</td>'+
		'</tr>'+
		'<tr><td background="/images/bg_bluecircle.gif"><img src="/images/banglaSearch.gif" alt="Bangla Related Search" width="180"></td><td width="550" bgcolor="black" class="EnglishText" valign="middle">' +sbHtml+'</td><td background="/images/bg_bluecircle.gif" align="right"><a href="ebaarta.asp"><img src="/images/e-baarta.gif" alt="the First Bangla email utility" width="180" border="0"></a></td></tr>' +
	'</table>'+
	'<table width="100%" border="0" cellpadding="0" cellspacing="0">'+
		'<tr><td bgcolor="#EBFEFF" align="center" width="100%">'+
			'<table width="100%" bgcolor="#EBFEFF" align="center" height="60" cellpadding="0" cellspacing="0" border="0">' +
				'<tr><td colspan="5" bgcolor="' + winSurroundBg + '" height="8"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>' +
				'<tr><td colspan="5" height="1" bgcolor="#bbcbdb"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>'+
				'<tr>'+
					'<td width="1" bgcolor="#bbcbdb"><img src="/images/blank.gif" height="1" width="1" border="0"></td> ' +
					'<td width="180" valign="middle" height="62"><img src="/images/bologo2007.gif" width="180" height="80"></td>' +
					'<td valign="middle" align="center"><a target="_blank" href="http://www.matrimonycentre.com"><img src="http://www.matrimonycentre.com/images/matriad468x60.gif" alt="Visit http://www.matrimonycentre.com" border=0></a></td>' +
					'<td align="right" width="180"><a target="_blank" href="http://www.sitemarvel.com/"  onmouseover="this.T_ABOVE=false;this.T_LEFT=true;return escape(TT_SMLink)"><img src="http://www.sitemarvel.com/images/think-SM.gif" alt="Sitemarvel WebStudio" width="145" border="0"></td>'+
					'<td width="1"><img src="/images/blank.gif" height="1" width="1" border="0"></td> ' +
				'</tr>' +
				'<tr><td colspan="5" height="1" bgcolor="#bbcbdb"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>' + 
				'<tr><td colspan="5" bgcolor="' + winSurroundBg + '" height="8"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>' +
			'</table>' +
		'</td></tr>'+
	'</table>'+
	'</div>'; 
	document.write(tp);
	// the table scroller
	if (document.all)
		window.onscroll = floatButton;
	//else
	//	setInterval ('floatButton()', 100);
	
	
	
	
}



function columnMenu(menu_group)
{
	var main_item=0,mMenuTail="", mMenuHead="",panelTxt="",listVuTxt="", treeVuTxt="", lMenuTxt="",tMenuTxt=""
	var tgt
	if (menu_group==20) {
		menu_group=8 //redefine group
	}
	panelTxt='<table width="'+viewWidth+'" align="center" bgcolor=' + winSurroundBg + ' cellpadding="0" cellspacing="0" border="0">'
	panelTxt+='<tr><td valign="top" width="180" align="center">' + innerWindowBegin(columnhd, 180) + '<img src="/images/blank.gif" height=10>' + innerWindowBegin(leftPanelBg, 160)
	panelTxt+='<div id="menuDiv" style="position:relative;top:0;left:0;height:'+((menuViewType=="Tree")?"355px":"1100px")+';visibility:visible">'
	mMenuHead='<table width="150" bgcolor=' + leftPanelBg + ' align="center" cellpadding="0" cellspacing="0" border="0">'
	mMenuHead+='<tr><td class="englishTitle"><img align=center src="/images/bol_col_menu.gif" alt=""></td></tr>'
	mMenuHead+='<tr><td height="25" align="center"><a href="javascript:changeMenuView()"><img src="/images/changemenuview.gif" alt="Change Menu View" border="0"></a><br><br></td></tr>'
	
	treeVuTxt=panelTxt+'<div id="treeVu" style="position:absolute;top:0;left:2px;z-index:2;visibility:'+((menuViewType=="Tree")?"visible":"hidden")+';">'+mMenuHead
	listVuTxt='<div id="listVu" style="position:absolute;top:0;left:2px;z-index:1;visibility:'+((menuViewType=="List")?"visible":"hidden")+';">'+mMenuHead
	
	
	
	
	// bgcolor="' + bcolor + '"
	for (main_item=0; main_item<9; main_item++) {
		tgt=(menu_group==6)?' target="_blank"':''
		//ListView Menu display
			bcolor="#ccdddd"
			if (main_item>0) {
				lMenuTxt+='<tr><td bgcolor="'+bcolor+'" class="englishText">'+ groups[main_item] +'</td></tr>'
				lMenuTxt+=subMenu(main_item)
				lMenuTxt+='<tr><td><br></td></tr>'
			}
			
		// menuViewType=="Tree" 
			bcolor=(main_item==menu_group-1)?menuBgSub:menuBgNormal
			if (main_item==menu_group-1) {
				tMenuTxt+='<tr><td bgcolor='+bcolor+' class="englishMenuFixed"><a ' + tgt + ' class="englishMenuFixed" href="' + menus[main_item].name + '"><img src="/images/minus.gif" border="0">' + menus[main_item].desc + '</a></td></tr>'
				tMenuTxt+='<tr><td bgcolor=#cccccc width="100%"'+DottedHLineImage+'></td></tr>'
				tMenuTxt+=subMenu(menu_group)
			}
			else {
				tMenuTxt+='<tr><td bgcolor='+bcolor+' class="englishMenuFixed"><a ' + tgt + ' class="englishMenuFixed" href="' + menus[main_item].name + '"><img src="/images/plus.gif" border="0">' + menus[main_item].desc + '</a></td></tr>'
				tMenuTxt+='<tr><td bgcolor=#cccccc width="100%"'+DottedHLineImage+'></td></tr>'
			}
			
		//
		
	}
	
	//NOW PUT THE MENU LINE
	listVuTxt=listVuTxt+lMenuTxt+'</table></div>'
	treeVuTxt=treeVuTxt+tMenuTxt+'</table></div>'
	
	mMenuTail= '</div><br><br>'+
		random_ads()  + innerWindowEnd() + '<br>'+ innerWindowEnd() + '<br></td>'+
		'<td width="10" bgcolor='+winSurroundBg+'>&nbsp;</td><td align="center" valign="top" width="' + winWidth + '">'
	
	document.write(treeVuTxt+listVuTxt+mMenuTail)
	//now rest of the main column follows from .asp/.html
}

function changeMenuView()
{
	//alert(menuViewType)
	if (menuViewType=="Tree") {
		document.getElementById("menuDiv").style.height="1050px";
		document.getElementById("listVu").style.visibility="visible";
		document.getElementById("treeVu").style.visibility="hidden";
		menuViewType="List"
		
	}
	else {
		document.getElementById("menuDiv").style.height="355px";
		document.getElementById("treeVu").style.visibility="visible";
		document.getElementById("listVu").style.visibility="hidden";
		menuViewType="Tree" 
	}
	SetCookie("menuViewType", menuViewType, enddate)
}

function subMenu(gr)
{
	
	var Txt=''
	var item=0
	var subcolor=''
	var menu
	
	for (item=0; item < menus.length; item++) {
		subtgt=(item==44||item==42)?' target="_blank"':''
		if (menus[item].group==gr) {
			if (menuViewType=="List")
				subcolor=(location.href.indexOf(menus[item].name) !=-1)?menuBgSub:menuBgNormal
			else
				subcolor=(location.href.indexOf(menus[item].name) !=-1)?menuBgSelected:menuBgNormal
			Txt+='<tr><td bgcolor="' + subcolor + '" class="englishMenu"> <a ' + subtgt + ' href="' + menus[item].name + '">&nbsp;' + menus[item].desc + '</a></td></tr>'
			Txt+='<tr><td bgcolor="#202020" width="100%">'+LineImage+'</td></tr>'
		}
	}

	return '<tr><td align=right><table align=right width=140 cellpadding=0 cellspacing=0 border=0>' + Txt + '</table></td></tr>'	
}

function footMenu(wd, orientation) {
	// IS IT INDEX PAGE
	var ndxhtml=location.href.substr(location.href.lastIndexOf("/")+1)
	var isNdxPage=false
	if (ndxhtml =="" || ndxhtml =="index.asp" || ndxhtml =="index.html") 
	    isNdxPage=true
	var grp=99
	var item=0
	var no_of_items
	var iwd
	no_of_items = menus.length
	var lineColor="black"
		
	if (wd=="100%" ||wd==""|| wd=='NaN') {
		wd=viewWidth //eval(screen.availWidth-26)
		lineColor="#efefff"
	}
	
	iwd=eval(wd-20)
	fMenuTxt=""
	//add the RHS advert panel and close off the main table
	//before adding the footmenu
	//close main column
	if (bottomPanelBg=="") 
		bottomPanelBg="#864959"
	
	if (!isNdxPage)
		fMenuTxt+='<table width=' + wd + ' bgcolor=' + winSurroundBg +' border="0" align="center" cellpadding="0" cellspacing="0"><tr><td width=100% height=8><img src="/images/blank.gif" height="8"></td></tr></table>'
	//add footmenu   ' + leftPanelBg +'
	fMenuTxt+='<div align=center id="footer" name="footer">' 
	if (!isNdxPage) 
		fMenuTxt+=innerWindowBegin(columnhd, wd) +'<img src="images/blank.gif" height="8">'
	fMenuTxt+=innerWindowBegin(fieldLabelBg, iwd) + '<table width=' + iwd + ' bgcolor="' + bottomPanelBg + '"  border=0 align="center" cellpadding=0 cellspacing=0>'
	fMenuTxt+='<tr><td colspan="2" class=englishText><big><strong>QuickLinks</strong></big><br></td></tr><tr>'
	for (item = groups.length-1; item < no_of_items; item++) {
		if (menus[item].group != grp) {
			if (menus[item].group==0)
				fMenuTxt+='<td valign=top bgcolor="' + bottomPanelBg + '" width="100" class="englishMenu" style="color:#ff6600">&nbsp;<b>'+groups[menus[item].group]+'</b></td><td width="' + eval(iwd-100) + '" bgcolor="' + bottomPanelBg + '" class="englishMenu">'
			else 
				fMenuTxt+='</td></tr><tr><td colspan=2 bgcolor=' +lineColor + ' height=1><img src=/images/blank.gif height=1 width=1></td></tr><tr><td valign=top width=100 bgcolor="' + bottomPanelBg + '" class="englishMenu" style="color:#ff6600">&nbsp;<b>'+groups[menus[item].group]+'</b></td><td bgcolor="' + bottomPanelBg + '" class="englishMenu">'
			grp=menus[item].group
			if (item==43) 
				fMenuTxt+='<a target="_blank" href="'+menus[item].name+'"> '+menus[item].desc+'</a>&nbsp;'
			else
				fMenuTxt+='<a href="'+menus[item].name+'"> '+menus[item].desc+'</a>&nbsp;'
		}
		else 
			fMenuTxt+='&#149; <a href="'+menus[item].name+'"> '+menus[item].desc+'</a>&nbsp;'	
	}
	fMenuTxt+='<br><br></td></tr></table>'
	fMenuTxt+=innerWindowEnd()
	
	if (!isNdxPage)	//put sitemarvel webstudio link
		fMenuTxt+='<img src="/images/blank.gif" height="8">'+innerWindowEnd()+'<table align="center" width="' + wd + '"><tr><td align="center"><a target="_blank" href="http://www.sitemarvel.com"><img src="http://www.sitemarvel.com/images/sm_ws.gif" border="0" alt="Sitemarvel WebSudio"></a></td></tr></table>'
	fMenuTxt+='</center></div>'	
	document.write(fMenuTxt)
		 
}   

  



function service(group,name,desc)
{
        this.group=group
        this.name=name
		this.desc=desc
}

var ads = new Array()

ads[0] = '<a href="/eztext.asp"><img src="/images/bt.gif" border="0" width="124"></a>'
ads[1] = '<a href="/ebaarta.asp"><img src="/images/b-mail.gif" width="124" border="0"></a>'
ads[2] = '<a target=_blank href="/matrimony.asp"><img src="/images/prajapati.jpg" width="124" border="0"></a>'
ads[3] = '<a target=_blank href="http://www.sitemarvel.com"><img src="http://www.sitemarvel.com/images/ws3_blue.gif" border="0" width="124"></a>'
ads[4] = '<a href="/ezBangla.asp"><img src="/images/ezBanglaSplash124x124.jpg" width="124" border="0"></a>'
//ads[5] = '<a target=_blank href="http://www.sitemarvel.com/MailDirect/Tutorials/"><img src="http://www.sitemarvel.com/MailDirect/images/maildirect_withbg.gif" width="124" border="0"></a>'	


function random_ads() {
	var secs = new Date()
	//var mcAd ''=  '<a target="_blank" href="http://www.matrimonycentre.com"><img border="0" src="http://www.matrimonycentre.com/images/mcfreead.gif" width=130></a>'
	var fontbanner = '<a href="/fontdload.asp"><img alt="Free Bangla Fonts" src="/images/SmFonts.gif" width="130" border="0"></a>'
	var smAd = '<a href="/gallery.asp"><img src="/images/hgallery.gif" border="0" alt="bengali Heritage Gallery"></a>'
	var ezAd = '<a href="http://bengalonline.sitemarvel.com/ezBangla.asp"><img src="/images/ezBanglaSplash124x124.jpg" width="130" border="0"></a>'
	var mdAd = '<a target=_blank href="http://www.sitemarvel.com/MailDirect/Tutorials/"><img src="http://www.sitemarvel.com/MailDirect/images/maildirect_withbg.gif" width="130" border="0"></a>'
	
	var adNo =secs.getSeconds() % ads.length
	var no = Math.round(Math.random()* ads.length)
	if (no<0) 
		no=0
	if (no>ads.length-1) 
		no=ads.length-1
	var randomAd = ads[no]
	
	return ('<br><table width="140" cellpadding="1" cellspacing="0" border="0" align="center"><tr><td align="center">' + randomAd +'<br><br></td></tr><tr><td align="center">'+ fontbanner + '<br><br></td></tr><tr><td align="center">'+ mdAd +'<br></td></tr></table><br>')
	
}


function gglAds()
{
return ('<scr' + 'ipt type="text/javascript"' +
  'src="http://pagead2.googlesyndication.com/pagead/show_ads.js">' +
'</scr' + 'ipt>\n')
}





function openpage(page,targetframe){
   targetframe.location=page
}


// f1=html file for top.navigation frame and f2=html file content frame either f1 or f2 can be = ""
function PutFrames(f1,f2){
   if (f1.length>0) 
      location=f1
   location=f2    
}


function setup()
{
	location="go.html"
}


function getUtil(where)
{
	var f=where;
	location=f.htf[f.htf.selectedIndex].value;
}


function utils(pixArray, urlArray, doc)
{
	var len=pixArray.length;
	var windoc=doc;
	with (doc) {
		writeln('<table width="145" align="center" cellpadding="0" cellspacing="0" border="0">')
		
		writeln('<tr><td valign="top"><FORM name="futilmenu" method="POST">',
		'<select name="htf" size="1" onChange="getUtil(windoc)">');
		for (i=0; i < len; i++) {
			if (i==0) 
				writeln('<option selected value="'+urlArray[i]+'">'+pixArray[i]);
			else
				writeln('<option value="'+urlArray[i]+'">'+pixArray[i]);
		}               
		writeln('</option></select></td><td valign="top"><a href="javascript:getUtil(windoc)"><img src="/images/go.gif" width="30" height="18" border="1"></a></FORM></td></tr></table>');
	}
}


function goLook(frm) {
  var searchWindow
  str=frm.sstring.value
  engine=(frm.eng[frm.eng.selectedIndex].value)

  if (str.length>0) {
     //switch(engine) {
	if (engine== "AltaVista")
		urlref ="http://www.altavista.digital.com/cgi-bin/query?pg=q+what=web+kl=XX+q="+escape(str)	              									
	if (engine== "Anzwers")
		urlref="http://www.anzwers.com.au/cgi-bin/process_search.pl?pageid=search+firstresult=0+query="+str+"+location=The+World+query_type=all+the+words+numperpage=10+result_type=detailed+search.x=23+search.y=14"
	if (engine== "Excite")
		 urlref="http://search.excite.com/search.gw?search="+escape(str)	  
	if (engine=="Infoseek")
		 urlref="http://www.infoseek.com/Titles?qt="+escape(str)+"+col=WW+sv=IS+lk=noframes+nh=10"
	if (engine== "Lycos")
		urlref="http://www.lycos.com/cgi-bin/pursuit?matchmode=and+cat=lycos+query="+escape(str)	  
	if (engine== "Webcrawler")
		urlref= "http://www.webcrawler.com/cgi-bin/WebQuery?searchText="+escape(str)	  
	if (engine== "Yahoo!")
		urlref="http://search.yahoo.com/bin/search?p="+escape(str)	  
	
	//searchWindow=window.open("","")
	location=urlref
                 
  }
}

function verifySmFonts(newshow)
{
	
	SmBanglaFontsExist();
	
	if (newshow) {
		GbPages();
	}
	else {
		if (!SmBanglaFonts) {
			location="/requirefont.asp"
		}
	}
}


function SmBanglaFontsExist() {   
	
	var jdf_test = GetCookie("Joydurga");
	var smFont	=  GetCookie("Sitemarvel Fonts")
	if (smFont !=null)
		smFont		= smFont.toLowerCase()
	if (jdf_test != null)
		jdf_test = jdf_test.toLowerCase()

	if (jdf_test == "declined" || smFont=="declined") { 	//font was declined
		JDFSupplied=false;
		JDFDeclined=true;
		SmBanglaFonts=false;
	}
	else {
		if (jdf_test == "durga mai ki joy" || smFont=="downloaded") { 	//jdf font was downloaded
			JDFSupplied=true;
			JDFDeclined=false;
			if (GetCookie("BOJDF") == "yes") {
				SmBanglaFonts=true;
			}
			UserName=GetCookie("Logon");
		}
	}
}

function GbPages()
{	
	enddate=new Date()
	var xpdate=enddate.getTime()+60*60*24*1000*1460
	// for 1460 days
	
	if (JDFSupplied && SmBanglaFonts){
		encodeMode=1;
		//document.write('<br><font color="#ff0000" size="5" face="' & fontFaces "'>&nbsp;GB sbd GB oÅrp<br><img src="../wcp/images/bluegrad.gif" width="202" height="4"><br><font size="2" color="#ffa000"><br><big><u>mtn”o…grb:</u></big>'+bHeadlines+'<br>');
	}
	else {
		
		if (!JDFSupplied && !SmBanglaFonts){
			
				document.write('<font color="#000000" size="2" face="Verdana, Arial, Helvetica"><br><big><b>BENGALI&nbsp;FONT&nbsp;ALERT!</big></b><br><br>');
				document.write('<font color="#000000">To read and write Bengali on this site you need to download free Joydurga font.<br><br>');
				document.write('<font color="#00cc00" size="3"><FORM METHOD="POST">'+dloadprompt+'&nbsp; <INPUT TYPE="checkbox" name="dwish" onClick="javascript:location='+"'fontdload.asp'"+'"><br><br>');
			
		}
		
		if (JDFSupplied && !SmBanglaFonts){
			document.write('<font color="#000000" size="2" face="Verdana, Arial, Helvetica"><br><big><b>BENGALI&nbsp;FONT&nbsp;ALERT!</big></b><br><br>');
			document.write('<font color="#000000" size="1" face="Verdana, Arial, Helvetica"><br><b>Hi '+ GetCookie("Logon")+ '! You have downloaded the <%=fontFaces%> font but have you installed it on your computer</b>?');
			document.write('<font color="#00cc00" size="3"><FORM METHOD="POST">'+isjdfprompt+'&nbsp; <INPUT TYPE="checkbox" name="dins" onClick="SetCookie('+"'BOJDF', 'yes',enddate)"+'"><br><br>');
			document.write(' <font color="#000000" size="1"<u><b><big>Note:</big></b></u><font color="#000040" size="1"> You will need to install it before you can read the Bengali pages. Don\'t miss out on these pages. if you need help refer to your manual on how to install font or<a href="http://bengalonline.sitemarvel.com/feedback.asp"> please email us.<br><br><font color="#000040">Regular features include a full Bengali panjika and horoscope, our own news review, a literary page, biographical notes on great people and a special feature articles section.<br><br><font color="#ff0000">Once installed on your computer, you can use this font for sending and receiving Bengali Email, send and read Bengali cultural reports, news items and write Bengali online using our BanglaWriter utility. They are all here! Soon to come is a serialised novel.<br><br>');
		}
	}
	
}


function getCookieVal(offset) {
	var endstr=document.cookie.indexOf(";",offset);
	if (endstr == -1)
		endstr=document.cookie.length;
	return unescape(document.cookie.substring(offset,endstr));
}

function GetCookie(name) {
	var arg=name+"=";
	var alen=arg.length;
	var clen=document.cookie.length;
	var i=0;
	while (i < clen) {
		var j = i + alen;
		if (document.cookie.substring(i,j)==arg) {
			return getCookieVal(j);
		}
		i = document.cookie.indexOf(" ",i) +1;
		if (i == 0) break;
	}
	if (name=="Logon") { 
		return "Visitor"; 
	} 
	else {
		return null;
	}
}

//((expires) ? "; expires=" + expires.toGMTString() :"") +
function SetCookie( name, value, expires, path, domain, secure) {
	document.cookie = name + "=" + escape(value) +
	((expires) ? "; expires=" + expires.toLocaleString() :"") +
	((path) ? "; path=" + path : "") +
	((domain) ? "; domain=" + domain : "")+
	((secure) ? "; secure" : "");
}

function DeleteCookie( name, path, domain) {
	if (GetCookie(name)) {
		document.cookie = name + "=" +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "")+
		"; expires= Thu, 01-Jan-1970 00:00:01 GMT";
	}
}






function encodeAlert()
{
document.write('<font face="Verdana, Arial, Helvetica" size="3" color=green><b>Font installtion problem?<br>&nbsp; &nbsp;&nbsp;<a href="fontfaq.asp"> Read font (HELP) FAQ</b><br>');
if (encodeMode==1 + navigator.appName=="")
	document.write('<font face="Verdana, Arial, Helvetica" size="1" color="#ff0000"><u><b><big><blink>IMPORTANT</blink></big></b></u>&nbsp; <font color="#000000">Netscape users are recommended to download the zipped version of the font file.');
}


function header(theLink)
{   
   // show header
   thishtml		=	location.href.substr(location.href.lastIndexOf("/")+1)
   if (thishtml !="index.asp"){
	strtitl		=	thishtml.substr(0,thishtml.lastIndexOf("."))
	welcome(strtitl.toUpperCase());
    document.write('<table align=center width="100%" border="0" cellpadding="0" cellspacing="0" align="center">' +	theLink + '</tr></table>');	
   }
}   
function welcome(pgtitl)
{   
   // show welcomemessage
   document.write('<table align="center" width="100%" height="50" cellpadding="0" cellspacing="0" border="0">',
	'<tr>',
		'<td width="0" height="1">',
		'<td align="right" valign="top" width=775>',
			'<br>',
			'&nbsp;'+pgtitl+'&nbsp;',
		'</td>',
	'</tr>',
'</table>')
}


function banglaParaHead(ptitle,fontsize, fg, bg)
{
   document.writeln('<table border="0" cellpadding="1" cellspacing="1"><tr><td bgcolor='+bg+' align="left" background="/images/blackline.gif"><font color='+fg+' size='+fontsize+' face="<%=fontFaces%>">'+ptitle+'</font></td></tr><tr><td height="3" bgcolor="#ccccbb"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr></table>')
}

function ParaHead(ptitle,fontsize, fg, bg)
{
//if (browzer=="IE4")
  // document.writeln('<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="left" background="/images/blackline.gif"><font color='+fg+' size='+fontsize+'>'+ptitle+'</td></tr></table>')
//else
   document.writeln('<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td bgcolor='+bg+' align="left" ><font color='+fg+' size='+fontsize+'>'+ptitle+'</td></tr><tr><td height="3" bgcolor="#ccccbb"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr></table>')
}

function tabParaHead(ptitle,fontsize, fg)
{
	paraTxt='<table width="200" border="0" cellpadding="0" cellspacing="0" background="images/headerBG.gif"><tr><td align="left"><font color='+fg+' size='+fontsize+'>'+ptitle+'</td></tr></table>'
	paraTxt+='<table width="100%" border="0" cellpadding="0" cellspacing="0">'
	paraTxt+='<tr><td  bgcolor="#0040bc" height="3"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>'
	paraTxt+='<tr><td  bgcolor="#ffffff" height="1"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>'
	paraTxt+='<tr><td  bgcolor="#000000" height="1"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr></table>'
	document.writeln(paraTxt)
}

function tabHeadText(wide, title, tit_size, tit_fg, txt_fg, txt_bg, txt_size, text)
{
   document.writeln('<table width='+wide+' bgcolor="#ffffff" width="100%" border="0" cellpadding="0" cellspacing="0"><tr>',
	'<td valign="top" width="12"><img src="/images/headingLeft.gif"></td>',
	'<td valign="top" width="'+eval(wide-24)+'" bgcolor="#8080ff" align="left"><font color='+tit_fg+' size='+tit_size+' >'+title+'</td>',
	'<td valign="top" width="12"><img src="/images/headingRight.gif"></td></tr>',
	'<tr><td valign="top" width="100%" colspan="3" height="3" bgcolor="#ccccbb"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>',
	'<tr><td valign="top" width="100%" colspan="3" bgcolor='+txt_bg+' align="left"><font color='+txt_fg+' size='+txt_size+' >'+text+'</td></tr></table>');
}


function decoheader(text, fg, uc, lang) {
	//uc=underline color; lang:bangla=1, english=0
	if (lang !="1") {
		document.writeln('<table width="100%" BORDER=0 cellpadding="0" cellspacing="0"><tr><td colspan="2" width="70" height="16"><img src="/images/angletop.gif"></td></tr><tr><td width="19" valign="top"><img src="/images/angleleft.gif"></td><td valign="top"><table width="100%" cellpadding="0" cellspacing="0"><tr><td class="englishTitle">' + text + '</td></tr><tr><td height="4" bgcolor="' + uc + '"><img src="/images/blank.gif" height="1" width="1" ></td></tr></table></td></tr></table>')
	}
	else {
		document.writeln('<table width="100%" BORDER=0 cellpadding="0" cellspacing="0"><tr><td colspan="2" width="70" height="16"><img src="/images/angletop.gif"></td></tr><tr><td width="19" valign="top"><img src="/images/angleleft.gif"></td><td valign="top"><table width="100%" cellpadding="0" cellspacing="0"><tr><td class="bt200"><span><font color="' + fg + '">' + text + '</font></span></td></tr><tr><td height="4" bgcolor="' + uc + '"><img src="/images/blank.gif" height="1" width="1" ></td></tr></table></td></tr></table>')
	}
}



function curveBox(bg,w,hal,text)
{
	// width="' + eval(w-36) + '"  	//h=parseInt(h)
	w=parseInt(w)
	var tbldata='<table width="'+ w + '" bgcolor="' + bg + '" cellpadding="0" border="0" cellspacing="0">'
	document.write(tbldata + '<tr><td width="18"></td><td height="2" bgcolor="#000080" width="' + eval(w-36) + '"><img src="/images/blank.gif" height="1" width="1"></td><td width="18"></td></tr></table>'+
		tbldata + '<tr><td width="2"></td><td width="16"><img src="/images/topleft.gif" width="16" height="16"></td><td bgcolor="' + bg + '" width="' + eval(w-36) + '">&nbsp;</td><td width="16"><img src="/images/topright.gif" width="16" height="16"></td><td width="2"></td></tr></table>'+
		tbldata + '<tr><td width="2" bgcolor="#000080"><img src="/images/blank.gif" width="1" height="1"></td><td width="' + eval(w-4) + '" align="' +hal + '">' + text + '</td><td width="2" bgcolor="#000080"><img src="/images/blank.gif" width="1" height="1"></td></tr></table>'+
		tbldata + '<tr><td width="2"></td><td width="16"><img src="/images/bottomleft.gif" width="16" height="16"></td><td bgcolor="' + bg + '" width="' + eval(w-36) + '">&nbsp;</td><td width="16"><img src="/images/bottomright.gif" width="16" height="16"></td><td width="2"></td></tr></table>'+
		tbldata + '<tr><td width="18"></td><td height="2" bgcolor="#000080" width="' + eval(w-36) + '"><img src="/images/blank.gif" height="1" width="1"></td><td width="18"></td></tr></table>')
}

function amazonSearch()
{
	if (document.forms["amaz"].keyword.value =="") {
		alert("First enter the search string - then click go!")	;
	}
	else {
		document.forms["amaz"].submit();
	}
}


function opinionPoll(frmdoc,formName,opid)
{
  targetform=frmdoc+".forms['"+formName+"']"
  //frmdoc e.g. document; formName=form name within that doc; the op poll id that we want show
  with (eval(frmdoc)) {	
	write('<table width="238" bgcolor="#009999" border="1" cellpadding="2" cellspacing="2"><tr><td bgcolor="#ffccaa">',
		'<b><big>Cast your vote ...</big></b>',
		'<table width="224" bgcolor="#664466" border="1" cellpadding="2" cellspacing="2"><tr>',
		'<td bgcolor="#ffcc99" width="5">O<br>P<br>I<br>N<br>I<br>O<br>N<br><br>P<br>O<br>L<br>L</td>',
		'<td valign="top" bgcolor="#aabbdd">',
			'<FORM name="CASTING" METHOD="POST" ACTION="/cgi-bin/surveyop.pl">',
				'<b>The Issue</u></b><br><br>',
				'Considering the current school workload as it is, should prabashi Bengalees burden youngsters with Bengali language classes?<br><br>',
				'Cast: &nbsp; ',
				'<select name="outcome" size="1">',
					'<option selected value="">vote</option>',
					'<option value="0">no</option>',
					'<option value="1">yes</option>',
					'<option value="2">undecided</option>',
				'</select>',
				'<a href="javascript:sendsurvey('+targetform+')">&nbsp; <img src="/images/go.gif" border="0"></a>',
				'<INPUT TYPE="hidden" NAME="act" VALUE="cast">',
				'<INPUT TYPE="hidden" NAME="id" value="'+opid+'"><br>',
				'<INPUT TYPE="hidden" NAME="favor" VALUE="0">',
				'<INPUT TYPE="hidden" NAME="against" VALUE="0">',
				'<INPUT TYPE="hidden" NAME="undecided" VALUE="0">',
			'</FORM>',
		'</td></tr></table></td></tr></table>');
	}
}

function sendsurvey(f)
{
	//var f =frameid.document.forms[f]  <<=== f has all that
	//f=eval(f);

	var v = f.outcome[f.outcome.selectedIndex].value;

	if (v == "") {
		alert("Please select a response - then click go!");
	}
	else {
		if (v == 0) {
			f.against.value="1";
		}
		else {
			if ( v == 1) {
				f.favor.value="1";
			}
			else {
				f.undecided.value="1";	
			}
		}
	
		
		f.submit();
	}
}


function isEmpty(s) {
	if (s==null || s=="") {
		return true
	}
	else {
		return false
	}
}

function isEmail(e) {
	if (e==null || e=="" || e.indexOf("@")== -1) {
		alert("Email address incorrect") 
		return false;
	}
	else {
		return true;
	}
}
function isValidEmail(e) {
	if (e==null || e=="" || e.indexOf("@")== -1) {
		return false;
	}
	else {
		return true;
	}
}

function isPassword(p) {
	if (p==null || p=="" || p.length < 6) {
		alert("Password must have 6 characters or digits")
		return false;
	}
	else {
		return true;
	}
}




function WinTitle(sTitle, subTitle, isXButt, isBangla)
{
    var divClass,tit,strDivClass
    if (isBangla) 
		strDivClass="bengaliTitle" 
	else 
		strDivClass="englishTitle" 

	
     if (sTitle !="") {
		if (subTitle != "") {
			sTitle=sTitle + "&nbsp;&nbsp; | &nbsp;&nbsp;" + subTitle
		}
	}
	else {
		if (subTitle != "") {
			sTitle=subTitle
		}
		else {
			sTitle=""
		}	
	}

	tit=""

	printerLink=location.href+((location.href.indexOf("?")==-1)?"?printerfriendly=1":"&printerfriendly=1")
	//alert(location)
    if (sTitle != "") {
		//bgcolor=black background='/images/wintitbg.gif'
		tit = '<table bgcolor="' + winTitleBg +'" width="100%" border="0" cellpadding="1" cellspacing="0" height="20">' + 
			'<tr><td class="' + strDivClass + '">&nbsp;<img src="/images/sm_icon.gif" align="absmiddle" alt="Sitemarvel Logo" border="0">&nbsp;' + sTitle + '</td>' + 
			'<td width="55" valign="middle" align="right">'
	    if (isXButt)
			tit += '<a target="_blank" href="'+ printerLink+ '"><img src="/images/icon_print.gif" width="15" alt="Print this document in a printer-friendly window; close that window after print" border="0" align="absmiddle"></a>&nbsp;<a href="/?action=winclose"><img src="/images/btncross.gif" alt="Close Window" border="0" align="absmiddle"></a>&nbsp;<br>' 
		else 
			tit += '&nbsp;'
	    tit +=  '</td></tr></table>'
	}
	return (tit)
}

function beginWindow(ttl,sttl,xwide,isXButton,isBangla) 
{
	var htxt,w,iw
	w = xwide
	if (w=='NaN' || w=='100%')
		w=winWidth
	iw = w-20
	
	htxt = "<table bgcolor=" + columnhd + " align=center width=" + w + " cellpadding=0 cellspacing=0 border=0>" 
		+ "<tr><td colspan=3 height=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + BLANKIMAGE + "</td></tr>" 
		+ "<tr><td width=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td><td>" + WinTitle( ttl, sttl, isXButton, isBangla) + "</td><td width=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td></tr>" 
		+ "<tr><td colspan=3 height=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td></tr>" 
        + "<tr><td width=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td><td bgcolor='" + columnhd + "'><table width='" + iw + "' cellpadding=0 cellspacing=0 align=center><tr><td align=center>"
        + "<img src='/images/blank.gif' height=10>" + innerWindowBegin(winBg, iw)
        document.write(htxt)
}
//does work together with BeginWindow to make a window frame
function EndWindow()
{
	htxt= innerWindowEnd() + "<br></td></tr></table></td><td bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td></tr>" 
       + "<tr><td colspan=3 height=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td></tr></table>"
       document.write(htxt)
}


function innerWindowBegin(bgC,wx)
{
	
	hitxt="<table align=center bgcolor=" +bgC + " width=" + eval(wx) + " cellpadding=0 cellspacing=0 border=0>"
		+ "<tr><td colspan=3 height=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td></tr>"
		+ "<tr><td width=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td><td>"
		return(hitxt)
}

function innerWindowEnd()
{
	hitxt="</td><td width=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td></tr>" 
		+ "<tr><td colspan=3 height=1 bgcolor=" + fieldLabelBg + ">" + BLANKIMAGE + "</td></tr></table>" 
		return(hitxt)
}



function headerPanel()
{

	//var strURL = <%=Request.ServerVariables("Server_Name")%>
	//If NOT strUrl = "stage.bengalonline.sitemarvel.com" Then %>
	//<img src="/cgi-bin/counts.pl?f=<%=strPage%>" width="1" height="1"><%
	//End If%>
	document.write('<table align=center width="100%" height="50" bgcolor="#90887c" cellpadding="0" cellspacing="0" border="0">'+
			'<tr><td border="0" width="0">'+
			'<img src="/cgi-bin/counts.pl?f=requirefont.html" width="1" height="1">'+
			'<img src="http://www.sitemarvel.com/webservices/images/bollogo2002.gif" width=101 height=30 align="middle">'+
			'</td><td align="right" valign="top" width=100%><br><font face="verdana,arial,helvetica" size="2" color="silver"><strong>Font Required&nbsp;&nbsp;&nbsp;</strong></font></td>'+
			'</tr>'+
			'<tr><td colspan="2" height=1 bgcolor="#aaaaaa">'+LineImage+'</td></tr>'+
			'<tr><td colspan="2" height=2 bgcolor="#000000">'+LineImage+'</td></tr>'+
			'<tr><td colspan="3" ' + leftPanelBg + '><br></td></tr>'+
		'</table>')
}




function javaEndHtml(parentUrl)
{
	EndWindow((parentUrl !='')?parentUrl:"index.asp","javascript:history.back()",location.href+"#start","","")
	document.write ('</td><!--//close content table-->' + 
		'<td width="8" bgcolor=' + winSurroundBg + '>&nbsp;</td>' +
		'<td width=150 valign=top bgcolor=' + winSurroundBg + '>' +
		'<!--//new column for advert panel-->' +
		'<table bgcolor=#deeff4 width=140 cellpadding=0 align=center cellspacing=0 border=0><tr><td colspan=3 height=1 bgcolor=#bbcbdb><img src=/images/blank.gif" height=1 width=1 border=0></td></tr><tr><td width=1 bgcolor=#bbcbdb><img src=/images/blank.gif" height=1 width=1 border=0></td><td>' +		
		'<div align=center><img src="/images/blank.gif" height=10><br><scr' + 'ipt type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></scr'+'ipt>')
}				
function javaFooterPanel()
{
	document.write ('</div><br></td><td width=1 bgcolor=#bbcbdb><img src=/images/blank.gif" height=1 width=1 border=0></td></tr><tr><td colspan=3 height=1 bgcolor=#bbcbdb><img src=/images/blank.gif" height=1 width=1 border=0></td></tr></table>' +
		'<!--//close main table-->' +
		'</td>' +
		'</tr></table>');
	//footMenu("100%");
}

function PopupMsg(tit,msg,pic)
{
	helpContextWin=window.open("/popupwin.asp?title=" + tit + "&message=" + msg + "&image=" + pic , "" , "toolbar=false, status=false, scrollbars, menubar=false, resizable, width=600, height=480")
	helpContextWin.focus()
}
function checkUrl(u) {
	if (!isEmpty(u)) {
		if (u.substr(0,7) != "http://") {
			u="http://"+u;
		}
	}	
	return u;	
	
}
function unicFormValidate()
{
	var f=document.forms["unic"];
	var m="";
	var e=f.email.value;
	f.url.value=checkUrl(f.url.value)
	if (isEmpty(f.fname.value)){
		m+=". Firstname empty\n";
	}
	if (isEmpty(f.lname.value)){
		m+=". Lastname empty\n";
	}
	if (!isValidEmail(e)){
		m+=". Email address is empty or not correct\n";
	}
	var cmt=f.comments.value
	
	if (cmt=="" || cmt.indexOf("<a")>0 || cmt.indexOf("nude")>0 || cmt.indexOf("puss")>0 || cmt.indexOf("sex")>0 || cmt.indexOf("boob")>0 || cmt.indexOf("[url]")>0) {
		m+=". Comment field is empty or has unacceptable input.\n";
	}
	if (isEmpty(m))
		f.submit();
	else
		alert("Please correct the following errors and omissions and resend:\n\n" + m)
}
function showpandal(titl, ndx)
{
	var pic=eval('"'+pujaPix[ndx]+'"')
	var pname=eval('"'+pandals[ndx]+'"')
	PopupMsg(titl,escape('<br><table width=620 cellpadding=1 cellspacing=0 bgcolor=#ffeedd><tr><td bgcolor=#ffcc99 align=center><font color=red size=3><b>'+pname+'</b></td></tr><tr><td><img src="' +pic+ '" border=0></td></tr></table>'),"");
}


function setScreenWidth()
{
	//if (!newVisitor)
	//DeleteCookie("ScreenWidth")
	DeleteCookie("ScreenWidth")
	SetCookie("ScreenWidth", screen.availWidth, enddate)
}

setScreenWidth()


function urlsubmit() 
{
	var f=document.forms[0];
	var m=""
	if (f.fname.value =="") 
		m+=" . first name\n"
	if (f.lname.value =="") 
		m+=" . last name\n"
	if (f.fname.value == f.lname.value) 
		m+=" . honestly, you are cheating on your name\n"
	if (f.title.value =="") 
		m+=" . site title\n"
	if (checkUrl()==false) 
		m+=" . site URL\n"
	if (!isValidEmail(f.email.value)) {
		f.email.value="" 
		m+=" . blank or invalid email address\n"
	}
	if (f.description.value =="") 
		m+=" . site description\n"
   
    if (m !="")
		alert("The following fields are empty or invalid:\n\n" + m )	;
	else 
		f.submit();
	
}


function BsSearchBox(needhelp)
{
	var helpTxt=""
	
	srv='<table width="550" cellpadding="0" cellspacing="0" border="0">'+ 
			'<tr><td height="3" bgcolor="#000000"></td></tr>' + 
			'<tr><td width="100%" valign="top" bgcolor="#404040">'+ 
			'<form name="BOS" action="/bangosandhan/index.asp?act=search" method="post">'+ 
			'<table align="center" width="550" bgcolor="#000000" cellpadding="0" cellspacing="0" border="0">'+ 
				'<tr>'+
					'<td width="110" align="center">'+
						'<a target="_blank" href="/bangosandhan/"><img src="/prez/images/bangosandhan.gif" width="100" height="18" border="0"></a></td>'+
					'<td width="180"><span style="color:white;font-family:Arial,Helvetica;font-size:11px">'+
						'<b>Search&nbsp;&nbsp;&nbsp;<input class="frmTxt" type="text" size="15" maxlength="255" name="keyword" value=""></b></span></td>'+
						'<td width="220">'+ 
						'<span style="color:white;font-family:Arial,Helvetica;font-size:11px"><b>'+
							'in&nbsp;&nbsp;&nbsp;</b></span>'+
							'<select class="frmTxt" name="category">'+
							'<option selected value="">All Categories'+
							'<option value="32">Arts'+
							'<option value="40">Commerce &amp; Industry'+
							'<option value="39">Economy'+
							'<option value="46">Education'+
							'<option value="42">Engineering &amp; Technology'+
							'<option value="33">Entertainment'+
							'<option value="27">General'+
							'<option value="35">Hardware Software'+
							'<option value="44">Herbal &amp; Ayurvedic'+
							'<option value="47">Hobby'+
							'<option value="36">Internet'+
							'<option value="29">Language'+
							'<option value="30">Literature'+
							'<option value="34">News Media'+
							'<option value="43">Medical'+
							'<option value="48">Philosophy'+
							'<option value="38">Politics &amp; History'+
							'<option value="45">Religion'+
							'<option value="41">Science'+
							'<option value="28">Society &amp; Culture'+
							'<option value="37">Sports &amp; Recreation'+
							'<option value="49">Other'+
							'</select></td>'+
							'<td>&nbsp;<br></td>'+
							'<td width="30">'+
							'<input type="button" value="go" onclick="qsearch()" id="button1" name="button1"></b>'+
							'<input type="hidden" name="searchtype" value="any">'+
					'</td></tr>'+
			'</table>'+
		'</td>'+
		'</form>'+
		'</tr>'+
		'<tr><td height="3" bgcolor="#000000"></td></tr>'+
	'</table>'
	if (needhelp=="help") {
		helpTxt='<table width="550" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0">'
				+ '<tr><td height="1" bgcolor="#aaaaaa" colspan="2"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>' 
				+ '<tr><td valign=top style="font-size:12px; color:#707080">&nbsp;Search<br>&nbsp;Hints:</b></font></td><td>' 
				+ '<ol>'
				+ '<li style="font-size:11px; color:#606080">Select a Category from the drop down box</li>'
				+ '<li style="font-size:11px; color:#606080">Enter your search words or phrases - select suggestively</li>'
				+ '<li style="font-size:11px; color:#606080">Click the <b>Go!</b> button to start search!</li><br>'
				+ '</ol></td></tr></table>'
			}
			srv=srv+=helpTxt 
			return(srv)
}


var to1
function showGoogleAds()
{
	google_ad_client = "pub-0580142257611254";
	google_alternate_ad_url = "http://bengalonline.sitemarvel.com/alt_adserver.html";
	google_ad_width = 120;
	google_ad_height = 600;
	google_ad_format = "120x600_as";
	google_ad_type = "text_image";
	google_ad_channel ="";
	google_color_border = "6699CC";
	google_color_bg = "003366";
	google_color_link = "FFFFFF";
	google_color_url = "AECCEB";
	google_color_text = "AECCEB";
	endStr='</td>' +
		'<td width="10" bgcolor=' + winSurroundBg + '>&nbsp;</td>' +
		'<td width=150 valign="top" bgcolor="' + winSurroundBg + '">' +
			'<!--//new column for advert panel-->' +
			'<table bgcolor=#deeff4 width="140" height="630" cellpadding="0" align="right" cellspacing="0" border="0">'+
				'<tr><td colspan="3" height="1" bgcolor="#bbcbdb"><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>'+
				'<tr><td width=1 bgcolor=#bbcbdb><img src="/images/blank.gif" height="1" width="1" border="0"></td><td>' +		
					'<div align=center><img src="/images/blank.gif" height="10"><br>'
					document.write(endStr)
					document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>')
						endStr='</div><br><br></td><td width=1 bgcolor=#bbcbdb><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr>' +
						'<tr><td colspan=3 height=1 bgcolor=#bbcbdb><img src="/images/blank.gif" height="1" width="1" border="0"></td></tr></table>' 
					to1=setTimeout("delay(endStr)",1000)
}

function delay(s)
{
	document.write(s)
}
function Popup(pg) {
	if (pg != "") {
		var newWindow = window.open(pg, "", "scrollbars, toolbar=false, status=false, menubar=false, resizable=false, width=400, height=400");
		if (newWindow !=null)
			newWindow.focus();
	}
}
function matrimsubmit() {
	var f=document.forms['wanted'];
	var m="";
	var e=f.email.value;
	var v = 1;

	if (isEmpty(f.lname.value)){
		m+=". Lastname empty\n";
	}
	if (e==null || e=="" || e.indexOf("@")== -1) {
		m+=". Email address is empty or not correct\n";
	}
	if (f.comments.value=="") {
		m+=". Advert text is empty.\n";
	}
	if (isEmpty(m))
		f.submit();
	else {
		alert("The following errors and omissions noted:\n\n" + m)
		v=0
	}
}
function javaEndDocument()
{
	
	if (!isPrinterFriendly) {
		//EndWindow((parentUrl !='')?parentUrl:"index.asp","javascript:history.back()",location.href+"#start","","")
		EndWindow()
		showGoogleAds()
		clearTimeout(to1)
		document.write('<scr'+'ipt type="text/javascript" src="/include/wz_tooltip.js"></scr'+'ipt>')
		document.close()
	}
	else {
		document.write('</td></tr></table>')
		document.close()
		window.print()
	}
}

function javaBeginDocument()
{	
	
	if (location.href.indexOf("html") || location.href.indexOf("htm") ){
		hasBanglaContent=isBanglaText
	}
	//alert("Is Bangla Text: " + isBanglaText + " in BeginDoc")
	//alert("In BeginDoc: isPrinterFriendly - " + isPrinterFriendly + " HmPage: " + isHomePage )
	if (isBanglaText || hasBanglaContent) {
		if (browzer=="IE4" || (needSmBanglaFonts && SmBanglaFonts)) { 	
			//IE4+; or other browsers but user has font downloaded
			var embeddedBanglaFontNotice=GetCookie("BanglaEmbeddedFontNotice")
			if (embeddedBanglaFontNotice==1) {DeleteCookie("BanglaEmbeddedFontNotice")}	else  {Popup("/joydurga_alert.asp")}
			//write new cookie 	
			var expDate=new Date()
			expDate.setTime(expDate.getTime()+(60*60*24*1000))	
			SetCookie("BanglaEmbeddedFontNotice", "1", expDate)
		}
		else { // cannot use embedded font and no font exists - so: redirect to requirefont.asp
			if (!isHomePage)
				location="/requirefont.asp"
			
		}	
	}
	document.write('\n' +
		'<STYLE TYPE="text/css">\n' +
		'a {TEXT-DECORATION: none}\n' +
		'a:hover {COLOR: #ff0000; TEXT-DECORATION: underline}\n' +
		'-->\n' +
		'</style>')	
	
	if (isPrinterFriendly==1) {
		viewWidth=640
		winWidth=620
		document.write('<table width=' + winWidth +'><tr><td><img src="/images/bologo2007.jpg">')
	}
	else  {
		topPanel(viewWidth,BsSearchBox(""))
		columnMenu(menuGroup) 
		beginWindow(strCaption,"",winWidth,true,isBanglaText)
	}
}