function popupwin(surl)

{

var clickpop=null;

clickpop=window.open(surl,"clickpop","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,top=30,left=80,width=635,height=435,modal=yes")

clickpop.focus();

}


<!--
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 show(n)
{		
	document.getElementById('hover_box1').style.display='none';
	document.getElementById('hover_box2').style.display='none';
	document.getElementById('hover_box3').style.display='none';
	document.getElementById('hover_box'+n).style.display='block';
}

function hide(){
    document.getElementById('hover_box1').style.display='none';
	document.getElementById('hover_box2').style.display='none';
	document.getElementById('hover_box3').style.display='none';
}
function showtextimage(n)
{
	var hd = '';
	var ft = '';
	
	
	
	if(n==1)
	{
		hd ='<span class=\"red_txtbann\"><strong style="display:block; padding:0 0 5px 0;">Solar Diwali: Gift of light spreads smiles</strong></span>';
		document.getElementById('disp_text_inner').innerHTML = hd+'<span class=\"small_txt\"> \ This Diwali, TERI lights up lives in the Yamuna Kader slum cluster, Noida, with Solar LED lanterns. The lanterns were distributed under TERI\'s Lighting a Billion Lives initiative to under-privileged children of the Gyan Shakti Vidyalaya. \<div align=\"right\"><a href=\"files/Ahead-of-Diwali_20111024163133.pdf" target="_blank"><img src=\"images_new1/yerrow2.gif\" border=\"0\"></a></div> ';//+ft;
		
		document.getElementById('largeimg').src = 'home_images/big_solar.jpg';
			
		document.getElementById('right_img').innerHTML ='<a href=\"files/Ahead-of-Diwali_20111024163133.pdf" target="_blank"><img src=\"home_images/big_solar.jpg\" style=\"margin:22px 10px 10px 29px\" id=\"largeimg\" border=\"0\"></a>';
	}
	
	
	
	if(n==2)
	{
		hd ='<span class=\"red_txtbann\"><strong style="display:block; padding:0 0 5px 0;">Fourth Environment Educators\' Conference</strong></span>';
                           
		document.getElementById('disp_text_inner').innerHTML = hd+'<span class=\"small_txt\"> \The annual meet brought together teachers, academics, and policymakers on the theme, \'Creating a sustainable environment through schools\'. Deliberations focused on green curriculum, and ways to sensitize children about the fine line between development and environment. \</span> <div align=\"right\"><a href=\"files/TERI-organises-the-4th-Environment_20111019143453.pdf" target="_blank"><img src=\"images_new1/yerrow2.gif\" border=\"0\"></a></div>';
		document.getElementById('largeimg').src = 'home_images/big_edu_conf.jpg';
		
		document.getElementById('right_img').innerHTML ='<a href=\"files/TERI-organises-the-4th-Environment_20111019143453.pdf" target="_blank" ><img src=\"home_images/big_edu_conf.jpg\" style=\"margin:22px 10px 10px 29px\" id=\"largeimg\" border=\"0\"></a>';
						
	}
	
	
	if(n==3)
	{
		hd ='<span class=\"red_txtbann\"><strong style="display:block; padding:0 0 5px 0;">Second India Energy Efficiency Forum</strong></span>';
		ft = '<div class="small_txtgreen"></div>';
		document.getElementById('disp_text_inner').innerHTML = hd+'<span class=\"small_txt2\">\This annual forum, organized by TERI-BCSD India, themed \'Time to Get Smarter - Towards a Sustainable Energy Future\', focused on effective energy efficient solutions.\</span><br> <div align=\"right\"><a href=\"files/indiaenergy_20111011143705.pdf" target="_blank"><img src=\"images_new1/yerrow2.gif\" border=\"0\"></a></div>';//+ft;
		document.getElementById('largeimg').src = 'home_images/bigbcsd.jpg';
		
		document.getElementById('right_img').innerHTML ='<a href=\"files/indiaenergy_20111011143705.pdf" target="_blank"><img src=\"home_images/bigbcsd.jpg\" style=\"margin:22px 10px 10px 29px\" id=\"largeimg\" border=\"0\"></a>';
	}
	
	
	/*if(n==3)
	{
		hd ='<span class=\"red_txtbann\"><strong style="display:block; padding:0 0 5px 0;">TERI-ITEC Programmes</strong></span>';
		ft = '<div class="small_txtgreen"></div>';
		document.getElementById('disp_text_inner').innerHTML = hd+'<span class=\"small_txt\">\TERI is currently hosting seven programmes under the Government of India\'s ITEC programme. Over 200 professionals from Asia, Africa, Central and Latin America, Middle East, Eastern Europe, and Small Island Developing Countries have already participated in the programme since its launch in 2007.\</span><br> <div align=\"right\"><a href=\"itec.php"><img src=\"images_new1/yerrow2.gif\" border=\"0\"></a></div>';//+ft;
		document.getElementById('largeimg').src = 'home_images/itech_big.jpg';
	}*/
}
function showSlidingDiv(id1,id2){
if(($("#b1").attr("src"))=='images_new/bullet_up.gif'){
$("#col_subcol2_1").animate({"height": "toggle"}, { duration: "fast"});
$("#b1").attr("src",'images_new/bullet_dn.gif');
}
if(($("#b2").attr("src"))=='images_new/bullet_up.gif'){
$("#col_subcol2_2").animate({"height": "toggle"}, { duration: "fast"});
$("#b2").attr("src",'images_new/bullet_dn.gif');
}
if(($("#b3").attr("src"))=='images_new/bullet_up.gif'){
$("#col_subcol2_3").animate({"height": "toggle"}, { duration: "fast"});
$("#b3").attr("src",'images_new/bullet_dn.gif');
}

if(($("#b5").attr("src"))=='images_new/bullet_up.gif'){
$("#col_subcol2_5").animate({"height": "toggle"}, { duration: "fast"});
$("#b5").attr("src",'images_new/bullet_dn.gif');
}


if(($("#b6").attr("src"))=='images_new/bullet_up.gif'){
$("#col_subcol2_6").animate({"height": "toggle"}, { duration: "fast"});
$("#b6").attr("src",'images_new/bullet_dn.gif');
}




$(id1).animate({"height": "toggle"}, { duration: "slow"});
if(($(id2).attr("src"))=='images_new/bullet_up.gif'){
$(id2).attr("src",'images_new/bullet_dn.gif');
}else{
$(id2).attr("src",'images_new/bullet_up.gif');
}
}
function showhidenews(id1,id2){
$(id1).animate({"height": "toggle"}, { duration: "slow"});
if(($(id2).attr("src"))=='images_new/minus.gif'){
$(id2).attr("src",'images_new/plus.gif');
}else{
$(id2).attr("src",'images_new/minus.gif');
}
}
