// JavaScript Document

//Vertical Scroller v1.2- by Brian of www.ScriptAsylum.com
//Personalized by Arun Nair, arun.nair@sify.com 
//ENTER CONTENT TO SCROLL BELOW.

var content="";
content += "<p><a href='whatsnew.asp#Green_Initiative' class='scrollnews'> Green Initiative </a></p>"
content += "<p><a href='pdf/ais_pacific_singa.docx' target='_blank' class='scrollnews'> Asia Pacific winners of the Holcim Awards for Sustainable Construction, Singapore, Nov 25 2011 </a></p>"
content += "<p><a href='pdf/ISO9001_certific.pdf' target='_blank' class='scrollnews'> ACC Secretarial & Share processes receive ISO 9001-2008 certification </a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>Meeting of the Board of Directors of the Company will be held on Tuesday, 1st November 2011 </a></p>"
content += "<p><a href='pdf/Holcim Awards Entries Evaluated By Internationally Eminent Juries.doc' target='_blank' class='scrollnews'> Holcim Awards Entries Evaluation by Eminent Juries</a></p>"
//content += "<p><a href='announcements_2009.asp' class='scrollnews'> ACC Meeting of Board of Directors July 28, 2011 </a></p>"
content += "<p><a href='pdf/ACC_wins_Golden_Peacock.pdf' target='_blank' class='scrollnews'> ACC wins Golden Peacock Award for Eco-Innovation by World Environment Foundation </a></p>"
content += "<p><a href='pdf/Sustainable_Report-2010.pdf' target='_blank' class='scrollnews'> Sustainable Development Report 2010 </a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>ACC General Meeting of shareholders, June 1, 10 a.m. YB Chavan Auditorium, Nariman Point, Mumbai 400 021</a></p>"
//content += "<p><a href='finance/chairman_statement_10.pdf' target='_blank' class='scrollnews'> Chairman's Statement 2010 </a></p>"
//content += "<p><a href=javascript:pop('/newsite/whatnew/holcim_award_highlights.asp') class='scrollnews'>Holcim Awards Competition </a></p>"
//content += "<p><a href='whatsnew.asp#holcim_awards_results' class='scrollnews'>Holcim Awards Competition </a></p>"
//content += "<p><a href='whatsnew.asp#general_meet_13apr' class='scrollnews'>ACC Annual General Meeting 2011 </a></p>"
//content += "<p><a href='whatnew/holcim_award.asp' target='_blank' class='scrollnews'> Holcim Awards for Sustainable Construction </a></p>"
//content += "<p><a href='accnews_2011/waste_war.pdf' target='_blank' class='scrollnews'> The Waste Wars </a></p>"
//content += '<p><a href="whatsnew.asp#hometext23"  class="scrollnews">ACC wins EPC World Awards 2010</a></p>'
content += "<p><a href='accnews_2010/green_building.jpg' target='_blank' class='scrollnews'> Old & Green Buildings, ACC Cement House </a></p>"
content += "<p><a href='awards2010.asp#tag1' class='scrollnews'>2010 IMA CFO Award for Excellence in Cost Management</a></p>"
//content += "<p><a href='awards2010.asp#tag1' class='scrollnews'>ACC Kymore and Tikaria receive Safety Innovation Award 2010</a></p>"
//content += "<p><a href='http://www.hindu.com/2010/11/18/stories/2010111859950300.htm' target='_blank' class='scrollnews'>Houses for flood-hit to be ready soon</a></p>"
//content += "<p><a href='http://www.hindu.com/2010/11/18/stories/2010111855020500.htm' target='_blank' class='scrollnews'>Record cement production in one kiln</a></p>"
//content += "<p><a href='http://www.hindu.com/2010/11/18/stories/2010111860140300.htm' target='_blank' class='scrollnews'>‘Women respond better to ART'</a></p>"
//content += "<p><a href='http://www.hindu.com/2010/11/18/stories/2010111859700300.htm' target='_blank' class='scrollnews'>Welfare measures change face of villages around Wadi</a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>ACC Sustainable Development Report 2009 wins Association of Business Communicators of India award</a></p>"
//content += "<p><a href='accnews_2010/holcim_award_entries.jpg' target='_blank' class='scrollnews'> Holcim Awards - Entries open till March 2011 </a></p>"
//content += "<p><a href='accnews_2010/free_education.jpg' target='_blank' class='scrollnews'> ACC provides free education to underprivileged children </a></p>"
content += "<p><a href='accnews_2010/ACC_HQ_rated_Gold.pdf' target='_blank' class='scrollnews'> ACC HQ rated Gold </a></p>"
//content += "<p><a href='/newsite/awards2010.asp' class='scrollnews'>ACC wins Leadership in Energy & Environmental Design (LEED) India New Construction Gold Rating</a></p>"
content += "<p><a href='accnews_2010/ACC_launches_eco-friendly_cement.jpg' target='_blank' class='scrollnews'> ACC launches eco-friendly cement </a></p>"
//content += "<p><a href='accnews_2010/green_head_office_building.pdf' target='_blank' class='scrollnews'> A Green Head office Building </a></p>"
//content += "<p><a href='whatnew/holcim_global_award.doc' target='_blank' class='scrollnews'> Holcim Global Awards for Sustainable Construction </a></p>"
//content += "<p><a href='whatsnew.asp#hometext22' class='scrollnews'><b>Appointment of Mr Kuldip K Kaura, Chief Executive Officer & Managing Director</b></a></p>"
//content += "<p><a href='accnews_2010/cement_house_platinum_juble.jpg' target='_blank' class='scrollnews'> Celebration time at ACC's Cement House<br/><font color='#cd0000'>Hindu Business Line August 3, 2010</font></a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>ACC wins ICWAI National Award for Excellence in Cost Management</a></p>"
//content += "<p><a href=javascript:pop('accnews_2009/cement_house_green_171109.pdf') class='scrollnews'>ACC's Cement House Turns Green</a></p>"
//content += "<p><a href='pdf/Sustainable_Report-2009.pdf' target='_blank' class='scrollnews'> Release of Sustainable Development Report 2009 </a><IMG SRC='images/new11.gif' WIDTH='32' HEIGHT='24' BORDER='0'></p>"
content += "<p><a href=Javascript:pop('/newsite/Our_vision1.asp') class='scrollnews'>ACC – Vision Statement</a></p>"
//content += "<p><a href='pdf/payment_dividend.pdf' target='_blank' class='scrollnews'> Announcement to Members of ACC Limited <br/>Payment of Dividend for year ended 31-12-2009</a></p>"
//content += "<p><a href='accnews_2010/acc_ramp_annual.jpg' target='_blank' class='scrollnews'> ACC to ramp annual capacity to 30 MT<br/><font color='#cd0000'>Business Standard April 7, 2010</font></a></p>"
//content += "<p><a href='accnews_2010/acc_saving_afr.jpg' target='_blank' class='scrollnews'> ACC's savings through AFR business rise 79 per cent<br/><font color='#cd0000'>Business Standard April 4, 2010</font></a></p>"
//content += "<p><a href='accnews_2010/cement_ind_run_high_6apr.jpg' target='_blank' class='scrollnews'> Cement Enterprise will run high on the UP roads<br/><font color='#cd0000'>Business Standard April 2, 2010</font></a></p>"
//content += "<p><a href='accnews_2010/concrete_move_6apr.jpg' target='_blank' class='scrollnews'> A concrete move to build road strength <br/><font color='#cd0000'>Hindustan Times April 2, 2010</font></a></p>"
//content += "<p><a href='accnews_2010/govt_dept_must_sync_6apr.jpg' target='_blank' class='scrollnews'> Govt depts must work in sync for improving quality of roads in UP<br/><font color='#cd0000'>Times News Network April 2, 2010 </font></a></p>"
//content += "<p><a href='accnews_2010/infra_dev_aaj_6apr.jpg' target='_blank' class='scrollnews'> For infrastructure development joint venture would be better<br/><font color='#cd0000'>Aaj April 2, 2010</font></a></p>"
//content += "<p><a href='accnews_2010/better_substitute_cement_6apr.jpg' target='_blank' class='scrollnews'>Substitute of cement roads are good<br/><font color='#cd0000'>Daily News April 2, 2010</font></a></p>"

