var sho=0;

function sho_hide(){

if(sho	== 0){
showregularly(30,0);sho=1;}
else {
hideregularly1(285,500);sho=0;}
}

function showregularly(hgt,wdth){
	var hg=document.getElementById("cmntsouter").style.height;
	//alert(hgt);
	var x=hg.split('p');
	sho=1;
	hg=Number(x[0]);
	var brVer = navigator.userAgent;
	var brVerId = brVer.indexOf('MSIE');
   	brNum = brVer.substr(brVerId,8);
	if(navigator.appName == "Microsoft Internet Explorer" && brNum=='MSIE 6.0')
	{
		if( hg < 200){
			if(hgt < 300){
				document.getElementById("cmntsouter").style.height=hgt+"px";

				document.getElementById("examples1").style.height=150+"px";
				//document.getElementById("").style.width=wdth+"px";
				document.getElementById("incomments").style.clip = "rect(0px, "+wdth+"px,"+hgt+"px"+", 0px)";
				hgt = hgt+10;
				wdth =547;
				//alert(hgt);
				setTimeout("showregularly("+hgt+","+ wdth+")",20);
			}

		}
	}
	else
	{
		if( hg < 300){
			if(hgt < 300){
				document.getElementById("cmntsouter").style.height=hgt+"px";

				document.getElementById("examples1").style.height=250+"px";
				//document.getElementById("").style.width=wdth+"px";
				document.getElementById("incomments").style.clip = "rect(0px, "+wdth+"px,"+hgt+"px"+", 0px)";
				hgt = hgt+10;
				wdth =wdth+21;
				//alert(hgt);
				setTimeout("showregularly("+hgt+","+ wdth+")",20);
			}

		}
	}
}


function hideregularly1(hgt,wdth){
sho=0;
if(hgt>10){
document.getElementById("cmntsouter").style.height=hgt+"px";
document.getElementById("examples1").style.height=hgt+"px";
//document.getElementById("").style.width=wdth+"px";
document.getElementById("incomments").style.clip = "rect(0px, "+wdth+"px,"+hgt+"px"+", 0px)";
//document.getElementById("examples1").style.width=wdth+"px";
wdth -=15;
hgt=hgt-10;
setTimeout("hideregularly1("+hgt+","+wdth +")",20);
}
else {document.getElementById("incomments").style.clip = "rect(0px 600px 0px 0px)"; }
}

