function iLayout_addEvent(obj, evType, fn)
	{ 
	 if (obj.addEventListener)
	 	{ 
		obj.addEventListener(evType, fn, false); return true; 
	 	}
	 else if (obj.attachEvent)
	 	{ 
	   	var r = obj.attachEvent("on"+evType, fn); return r; 
		}
	else
		{ 
		return false; 
		} 
	}

function iLayout_setStyle()
	{
	document.getElementById('contentScroller').style.bottom = 'auto';
	document.getElementById('contentBox').style.minHeight = '1000px';
	document.getElementById('contentScrollerBack').style.backgroundImage = 'none';
	}


if(navigator.userAgent.match('AppleWebKit') && (navigator.platform.match('iPhone') || navigator.platform.match('iPad')) )
	{
	iLayout_addEvent(window, 'load', iLayout_setStyle);
	}