//content += "<p><a href='accnews_2010/sumit_interv_fin_ex.pdf' target='_blank' class='scrollnews'> Sumit Banerjee, Managing Director   Interview with Financial Express </a></p>"
//content += "<p><a href='pdf/nse_letter_29_01_2010.pdf' target='_blank' class='scrollnews'>ACC acquires Encore Cement & Additives Private Limited</a></p>"
//content += "<p><a href=javascript:pop('/newsite/icai_award_fin.asp') class='scrollnews'>ACC bags ICAI Award for Excellence in Financial Reporting</a></p>"
//content += "<p><a href=javascript:pop('/newsite/ramakrishna_bajaj2009.asp') class='scrollnews'>ACC wins IMC Ramkrishna Bajaj National Quality Trophy 2009</a></p>"
//content += "<p><a href=javascript:pop('/newsite/imc_rbnq_award.asp') class='scrollnews'>ACC  bags IMC RBNQ  Commendation Certificate</a></p>"
//content += "<p><a href='accnews_2010/acc_opens_cement_bellary.pdf' target='_blank' class='scrollnews'>ACC inaugurates cement plant in Bellary </a></p>"
//content += "<p><a href='/newsite/nation_it_infrastructure_news.asp#inaguration_kudithini4jan' class='scrollnews'>ACC Kudithini Plant inaugurated, January 4, 2010</a></p>"
//content += "<p><a href=javascript:pop('/newsite/accnews_2009/in_the_news.htm') class='scrollnews'>ACC in the News</a></p>"
//content += "<p><a href='accnews_2009/acc_ups_capacity.pdf' target='_blank' class='scrollnews'> ACC ups capacity to 8.8 mt with new plant in Karnataka</a></p>"
//content += "<p><a href='accnews_2009/acc_opens_plant_.pdf' target='_blank' class='scrollnews'> ACC opens new plant in State</a></p>"
//content += "<p><a href='accnews_2009/acc_thondebhavi_goes_green.pdf' target='_blank' class='scrollnews'> ACC's Thondebhavi plant goes on stream</a></p>"
//content += "<p><a href='accnews_2009/acc_expand_readymix_business.pdf' target='_blank' class='scrollnews'> ACC to Expand Readymix Business</a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>ACC wins national award for excellence in Water Management</a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>ACC Board Meeting, Oct 28, 2009</a></p>"
//content += "<p><a href=javascript:pop('/newsite/accnews_2009/we_dont_have_system_8oct09.htm') class='scrollnews'>ACC in the News</a></p>"
//content += "<p><a href=javascript:pop('/newsite/fimi_env_award.asp') class='scrollnews'>ACC wins FIMI Environment Award 2008-09</a></p>"
//content += "<p><a href='/newsite/nation_it_infrastructure_news.asp#allotment_coalblocks_24jun' class='scrollnews'>Allotment of Coal Blocks</a></p>"
//content += "<table cellspacing='0' cellpaddin='0' border='0' width='100%'><tr><td><p><a href='javascript:open_reporttt();' class='scrollnews'>Sustainable Development Web Update 2008</a></p></td><!--<td><IMG SRC='images/new11.gif' WIDTH='32' HEIGHT='24' BORDER='0' ALT=''></td>--></tr></table>"
//content += "<p><a href=javascript:pop('pdf/Chairman_Statement2008.pdf') class='scrollnews'>Chairman’s Statement 2008</a></p>"
//content += "<p><a href=javascript:pop('pdf/ACC_Awarded_the_prestigious_Jamnalal_Bajaj_Award_2008_for_Fair_Business_Practices.pdf') class='scrollnews'>ACC wins Council of Fair Business Practices Award Trophy 2008</a></p>"
//content += "<p><a href=javascript:pop('/newsite/fair_practice_award.asp') class='scrollnews'>ACC wins Council of Fair Business Practices Award</a></p>"
//content += "<p><a href=Javascript:pop('/newsite/pdf/acc_tops_kamayog.pdf') class='scrollnews'>ACC tops the cement industry in Karmayog CSR rating</a></p>"
//content += "<p><a href=javascript:pop('/newsite/chairman_speech09.asp') class='scrollnews'>Chairman's Speech</a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>Annual General Meeting, April 8, 2009</a></p>"
//content += "<p><a href=javascript:pop('pdf/Interview13_feb_2009.html') class='scrollnews'>Mr Sumit Banerjee, Managing Director’s interview <br>The  Financial Express <br>12th February, 2009</a></p>"
//content += "<p><a href='/newsite/nation_it_infrastructure_news.asp#corp_citizen_award_23jan' class='scrollnews'>ACC wins India Corporate Citizen of the Year 2008 Award</a></p>"
//content += "<p><a href=Javascript:pop('/newsite/pdf/acc_biggest_production.pdf') class='scrollnews'>ACC builds world’s biggest production line</a></p>"
//content += "<p><a href=Javascript:pop('/newsite/pdf/holcim_award_01122008.pdf') class='scrollnews'>Holcim Awards ceremony 2008 Asia Pacific</a></p>"
//content += "<p><a href='/newsite/nation_it_infrastructure_news.asp#audit_comm_award_nov08' class='scrollnews'>ACC Audit Committee receives Best Audit Committee Award 2008</a></p>"
//content += "<p><a href='/newsite/announcements.asp#stock_ex_notice0407' class='scrollnews'>ACC Board Meeting, July 24, 2008</a></p>"
//content += "<p><a href=javascript:pop('pdf/sumit_interview_business.pdf') class='scrollnews'>Interview of Mr Sumit Banerjee with Business Standard</a></p>"
//content += "<p><a href=javascript:pop('pdf/cement_house_green.pdf') class='scrollnews'>Cement House to go green</a></p>"
//content += "<p><a href='/newsite/whatsnew.asp#hometext2' class='scrollnews'>ACC Concrete Limited commissions new Ready Mix Concrete Plant</a></p>"
//content += "<p><a href='/newsite/whatsnew.asp#hometext1' class='scrollnews'>ACC Tikaria wins Greentech Environment Excellence Award</a></p>"
//content += "<p><a href=javascript:pop('http://sitamice.com/Holcimawards/index.html') class='scrollnews'>Holcim Regional Awards Ceremony for Asia Pacific region to be held in New Delhi November 27, 2008</a></p>"
//content += "<p><a href=javascript:pop('/newsite/sustainable_club.asp') class='scrollnews'>FIMI selects ACC as member of 'Sustainable Miners Club'</a></p>"
//content += "<p><a href=javascript:pop('/newsite/pdf/sumitbanerjee_interview.pdf') class='scrollnews'>Mr Sumit Banerjee - interview with India Knowledge @ Wharton</a></p>"
//content += "<p><a href=javascript:pop('/newsite/kymore_launches.asp') class='scrollnews'>ACC Kymore launches co-processing of plastic waste</a></p>"
//content += "<p><a href='/newsite/sdevelopment.asp#sdr2007' class='scrollnews'>ACC releases its first Sustainable Development Report</a></p>"
//content += "<p><a href='/newsite/whatsnew.asp#w110' class='scrollnews'>ACC Jamul wins \"Chhattisgarh Paryavaran Puruskar\" </a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>Alternate Fuels and Raw Materials Business wins Golden Peacock Eco-Innovation Award 2008</a></p>"
//content += "<p><a href=javascript:pop('/newsite/pdf/business_india_story.pdf') class='scrollnews'>ACC Cover Story in Business India</a></p>"
//content += "<p><a href=javascript:pop('/newsite/imc_awards.asp') class='scrollnews'>IMC RBNQ Award<br>Gagal wins Commendation Certificate<br>New Wadi Plant wins Special Award</a></p>"
//content += "<p><a href='javascript:void(0)' class='scrollnews'>Annual General Meeting, April 24, 2008</a></p>"
//content += "<p> <a href='/newsite/announcements.asp#99' class='scrollnews'>ACC Board Meeting, January 31, 2008</a></p>"
//content += "<p> <a href='/newsite/announcements.asp#94' class='scrollnews'>ACC Board Meeting, Oct 18</a></p>"
//content += "<p> <a href='/newsite/nation_it_infrastructure_news.asp#acc_wind_farm_10_05' class='scrollnews'>ACC commissions Wind Energy Farm in Tamil Nadu</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w9' class='scrollnews'>Sumant Moolgaokar Technical Institute completes 50 years</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w8' class='scrollnews'>ACC Wins Greentech Award 2007</a></p>"
//content += "<p> <a href='/newsite/announcements.asp#89' class='scrollnews'>Sale of shareholding in ACC Nihon Castings Limited</a></p>"
//content += "<p> <a href='/newsite/nation_it_infrastructure_news.asp#acc_cement_supp_06_07' class='scrollnews'>ACC supports construction of the most sustainable building project in India</a></p>"
//content += "<p> <A href=javascript:pop('/newsite/callforentries06jun07.asp') class='scrollnews'>Call for Entries - Holcim Awards competition for sustainable construction projects</a></p>"
//content += "<p> <a href='/newsite/nation_it_infrastructure_news.asp#agg_shiva_apr20' class='scrollnews'>Agreement with Shiva Cement Limited</a></p>"
//content += "<p> <a href='#' class='scrollnews'>AGM,  March 28, 2007 <br>at 10 a.m. Birla Matushri Sabhagar</a></p>"
//content += "<p> <a href='#' class='scrollnews'>National Award for Excellence in Water Management   by the Confederation of Indian Industry (CII)</a></p>"
//content += "<p> <a href=javascript:pop('/newsite/pdf/PR_Global_Challengers_Class_2007.pdf') class='scrollnews'>ACC identified by S&P among Challengers to World's Leading Companies</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w6' class='scrollnews'> ACC wins Superbrand Award</a></p>"
//content += "<p> <a href=javascript:pop('/newsite/pdf/Chairman_Statement2007.pdf') class='scrollnews'>Chairman’s Statement to shareholders</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w6' class='scrollnews'>ACC Board Meeting, February 1, 2007</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w5' class='scrollnews'>ACC Press Release - Changes in Directorate</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w4' class='scrollnews'>ACC launches “ACC Help Centre” – a new customer centric initiative</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w3' class='scrollnews'>HIV/AIDS - Workplace Policy</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w2' class='scrollnews'>HIV/AIDS - Anti Retroviral Treatments Centres</a></p>"
//content += "<p> <a href='/newsite/whatsnew.asp#w1' class='scrollnews'>ACC Receives Good Corporate Citizen Award 2005-06</a></p>"



