String.prototype.mirtxebi = function()
{
	return this.replace(/^\s*/,"").replace(/\s*$/,"");
};

function hmdcxebi() {};

hmdcxebi.prototype.o = function(name)
{
	var k = document.cookie.split(";");
	
	for(var i=0;i<k.length;i++)
	{
		var j=k[i].mirtxebi().split("=");
		
		if(j[0]==name.mirtxebi())
			return unescape(j[1]);
	}
	
	return "";	
};

hmdcxebi.prototype.l = function(f)
{
	var g=this.o(f);
	
	if(g!="")
	{
		var exp=new Date();
		exp.setSeconds(exp.getSeconds()-100);
		document.cookie=f+"=;path=/;expires="+exp.toUTCString()+";";
		
		return g;
	}
	
	return "";
};

function SeekomFrame() {};

SeekomFrame.SetHeight = function(d,r)
{
	var m=new hmdcxebi();
	
	c=parseInt(m.l("SeekomContentHeight"));
	
	if(!isNaN(c)&&c>0)
	{
		d.scrolling="no";
		d.height=c;
	}
	
	d.style.display="block";
	
	if(r==null||r===true)
		parent.scrollTo(0,0);
}
