document.writeln(''); var jsiomenu = new Array(); var jsiourls = new Array(); document.write('');
document.writeln(''); jsiomenu[jsiomenu.length]="landscape1.jpg"; jsiourls[jsiourls.length]="http://www.anfyflash.com/clickpage.html"; document.write('');
document.writeln(''); jsiomenu[jsiomenu.length]="landscape2.jpg"; jsiourls[jsiourls.length]="http://www.anfyflash.com/clickpage.html"; document.write('');
document.writeln(''); jsiomenu[jsiomenu.length]="landscape3.jpg"; jsiourls[jsiourls.length]="http://www.anfyflash.com/clickpage.html"; document.write('');



function jsiom() {
  var ref, x, y, sy;
  ref = jsiogetref('ref');
  x = getX(ref); y = getY(ref);
  ref = jsiogetref('outer');
  ref.style.left = x; ref.style.top = y;
  if ((sx==iw>>1)||(sx==0)) { if (ps>0) document['bim'].src = jsiomenu[ptr]; else document['ioi'].src = jsiomenu[ptr]; }
  sx+=ps; if ((sx>iw>>1)||(sx<0)) {
    if (ps>0) {
	sx=0;
	document['ioi'].src = jsiomenu[ptr];
	ptr++; if (ptr>=jsiomenu.length) ptr=0;
    } else {
	sx=iw>>1;
	document['bim'].src = jsiomenu[ptr];
	ptr++; if (ptr>=jsiomenu.length) ptr=0;
    }
  }
  sy = sx*(ih>>1)/(iw>>1);
  ref = jsiogetref('icut');
  ref.style.left = sx; ref.style.top = sy;
  ref.style.width = iw-(sx<<1); ref.style.height = ih-(sy<<1);
  ref = jsiogetref('ipos'); ref.style.left = -(sx<<1); ref.style.top = -(sy<<1);
  document['ioi'].width = iw+(sx<<1);
  document['ioi'].height = ih+(sy<<1);
  setTimeout("jsiom()",20,"JavaScript");
}

function jsioclick() {
  window.open(jsiourls[ptr], "_self");
}

function jsiogetref(etcn) {
  if (document.all) return document.all[etcn];
    else return document.getElementById(etcn);
}

function getX(ref) {
  if (document.layers) return ref.pageX;
  var x = 0;
  if (document.all) while (ref.offsetParent!=null) { x+=ref.offsetLeft; ref=ref.offsetParent; }
  ref.offsetLeft;
  return x;
}

function getY(ref) {
  if (document.layers) return ref.pageY;
  var y = 0;
  if (document.all) while (ref.offsetParent!=null) { y+=ref.offsetTop; ref=ref.offsetParent; }
  y+=ref.offsetTop;
  return y;
}

var iw = 240, ih = 178;
var ps=-2;
var ptr = 0;
if (ps<0) sx=0; else (sx=iw>>1);

document.writeln('<div id="ref" style="position:relative; width:'+iw+'; height:'+ih+';"></div>');
document.writeln('<div id="outer" style="position:absolute; width:'+iw+'; height:'+ih+';">');
document.writeln('<div id="icut" style="position:absolute; left:0px; top:0px; width:'+iw+'; height:'+ih+'; overflow:hidden;">');
document.writeln('<div id="ipos" style="position:absolute; left:0px; top:0px; width:'+iw+'; height:'+ih+';">');
document.writeln('<a href=# onclick="jsioclick()"><img src='+jsiomenu[ptr]+' name="ioi" border=0 width='+iw+' height='+ih+'></a>');
document.writeln('</div></div>');
document.writeln('<a href=# onclick="jsioclick()"><img src='+jsiomenu[ptr]+' name="bim" border=0 width='+iw+' height='+ih+'></a>');
document.writeln('</div>');

var jsiopre = new Array();
for (var i=0; i<jsiomenu.length; i++) {
  jsiopre[i] = new Image;
  jsiopre[i].src = jsiomenu[i];
}

jsiom();



//DO NOT MODIFY
/*
<APPLETINFO>
appletname=jsinoutimage
applettype=JAVASCRIPT
created=1065166986339
appletfilename=jsinoutimage1.js
</APPLETINFO>
<JAVASCRIPT>
iw=240
ih=178
ps=-2
tpause=20
target=_self
</JAVASCRIPT>
<HTMLGENERATOR>
image=-
image_GS=2;images;url
mystarttag=-
mystarttag_GS=1;-
url_GS=0;-
url0=http://www.anfyflash.com/clickpage.html
url1=http://www.anfyflash.com/clickpage.html
url2=http://www.anfyflash.com/clickpage.html
images_GS=4;-
images0=landscape1.jpg
images1=landscape2.jpg
images2=landscape3.jpg
</HTMLGENERATOR>
*/