var boxheight=65;        // BACKGROUND BOX HEIGHT IN PIXELS.
var boxwidth=170;         // BACKGROUND BOX WIDTH IN PIXELS.
var boxcolor="";   // BACKGROUND BOX COLOR.
var speed=60;             // SPEED OF SCROLL IN MILLISECONDS (1 SECOND=1000 MILLISECONDS)/newsite
var pixelstep=1;          // PIXELS "STEPS" PER REPITITION.
var godown=false;         // TOP TO BOTTOM=TRUE , BOTTOM TO TOP=FALSE
var nlayer = 1;

var outer,inner1,inner2,elementheight,ref,refX,refY;
var w3c=(document.getElementById)?true:false;
var ns4=(document.layers)?true:false;
var ie4=(document.all && !w3c)?true:false;
var ie5=(document.all && w3c)?true:false;
var ns6=(w3c && navigator.appName.indexOf("Netscape")>=0)?true:false;
var txt='';
if(ns4){
	txt+='<table cellpadding="0" cellspacing="0" border="0" height='+boxheight+' width= '+boxwidth+'><tr><td>';
	txt+='<ilayer name="ref" bgcolor="'+boxcolor+'" width='+boxwidth+' height='+boxheight+'></ilayer>';
	txt+='</td></tr></table>'
	txt+='<layer name="outer" bgcolor="'+boxcolor+'" visibility="hidden" width='+boxwidth+' height='+boxheight+'>';
	txt+='<layer  name="inner1"  width='+(boxwidth-4)+' height='+(boxheight-4)+' visibility="hidden" left="2" top="2" >'+content+'</layer>';
	txt+='<layer  name="inner2"  width='+(boxwidth-4)+' height='+(boxheight-4)+' visibility="hidden" left="2" top="2" >'+content+'</layer>';
	txt+='</layer>';
}else{
	txt+='<div id="ref" style="position:relative; width:'+boxwidth+'; height:'+boxheight+'; background-color:'+boxcolor+';" ></div>';
	txt+='<div id="outer" style="position:absolute; width:'+boxwidth+'; height:'+boxheight+'; visibility:hidden; background-color:'+boxcolor+'; overflow:hidden" >';
	txt+='<div id="inner1" onmouseover="javascript:wait();" onmouseout="javascript:continu();" style="position:absolute; visibility:visible; left:2px; top:2px; width:'+(boxwidth-4)+'; overflow:hidden; cursor:default;"><br>'+content+'</div>';
	txt+='<div id="inner2" onmouseover="javascript:wait();" onmouseout="javascript:continu();" style="position:absolute; visibility:visible; left:2px; top:2px; width:'+(boxwidth-4)+'; overflow:hidden; cursor:default;"><br>'+content+'</div>';
	txt+='</div>';
}
document.write(txt);

