var date=new Date();
var month=date.getMonth();
var day=date.getDay();
var monthn=date.getDate();
var year=date.getYear();
if(year < 1900){
	year += 1900;
}
var day_w= new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
var month_n=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
function current(){
	document.write(day_w[day] + ", " + month_n[month] + " " + monthn + ", " + year);
}

function showm(){
	
	for(i=0; i<=0; i++){
		$('#overall').fadeTo('slow', 0.5);
		for(x=0; x<=0; x++){
	
			$('#overall_c').show('fast');
			$('#maploc').show('slow');
			$('#maploc').fadeTo('slow', 1);
		}
	}
}


var img_bo= new Image(150,30);
img_bo.src= "images/new/map_over.gif";

function mapp(){
	document.closemap.src=img_bo.src;
}
function mapp_out(){
		document.closemap.src="images/new/map_on.gif";

}

function hidem(){
	
	for(i=0; i<=0; i++){
		
			$('#maploc').fadeOut('slow');
			$('#maploc').hide('slow');
		$('#overall_c').hide('fast');
			
		
		for(x=0; x<=0; x++){
		$('#overall').fadeOut('slow');
		$('#overall').hide('slow');
			
		}
	}
}

	function detect_b(){
	
	if(navigator.appName.indexOf('Microsoft Internet Explorer') != -1 && navigator.userAgent.indexOf(6) != -1){
	var llc=document.getElementById('left_gr').style;
	var mmc=document.getElementById('right_gr').style;
	llc.display= 'none';
	mmc.display= 'none';
	document.getElementById('top_div').style.width='1000px';
	}
	
	}

window.onload= detect_b;
	
	
