	var curr_orientation = 0;
	
	// all I want to do is force the page to reload if the orientation changes...
	function updateOrientation() {
		var new_orientation = window.orientation;
		if(new_orientation != curr_orientation)
			location.refresh();
		
		//
		// if you care more about the orientation, uncomment the current code...
		/* 
		-- reference from [Safari Reference Library --
		-- -http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html
		-- 
	    var displayStr = "Orientation : ";
	
	    switch(window.orientation) {
	        case 0:
	            displayStr += "Portrait";
	        break;
	
	        case -90:
	            displayStr += "Landscape (right, screen turned clockwise)";
	        break;
	
	        case 90:
	            displayStr += "Landscape (left, screen turned counterclockwise)";
	        break;
	
	        case 180:
	            displayStr += "Portrait (upside-down portrait)";
	        break;
	
	    }
	    
	    document.getElementById("output").innerHTML = displayStr;
	    ---- ** ----
	    */
	}