function getElHeight(el){
	if(ns4)return (el.document.height)? el.document.height : el.clip.bottom-el.clip.top;
	else if(ie4||ie5)return (el.style.height)? el.style.height : el.clientHeight;
	else return (el.style.height)? parseInt(el.style.height):parseInt(el.offsetHeight);
}

function getPageLeft(el){
	var x;
	if(ns4)return el.pageX;
	if(ie4||w3c){
	x = 0;
	while(el.offsetParent!=null){
	x+=el.offsetLeft;
	el=el.offsetParent;
	}
	x+=el.offsetLeft;
	return x;
}}

function getPageTop(el){
	var y;
	if(ns4)return el.pageY;
	if(ie4||w3c){
	y=0;
	while(el.offsetParent!=null){
	y+=el.offsetTop;
	el=el.offsetParent;
	}
	y+=el.offsetTop;
	return y;
}}

function scrollbox(){
	if(ns4){
		if (nlayer==1) {
			inner1.top+=(godown)? pixelstep: -pixelstep;
			inner2.top=inner1.top + elementheight;
		} else {
			inner2.top+=(godown)? pixelstep: -pixelstep;
			inner1.top=inner2.top + elementheight;
		}
		if(godown){
			//if(inner1.top>boxheight)inner1.top=-elementheight;
			if(inner1.top>boxheight) nlayer=2;
			if(inner2.top>boxheight) nlayer=1;
		}else{
			//if(inner1.top<2-elementheight)inner1.top=boxheight+2;
			if(inner1.top<2-elementheight) nlayer=2;
			if(inner2.top<2-elementheight) nlayer=1;
		}
	}else{
		if (nlayer==1) {
			inner1.style.top=parseInt(inner1.style.top)+((godown)? pixelstep: -pixelstep)+'px';
			inner2.style.top = parseInt(inner1.style.top) + elementheight + 'px';
		} else {
			inner2.style.top=parseInt(inner2.style.top)+((godown)? pixelstep: -pixelstep)+'px';
			inner1.style.top = parseInt(inner2.style.top) + elementheight + 'px';
		}
		if(godown){
			//if(parseInt(inner1.style.top)>boxheight)inner1.style.top=-elementheight+'px';
			if(parseInt(inner1.style.top)>boxheight) nlayer=2;
			if(parseInt(inner2.style.top)>boxheight) nlayer=1;
		}else{
			//if(parseInt(inner1.style.top)<2-elementheight)inner1.style.top=boxheight+2+'px';
			if(parseInt(inner1.style.top)<2-elementheight) nlayer=2;
			if(parseInt(inner2.style.top)<2-elementheight) nlayer=1;
		}

	}
}

