function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM1_openBrWindow(theURL) { //v2.0
  window.open(theURL,'','width=600,height=400 ,status=no,location=no,buttons=0,scrollbars=yes,resizable=yes');
}
var highlightbehavior="TD"

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function goto(e){
	source=ie? event.srcElement : e.target
	if(source.children.length>0)
	source.children[0].click();
}

function changeback(e,originalcolor){
if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}

String.prototype.trim=function(){		// Remove traling white spaces
	var s=this.replace(/^\s+/g,"");
	return s.replace(/\s+$/g,"")
};

function popup_window(theURL,pwidth,pheight)
{
	window.open(theURL,'','width='+pwidth+',height='+pheight+' ,status=no,location=no,buttons=0,scrollbars=yes,resizable=yes');
}



//**********UuDownScroll Text**************
var marqueewidth_ud="160px"
var marqueeheight_ud="1385px"
var marqueespeed_ud=1
var pauseit_ud=1
var marqueecontent='<font face="Verdana"><div align="justify"><a href="/pdf/notice_agm34.pdf">:: NOTICE OF THE THIRTY-FOURTH ANNUAL GENERAL MEETING ::</a><br>Notice is hereby given that the Thirty-fourth Annual General Meeting of the Shareholders of the Investment Corporation of Bangladesh (ICB) will be held on Thursday, 28 October, 2010 at   11:30 a.m. at the Auditorium of National Sports Council Tower (NSC Tower), 62/3, Purana Palton, Dhaka-1000 for transaction of the following business;...<a href="/pdf/notice_agm34.pdf">(See Details...) </a></div><br><div align="justify"><a href="/pdf/priceseninfo.pdf">:: PRICE SENSITIVE INFORMATION ::</a>This is for information of all concerned that the Board of Directors of Investment Corporation of Bangladesh (ICB) at its 371st meeting held on 09 September at 2.00 p.m has recommended 01 (one) bonus share for 04 (four) ordinary shares (25%)  and cash dividend Tk. 15.00 (fifteen) per share of Tk. 100.00 each for the year ended 30 June, 2010. ICB earned Net profit after tax Tk.213.05 crore, NAV per share Tk.302.50, Earning Per Share (EPS) Tk. 106.52 and Net Operating Cash Flow per Share (Tk.35.46) for the year 2009-10...<a href="/pdf/priceseninfo.pdf">(See Details...) </a> </div><br><div align="justify"><a href="LatestNews.php">:: PRICE SENSITIVE INFORMATION ::</a><br>This is for information of all concerned that in pursuance of the Board of Directors of Investment Corporation of Bangladesh (ICB) and the approval of the Ministry of Finance, Finance Division, Government of the People\'s Republic of Bangladesh, the authorised capital of ICB has been raised from Tk.100.00(One hundred) crore to Tk. 500.00 (Five hundred) crore with effect from 27 September, 2009.</div><br><div align="justify"><a href="LatestNews.php">:: NOTICE OF THE THIRTYSECOND ANNUAL GENERAL MEETING ::</a><br>Notice is hereby given that the Thirysecond Annual General Meeting of the Shareholders of the Investment Corporation of Bangladesh(ICB) will be held on Tuesday, 28 October, 2008 at 11-00 a.m. at the Auditorium of National Sports Council Tower (NSC Tower), 62/3, Purana Paltan, Dhaka-1000 to transact the following businees... <a href="LatestNews.php">(See details..)</a></div><br><div align="justify"><a href="dividends05.php">:: DIVIDENDS ON ICB UNIT FUND & MUTUAL FUNDS FOR THE YEAR 2007-2008 ::</a><br>This is for information of all concerned that the Board of Directors of the Investment Corporation of Bangladesh in its fund related meeting held on the    30th July, 2008 approved Dividends on ICB Unit Fund &amp; ICB Mutual Funds for the year ended 30th June 2008.<a href="dividends05.php"> (See details..)</a></div><br><div align="justify"><a href="news_sadf.php">:: OPPORTUNITIES FOR INVESTMENT IN NEW PROJECTS ::</a><br>The SADF has financed 14 (Fourteen) Techno Economic Feasibility Studies (TEFS) for establishing new projects in the SAARC region, out of which the 9 (Nine) projects are related to Bangladesh but are also expected to benefit one or more other countries of the SAARC Region.  The prospective sponsors  who are willing to make use the  SADFs TEFS Reports to set up projects in SAARC Region covered by the studies may kindly approach ICB.</div><a href="news_sadf.php">(See details..)</a></font>'
marqueespeed_ud=(document.all)? marqueespeed_ud : Math.max(1, marqueespeed_ud-1) 
var copyspeed=marqueespeed_ud
var pausespeed=(pauseit_ud==0)? copyspeed: 0
var iedom_ud=document.all||document.getElementById
var actualheight_ud=''
var cross_marquee_ud, ns_marquee_ud

