
Nm.fp.getHTML = function(Ps) {
	return [
		'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"',
		' width="' + Ps['width'] + '"',
		' height="' + Ps['height'] + '"',
		'>',
		'<param name="movie" value ="' + Ps['movie']   + '">',
		'<param name="bgcolor" value ="' + Ps['bgcolor'] + '">',
		'<param name="wmode" value ="' + Ps['wmode'] + '">\n',
		'<param name="quality" value ="high">\n',
		'<embed type="application/x-shockwave-flash"',
		' src="' + Ps['movie'] + '"',
		' width="' + Ps['width'] + '"',
		' height="' + Ps['height'] + '"',
		' bgcolor="' + Ps['bgcolor'] + '"',
		' wmode="' + Ps['wmode'] + '"',
		' quality="high"',
		' />',
		'</object>'
	].join("");
}

Nm.fp.setFlash = function(ID, F, V, W, H, B, wM) {
	if(this.checkVersion(V)) {
		var fA = document.getElementById(ID);
		if(!fA) return;
		var sF = function() {
			fA.innerHTML = Nm.fp.getHTML({
				"movie"   : F,
				"width"   : W,
				"height"  : H,
				"bgcolor" : B,
				"wmode"   : (wM ? wM : "opaque")
			});
		};
		fA.innerHTML = "";
		var dT = UA.WK ? 100 : 10;
		setTimeout(sF, dT);
	}
}

Nm.fp.setMainFlash = function() {
	this.setFlash("featured", "/main.swf", 8, 800, 420, "#000000", "transparent");
}

Nm.onRead.addEventListener(function() {

	Nm.setExternalLinks();
	Nm.setPageTopLinks();

	Nm.setButtonInteractions(document.getElementsByClassName("globalNav"), ["_hover"]);
	Nm.setButtonInteractions(document.getElementsByClassName("other-models"), ["_hover"]);

});
