function isStylePos(elem) {
	return ( ((typeof elem.style) != 'undefined') && ((typeof elem.style.position) != 'undefined') && (elem.style.position == 'absolute') && ((typeof elem.style.left) != 'undefined') );
}

var isStylePos = isStylePos(name2elem('style_pos_test'));

var isExp = null;
var MSIE = null;
var isOpera = null;
var isWin = null;

if(navigator) {
	if((typeof navigator.appName) != 'undefined') {
		isExp = (navigator.appName == 'Microsoft Internet Explorer') ? true : false;
	};
	if((typeof navigator.userAgent) != 'undefined') {
		var msie_offset = navigator.userAgent.indexOf('MSIE ');
		if(msie_offset == -1) MSIE = false;
		else MSIE = parseFloat(navigator.userAgent.substring(msie_offset+5,navigator.userAgent.indexOf(';',msie_offset)));

		isOpera = (navigator.userAgent.indexOf('Opera') != -1);
		isWin = (navigator.userAgent.indexOf('Win') != -1);
	};
}


// FLASH


var FlashVer1 = 0;
var FlashVer2 = 0;
var FlashVer3 = 0;
var FlashVer4 = 0;
var FlashVer5 = 0;
var FlashVer6 = 0;
var FlashVer7 = 0;
var FlashVer8 = 0;
var FlashVer9 = 0;

var Flash = 0;

var Flash_tmp;

if(isExp && !isOpera && isWin && MSIE) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write(' FlashVer1 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.1"))) \n');
	document.write(' FlashVer2 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
	document.write(' FlashVer3 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
	document.write(' FlashVer4 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
	document.write(' FlashVer5 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');
	document.write(' FlashVer6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
	document.write(' FlashVer7 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');
	document.write(' FlashVer8 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n');
	document.write(' FlashVer9 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9"))) \n');
	document.write('</SCRIPT\> \n');
	if(FlashVer1) Flash = 1;
	if(FlashVer2) Flash = 2;
	if(FlashVer3) Flash = 3;
	if(FlashVer4) Flash = 4;
	if(FlashVer5) Flash = 5;
	if(FlashVer6) Flash = 6;
	if(FlashVer7) Flash = 7;
	if(FlashVer8) Flash = 8;
	if(FlashVer9) Flash = 9;
} else {
	if(navigator)
	if(navigator.mimeTypes)
	if(navigator.mimeTypes["application/x-shockwave-flash"])
	if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)
	if(navigator.plugins)
	if(navigator.plugins["Shockwave Flash"])
	if(navigator.plugins["Shockwave Flash"].description)
	{
		Flash_tmp = navigator.plugins["Shockwave Flash"].description.indexOf(".");
		if(Flash_tmp != -1) {
			Flash_tmp = navigator.plugins["Shockwave Flash"].description.substring(Flash_tmp-1,Flash_tmp);
			Flash = parseInt(Flash_tmp);
		}
	}
};