function Prepic(iName0, img_url0){
	myobj0 = document.images[iName0];
	myobj0.src = img_url0;
}

function summerfes()
{
   window.open('http://show-net.jp/summerfes/index.html','summerfesWin','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=1000,height=1024');
}

function aoSeminer(){
	var st = "scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 450;
	var wy = 450;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("ao_seminer.html","newWin","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function exSeminer(){
	var st = "scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 450;
	var wy = 560;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("ex_seminer.html","newWin","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function radioWin(){
	var st = "scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 1000;
	var wy = 750;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("extra/radio.html","newWin","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function radioStaffWin(){
	var st = "scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 1000;
	var wy = 750;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("radio_staff/","newWin","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function radioStaffDemoWin(){
	var st = "scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 1000;
	var wy = 750;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("radio_staff/index_demo.php","newWin","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function gradWorksWin(){
	var st = "scrollbars=yes,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 920;
	var wy = 750;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("grad_works/index.html","gradWorksWin","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function GC2010Win(){
	var st = "scrollbars=yes,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 920;
	var wy = 750;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("grand_concert_2010/index.html","GC2010Win","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function picup18Win(){
	var st = "scrollbars=yes,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 800;
	var wy = 750;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("picup18.html","picup18Win","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

function news_infoWin(){
	var st = "scrollbars=yes,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no";
	var wx = 800;
	var wy = 550;
	var x = (screen.width  - wx) / 2;
	var y = ((screen.height - wy) / 2) - 30;
	var newwin = window.open("news_info.html","news_infoWin","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}

/*ホスト名によるパスの設定*/
hostname_w = window.location.hostname;
if (hostname_w == "demo.colletomo.com"){ //プレビューサーバー
	from_rootpath = "/2009show_prev66521364";
}else if (hostname_w == ""){
	from_rootpath = "/show-net.jp/40_development/1027トップページ修正";
}else{ //本番サーバー
	from_rootpath = "";
}

function omikujiWin() { 
	st = "scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no";
	wx = 320;
	wy = 540;
	x = (screen.width  - wx) / 2;
	y = ((screen.height - wy) / 2) - 30;
	newwin = window.open(from_rootpath+"/omikuji/omikuji.php","newWinOmikuji","left="+x+",top="+y+",width="+wx+",height="+wy+","+st);
	newwin.focus();
}
