var commonfilespath = '../../region/template/commonfiles/';
var hostname = window.location.hostname;
if(window.location.hostname == 'localhost'){
	commonfilespath = '/region/template/commonfiles/';
}else{
	commonfilespath = 'http://region.bz/region/template/commonfiles/';
}

Shadowbox.loadSkin('classic', commonfilespath+'shadowbox_2.0/skin');
Shadowbox.loadLanguage('ja', commonfilespath+'shadowbox_2.0/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], commonfilespath+'shadowbox_2.0/player');

function shadowInit(){
	Shadowbox.init();
}

addEvent(window , 'load' , function(){shadowInit();});