function popUpWin(url){
	switch(url){
		case "map.html" :
			newWin = window.open(url,'new','width=690,height=630,scrollbars=1,resizable=1,status=0');
			newWin.resizeTo(710,665);
			break;
		case "../access/map.html" :
			newWin = window.open(url,'new','width=690,height=630,scrollbars=1,resizable=1,status=0');
			newWin.resizeTo(710,665);
			break;
		case "../inquiry.html" :
			newWin = window.open(url,'new','width=562,height=315,scrollbars=1,resizable=1,status=0');
			newWin.resizeTo(582,355);
			break;
		case "./inquiry.html" :
			newWin = window.open(url,'new','width=562,height=315,scrollbars=1,resizable=1,status=0');
			newWin.resizeTo(582,355);
			break;
		case "../privacy.html" :
			newWin = window.open(url,'new','width=562,height=610,scrollbars=1,resizable=1,status=0');
			newWin.resizeTo(582,645);
			break;
		case "./privacy.html" :
			newWin = window.open(url,'new','width=562,height=610,scrollbars=1,resizable=1,status=0');
			newWin.resizeTo(582,645);
			break;
		default :
			newWin = window.open(url,'new','width=690,height=630,scrollbars=1,resizable=1,status=0');
			newWin.resizeTo(710,665);
			break;
	}
	newWin.focus();
}

function timeChangeImg(title){
	today = new Date();
	youbi = today.getDay();
	jikan = today.getHours();
	hun = today.getMinutes();
	
	if(title == "cont"){
		img_on = "../common/img/head_img_on.jpg";
		img_off = "../common/img/head_img_off.jpg";
	}else if(title == "top"){
		img_on = "./common/img/head_img_on.jpg";
		img_off = "./common/img/head_img_off.jpg";
	}
	
	if(youbi == 0){
		document.images.head_img.src = img_off;
	}else if(youbi == 1 || youbi == 2 || youbi == 4 || youbi == 5){
		if((jikan < 9) || (jikan == 12 && hun >= 30) || (jikan == 13) || (jikan == 18 && hun >= 30) || (jikan >= 19)){
			document.images.head_img.src = img_off;
		}else{
			document.images.head_img.src = img_on;
		}
	}else if(youbi == 3 || youbi == 6){
		if((jikan < 9) || (jikan == 12 && hun >= 30) || (jikan == 13) || (jikan >= 16)){
			document.images.head_img.src = img_off;
		}else{
			document.images.head_img.src = img_on;
		}
	}else{
		document.images.head_img.src = img_on;
	}
}