//flash
function flash(file, width, height, pageNum){
	document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' ALIGN=''>");
	document.writeln("<PARAM NAME=movie value='"+file+"' />");
	document.writeln("<PARAM NAME=quality VALUE=high>");
	document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
	document.writeln("<PARAM NAME=wmode VALUE=transparent>");
	document.writeln("<PARAM NAME=FlashVars value='pageNum="+pageNum+"'>");
	document.writeln("<embed src='"+file+"' quality='high' wmode='transparent' bgcolor='#FFFFFF' FlashVars='pageNum="+pageNum+"' width='"+width+"' height='"+height+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.writeln("</OBJECT>");
}

/**************************************************/
// 소통합니다 탭(사용안함)
/**************************************************/
function poll(n) {
	for(var i = 1; i < 5; i++) {
		obj = document.getElementById('poll'+i);
		img = document.getElementById('poll_button'+i);
		if ( n == i ) {
			obj.style.display = "block";
						img.height = 27;
			img.src = "images/site/sub/poll_tab_on"+i+".gif";    
		} else {
			obj.style.display = "none";
						img.height = 27;
			img.src = "images/site/sub/poll_tab_off"+i+".gif";
		}
	}
}
