IE='\v'=='v';

function  getPageSize(){

windowWidth = document.compatMode=='CSS1Compat'?document.documentElement.clientWidth:document.body.clientWidth;
windowHeight = document.compatMode=='CSS1Compat'?document.documentElement.clientHeight:document.body.clientHeight;

}



function  resize(){
getPageSize();
if (windowWidth < 1000) $("#totus").css({left:500});
else $("#totus").css({left:"50%"});
if (windowHeight < 650) $("#totus").css({top:325});
else $("#totus").css({top:"50%"});
}




/* ------------------------------------------------------------ */

//$(document).ready(function () {});




$(window).load(function () {

resize();


if (IE) $("#left").css({ backgroundPosition:"-500px" });
$("#left").animate({backgroundPosition:'0px 0'},750,"quadEaseOut",function(){$("#logo").css({display:'block'});});

//if (IE) $("#right").css({ backgroundPosition:"500px" });
$("#top_right").animate({left:'0px'},750,"quadEaseOut");	

$("#point img").animate({left:0},750,"quadEaseOut");

//$("#txt").css({display:"none"});
$("#txt").fadeIn(1500,"quadEaseOut");


$("#mesoexpert div").mouseenter(function(){
$(this).css("border","1px solid #8f3283");
});

$("#mesoexpert div").mouseleave(function(){
$(this).css("border","none");
});


$(window).resize(function(){
resize();
});



});
