/*@
	cc_on _d=document;
	eval('var document=_d')
@*/


// IE6のフリッカー回避
try {
	document.execCommand ( 'BackgroundImageCache', false, true );
} catch(e) {}


// パス解析
function getMyPath () {
	var myPath, myHost = location.host;
	if ( myHost.match ( /^192\.\d+?\.\d+?\.\d+?/ ) ) {
		myHost = myHost + '/cr2010';
	}
	else {
		myHost = myHost + '/cr2010';
	}
		myPath = location.protocol + '//' + myHost + '/wp-content/themes/cr2010/';
	return myPath;
}


// .jsファイルのインポート
var templatePath = getMyPath ();

html = new Array (
	'jquery-1.3.2.min.js',
	'jquery.rollover.js',
	'jScrollPane.js',
	'jquery.center.js',
//	'shadowbox/shadowbox.js',
	'config.js'
);

for ( i in html ) {
	html[i] = '<script src="' + templatePath + 'js/' + html[i] + '" type="text/javascript"></script>';
}

document.write ( html.join('') );
document.write ();

