var basecssurl = document.getElementById("basecss").href;
var basecssfnm = 'css/common.css';
var basecssfnmlengh = basecssfnm.length;
var basecssurllengh = basecssurl.length;
var rooturllength = basecssurllengh - basecssfnmlengh;
var rooturl = basecssurl.substring(0, rooturllength);

//config
var lhostname = location.hostname;
var conf_gmapkey;

if (lhostname.match(/^www\.ja-saijyo/)) {
	conf_gmapkey = 'ABQIAAAAkdjEvnPWgMCZ4nias2dl6xSezB6s_5tiDz74QH8pisucTSxpuRRMPiCl00fq05oUi7MFsUuFTMbA5g';
}
if (lhostname.match(/^www\.is/)) {
	conf_gmapkey = 'ABQIAAAAoBsPRdtCq18GmXD8m2689RQpSXxFj1jC613c3WQJDT2iLADRYhSWsyw-LUsDOhhmZIEseDKH1p4B_A';
}
if (lhostname.match(/^192/)) {
	conf_gmapkey = 'ABQIAAAAoBsPRdtCq18GmXD8m2689RQmmh7jkltN7NYTqYxJVNaBksHrshTsJz1wVAf5tFFWPeWy1-ClpJo1SQ';
}
if (lhostname.match(/^ci/)) {
	conf_gmapkey = 'ABQIAAAAoBsPRdtCq18GmXD8m2689RRVf-ddVx4mflaXvU5N9FNv3aEVOBTHYi7sRtZolC_O05Hl1Icul72i3A';
}





function gmapjssrc(){
	var tag = '<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=' + conf_gmapkey + '" type="text/javascript"></script>';
	document.write(tag);
}


function viewDomID(from, to){
	if (document.getElementById) {
		document.getElementById(to).innerHTML = document.getElementById(from).innerHTML;
	}
}



function loadfunc(){
}



