/* ÇÃ·¡½¬ Ç¥½Ã */
function viewFlash(URL,mode,wid,hei) 
{
	document.write("<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='"+wid+"' height='"+hei+"'>");
	document.write("<param name='movie' value='"+URL+"'>");
	document.write("<param name='quality' value='high'>");
	document.write("<param name='WMODE' value='"+mode+"'>");
	document.write("<embed src='"+URL+"' quality='high' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='"+wid+"' height='"+hei+"'></embed>");
	document.write("</object>");
}

/* È­¸éÁß¾Ó ÆË¾÷Ã¢ À§Ä¡ */
function center_popup(w,h,url,scroll,name){
	if(scroll=="undefined")	scrool	= "no";
	if(name=="undefined")	name	= "normal";

	if (screen.width < 1025){
		LeftPosition=0;
		TopPosition=0;
	} else {
		LeftPosition=(screen.width)?(screen.width-w)/2:100;
		TopPosition=(screen.height)?(screen.height-h)/2:100;
	}
	window.open(url,name,"width="+w+",height="+h+",top="+TopPosition+",left="+LeftPosition+", scrollbars="+scroll).focus();
}

/* »çÀÌÆ®¸Ê ¸Þ´º ·Ñ¿À¹ö */
function linkImg(strId,strType){
	var fileObj = document.getElementById("link_"+strId);
	var fileNameTmp1 = fileObj.src.split("/");
	var fileNameTmp = fileNameTmp1[fileNameTmp1.length-1].split(".");
	/*if(strType){
		fileObj.src = "/images/etc/" + fileNameTmp[0] + "_on." + fileNameTmp[1];

	}else{

		fileObj.src = "/images/etc/" +  fileNameTmp[0].replace("_on","") + "." + fileNameTmp[1];
	}*/
}

function goPop(){
	center_popup(658,500,'culturSupex_pop.asp',1,'pop');
}