/*Genuine code by Corneliu "Kor" Lucian RUSU corneliulucian[at]gmail[dot]com*/
AttachEvent(window,'load',initFade,false);
/*@cc_on
    /*@if (@_jscript)
        var isIE = true;
    /*@else @*/
        var isIE = false;
    /*@end
@*/
function initFade(){
setTimeout(function(){startFadeOut(1)},2000)
}
var step=0.1;
function startFadeIn(k){
var obj=document.getElementById('p_head');
if(k<1){
	if(isIE){obj.style.filter='alpha(opacity='+(k*100)+')';}
	else{obj.style.opacity=k;}
k+=step;k=Number(k.toFixed(1));
setTimeout(function(){startFadeIn(k)},100)
}
else{k=1;setTimeout(function(){startFadeOut(k)},2000)}
}
function startFadeOut(k){
var obj=document.getElementById('p_head');
if(k>=0){
	if(isIE){obj.style.filter='alpha(opacity='+(k*100)+')';}
	else{obj.style.opacity=k;}
k-=step;k=Number(k.toFixed(1));
setTimeout(function(){startFadeOut(k)},100)
}
else{k=0;setTimeout(function(){startFadeIn(k)},2000)}
} 