//*************Right Left Scroll Text******************



var marqueewidth_rl="775px"
var marqueeheight_rl="17px"
var marqueespeed_rl=2
var marqueebgcolor_rl="#DFFEA9"
//var marqueebgcolor_rl="#ffffff"
var pauseit_rl=1
var marqueecontent_rl='<nobr><font face="Arial">Thank you for visiting <a href="">Investment Corporation Of Bangladesh.</a>We can Use this panal for ad, please consider linking to us by <a href="">clicking here.</a> Enjoy your stay!</font></nobr>'
marqueespeed_rl=(document.all)? marqueespeed_rl : Math.max(1, marqueespeed_rl-1)
var copyspeed_rl=marqueespeed_rl
var pausespeed_rl=(pauseit_rl==0)? copyspeed_rl: 0
var iedom_rl=document.all||document.getElementById
if (iedom_rl)
	document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent_rl+'</span>')
var actualwidth_rl=''
var cross_marquee_rl, ns_marquee_rl

//****************************************





function populate()
{
	if (iedom_ud)
	{
		cross_marquee_ud=document.getElementById? document.getElementById("marquee_ud") : document.all.marquee_ud
		cross_marquee_ud.style.top=parseInt(marqueeheight_ud)+8+"px"
		cross_marquee_ud.innerHTML=marqueecontent
		actualheight_ud=cross_marquee_ud.offsetHeight
	}
	else if (document.layers)
	{
		ns_marquee_ud=document.ns_marquee_ud.document.ns_marquee_ud
		ns_marquee_ud.top=parseInt(marqueeheight_ud)+8
		ns_marquee_ud.document.write(marqueecontent)
		ns_marquee_ud.document.close()
		actualheight_ud=ns_marquee_ud.document.height
	}
	
	if (iedom_rl)
		{
			cross_marquee_rl=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
			cross_marquee_rl.style.left=parseInt(marqueewidth_rl)+8+"px"
			cross_marquee_rl.innerHTML=marqueecontent_rl
			actualwidth_rl=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
		}
		else if (document.layers)
		{
			ns_marquee_rl=document.ns_marquee_rl.document.ns_marquee_rl2
			ns_marquee_rl.left=parseInt(marqueewidth_rl)+8
			ns_marquee_rl.document.write(marqueecontent_rl)
			ns_marquee_rl.document.close()
			actualwidth_rl=ns_marquee_rl.document.width
	}
	lefttime=setInterval("scrollmarquee()",20)
}
function scrollmarquee()
{
	if (iedom_ud)
	{
		if (parseInt(cross_marquee_ud.style.top)>(actualheight_ud*(-1)+8))
			cross_marquee_ud.style.top=parseInt(cross_marquee_ud.style.top)-copyspeed+"px"
		else
			cross_marquee_ud.style.top=parseInt(marqueeheight_ud)+8+"px"
	}
	else if (document.layers)
	{
		if (ns_marquee_ud.top>(actualheight_ud*(-1)+8))
			ns_marquee_ud.top-=copyspeed
		else
			ns_marquee_ud.top=parseInt(marqueeheight_ud)+8
	}
	
	if (iedom_rl)
		{
			if (parseInt(cross_marquee_rl.style.left)>(actualwidth_rl*(-1)+8))
				cross_marquee_rl.style.left=parseInt(cross_marquee_rl.style.left)-copyspeed_rl+"px"
			else
				cross_marquee_rl.style.left=parseInt(marqueewidth_rl)+8+"px"
		}
		else if (document.layers)
		{
			if (ns_marquee_rl.left>(actualwidth_rl*(-1)+8))
				ns_marquee_rl.left-=copyspeed_rl
			else
				ns_marquee_rl.left=parseInt(marqueewidth_rl)+8
	}
	
}
