// JavaScript Document

function TransferInner(innerSourceId, innerDestination, domain)
{
	document.domain = "sourceforge.net"; 
	var iFrame = document.getElementById(innerSourceId);
				
				// Stupid FF on this one, seems like this is the best way to get the iframes document object
				var browser=navigator.appName;
				
				if (browser == "Microsoft Internet Explorer") {
					alert("");
					var innerSource = window.frames[innerSourceId].document;
				} else {
					var innerSource = iFrame.contentDocument; 
				}
	innerDestination.innerHTML = innerSource.innerHTML;
	alert(innerDestination.innerHTML);
	alert(innerSource.innerHTML);
}

function ModifyElement()
{
	this.current = '';
	this.amount = '';
	this.heightOff = '';

this.elementHeight = function(element, amount) 
{
	if (element.style) 
	{
		element.style.height = amount;
	}
}

this.toggleElementGrowth = function(element, amount, amountoff)
{
	if (element.style)
	{
		if (element.style.height == amount)
		{
			element.style.height = amountoff;
		}else
		if (element.style.height != amount)
		{
			element.style.height = amount;
		}
		
	}
}

}