window.onresize=function(){
if(ns4)setTimeout('history.go(0)', 400);
else{
outer.style.left=getPageLeft(ref)+'px';
outer.style.top=getPageTop(ref)+'px';
}}

function wait()
{
	clearInterval(retval);
}

window.onload=function(){
outer=(ns4)?document.layers['outer']:(ie4)?document.all['outer']:document.getElementById('outer');
inner1=(ns4)?outer.document.layers['inner1']:(ie4)?document.all['inner1']:document.getElementById('inner1');
inner2=(ns4)?outer.document.layers['inner2']:(ie4)?document.all['inner2']:document.getElementById('inner2');
ref=(ns4)?document.layers['ref']:(ie4)?document.all['ref']:document.getElementById('ref');
elementheight=getElHeight(inner1);
elementheight1=getElHeight(inner2);

if(ns4){
	outer.moveTo(getPageLeft(ref),getPageTop(ref));
	outer.clip.width=boxwidth;
	outer.clip.height=boxheight;
	inner1.top=(godown)? (-elementheight+(boxheight/2)) : (boxheight/2);
	inner1.clip.width=boxwidth-4;
	inner2.clip.width = boxwidth-4;
	inner1.clip.height=elementheight;
	inner2.clip.height=elementheight;
	outer.visibility="show";
	inner1.visibility="show";
	inner2.visibility="show";
}else{
	outer.style.left=getPageLeft(ref)+'px';
	outer.style.top=getPageTop(ref)+'px';
	inner1.style.top=((godown)? -elementheight+(boxheight/2) : (boxheight/2))+'px';
	inner1.style.clip='rect(0px, '+(boxwidth-4)+'px, '+(elementheight)+'px, 0px)';
	inner2.style.clip='rect(0px, '+(boxwidth-4)+'px, '+(elementheight)+'px, 0px)';
	outer.style.visibility="visible";
}
	retval = setInterval('scrollbox()',speed)
}
function continu()
{
	retval = setInterval('scrollbox()',speed)
}

                                    

