function mainlogo_fla() {
	var tmp;
	tmp = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="414" height="461" VIEWASTEXT>';
	tmp = tmp + '<param name="movie" value="http://enportsimg.joins.com/issue/golden/visual_2006.swf">';
	tmp = tmp + '<param name="quality" value="high">';
	tmp = tmp + '<embed src="imagesasdfadfasdf/visual.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="414" height="461"></embed></object> ';
	
	return tmp;
}

function printHTML(str) {var strHTML=str; document.write(strHTML);} 

function layernum(area_no) {
	for(i=1; i<=4; i++) {	
		if (area_no==i) {
			document.getElementById("listnum"+i).style.display="block";				
			document.getElementById("listcon"+i).style.display="block";				
		}else{
			document.getElementById("listnum"+i).style.display="none";
			document.getElementById("listcon"+i).style.display="none";	
		}
	}
}

function changeimg(no) {
	if (no<10) no = "0" + no;
	document.getElementById("body_img").src = "http://enportsimg.joins.com/issue/golden/2007golden_p_b" + no + ".jpg";
}

function getCookie(varname) {
		varname += "=";
		startpos = document.cookie.indexOf(varname);

		if (startpos >= 0) {
			startpos += varname.length;
			endpos = document.cookie.indexOf(";", startpos);
			if (endpos == -1) endpos = document.cookie.length;
			return unescape(document.cookie.substring(startpos, endpos));
		}
}

function print_login_message() {
	var strstring;

	if (getCookie('Joins_ValidLogin') == 'True') {
		strstring = "<a href='http://login.joins.com/Logout_isplus.asp'><img src='http://enportsimg.joins.com/issue/golden/2006_main_top_logout.gif' width='45' height='29' border='0'></a>";		
	} else {
		strstring=  "<a href='http://login.joins.com/login_isplus.asp?TargetURL=http://isplus.joins.com/goldendisk/2006/'><img src='http://enportsimg.joins.com/issue/golden/2006_main_top_login.gif' width='45' height='29' border='0'></a>";
	}
	document.write(strstring);
}


function MM_jumpMenu(sel, targetstr){ 
	 var index = sel.selectedIndex; 
	 if (sel.options[index].value != '') { 
		 if (targetstr == 'blank') {
			window.open(sel.options[index].value, 'win1');    }
		 else {			
			document.location = sel.options[index].value;     }	
	}
}

function vote_popup() {	
   var win = window.open("http://isplus.joins.com/goldendisk/vote/vote_popup.html", "vote_popup", "toolbar=no,location=no,directory=no,status=no,menubar=no,scrollbars=no,resizable=no,top=100,left=350,width=650,height=789");
   win.focus();
}