Question: Here's the URL:

<http://www.ourpagesonline.co.uk/mobile/index.asp?ID=207&aID=1>

It works fine in iPhone simulator, all my desktop browsers, but in the iPhone all it shows is the GUI but no images... 

Any know what's going on here? Is it just too complicated for iPhone?

Answer: 
This is a perfect example of when you might want to consider using JSON. Assuming you're developing using ASP.NET Web Pages (as opposed to Web Forms / MVC), in your App\_Code directory, make a helper file called Javascript.cshtml with the following code:

```
@using System.Web.Script.Serialization;

@helper ToJson(object obj) {
    var ser = new JavaScriptSerializer();
    @Html.Raw(ser.Serialize(obj))
}

```

Now, if your main page you can reference the helper like so: `@Javascript.ToJson(myObj)`. So, in your page you might do something like this:

```
@{
    var myCSharpObj = new { First = "1st", Second = "2nd" };
}
<script language="javascript">
    var myJSObj = @Javascript.ToJson(myCSharpObj);
    alert(myJSObj.Second);
</script>

```
Since the variable does not actually exist on the browser your javascript is running in you'll have to use some kind of AJAX type of tech.

Plain old ASMX Web services may be your best bet.

Of course, if you just want it's initial value you can set it as a literal during the composition of the page.

I don't have experience with the exact formatting though.