//user page
function user_nofriends(){
	var height = 230;
	writeSWFContainer("noFriends", 230);
	swfobject.embedSWF("/swf/user_nofriends.swf", "noFriends", "440", height, "9.0.0", "", {}, geNoContentsParams());
	//ボタン必要'friend_request.gif'
}

function user_nocharas(){
	var height = 250;
	writeSWFContainer("noCharas", 250);
	swfobject.embedSWF("/swf/user_nocharas.swf", "noCharas", "440", height, "9.0.0", "", {}, geNoContentsParams());
}

function user_nochats(){
	var height = 230;
	writeSWFContainer("noChats", 230);
	swfobject.embedSWF("/swf/user_nochats.swf", "noChats", "440", height, "9.0.0", "", {}, geNoContentsParams());
	//ボタン必要'send_message.gif'
}

function user_nocomments(){
	var height = 250;
	writeSWFContainer("noComments", 250);
	swfobject.embedSWF("/swf/user_nocomments.swf", "noComments", "440", height, "9.0.0", "", {}, geNoContentsParams());
}


//my page
function mypage_nofriends(){
	var height = 280;
	writeSWFContainer("noFriends", height);
	swfobject.embedSWF("/swf/mypage_nofriends.swf", "noFriends", "440", height, "9.0.0", "", {}, geNoContentsParams());
}

function mypage_nocharas(){
	var height = 280;
	writeSWFContainer("noCharas", height);
	swfobject.embedSWF("/swf/mypage_nocharas.swf", "noCharas", "440", height, "9.0.0", "", {}, geNoContentsParams());
}

function mypage_nochats(){
	var height = 280;
	writeSWFContainer("noChats", height);
	swfobject.embedSWF("/swf/mypage_nochats.swf", "noChats", "440", height, "9.0.0", "", {}, geNoContentsParams());
}

function mypage_nocomments(){
	var height = 250;
	writeSWFContainer("noComments", height);
	swfobject.embedSWF("/swf/mypage_nocomments.swf", "noComments", "430", height, "9.0.0", "", {}, geNoContentsParams());
}

function writeSWFContainer(id, height) {
	document.write('<div style="text-align:center; height:' + height + 'px;"><div id="' + id + '"></div></div>');
}

function geNoContentsParams() {
	return {menu: "false", scale: "noScale", bgcolor: "#FFFFDA", wmode:"transparent" };
}