// Top page Flash

function tempCookie(n, v){
	if((n != null) && (v != null)){
		document.cookie = n +"="+ v;
		return true;
	}
	return false;
}

function getCookie(n){
	n += "=";
	c = document.cookie+";";
	start = c.indexOf(n);
	if (start != -1){
		end = c.indexOf(";", start);
		return unescape(c.substring(start + n.length, end));
	}
	return false;
}

function drawSwf(url, w, h){
	if(getCookie("nk_swf")) url += "?ck=1";
	tempCookie("nk_swf", 1);

	document.write('<object width="' +w+ '" height="' +h+ '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8">');
	document.write('<param name="movie" value="' +url+ '" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false">');
	document.write('<param name="bgcolor" value="#000">');
	document.write('<embed src="' +url+ '" width="' +w+ '" height="' +h+ '" quality="high" menu="false" bgcolor="#000" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">');
	document.write('</embed>');
	document.write('</object>');
}



// Nomenclature page

div_id = "mean";
timer = 1;

txt = new Array();

txt[1] = new Array();
txt[1][1] = "景深预览按钮";
txt[1][2] = "副指令拨盘";
txt[1][3] = "功能按钮";
txt[1][4] = "竖拍副指令拨盘";
txt[1][5] = "自拍指示灯";
txt[1][6] = "闪光灯同步终端";
txt[1][7] = "十针遥控终端";
txt[1][8] = "镜头释放按钮";
txt[1][9] = "对焦模式选择器";
txt[1][10] = "反光板";

txt[2] = new Array();
txt[2][1] = "取景器";
txt[2][2] = "取景器眼杯";
txt[2][3] = "接目镜快门杆";
txt[2][4] = "删除按钮 / 格式化按钮";
txt[2][5] = "播放按钮";
txt[2][6] = "显示屏";
txt[2][7] = "菜单按钮";
txt[2][8] = "略图按钮 / 变焦播放按钮";
txt[2][9] = "保护按钮 / 帮助按钮";
txt[2][10] = "确定按钮";
txt[2][11] = "扬声器";
txt[2][12] = "机背控制面板";
txt[2][13] = "ISO 感光度按钮";
txt[2][14] = "影像品质按钮";
txt[2][15] = "白平衡按钮";
txt[2][16] = "麦克风";
txt[2][17] = "AF-ON按钮";
txt[2][18] = "主指令拨盘";
txt[2][19] = "A（AE/AF 锁定）按钮";
txt[2][20] = "多重选择器";
txt[2][21] = "对焦选择器锁定开关";
txt[2][22] = "存储卡槽盖";
txt[2][23] = "AF 区域模式选择器";
txt[2][24] = "竖拍 AF-ON 按钮";
txt[2][25] = "竖拍主指令拨盘";
txt[2][26] = "声音记录按钮";

txt[3] = new Array();
txt[3][1] = "电源开关";
txt[3][2] = "快门释放按钮";
txt[3][3] = "曝光补偿按钮";
txt[3][4] = "曝光模式按钮 / 格式化按钮";
txt[3][5] = "固定相机带的金属环";
txt[3][6] = "控制面板";
txt[3][7] = "配件支架（用于另购的闪光灯装置）";
txt[3][8] = "闪光灯模式按钮";
txt[3][9] = "自动包围曝光按钮";
txt[3][10] = "指令锁定按钮";
txt[3][11] = "拍摄模式拨盘";
txt[3][12] = "拍摄模式拨盘锁定释放按钮";
txt[3][13] = "固定相机带的金属环";

txt[4] = new Array();
txt[4][1] = "三脚架插孔";

txt[5] = new Array();
txt[5][1] = "焦平面定位标记";
txt[5][2] = "USB 接口盖";
txt[5][3] = "接口盖";
txt[5][4] = "USB 接口";
txt[5][5] = "音频/视频（A/V）接口";
txt[5][6] = "HDMI 接口";
txt[5][7] = "DC 输入接口";
txt[5][8] = "电池盒盖";
txt[5][9] = "电池盒盖锁闩";

txt[6] = new Array();
txt[6][1] = "屈光度调节钮";
txt[6][2] = "测光选择器";
txt[6][3] = "测光选择器锁定按钮";
txt[6][4] = "竖拍快门释放按钮";
txt[6][5] = "竖拍快门释放按钮锁定杆";



save = 0;
function onMark(one, two){
	if(save != 0){
		clearTimeout(TM);
		hideText();
	}
	save = one;
	document.getElementById(div_id+one).innerHTML = "<span>" +txt[one][two]+ "</span>";
}

function outMark(){
	TM = setTimeout("hideText()", Math.round(timer*1000));
}

function hideText(){
	document.getElementById(div_id+save).innerHTML = "&nbsp;";
}

