(function(){
var mywidth=(window.innerWidth) ? window.innerWidth : screen.width;
var myheight=(window.innerHeight) ? window.innerHeight : screen.height;
var myhash=window.location.hash;
_=_attribute=function(){
if (arguments.length==1){return ' '+arguments[0]};
if (arguments.length==2 && arguments[0]=='href' && arguments[1].substr(0, 1)=='#'){return ' '+arguments[0]+'="'+arguments[1]+'" onclick="mytestnewpage(\''+arguments[1]+'\');"'}
if (arguments.length==2){return ' '+arguments[0]+'="'+arguments[1]+'"'}
else{return ''}};
_a=_alt=function(){return _('alt',arguments[0])};
_al=_align=function(){return _('align',arguments[0])};
_at=_allowTransparency=function(){return _('allowTransparency',arguments[0])};
_b=_border=function(){return _('border',arguments[0])};
_c=_class=function(){return _('class',arguments[0])};
_ce=_cellspacing=function(){return _('cellspacing',arguments[0])};
_co=_colspan=function(){return _('colspan',arguments[0])};
_fa=_face=function(){return _('face',arguments[0])};
_fb=_frameborder=function(){return _('frameborder',arguments[0])};
_h=_height=function(){return _('height',arguments[0])};
_hr=_href=function(){return _('href',arguments[0])};
_i=_id=function(){return _('id',arguments[0])};
_la=_language=function(){return _('language',arguments[0])};
_n=_name=function(){return _('name',arguments[0])};
_ro=_rowspan=function(){return _('rowspan',arguments[0])};
_s=_src=function(){return _('src',arguments[0])};
_sc=_scrolling=function(){return _('scrolling',arguments[0])};
_si=_size=function(){return _('size',arguments[0])};
_st=_style=function(){return _('style',arguments[0])};
_ta=_target=function(){return _('target',arguments[0])};
_ti=_title=function(){return _('title',arguments[0])};
_ty=_type=function(){return _('type',arguments[0])};
_va=_valign=function(){return _('valign',arguments[0])};
_w=_width=function(){return _('width',arguments[0])};
e=element=function(){
if (arguments.length==1){return '<'+arguments[0]+'/>'};
if (arguments.length==2){return '<'+arguments[0]+'>'+arguments[1]+'</'+arguments[0]+'>'}
else{return '<'+arguments[0]+' '+arguments[2]+'>'+arguments[1]+'</'+arguments[0]+'>'}};
a=function(){return e('a',arguments[0],arguments[1])};
b=function(){return e('b',arguments[0],arguments[1])};
body=function(){return e('body',arguments[0],arguments[1]+' onresize="window.location.reload();"')};
br=function(){return e('br')};
em=function(){return e('em',arguments[0],arguments[1])};
strong=function(){return e('strong',arguments[0],arguments[1])};
font=function(){return e('font',arguments[0],arguments[1])};
fieldset=function(){return e('fieldset',arguments[0],arguments[1])};
legend=function(){return e('legend',arguments[0],arguments[1])};
h1=function(){return e('h1',arguments[0],arguments[1])};
h2=function(){return e('h2',arguments[0],arguments[1])};
h3=function(){return e('h3',arguments[0],arguments[1])};
h4=function(){return e('h4',arguments[0],arguments[1])};
img=function(){return e('img',arguments[0],arguments[1])};
p=function(){return e('p',arguments[0],arguments[1])};
li=function(){return e('li',arguments[0],arguments[1])};
ul=function(){return e('ul',arguments[0],arguments[1])};
table=function(){return e('table',arguments[0],arguments[1])};
caption=function(){return e('caption',arguments[0],arguments[1])};
colgroup=function(){return e('colgroup',arguments[0],arguments[1])};
col=function(){return e('col',arguments[0],arguments[1])};
thead=function(){return e('thead',arguments[0],arguments[1])};
tbody=function(){return e('tbody',arguments[0],arguments[1])};
tfoot=function(){return e('tfoot',arguments[0],arguments[1])};
td=function(){return e('td',arguments[0],arguments[1])};
th=function(){return e('th',arguments[0],arguments[1])};
tr=function(){return e('tr',arguments[0],arguments[1])};
dl=function(){return e('dl',arguments[0],arguments[1])};
dt=function(){return e('dt',arguments[0],arguments[1])};
dd=function(){return e('dd',arguments[0],arguments[1])};
iframe=function(){return e('iframe',arguments[0],arguments[1])};
div=function(){return e('div',arguments[0],arguments[1])};
span=function(){return e('span',arguments[0],arguments[1])};
rstyle=wstyle=function(){return e('style',arguments[0],arguments[1])};
rscript=wscript=function(){return e('script',arguments[0],arguments[1])};
w=function(){window.document.write(arguments[0]);};
wt=function(){document.title=arguments[0];};
we=function(){w(body(arguments[0]+br()+br()+br(),_w(mywidth)+_h((myheight-54))))};
wo=function(){wt(arguments[0]);we(arguments[1])};
wb=function(){wt(arguments[0]);we(arguments[1]);myfooter()};
wf=function(){w(iframe('',_s(arguments[0])+_w(mywidth)+_h((myheight-54))+_fb('yes')))};
wp=function(){wt(arguments[0]);wf(arguments[1]);myfooter()};
callmysubpage=function(){if(window.location.hash==''){Start()}
else{wt('');try {if (eval(window.location.hash.substr(1)+'();')){}}catch(e){;if(e==true){eval(window.location.hash.substr(1)+'();')}
else{Start()}}}};
mytestnewpage=function(href){window.location.hash=href;if(window.location.hash!=myhash){window.location.reload()}};
myiesize=function(){if (document.body.clientHeight) {var myheight=document.body.clientHeight;};if (document.body.clientWidth) {var mywidth=document.body.clientWidth;}}
myfooter=function(){x$=table(tr(footer(),_va('top')+_al('center')),_al('center'));if(window.navigator.systemLanguage){w(div(x$,_i('Footer')))}else{w(e('Footer',x$))}};
mycss=function(ie,noie){if(window.navigator.systemLanguage){css=ie;}else{css=noie;};w('<link rel="stylesheet" type="text/css" charset="UTF-8" href="'+css+'"/>')};
mycss('my/myiecss.css','my/mynoiecss.css');
mypageadjust=function(){
if (top.frames.length!=0){top.location=self.document.location;};
if (window.moveTo){window.moveTo(0,0)};
if (window.resizeTo){window.resizeTo(screen.width, screen.height)};
if (window.setCursor){window.setCursor("-moz-kiosk")}};
})();
