var IE = document.all?true:false

function loading_page(searchFocus){
         width=document.body.clientWidth
		if ( document.getElementById('bigimage') )
		{
			 if (IE==true) {
				 document.getElementById('bigimage').width = width-358;
				 document.getElementById('bigblankimage').width = width-358;
			 } else {
				 document.getElementById('bigimage').width = width-345;
				 document.getElementById('bigblankimage').width = width-345;
			 }
		}
		/*if ( searchFocus ) {
			if ((document.searchform) && (document.searchform.k)) {
				document.searchform.k.focus();
			}
		}*/
		if ( document.getElementById('categotyBot') )
		{
			document.getElementById('categotyBot').style.lineHeight = (Math.round((width / 1024 <= 1 || width >= 1350) ? 'normal' : (width / 1024) * (width / 1024) * (width / 1024) * 100) + '%')
		}
}

function goToFotoDeteils(){
	var ObjLink=""
    ObjLink=document.getElementById('foto_deteils').href
	window.location=ObjLink
}

