02faf42d98b163e500a96e7c08cc89a4736263fbRyuichi Okumura<!DOCTYPE html>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore<html>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore<head>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore<title>xframe tester</title>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore<script type="text/javascript">
3937692b48191b3be82199e7379ee5161e442f32Adam Moore function FakeArray() {
3937692b48191b3be82199e7379ee5161e442f32Adam Moore // ok, if we put the index in the prototype we could fool
3937692b48191b3be82199e7379ee5161e442f32Adam Moore // YAHOO.lang.isArray as long as the index is never
3937692b48191b3be82199e7379ee5161e442f32Adam Moore // updated. This isn't likely to happen unless someone
3937692b48191b3be82199e7379ee5161e442f32Adam Moore // is trying very hard to break it.
3937692b48191b3be82199e7379ee5161e442f32Adam Moore this.index=0;
3937692b48191b3be82199e7379ee5161e442f32Adam Moore }
3937692b48191b3be82199e7379ee5161e442f32Adam Moore
3937692b48191b3be82199e7379ee5161e442f32Adam Moore FakeArray.prototype.splice = function() {
3937692b48191b3be82199e7379ee5161e442f32Adam Moore return this;
3937692b48191b3be82199e7379ee5161e442f32Adam Moore };
3937692b48191b3be82199e7379ee5161e442f32Adam Moore
3937692b48191b3be82199e7379ee5161e442f32Adam Moore var str = "string",
3937692b48191b3be82199e7379ee5161e442f32Adam Moore obj = {foo:"bar"},
3937692b48191b3be82199e7379ee5161e442f32Adam Moore fun = function(){},
3937692b48191b3be82199e7379ee5161e442f32Adam Moore arr = ["foo", "bar"],
3937692b48191b3be82199e7379ee5161e442f32Adam Moore far = new FakeArray(),
3937692b48191b3be82199e7379ee5161e442f32Adam Moore dat = new Date(),
3937692b48191b3be82199e7379ee5161e442f32Adam Moore boo = false,
3937692b48191b3be82199e7379ee5161e442f32Adam Moore num = 123.123,
3937692b48191b3be82199e7379ee5161e442f32Adam Moore nul = null,
d45403d8bf1ce1b4bcbdbae86a9a9c15130ae800Ryan Grove el = document.createElement('div'),
3937692b48191b3be82199e7379ee5161e442f32Adam Moore und;
3937692b48191b3be82199e7379ee5161e442f32Adam Moore</script>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore</head>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore<body>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore<h1></h1>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore</body>
3937692b48191b3be82199e7379ee5161e442f32Adam Moore</html>