winopts = "toolber=0,location=0,directions=0,status=0,menuber=0,scrollbars=0,resizable=0,width=380,height=760";
function start(){
newwin = window.open("twitter.html","twitter",winopts);
newwin.focus();
}

function tubuyakiFunc(strTxt01,num01){
	
	if(num01 == 1){
		document.getElementById(strTxt01).style.background = "url(images/img/tsubuyakibanner_hover.jpg) left top no-repeat";
		document.body.style.cursor = "move";
	}else if(num01 == 2){
		document.getElementById(strTxt01).style.background = "url(images/img/tsubuyakibanner.jpg) left top no-repeat";
		document.body.style.cursor = "default";
	}
	
	
}

function fukidashi(){
	img = new Array();
	img[0] = "1";
	img[1] = "2";
	img[2] = "3";
	img[3] = "4";
	img[4] = "5";
	
	n = Math.floor(Math.random()*img.length);
	id = "top_fuki";
	if(n == 0){
		document.getElementById(id).innerHTML = "<img src='images/common/fuki01.jpg' width='215' height='165' alt='グッドデザインエキスポ二〇〇九'>";
	} else if(n == 1) {
		document.getElementById(id).innerHTML = "<img src='images/common/fuki02.jpg' width='215' height='165' alt='グッドデザインエキスポ二〇〇九'>";
	} else if(n == 2) {
		document.getElementById(id).innerHTML = "<img src='images/common/fuki03.jpg' width='215' height='165' alt='グッドデザインエキスポ二〇〇九'>";
	} else if(n == 3) {
		document.getElementById(id).innerHTML = "<img src='images/common/fuki04.jpg' width='215' height='165' alt='グッドデザインエキスポ二〇〇九'>";
	} else if(n == 4) {
		document.getElementById(id).innerHTML = "<img src='images/common/fuki05.jpg' width='215' height='165' alt='グッドデザインエキスポ二〇〇九'>";
	}

}

