/* SVN FILE: $Id: googlemap.js 2951 2007-10-15 22:12:33Z eagashira $ */
/**
 * 共通関数ライブラリ
 *
 * @filesource
 * @copyright		Copyright (c) 2007, Catchup
 * @link				http://www.e-catchup.jp
 * @package			cake
 * @subpackage		cake.cake
 * @since			CatsupCake v 0.1.0
 * @version			$Revision: 2951 $
 * @modifiedby		$LastChangedBy: egashira $
 * @lastmodified	$Date: 2007-10-15 12:00:00 -0500 (Sta, 25 Oct 2007) $
 * @license			
 */
/**
 * ウインドウをポップアップで開く
 *
 * @return void
 */
function openWindow(FileName,WindowName,Wsize,Hsize){

	window.open(FileName,WindowName,"width=" + Wsize + ",height=" + Hsize + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no");
	
}
/**
 * 閉じると同時に開き元のウインドウをリロードする
 *
 * @return void
 */
function closeAndReload(){

	opener.location.reload();
	window.close();
	
}
/**
 * アクセス解析タグを埋め込む
 *
 * @return void
 */
function accTracker(){
	document.write("<img width='0' height='0' src='/acc/acclog.cgi?");
	document.write("referrer="+document.referrer+"&");
	document.write("width="+screen.width+"&");
	document.write("height="+screen.height+"&");
	document.write("color="+screen.colorDepth+"'>");
}
/**
 * 別窓でURLを開く
 *
 * @return void
 */
function openUrl(url){
	window.open(url,"_top");
}

