// JavaScript Document

/*flash*/
<!--
function Createflash(w, h, movie, ids){
//	var _httpProtocol = document.location.protocol.indexOf("https")!=-1 ? "https://" : "http://";
	var _httpProtocol = "http://";

	var strflash = "<OBJECT id="+ids+" codeBase=" + _httpProtocol + "fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 width="+w+" height="+h+" align=middle classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000>";
	strflash = strflash + "<PARAM NAME='_cx' VALUE='25400'>";
	strflash = strflash + "<PARAM NAME='_cy' VALUE='9260'>";
	strflash = strflash + "<PARAM NAME='Movie' VALUE='"+ movie +"'>";
	strflash = strflash + "<PARAM NAME='Src' VALUE='" + movie + "'>";
	strflash = strflash + "<PARAM NAME='WMode' VALUE='Transparent'>";
	strflash = strflash + "<PARAM NAME='Play' VALUE='-1'>";
	strflash = strflash + "<PARAM NAME='Loop' VALUE='-1'>";
	strflash = strflash + "<PARAM NAME='Quality' VALUE='High'>";
	strflash = strflash + "<PARAM NAME='SAlign' VALUE=''>";
	strflash = strflash + "<PARAM NAME='Menu' VALUE='-1'>";
	strflash = strflash + "<PARAM NAME='Base' VALUE=''>";
	strflash = strflash + "<PARAM NAME='AllowScriptAccess' VALUE='always'>";
	strflash = strflash + "<PARAM NAME='Scale' VALUE='ShowAll'>";
	strflash = strflash + "<PARAM NAME='DeviceFont' VALUE='0'>";
	strflash = strflash + "<PARAM NAME='EmbedMovie' VALUE='0'>";
	strflash = strflash + "<PARAM NAME='BGColor' VALUE=''>";
	strflash = strflash + "<PARAM NAME='SWRemote' VALUE=''>";
	strflash = strflash + "<PARAM NAME='MovieData' VALUE=''>";
	strflash = strflash + "<PARAM NAME='SeamlessTabbing' VALUE='1'>";
	strflash = strflash + "<PARAM NAME='Profile' VALUE='0'>";
	strflash = strflash + "<PARAM NAME='ProfileAddress' VALUE=''>";
	strflash = strflash + "<PARAM NAME='ProfilePort' VALUE='0'>";
	//strflash = strflash + "<PARAM NAME='FlashVars' VALUE='"+flashvars+"'>";
	strflash = strflash + "<PARAM NAME='width' VALUE='"+w+"'>";
	strflash = strflash + "<PARAM NAME='height' VALUE='"+h+"'>";
	strflash = strflash + "<embed src='"+ movie + "' quality='high' AllowScriptAccess='always' wmode='transparent' width='"+w+"' height='"+h+"' name='"+ids+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='" + _httpProtocol + "www.macromedia.com/go/getflashplayer' />";
	strflash = strflash + "</OBJECT>";
	document.write(strflash);
}

function CreateContentsFlash(w, h, movie, ids, maint){
//	var _httpProtocol = document.location.protocol.indexOf("https")!=-1 ? "https://" : "http://";
	var _httpProtocol = "http://";
	//document.write(w+"<br />");
	//document.write(ids+"<br />");
	//document.write(movie);
	var strflash = "<OBJECT id="+ids+" codeBase=" + _httpProtocol + "fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 width="+w+" height="+h+" align=middle classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000>";
	strflash = strflash + "<PARAM NAME='_cx' VALUE='25400'>";
	strflash = strflash + "<PARAM NAME='_cy' VALUE='9260'>";
	strflash = strflash + "<PARAM NAME='Movie' VALUE='"+ movie +"?maint=" + maint + "'>";
	strflash = strflash + "<PARAM NAME='Src' VALUE='" + movie + "?maint=" + maint + "'>";
	strflash = strflash + "<PARAM NAME='WMode' VALUE='Transparent'>";
	strflash = strflash + "<PARAM NAME='Play' VALUE='-1'>";
	strflash = strflash + "<PARAM NAME='Loop' VALUE='-1'>";
	strflash = strflash + "<PARAM NAME='Quality' VALUE='High'>";
	strflash = strflash + "<PARAM NAME='SAlign' VALUE=''>";
	strflash = strflash + "<PARAM NAME='Menu' VALUE='-1'>";
	strflash = strflash + "<PARAM NAME='Base' VALUE=''>";
	strflash = strflash + "<PARAM NAME='AllowScriptAccess' VALUE=''>";
	strflash = strflash + "<PARAM NAME='Scale' VALUE='ShowAll'>";
	strflash = strflash + "<PARAM NAME='DeviceFont' VALUE='0'>";
	strflash = strflash + "<PARAM NAME='EmbedMovie' VALUE='0'>";
	strflash = strflash + "<PARAM NAME='BGColor' VALUE=''>";
	strflash = strflash + "<PARAM NAME='SWRemote' VALUE=''>";
	strflash = strflash + "<PARAM NAME='MovieData' VALUE=''>";
	strflash = strflash + "<PARAM NAME='SeamlessTabbing' VALUE='1'>";
	strflash = strflash + "<PARAM NAME='Profile' VALUE='0'>";
	strflash = strflash + "<PARAM NAME='ProfileAddress' VALUE=''>";
	strflash = strflash + "<PARAM NAME='ProfilePort' VALUE='0'>";
	//strflash = strflash + "<PARAM NAME='FlashVars' VALUE='"+flashvars+"'>";
	strflash = strflash + "<embed src='"+ movie +"?maint=" + maint + "' quality='high' wmode='transparent' width='"+w+"' height='"+h+"' name='"+ids+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='" + _httpProtocol + "www.macromedia.com/go/getflashplayer' />";
	strflash = strflash + "</OBJECT>";
	return (strflash);
}


/*main*/
function index(num){
	switch(num){
	    case 1: location.href="../index.asp"; break;
		case 2: location.href="./about/adiclubis.asp"; break;
		case 3: location.href="./my/myadidas.asp"; break;
		case 4: location.href="./campaign/campaign.asp"; break;
		case 5: location.href="./member/login.asp"; break;
		case 6: location.href="./member/faq.asp"; break;
		case 7: location.href="./sitemap/sitemap.asp"; break;
		case 8: location.href="#"; break;
		case 9: location.href="./member/legal.asp"; break;
		case 10: location.href="./campaign/notice_view.asp"; break;
	}
}


 /*ABOUT */
function about(num){
	switch(num){
		case 1: location.href="../about/adiclubis.asp"; break;
		case 2: location.href="../about/mileage.asp"; break;
		case 3: location.href="../about/mobile.asp"; break;
		case 4: location.href="../about/about_seoul.asp"; break;
		case 5: location.href="../about/about_incheon.asp"; break;
	    case 6: location.href="../about/about_gyeonggi.asp"; break;
		case 7: location.href="../about/about_daejeon.asp"; break;
		case 8: location.href="../about/about_chungnam.asp"; break;
		case 9: location.href="../about/about_gwanju.asp"; break;
		case 10: location.href="../about/about_busan.asp"; break;
		case 11: location.href="../about/about_jeju.asp"; break;
	}
}


/* ¸ÞÀÎ ÇÃ·¡½¬¿¡¼­ Æ®¶óÀÌ¾öÇÁ ÀÌº¥Æ®·Î ÀÌµ¿*/
function triumph_event() {

	location.href = "/events/event.view.screen.asp?id=5&status=&page=1"
}