window.onload = function() {
if(screen.availWidth<1000 || location.href.indexOf('mobile=on')>0) {
document.getElementById('body').style.maxWidth='600px';
document.getElementById('body').style.margin='auto';
document.getElementById('content').innerHTML='
'+document.getElementById('content').innerHTML;
document.getElementById('mona').innerHTML=document.getElementById('navLeft').innerHTML;
document.getElementById('mona').innerHTML='
';
document.getElementById('navLeft').style.fontSize='80%';
document.getElementById('navLeft').style.lineHeight='90%';
document.getElementById('navLeft').style.lineHeight='90%';
e=document.getElementsByTagName('img');
for(i=0;i
330) {
e[i].style.width='100%';
}
}
e=document.getElementsByTagName('iframe');
for(i=0;i200) {
e[i].width='100%';
e[i].height=(Math.floor(document.getElementById('content').clientWidth*0.5));
}
}
e=document.getElementsByTagName('dl');
for(i=0;i200) {
e[i].style.width='100%';
}
}
e=document.getElementsByTagName('audio');
for(i=0;i200) {
e[i].style.width='100%';
}
}
e=document.getElementsByTagName('video');
for(i=0;i200) {
e[i].style.width='100%';
}
}
e=document.getElementsByTagName('div');
for(i=0;i0) {
e[i].style.width='90%';
e[i].style.height='100px';
}
}
e=document.getElementsByTagName('div');
for(i=0;i0 && e[i].style.overflowY=='hidden') {
e[i].style.width='100%';
}
}
e=document.getElementsByTagName('form');
for(i=0;i';
}
}