onload=function(){
	setTimeout('logo()',2000);
	changeRad();
	setInterval(function(){ setTimeout('logo()',2000); changeRad();}, 6000);
}
function logo(){
//Effect.BlindDown('spllot')
new Effect.Opacity('spllot', { from: 1.0, to: 0.2, duration: 0.5 });
setTimeout('new Effect.Opacity(\'spllot\', { from: 0.2, to: 1.0, duration: 0.5 })',500);

}

function changeRad(){
new Effect.Opacity('rad1', { from: 1.0, to: 0.2, duration: 0.5 });
setTimeout('new Effect.Opacity(\'rad1\', { from: 0.2, to: 1.0, duration: 0.5 })',500);
new Effect.Opacity('rad2', { from: 1.0, to: 0.2, duration: 0.2 });
setTimeout('new Effect.Opacity(\'rad2\', { from: 0.2, to: 1.0, duration: 0.5 })',800);
new Effect.Opacity('rad3', { from: 1.0, to: 0.2, duration: 0.7 });
setTimeout('new Effect.Opacity(\'rad3\', { from: 0.2, to: 1.0, duration: 0.5 })',1500);
//setTimeout('$(\'rad3\').morph(\'width:90px\')',2000);
}

function createDiv(divId,father){
	var a = document.createElement('DIV')
  	a.setAttribute('id',divId)
 	if(father=='body') document.body.appendChild(a)
 		else $(father).appendChild(a)
}
function px(n){
return n+'px';
}
function screenInfo(){
   var widthUser;
   var heightUser

     if(typeof(window.innerWidth) == 'number'){
       widthUser = window.innerWidth;
             heightUser = window.innerHeight;
             }
        else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){
         widthUser = document.documentElement.clientWidth;
       heightUser = document.documentElement.clientHeight;
        }
     else if(document.body && (document.body.clientWidth || document.body.clientHeight)){
           widthUser = document.body.clientWidth;
         heightUser = document.body.clientHeight;
    }

return Array(widthUser,heightUser);
}
