document.writeln(''); var jshm_im=new Array(); var im_cnt=0; document.write('');
document.writeln('<LAYER ID="lmenuitems0"><DIV id="menuitems0" style="position:absolute; z-index:3;"><center><a href=http://www.anfyflash.com/clickpage.html>'+MakeItem("AnfyFlash")+'</a></center></DIV></LAYER>');
document.writeln('<LAYER ID="lmenuitems1"><DIV id="menuitems1" style="position:absolute; z-index:3;"><center><a href=http://www.anfyflash.com/clickpage.html>'+MakeItem("AnfyMobile")+'</a></center></DIV></LAYER>');
document.writeln('<LAYER ID="lmenuitems2"><DIV id="menuitems2" style="position:absolute; z-index:3;"><center><a href=http://www.anfyflash.com/clickpage.html>'+MakeItem("AnfyTeam")+'</a></center></DIV></LAYER>');



function MakeItem(ii) {
	var fontface = 1;
	var fontsize = "5";
	if (fontface==0) fontface = 'Arial, Helvetica, sans-serif';
	  else if (fontface==1) fontface = 'Times New Roman, serif';
	  else if (fontface==2) fontface = 'Courier New, Courier, mono';
	  else if (fontface==3) fontface = 'Georgia, Times New Roman, Times, serif';
	  else fontface = 'Verdana, Arial, Helvetica, sans-serif';
	var pcol=Number(255).toString(16);
	var t=0;
	t = pcol.length;
	for (var i=0; i<6-t; i++) pcol = '0'+pcol;
	var itag;
	itag = (im_cnt<jshm_im.length)?'<img src="'+jshm_im[im_cnt]+'" border=0><br>':'';
	im_cnt++;
	return itag+'<font color=#'+pcol+' face="'+fontface+'" size="'+fontsize+'">'+ii+'</font>';
}

function lib2bwcheck(){
	this.ver=navigator.appVersion;
	this.agent=navigator.userAgent;
	this.dom=document.getElementById?1:0;
	this.opera5=this.agent.indexOf("Opera 5")>-1;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6;
	this.mac=this.agent.indexOf("Mac")>-1;
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5);
	return this;
}
var bw=new lib2bwcheck()
var px = bw.ns4||window.opera?"":"px";

function run() {
 var cx, cy, a, css, obj, nest, ooo;
 if (t<0) syto=sxto=0;
 syto+=t; if (syto<0) syto=0; if (syto>by) syto=by;
 sxto = Math.round(syto*bx/by);
 if ((document.all) && (!bw.opera5)) {
  movy = document.body.clientHeight-64;
  movx = document.body.clientWidth-50;
 } else {
  movx = window.innerWidth-50;
  movy = window.innerHeight-64;
 }
 if (bw.ns4) {
	ooo = eval("document.lmenuopen"); ooo.moveTo(Math.round(movx*sxfrom/100), Math.round(movy*syfrom/100));
	if (t>0) ooo.visibility = "hidden"; else ooo.visibility = "visible";
	ooo = eval("document.lmenuclose"); ooo.moveTo(Math.round(movx*sxfrom/100), Math.round(movy*syfrom/100));
	if (t<0) ooo.visibility = "hidden"; else ooo.visibility = "visible";
 } else {
	obj = "menuopen"; nest=""; css= bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0;
	css.left = Math.round(movx*sxfrom/100); css.top = Math.round(movy*syfrom/100);
	if (t>0) css.visibility = "hidden"; else css.visibility = "visible";
	obj = "menuclose"; nest=""; css= bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0;
	css.left = Math.round(movx*sxfrom/100); css.top = Math.round(movy*syfrom/100);
	if (t<0) css.visibility = "hidden"; else css.visibility = "visible";
 }
 for (var i=0; i<maxitems; i++) {
  cx = Math.round( (sxfrom + Math.cos(i*Math.PI*oy/(50*(maxitems-1))+ox)*sxto)*movx/100 );
  cy = Math.round( (syfrom + Math.sin(i*Math.PI*oy/(50*(maxitems-1))+ox)*syto)*movy/100 );
  if (bw.ns4) {
	ooo = eval("document.lmenuitems"+i); ooo.moveTo(cx, cy);
	if (t<0) ooo.visibility = "hidden"; else ooo.visibility = "visible";
  } else {
	obj = "menuitems"+i; nest="";
   	css= bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0;
	css.left = cx; css.top = cy;
	if (t<0) css.visibility = "hidden"; else css.visibility = "visible";
  }
 }
 oy+=yspeed; if (oy>sdto || oy<sdfrom) { yspeed=-yspeed; oy+=yspeed; }
 ox+=xspeed;
 setTimeout("run()",tpause,"JavaScript");
}

function menuflip() {
  t = -t;
}

var maxitems=3;
var sxfrom=50;
var sxto=40;
var syfrom=50;
var syto=20;
var sdfrom=50;
var sdto=100;
var yspeed=0;
var xspeed=0;
var tpause=20;
var schar="Menu";
var schar2="Close";

var t=-1;

if ((document.all) && (!bw.opera5)) {
  movy = document.body.clientHeight-64;
  movx = document.body.clientWidth-50;
} else {
  movx = window.innerWidth-50;
  movy = window.innerHeight-64;
}

document.writeln("<LAYER ID='lmenuopen'><DIV id='menuopen' style='position:absolute; z-index:3;' onClick='menuflip()'><a href=#>"+MakeItem(schar)+"</a></DIV></LAYER>");
document.writeln("<LAYER ID='lmenuclose'><DIV id='menuclose' style='position:absolute; z-index:3;' onClick='menuflip()'><a href=#>"+MakeItem(schar2)+"</a></DIV></LAYER>");

var ox, oy, by, bx;
ox=Math.PI; oy=sdfrom;
xspeed = xspeed*Math.PI/180;
by = syto; bx = sxto;

setTimeout("run()",tpause,"JavaScript");



//DO NOT MODIFY
/*
<APPLETINFO>
appletname=jshalomenu
applettype=JAVASCRIPT
created=1064911894044
appletfilename=jshalomenu1.js
</APPLETINFO>
<JAVASCRIPT>
fontsize=5
sxfrom=50
syfrom=50
sxto=40
syto=20
sdfrom=50
sdto=100
yspeed=0
xspeed=0
tpause=20
schar=Menu
schar2=Close
target=_blank
maxitems=3
fontface=1
pcol=255
</JAVASCRIPT>
<HTMLGENERATOR>
menuitems=-
menuitems_GS=2;item;url
image=-
image_GS=2;images;url
mystarttag=-
mystarttag_GS=1;-
myendtag=-
myendtag_GS=1;-
item_GS=0;-
item0=AnfyFlash
item1=AnfyMobile
item2=AnfyTeam
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;-
</HTMLGENERATOR>
*/
