<script type="text/javascript" src="{?$saxue_skin_server?}/lib/swfobject.js"></script>
<script type="text/javascript" src="{?$saxue_skin_server?}/avatar/avatar.js"></script>
<script type="text/javascript">
function getUploadUrl() {
	return "{?$saxue_url?}/member/avatar.php?action=cutsave";
}
var swfVersionStr = "10.2.0";
var xiSwfUrlStr = "{?$saxue_skin_server?}/avatar/playerProductInstall.swf";
var flashvars = {};
flashvars.big_avatar_url="{?$url_avatar?}?{?$saxue_time?}";
flashvars.middle_avatar_url="{?$url_avatars?}?{?$saxue_time?}";
flashvars.little_avatar_url="{?$url_avatari?}?{?$saxue_time?}";
//大头像名称
flashvars.big_avatar_name="big_avatar";
//中头像名称
flashvars.middle_avatar_name="middle_avatar";
//小头像名称
flashvars.little_avatar_name="little_avatar";  
flashvars.url_params = getParamsFromUrl();
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "always";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "c_avatar";
attributes.name = "c_avatar";
attributes.align = "middle";
swfobject.embedSWF( "{?$saxue_skin_server?}/avatar/c_avatar.swf", "flashContent", "700", "420", swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);
swfobject.createCSS("#flashContent", "display:block;text-align:left;");
</script>
<div class="hint"><h3>修改头像</h3></div>
<div class="dataedit">
	<div id="flashContent">
		<p>To view this page ensure that Adobe Flash Player version 10.2.0 or greater is installed. </p>
		<script type="text/javascript"> 
			var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); 
			document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='" + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" ); 
		</script>
		<noscript>
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="700" height="420" id="c_avatar_miniblog">
				<param name="movie" value="{?$saxue_skin_server?}/avatar/c_avatar.swf" />
				<param name="quality" value="high" />
				<param name="bgcolor" value="#ffffff" />
				<param name="allowScriptAccess" value="always" />
				<param name="allowFullScreen" value="true" />
				<!--[if !IE]>-->
				<object type="application/x-shockwave-flash" data="{?$saxue_skin_server?}/avatar/c_avatar.swf" width="700" height="420">
					<param name="quality" value="high" />
					<param name="bgcolor" value="#ffffff" />
					<param name="allowScriptAccess" value="always" />
					<param name="allowFullScreen" value="true" />
				<!--<![endif]-->
				<!--[if gte IE 6]>-->
				<p>Either scripts and active content are not permitted to run or Adobe Flash Player version 10.2.0 or greater is not installed.</p>
				<!--<![endif]-->
				<a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" /></a>
				<!--[if !IE]>-->
				</object>
				<!--<![endif]-->
			</object>
		</noscript>
	</div>
</div>