function startScrollingDetector(){
fixCSSLink();
}


function fixCSSLink(){
var wid = 0;
var hit = 0;
if (navigator.appName == 'Netscape'){
	wid = screen.width;
	hit = screen.height;
}
if (document.all != null && wid < 1){
        wid = document.body.clientWidth;
        hit = document.body.clientHeight;
}
if (document.getElementById("csslink") != null){
nowlink = document.getElementById("csslink").href;
nowlink += "?w=" + wid + "&amp;h=" + hit;
document.getElementById("csslink").href = nowlink;
}
}
function setAdvice(content){
if (document.getElementById("advice") != null){
document.getElementById("advice").value=content;
}
}


function setBackground(bg){
//if (document.getElementById("mobilescreen") != null){
//document.getElementById("mobilescreen").src = '/images/' + bg + '.jpg';
//}
}

$(document).ready(function(){
   $(".toggleMeElmo").click(function () {
     if ($(".elmo").is(":hidden")) {
        $(".elmo").slideDown("slow");
      } else {
        $(".elmo").hide();
      }
   });
});
