function resetIframeHeight(){
var heigh = ReadCookie('frameHeight');
if (heigh!=""){
	if (parseInt(heigh)>510){
	var obj=document.getElementById('login');
	obj.style.height=parseInt(heigh)+'px';
	}
	}

	}
window.setInterval("resetIframeHeight()", 200);

function ReadCookie(name)
{
	var mycookie = document.cookie; 
	var start1 = mycookie.indexOf(name + "=");
	if (start1== -1)
		return "";
	else
	{
		start=mycookie.indexOf("=",start1)+1; 
		var end = mycookie.indexOf(";",start);
		if (end==-1)
		{
			end=mycookie.length;
		}
		var value=unescape(mycookie.substring(start,end));
		return value;
	}
}