function changeHeight(x)
{
	var frameHeight =  (document.getElementById(x).contentWindow.document.body.scrollHeight + 20);
	if (frameHeight<550)
	{
		frameHeight=550;
	}
  	document.getElementById(x).height = frameHeight;
	document.getElementById(x).scrolling = "no";
}

function changeHeightTo(x,y)
{
  	document.getElementById(x).height = y;
	document.getElementById(x).scrolling = "no";
}
			
function callServer(thescript,theold)
{
	var head = document.getElementsByTagName('head').item(0);
	var old  = document.getElementById(theold);
	if (old) head.removeChild(old);
	script = document.createElement('script');
	if (thescript.indexOf("?") > 0) {
	    script.src = thescript + '&nocache=' + (new Date()).getTime();
	}
	else {
	    script.src = thescript + '?nocache=' + (new Date()).getTime();
	}
	script.type = 'text/javascript';
	script.defer = true;
	script.id = theold;
	void(head.appendChild(script));
}
