

function mobileDevices_init() {
	if(mobileDevice_name == "iPhone") window.setTimeout("iPhone_loop()", 100);
}

mobileDevice_width = 0;
mobileDevice_orientation  = "portrait";
function iPhone_loop() {
	if(window.innerWidth != mobileDevice_width) {
		mobileDevice_width = window.innerWidth;
		mobileDevice_orientation = mobileDevice_width == 320 ? "portrait" : "landscape";
		window.scrollTo(0,1)
	}
	window.setTimeout("iPhone_loop()", 100);
}
