// JavaScript Document

img = new Array();
img[0] = "1";
img[1] = "1";
img[2] = "1";
img[3] = "1";
img[4] = "1";
img[5] = "1";
img[6] = "1";
img[7] = "1";
img[8] = "1";
img[9] = "1";

n = Math.floor(Math.random()*img.length);
n2 = img[n];
id = "first_info";
if(n2 == 1){
	
	//表示なし[bar_header99]
	document.getElementById(id).style.background = "url(http://www.g-mark.org/images/img/bar_header99.jpg) left top no-repeat";
	document.getElementById(id).innerHTML = "";
	
	//表示あり[bar_header1]
	//document.getElementById(id).style.background = "url(http://www.g-mark.org/images/img/bar_header1.jpg) left top no-repeat";
	//document.getElementById(id).innerHTML = "<a href='http://www.g-mark.org/archive/2009/streaming.html' target='_blank'><span>GOOD DESIGN 2009 Results</span></a>";
} else if(n2 == 2) {
	
	//表示なし[bar_header99]
	//document.getElementById(id).style.background = "url(http://www.g-mark.org/images/img/bar_header99.jpg) left top no-repeat";
	//document.getElementById(id).innerHTML = "";
	
	//表示あり[bar_header2]
	//document.getElementById(id).style.background = "url(http://www.g-mark.org/images/img/bar_header2.jpg) left top no-repeat";
	//document.getElementById(id).innerHTML = "<a href='http://www.g-mark.org/award/vote/list.html' target='_blank'><span>GOOD DESIGN 2009 Results</span></a>";
} else if(n2 == 3) {
	
	//表示なし[bar_header99]
	//document.getElementById(id).style.background = "url(http://www.g-mark.org/images/img/bar_header99.jpg) left top no-repeat";
	//document.getElementById(id).innerHTML = "";
	
	//表示あり[bar_header2]
	//document.getElementById(id).style.background = "url(http://www.g-mark.org/images/img/bar_header3.jpg) left top no-repeat";
	//document.getElementById(id).innerHTML = "<a href='http://www.g-mark.org/archive/2009/exhibition2009.html' target='_blank'><span>GOOD DESIGN 2009 Results</span></a>";
}