var isIE=false,isIE6=false,myWidth=1500,myHeight=600,lm=0,mt=0,isIE8=false,img2='png',curmenu = '', cursubmenu='', timermenu;

function ReSize() {
	GetWindowDims(700,1500);
	jQuery(".lm").css('left', lm+'px');
	jQuery(".m").css('left', (lm+504+173)+'px');
	jQuery("#map").css('left', (lm+290)+'px');
}

jQuery(document).ready(function(){
	jQuery(document).pngFix();
	jQuery(window).resize(function() {
		ReSize()
	});
});

function GetWindowDims(h,w) {	
 if( typeof( window.innerWidth ) == 'number' ) {
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  mt = parseInt((myHeight - h) / 2);
  lm = parseInt((myWidth - w) / 2);
}

function d(s) {
	document.write(s);
}

GetWindowDims(700,1500);
d('<style>' );
d('.lm {left:'+lm+'px;}' );
d('.m {left:'+(lm+504+173)+'px;}' );
d('#map {left:'+(lm+290)+'px;}' );
d('</style>' );

