function PosizionaDivScroll(id,val,pos,num){ 

if (document.layers){
	if (window.innerWidth >= val){
	document.layers[id].pageX = (window.innerWidth - val)/2 + pos ; 
	} 
	else
	{
	document.layers[id].pageX = 0+pos;
	}
} 
else if (document.all){
	if (document.body.clientWidth >= val) {
	document.all[id].style.posLeft =(document.body.clientWidth - val)/2 + pos; 
	}
	else
	{
	document.all[id].style.posLeft = 0+pos;
	}
} 
else if(document.getElementById){
	if (window.innerWidth >= val) {
	document.getElementById(id).style.left =(window.innerWidth - val)/2+pos-15; 
	}
	else
	{
	document.getElementById(id).style.left = 0+pos-15;
	}
} 

} 

	
	
function PosizionaDiv(id,val,pos){ 

if (document.layers){
	if (id == 'holder'){
	document.layers['wn'].pageX = 530;
	document.layers['wn'].pageY = -40;
	}

	if (window.innerWidth >= val){
	document.layers[id].pageX = (window.innerWidth - val)/2 + pos ; 
	} 
	else
	{
	document.layers[id].pageX = 0+pos;
	}
} 
else if (document.all){
	if (id == 'holder'){
	document.all['wn'].style.height = 530;
	document.all['wn'].style.top = -40;
	}
	if (document.body.clientWidth >= val) {
	document.all[id].style.posLeft =(document.body.clientWidth - val)/2 + pos; 
	}
	else
	{
	document.all[id].style.posLeft = 0+pos;
	}
} 
else if(document.getElementById){
	if (id == 'holder'){
	document.getElementById(id).style.top = 115;
	document.getElementById(id).style.height = 485;
	document.getElementById('wn').style.height = 535;
	document.getElementById('wn').style.top = -50;
	}
	if (window.innerWidth >= val) {
	document.getElementById(id).style.left =(window.innerWidth - val)/2+pos-15; 
	}
	else
	{
	document.getElementById(id).style.left = 0+pos-15;
	}
} 

} 