function checkResizeW(strId) {
    var winwidth=$(window).width(); // ширина
	
	var IE6 = detectIE6();

	if(IE6){
		
	}else{
		document.getElementById(strId).style.width=(winwidth-10)+'px'; // изменения ширины
		document.getElementById(strId).style.left='-'+(((winwidth-2)-980)/2)+'px'; // изменения ширины
	}
    
}
function checkResizeH(strId, strId2) {
    var winheight=$(window).height(); // высота
	
	var IE6 = detectIE6();

	if(IE6){
		
	}else{
		if(winheight > 623){
			document.getElementById(strId).style.height=(winheight-354)+'px'; // изменения высоты
			document.getElementById(strId2).style.height=(winheight-414)+'px'; // изменения высоты
		}
	}

}
function detectIE6(){
  var browser = navigator.appName;
  if (browser == "Microsoft Internet Explorer"){
    var b_version = navigator.appVersion;
    var re = /\MSIE\s+(\d\.\d\b)/;
    var res = b_version.match(re);
    if (res[1] <= 6){
      return true;
    }
  }
  return false;
}
