/*----------------------------------------------------------------------
	Á¦ÀÏ »ó´Ü ÀÛÀº¸Þ´º
------------------------------------------------------------------------*/
var URL="http://www.anyidea.co.kr";

function topMenu(num){
	if(num == 1){
		location.href=URL+"/index.html";
	}else if(num == 2){
		location.href=URL+"/bbs/login.php";
	}else if(num == 3){
		location.href=URL+"/bbs/register.php";
	}else if(num == 4){
		location.href=URL+"/bbs/member_confirm.php?url=register_form.php";
	}else if(num == 5){
		location.href=URL+"/bbs/point_fill.php";
	}else if(num == 6){
		location.href=URL+"/sitemap/sitemap.html";
	}else if(num == 7){
		location.href=URL+"/bbs/logout.php";
	}
}

/*----------------------------------------------------------------------
	¸ÞÀÎ¸Þ´º
------------------------------------------------------------------------*/
function mainMenu(num){
	if(num == 1){
		location.href=URL+"/bbs/board.php?bo_table=agent";
	}else if(num == 2){
		location.href=URL+"/bbs/board.php?bo_table=client";
	}else if(num == 3){
		location.href=URL+"/bbs/board.php?bo_table=agency";
	}else if(num == 4){
		location.href=URL+"/bbs/list_search.php";
	}else if(num == 5){
		location.href=URL+"/academy/offline.html";
	}else if(num == 6){
		location.href=URL+"/bbs/board.php?bo_table=request";
	}
}

/*----------------------------------------------------------------------
	¸ÞÀÎ¸Þ´º
------------------------------------------------------------------------*/
function bottomMenu(num){
	if(num == 1){
		location.href=URL+"/company/personal.html";
	}else if(num == 2){
		location.href=URL+"/company/company.html";
	}else if(num == 3){
		location.href=URL+"/company/cooperation.html";
	}else if(num == 4){
		location.href=URL+"/bbs/board.php?bo_table=request";
	}
}

function flashMC(w,h,flashName,SELECTNUM){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+w+'" height="'+h+'">');
document.write('<param name="movie" value="'+flashName+'">');
document.write('<param name="quality" value="high">');
document.write('<param name="FlashVars" value="&selectArea='+SELECTNUM+'">');
document.write('<embed src="'+flashName+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed>');
document.write('</object>');
}